/* App-weite Ergänzungen, die nicht ins Theme gehören. */

.skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1080;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 2px solid var(--bs-primary);
}

:focus-visible {
    outline: 3px solid var(--bs-primary);
    outline-offset: 2px;
}

a:not(.btn):not(.nav-link):not(.navbar-brand) {
    text-decoration: underline;
}

main:focus {
    outline: none;
}

.profile-placeholder {
    aspect-ratio: 1;
    max-width: 300px;
    background: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
    font-size: 3rem;
    font-weight: 600;
}

.profile-list {
    display: grid;
    grid-template-columns: minmax(8rem, max-content) 1fr;
    gap: 0.5rem 1.5rem;
}

.profile-list dd {
    margin: 0;
}

@media (max-width: 575.98px) {
    .profile-list {
        grid-template-columns: 1fr;
    }

    .profile-list dd {
        margin-bottom: 0.5rem;
    }
}

.privacy-field legend,
.privacy-field > div > label {
    font-weight: 600;
}

.directory-photo {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    object-fit: cover;
    font-size: 1.5rem;
}

.account-bar {
    background: var(--bs-tertiary-bg);
    font-size: 1rem;
}

/* Klickfläche ≥ 44 px auch für den kleinen Abmelden-Button */
.account-bar .btn {
    min-height: 44px;
}

/* Menüpunkte nicht umbrechen („Mein Profil“) */
.navbar-nav .nav-link {
    white-space: nowrap;
}

/* Aktuelle Seite in der Navigation deutlich markieren (Orientierung) */
.navbar-nav .nav-link[aria-current="page"] {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.35em;
    text-decoration-thickness: 2px;
}

.club-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr));
    gap: 1rem;
}

.club-logo {
    flex-shrink: 0;
    object-fit: contain;
}

/* Mitgliedsausweis */
.membership-card-head {
    background: var(--bs-primary);
    color: #fff;
}

.membership-card-qr svg {
    display: block;
    width: min(260px, 70vw);
    height: auto;
}

.verify-valid {
    border-color: var(--bs-success) !important;
    background: var(--bs-success-bg-subtle);
}

.verify-invalid {
    border-color: var(--bs-danger) !important;
    background: var(--bs-danger-bg-subtle);
}
