@charset "utf-8";
/* CSS Document */
@font-face {
    font-family: "Germania One";
    font-display: swap;
    src: url(/fonts/GermaniaOne-Regular.woff2) format("woff2"), url(/fonts/GermaniaOne-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "IM FELL English";
    font-display: swap;
    src: url(/fonts/IMFellEnglish-Regular.woff2) format("woff2"), url(/fonts/IMFellEnglish-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "IM FELL English";
    font-display: swap;
    src: url(/fonts/IMFellEnglish-Italic.woff2) format("woff2"), url(/fonts/IMFellEnglish-Italic.woff) format("woff");
    font-weight: 400;
    font-style: italic;
}

::-webkit-scrollbar {
    width: 1rem;
}

::-webkit-scrollbar-track {
    background: #272727;
}

::-webkit-scrollbar-thumb {
    background: #5a5a5a;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-gradient);
}

:root {
    --gold-base: #d4af37;
    --gold-light: #f9e7ac;
    --gold-dark: #a66b1f;
    --gold-gradient: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-base) 45%, var(--gold-dark) 100%);
    --gold-shadow: 0 0 1.5rem rgba(212, 175, 55, 0.35);
    --gold-shine: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
    --form-bg: rgba(15, 15, 15, 0.75);
    --form-border: rgba(212, 175, 55, 0.35);
    --form-border-focus: rgba(249, 231, 172, 0.75);
    --form-ring: rgba(212, 175, 55, 0.25);
    --form-placeholder: rgba(249, 231, 172, 0.55);
    --form-disabled: rgba(60, 60, 60, 0.65);
    --form-invalid: #c2410c;
    --form-success: #16a34a;
    --button-text: #101010;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    width: clamp(10em, 90vw, 110em);
    margin: 0.5vh auto;
    background: black;
    font-family: "IM FELL English", "Arial Narrow Bold", sans-serif;
    font-size: clamp(1rem, 2.65vw, 1.2rem);
    line-height: 1.6;
    color: var(--gold-light);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "header" "nav" "main" "footer";
}

button {
    font: inherit;
}

p {
    margin: 0 0 1.2rem;
}

a {
    text-decoration: none;
}

footer a {
    color: var(--gold-light);
}

a:hover, a:focus-visible {
    text-decoration: underline;
    color: var(--gold-base);
    text-shadow: var(--gold-shadow);
    margin: -1;
}

h2, h3 {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Formular- und Eingabestile */
.formular {
    display: grid;
    gap: clamp(1rem, 2.2vw, 1.6rem);
    margin: clamp(0.5rem, 2vw, 1.4rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.formular > h2:first-child, .formular > h3:first-child {
    margin-top: 0;
}

.formular label:not(.checkbox):not(.checkout-checkbox) {
    display: block;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gold-light);
}

.formular .hinweis, .formular .feld__hinweis, .formular small, .formular .hinweistext {
    font-size: 0.9rem;
    color: var(--form-placeholder);
    line-height: 1.4;
}

.checkbox, .checkout-checkbox {
    display: flex;
    align-items: flex-start;
    gap: clamp(0.45rem, 1vw, 0.9rem);
    color: var(--gold-light);
    font-weight: 500;
    line-height: 1.4;
}

.checkbox input[type="checkbox"], .checkbox input[type="radio"], .checkout-checkbox input[type="checkbox"], .checkout-checkbox input[type="radio"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--gold-base);
}

.checkbox span, .checkout-checkbox span {
    flex: 1 1 auto;
}

.formular-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.formular-inline input, .formular-inline select {
    width: auto;
}

input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"], input[type="week"], select, textarea {
    width: 100%;
    padding: clamp(0.65rem, 1.5vw, 0.9rem) clamp(0.8rem, 2vw, 1.2rem);
    border-radius: 0.85rem;
    border: 1px solid var(--form-border);
    background: var(--form-bg);
    color: var(--gold-light);
    font: inherit;
    line-height: 1.45;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

textarea {
    min-height: 9rem;
    resize: vertical;
}

select {
    padding-right: clamp(2.2rem, 4vw, 2.8rem);
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--gold-light) 50%), linear-gradient(135deg, var(--gold-light) 50%, transparent 50%);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

input::placeholder, textarea::placeholder {
    color: var(--form-placeholder);
}

input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: none;
    border-color: var(--form-border-focus);
    box-shadow: 0 0 0 3px var(--form-ring);
    background-color: rgba(18, 18, 18, 0.95);
}

input:disabled, select:disabled, textarea:disabled {
    background: var(--form-disabled);
    color: rgba(249, 231, 172, 0.45);
    cursor: not-allowed;
}

/* Registrierungsformular */
.registrierung-form {
    max-width: 42rem;
    margin: 0 auto;
}

.registrierung-form__grid {
    display: grid;
    gap: 0.9rem;
}

.registrierung-form__field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.registrierung-form__field input,
.registrierung-form__field select {
    width: 100%;
}

.registrierung-form__hint {
    font-size: 0.85em;
    color: rgba(249, 231, 172, 0.8);
}

.registrierung-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.registrierung-form__checkbox input {
    margin-top: 0.35rem;
}

.registrierung-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.registrierung-form__actions p {
    margin: 0;
}

@media (min-width: 768px) {
    .registrierung-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .registrierung-form__field--full {
        grid-column: 1 / -1;
    }

    .registrierung-form__field--anrede {
        max-width: 12rem;
    }
}

@media (min-width: 1100px) {
    .registrierung-form__grid {
        grid-template-columns: minmax(8rem, 0.8fr) repeat(3, minmax(0, 1fr));
        column-gap: 1.25rem;
    }

    .registrierung-form__field--anrede {
        grid-row: 1;
        grid-column: 1 / 2;
    }

    .registrierung-form__field--vorname {
        grid-column: 2 / 3;
    }

    .registrierung-form__field--nachname {
        grid-column: 3 / 4;
    }

    .registrierung-form__field--email {
        grid-column: 1 / 5;
    }

    .registrierung-form__field--passwort {
        grid-column: 1 / 3;
    }

    .registrierung-form__field--passwort2 {
        grid-column: 3 / 5;
    }

    .registrierung-form__hint,
    .registrierung-form__checkbox {
        grid-column: 1 / 5;
    }
}

.is-invalid {
    border-color: var(--form-invalid) !important;
    box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.35) !important;
}

.feld__fehler, .formular .feld__fehler {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: var(--form-invalid);
}

/* Buttons */
.button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: clamp(0.65rem, 1.5vw, 0.9rem) clamp(1.1rem, 3vw, 1.8rem);
    min-height: 3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    background-image: var(--gold-gradient);
    background-size: 220% 100%;
    background-position: 0 50%;
    color: var(--button-text);
    cursor: pointer;
    transition: background-position 0.3s ease, box-shadow 0.25s ease, transform 0.12s ease;
}

.button:hover, .button:focus-visible {
    background-position: 100% 50%;
    box-shadow: var(--gold-shadow);
}

.button:focus-visible {
    outline: none;
    box-shadow: var(--gold-shadow), 0 0 0 3px var(--form-ring);
}

.button:active {
    transform: translatey(1px);
}

.button[disabled], .button.is-disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

.button.button--primary {
    background-image: var(--gold-gradient);
    color: var(--button-text);
}

.button.button--subtle, .button.sekundar, .button.button--secondary {
    background: transparent;
    border-color: var(--form-border);
    color: var(--gold-light);
}

.button.button--subtle:hover, .button.sekundar:hover, .button.button--secondary:hover, .button.button--subtle:focus-visible, .button.sekundar:focus-visible, .button.button--secondary:focus-visible {
    box-shadow: var(--gold-shadow);
    border-color: var(--form-border-focus);
}

.button.warnung, .button.button--danger {
    background-image: none;
    background-color: var(--form-invalid);
    color: #fff;
}

.button.warnung:hover, .button.button--danger:hover {
    background-color: #a83205;
    box-shadow: none;
}

.login-dropdown .formular {
    margin: 0;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .kopfbereich__links a, body > nav a, body > main a, body h1, body h2, body h3 {
        background-image: var(--gold-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        } .kopfbereich__links a:nth-of-type(2) {
        background-image: var(--gold-shine), var(--gold-gradient);
        background-size: 240% 100%, 100% 100%;
        background-position: -180% 0, 0 0;
        background-repeat: no-repeat;
        animation: header-shine 7s ease-in-out infinite;
        }
    }
@keyframes header-shine {
    0% {
        background-position: -220% 0, 0 0;
        } 45% {
        background-position: 120% 0, 0 0;
        } 100% {
        background-position: 120% 0, 0 0;
        }
    }
@media (prefers-reduced-motion: reduce) {
    .kopfbereich__links a:nth-of-type(2) {
        animation: none;
        background-position: -150% 0, 0 0;
    }
}

.kopfbereich, body > nav, body > main, body > footer, body > nav ul, body > nav ul li {
    border-radius: 0;
    border: white solid 0;
    padding: 0.5vh 0.5vw;
    margin: 0;
}

.kopfbereich {
    grid-area: header;
    font-family: "Germania One", Arial, sans-serif;
    font-size: clamp(2em, 4vw, 4rem);
    max-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    text-align: center;
    flex-wrap: nowrap;
    z-index: 1000;
}

.kopfbereich__links > a:first-of-type > img {
    width: clamp(2em, 4vw, 4rem);
    height: auto;
    aspect-ratio: 1/1;
}

.kopfbereich__links a:nth-of-type(2) {
    display: inline-block;
}

body > nav {
    grid-area: nav;
    text-align: center;
    z-index: 999;
}

/* Steuercheckbox unsichtbar, aber fokussierbar halten */
body > nav > input[type="checkbox"][id="nav-toggle"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    overflow: hidden;
}

/* Burger-Schalter (Desktop unsichtbar, Mobile sichtbar) */
body > nav > label[for="nav-toggle"] {
    display: none;
    margin: 1rem auto;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    color: var(--gold-light);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

body > nav > label[for="nav-toggle"] > svg {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    fill: currentColor;
    display: block;
}

body > nav > label[for="nav-toggle"] > svg rect {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-box: fill-box;
    transform-origin: 50% 50%;
}

body > nav > label[for="nav-toggle"] > span {
    white-space: nowrap;
}

body > nav > label[for="nav-toggle"] .nav-label {
    margin-left: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0;
    display: inline-block;
    position: relative;
}

body > nav > label[for="nav-toggle"] .nav-label::after {
    content: attr(data-label);
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
}

body > nav > input[type="checkbox"][id="nav-toggle"]:checked ~ label[for="nav-toggle"] .nav-label::after {
    content: attr(data-label-close);
}

body > nav > label[for="nav-toggle"]:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.55);
    outline-offset: 4px;
}

body > nav ul {
    list-style-type: none;
}

body > nav > ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: clamp(1.125rem, 2.8vw, 1.75rem);
    font-weight: bold;
    font-style: italic;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
}

body > nav a.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.35rem;
    border-radius: 999px;
    background-color: transparent;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body > nav a.nav-link:not(.nav-link--active):hover, body > nav a.nav-link:not(.nav-link--active):focus-visible {
    background: var(--gold-gradient);
    color: #111;
    -webkit-text-fill-color: #111;
    box-shadow: var(--gold-shadow);
    transform: translatey(-2px);
}

body > nav a.nav-link--active {
    background: var(--gold-gradient);
    color: #111;
    -webkit-text-fill-color: #111;
    box-shadow: var(--gold-shadow);
    transform: translatey(-1px);
}

body > nav a.nav-link--active:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.6);
    outline-offset: 3px;
}

body > nav a.nav-link--active:hover {
    transform: translatey(-3px);
    box-shadow: 0 1rem 2.4rem rgba(212, 175, 55, 0.4);
}

body > nav > ul > li > ul {
    display: none;
    position: absolute;
    margin: -0.1vw;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(0, 0, 0, 0.95);
}

body > nav > ul > li.nav-hat-dropdown {
    position: relative;
}

body > nav > ul > li:hover > ul {
    display: grid;
}

body > nav > ul > li > ul.konto-dropdown {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
}

body > nav > ul > li > ul.konto-dropdown li {
    list-style: none;
    justify-self: stretch;
}

body > nav > ul > li > ul.konto-dropdown li a {
    display: block;
    text-align: left;
    color: var(--gold-light);
    text-decoration: none;
}

body > nav > ul > li > ul.konto-dropdown li a:hover, body > nav > ul > li > ul.konto-dropdown li a:focus-visible {
    text-decoration: underline;
}

body > nav > ul > li > ul.konto-dropdown .konto-dropdown__title {
    font-size: 0.85em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
    padding-top: 0.2rem;
}

body > nav > ul > li > ul.konto-dropdown .konto-dropdown__divider {
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    margin: 0.2rem 0;
}

body > nav > ul > li > ul.konto-dropdown .nav-logout-form {
    margin: 0;
}

body > nav > ul > li > ul.konto-dropdown .nav-logout-form__button {
    display: block;
    width: 100%;
    padding: 0.6rem 0.8rem;
    text-align: left;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 0.8rem;
    background: rgba(0, 0, 0, 0.55);
    color: var(--gold-light);
    font: inherit;
    cursor: pointer;
}

body > nav > ul > li > ul.konto-dropdown .nav-logout-form__button:hover, body > nav > ul > li > ul.konto-dropdown .nav-logout-form__button:focus-visible {
    border-color: rgba(212, 175, 55, 0.6);
    outline: none;
}

body > main {
    grid-area: main;
}

body > main > section.Kartenübersicht {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

body > main > section.Kartenübersicht > article.karte {
    max-width: clamp(15vw, calc(10vw + 10vh), 30vw);
}

body > main > section.Kartenübersicht > article.karte img {
    width: 100%;
    height: auto;
}

/* Kartenübersicht Filter & Grid */
.karten-uebersicht__filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    padding: 0.55rem 0.85rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(249, 231, 172, 0.45);
    box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.35);
    font-size: 0.8rem;
    color: var(--gold-light);
    scrollbar-width: thin;
}

.karten-uebersicht__filter::-webkit-scrollbar {
    height: 0.35rem;
}

.karten-uebersicht__filter::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.6);
    border-radius: 999px;
}

.karten-uebersicht__filter .filter-block {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 1 1 auto;
    min-width: 10rem;
}

.karten-uebersicht__filter .filter-block.filter-select {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.karten-uebersicht__filter .filter-textfeld input,
.karten-uebersicht__filter .filter-select select {
    padding: 0.45rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(249, 231, 172, 0.35);
    background: rgba(17, 17, 17, 0.6);
    color: var(--gold-light);
    min-width: 12rem;
    box-shadow: inset 0 0.25rem 0.55rem rgba(0, 0, 0, 0.35);
}

.karten-uebersicht__filter .filter-textfeld input:focus,
.karten-uebersicht__filter .filter-select select:focus {
    outline: 2px solid rgba(249, 231, 172, 0.55);
    outline-offset: 2px;
}

.karten-uebersicht__filter .filter-textfeld input::placeholder {
    color: rgba(249, 231, 172, 0.55);
}

.karten-uebersicht__filter .filter-select select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(249, 231, 172, 0.8) 50%), linear-gradient(135deg, rgba(249, 231, 172, 0.8) 50%, transparent 50%);
    background-position: calc(100% - 0.85rem) calc(50% - 0.2rem), calc(100% - 0.5rem) calc(50% - 0.2rem);
    background-size: 0.45rem 0.45rem;
    background-repeat: no-repeat;
    padding-right: 1.7rem;
}

.karten-uebersicht__filter .filter-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.karten-uebersicht__filter .filter-actions button {
    padding: 0.35rem 0.9rem;
    border-radius: 0.65rem;
    border: 0;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.karten-uebersicht__filter .filter-actions__submit {
    background: var(--gold-gradient);
    color: #111;
    box-shadow: var(--gold-shadow);
}

.karten-uebersicht__filter .filter-actions__reset {
    background: rgba(17, 17, 17, 0.6);
    color: var(--gold-light);
    border: 1px solid rgba(249, 231, 172, 0.35);
}

.karten-uebersicht__filter .filter-actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.6rem 1.2rem rgba(212, 175, 55, 0.28);
}

.karten-uebersicht__filter .filter-actions__reset:hover {
    opacity: 0.9;
}

@media (max-width: 900px) {
    .karten-uebersicht__filter .filter-block {
        flex: 1 1 100%;
        min-width: 0;
    }

    .karten-uebersicht__filter .filter-textfeld input,
    .karten-uebersicht__filter .filter-select select {
        width: 100%;
        min-width: 0;
    }

    .karten-uebersicht__filter .filter-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (min-width: 1100px) {
    .karten-uebersicht__filter {
        flex-wrap: nowrap;
        align-items: center;
    }

    .karten-uebersicht__filter .filter-block {
        flex: 0 0 auto;
    }
}

.karten-uebersicht__grid {
    display: grid;
    gap: 1em;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
}

@media (min-width: 640px) {
    .karten-uebersicht__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .karten-uebersicht__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1400px) {
    .karten-uebersicht__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.karten-uebersicht__item {
    display: flex;
    width: 100%;
}

.karten-uebersicht__link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.karten-uebersicht__bild {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}



.scan-shell {
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 18px;
    display: grid;
    gap: 1.6rem;
    margin-bottom: 2.5rem;
}

.scan-shell h1 {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    letter-spacing: 0.08em;
    text-align: center;
}

.scan-shell p {
    margin: 0.35rem 0 0;
    font-size: 1rem;
    text-align: center;
}

.scan-view {
    min-height: clamp(20rem, 45vh, 28rem);
    position: relative;
    width: 100%;
    padding-top: 125%;
    background: #000;
    border-radius: 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.25);
    overflow: hidden;
}

.scan-panel {
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 1.2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.3);
    display: grid;
    gap: 1.2rem;
}

.scan-view video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scalex(-1);
    z-index: 1;
    clip-path: inset(8% round 16px);
}

.scan-view canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    clip-path: inset(8% round 16px);
}

.scan-overlay {
    pointer-events: none;
    z-index: 3;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.scan-frame {
    position: absolute;
    inset: 8%;
    width: 70%;
    height: 70%;
    border: 2px dashed rgba(212, 175, 55, 0.6);
    border-radius: 1rem;
}

.scan-controls {
    display: grid;
    gap: 1.2rem;
    text-align: center;
}

.scan-status {
    font-size: 1rem;
    min-height: 2.5rem;
}

.scan-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.scan-action {
    appearance: none;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.3rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    background: linear-gradient(120deg, var(--gold-light), var(--gold-base));
    color: #111;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.scan-action:disabled {
    opacity: 0.6;
    cursor: wait;
}

.scan-link {
    display: inline-block;
    border-radius: 999px;
    padding: 0.75rem 1.1rem;
    font-size: 0.95rem;
}

.scan-link:hover {
    opacity: 0.85;
}

@media (min-width: 900px) {
    .scan-shell {
        flex-direction: row;
        align-items: stretch;
    }

    .scan-view {
        flex: 3 1 0;
        min-height: 28rem;
    }

    .scan-panel {
        flex: 2 1 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 1.5rem;
    }
}

body > footer {
    grid-area: footer;
}

body > footer ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0 2vw;
}

body > footer ul li ul {
    display: block;
}

body > footer p:last-child {
    text-align: center;
}

#cookie-banner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 1000;
    padding: 1.5rem 2rem;
    background-color: rgba(27, 27, 27, 0.9);
    transition: opacity 2s ease;
}

#cookie-banner p {
    margin: 0;
    line-height: 1.5;
}

#cookie-banner > .button {
    margin: 1.5rem auto 0;
}

/*        hier beginnt die mobile Version         */
@media (orientation: portrait) {
    body {
        font-size: clamp(2rem, 5.3vw, 2.4rem);
    }

    .kopfbereich {
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        font-size: clamp(1.6rem, 5.2vw, 2.4rem);
        line-height: 1.1;
    }

    .kopfbereich__links {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .kopfbereich__links > a:nth-of-type(2) {
        white-space: nowrap;
    }

    .kopfbereich__links > a:first-of-type > img {
        width: clamp(2.4rem, 12vw, 3.4rem);
    }

    body > nav > ul {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 0;
        background: rgba(0, 0, 0, 0.94);
        border-radius: 1rem;
        box-shadow: 0 0.9rem 2.4rem rgba(0, 0, 0, 0.35), 0 0 1.6rem rgba(212, 175, 55, 0.35);
    }

    body > nav > ul > li {
        width: 100%;
    }

    body > nav > ul > li > ul {
        display: grid;
        position: relative;
    }

    body > nav > ul > li > ul.konto-dropdown {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    body > nav > label[for="nav-toggle"] {
        display: inline-flex;
        font-size: clamp(2.1rem, 8vw, 2.5rem);
    }

    body > nav a.nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0.85rem 1.25rem;
    }

    body > nav > input[type="checkbox"][id="nav-toggle"]:checked ~ ul {
        display: flex;
    }

    body > nav > input[type="checkbox"][id="nav-toggle"]:checked ~ label[for="nav-toggle"] > svg rect:nth-of-type(1) {
        transform: translatey(32px) rotate(45deg);
    }

    body > nav > input[type="checkbox"][id="nav-toggle"]:checked ~ label[for="nav-toggle"] > svg rect:nth-of-type(2) {
        opacity: 0;
    }

    body > nav > input[type="checkbox"][id="nav-toggle"]:checked ~ label[for="nav-toggle"] > svg rect:nth-of-type(3) {
        transform: translatey(-32px) rotate(-45deg);
    }

    #cookie-banner p {
        font-size: clamp(1rem, 5vw, 2rem);
    }

    #accept-button {
        width: auto;
        min-height: 3rem;
        padding: 0.95rem 1.8rem;
        font-size: clamp(2rem, 7.2vw, 2.4rem);
    }

    .scan-shell h1 {
        font-size: clamp(3.2rem, 8vw, 4.4rem);
    }

    .scan-shell p, .scan-status {
        font-size: 2rem;
    }

    .scan-action {
        font-size: 2.1rem;
    }

    .scan-link {
        font-size: 1.9rem;
    }
}

@media (orientation: portrait) and (max-width: 440px) {
    body > nav > ul > li > ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (pointer: coarse) {
    body > nav > label[for="nav-toggle"] .nav-label {
        display: none;
    }
}

/* -------------------------------------------------- */
/* Verwaltung & Modulkomponenten (aus module.css) */
/* -------------------------------------------------- */
/* Breadcrumbs & messaging */
.brotkrumen {
    display: flex;
    gap: 0.6rem;
    font-size: 0.85em;
    margin-bottom: 1.5rem;
}

.brotkrumen span::after {
    content: ">";
    margin-left: 0.6rem;
    opacity: 0.6;
}

.brotkrumen span:last-of-type::after {
    content: none;
}

.meldung {
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 0.8rem;
    padding: 1.2rem 1.4rem;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0.7rem 2.1rem rgba(0, 0, 0, 0.25);
}

.meldung.warnung {
    border-color: #f28b82;
    box-shadow: 0 0 1.2rem rgba(242, 139, 130, 0.35);
}

.meldung.erfolg {
    border-color: #81c995;
    box-shadow: 0 0 1.2rem rgba(129, 201, 149, 0.35);
}

.meldung.hinweis {
    border-color: var(--gold-base);
}

.hinweis-gutschein {
    margin: 0.75rem 0 1.5rem;
    padding: 0.8rem 1.1rem;
    border-left: 3px solid var(--gold-base);
    background: rgba(212, 175, 55, 0.12);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Verwaltung: Filter & Detailbereiche */
.verwaltung-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.verwaltung-filter__feld {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 10rem;
}

.verwaltung-filter__feld span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.verwaltung-filter__button {
    align-self: center;
}

@media (min-width: 1024px) {
    .verwaltung-filter {
        flex-wrap: nowrap;
    }
}

.verwaltung-anlegen-details {
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 0.8rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.45);
    margin-bottom: 1.5rem;
}

.verwaltung-anlegen-details[open] {
    box-shadow: 0 0 1.2rem rgba(212, 175, 55, 0.2);
}

.verwaltung-anlegen-summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.verwaltung-anlegen-summary::marker, .verwaltung-anlegen-summary::-webkit-details-marker {
    display: none;
}

.verwaltung-anlegen-summary::after {
    content: "▾";
    font-size: 0.7em;
    transition: transform 0.2s ease;
}

.verwaltung-anlegen-details[open] .verwaltung-anlegen-summary::after {
    transform: rotate(-180deg);
}

.verwaltung-anlegen-details form {
    margin-top: 1rem;
}

.verwaltung-hinweis-details {
    margin-top: 0.6rem;
}

.verwaltung-hinweis-details summary {
    cursor: pointer;
    font-weight: 600;
}

.verwaltung-hinweis-details[open] summary {
    color: var(--gold-base);
}

.verwaltung-hinweis-details form {
    margin-top: 0.6rem;
    display: grid;
    gap: 0.5rem;
}

.verwaltung-hinweis-details textarea {
    min-height: 4rem;
}

.verwaltung-hinweis-details button {
    justify-self: flex-start;
}

/* Checkout: Seitenaufbau & Karten */
.checkout-shell {
    display: grid;
    gap: 2rem;
    margin: 2.5rem 0 3.5rem;
}

.checkout-hero {
    display: grid;
    gap: 0.85rem;
    text-align: center;
}

.checkout-hero__step {
    justify-self: center;
    padding: 0.25rem 0.9rem;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold-base);
}

.checkout-hero__title {
    margin: 0;
    color: #fff;
}

.checkout-hero__subtitle {
    margin: 0 auto;
    max-width: 42rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.checkout-layout {
    display: grid;
    gap: 2rem;
}

@media (min-width: 960px) {
    .checkout-layout {
        grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
        align-items: flex-start;
    }
}

.checkout-product, .checkout-card {
    position: relative;
    background: linear-gradient(135deg, rgba(12, 14, 22, 0.82), rgba(23, 17, 40, 0.78));
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 1.2rem;
    box-shadow: 0 1.8rem 3.2rem rgba(8, 10, 18, 0.45);
    display: grid;
    gap: 1.4rem;
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.checkout-product::after, .checkout-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.18), transparent 60%);
    opacity: 0.35;
}

.checkout-product__header {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.9rem;
}

.checkout-product__tag {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.18);
    color: var(--gold-base);
}

.checkout-product__tag::before {
    content: "?";
    font-size: 0.6rem;
}

.checkout-product__title {
    margin: 0;
    line-height: 1.25;
    color: #fff;
}

.checkout-product__price {
    position: relative;
    z-index: 1;
    font-weight: 600;
    color: var(--gold-light);
    margin: 0;
}

.checkout-product__description {
    position: relative;
    z-index: 1;
    margin: 0;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}

.checkout-product__badge {
    position: relative;
    z-index: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    background: rgba(96, 239, 255, 0.18);
    border: 1px solid rgba(96, 239, 255, 0.35);
    color: #60efff;
    font-weight: 600;
}

.checkout-product__hint {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: -0.25rem 0 0;
    color: rgba(255, 255, 255, 0.75);
}

.checkout-panels {
    display: grid;
    gap: 1.75rem;
}

.checkout__bereich {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.1rem;
}

.checkout__bereich > h2 {
    margin: 0;
    color: #fff;
}

.checkout__bereich--grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem 1.5rem;
}

.checkout-field {
    display: grid;
    gap: 0.55rem;
}

.checkout-field--full {
    grid-column: 1/-1;
}

.checkout-field label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.checkout-field input {
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    background: rgba(15, 18, 28, 0.65);
    color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.checkout-field input:hover {
    transform: translatey(-1px);
}

.checkout-field input:focus {
    outline: none;
    border-color: var(--gold-base);
    box-shadow: 0 0 0.6rem rgba(212, 175, 55, 0.35);
}

.checkout-options {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.checkout-option {
    position: relative;
    display: block;
}

.checkout-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.checkout-option__content {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 1.1rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(212, 175, 55, 0.18);
    background: rgba(12, 12, 18, 0.55);
    color: rgba(255, 255, 255, 0.85);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-option__content::before {
    content: "";
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.35);
    flex-shrink: 0;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.checkout-option input:focus + .checkout-option__content {
    border-color: var(--gold-base);
    box-shadow: 0 0 0.6rem rgba(212, 175, 55, 0.25);
}

.checkout-option input:checked + .checkout-option__content {
    border-color: var(--gold-base);
    background: rgba(212, 175, 55, 0.22);
    color: #fff;
}

.checkout-option input:checked + .checkout-option__content::before {
    background: var(--gold-base);
    border-color: var(--gold-base);
    box-shadow: 0 0 0 2px rgba(12, 12, 18, 0.55);
}

.checkout-option__content:hover {
    transform: translatey(-1px);
}

.checkout-checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.9rem 1.1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(10, 10, 14, 0.5);
}

.checkout-checkbox input {
    accent-color: var(--gold-base);
    margin-top: 0.35rem;
}

.checkout-checkbox span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkout-summary {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.checkout-summary li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.checkout-summary strong {
    color: var(--gold-light);
    font-weight: 600;
}

.checkout__bereich--action {
    gap: 1.4rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    padding-top: 1.8rem;
}

.button--primary {
    border-radius: 999px;
    font-weight: 600;
    padding: 1rem 1.4rem;
    font-size: 1.05rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95), rgba(250, 204, 21, 0.98));
    color: #0b0b10;
    border: none;
    box-shadow: 0 1.3rem 2.6rem rgba(212, 175, 55, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button--primary:hover {
    transform: translatey(-1px);
    box-shadow: 0 1.6rem 2.8rem rgba(212, 175, 55, 0.34);
}

.button--subtle {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.9rem 1.3rem;
    background: rgba(212, 175, 55, 0.16);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.button--subtle:hover {
    background: rgba(212, 175, 55, 0.24);
    border-color: var(--gold-base);
}

.checkout-trust {
    display: grid;
    justify-items: center;
    gap: 1rem;
}

.checkout-trust__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkout-trust__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.12);
    background: rgba(10, 10, 16, 0.45);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.checkout-trust__icon {
    font-size: 1.1rem;
}

.checkout-trust__item span:last-child {
    line-height: 1.4;
}

@media (max-width: 640px) {
    .checkout-hero__subtitle {
        font-size: 0.98rem;
    }

    .checkout-card, .checkout-product {
        padding: 1.6rem;
    }
}

/* Verwaltung: Tabellen, Konto & Hilfen */
.formular-hinweis {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: -0.2rem 0 0.8rem;
}

.tabelle {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 2rem;
}

.tabelle-wrapper {
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0.9rem 2.2rem rgba(0, 0, 0, 0.25);
}

.tabelle-wrapper .tabelle {
    margin-bottom: 0;
}

.tabelle th, .tabelle td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    text-align: left;
    vertical-align: top;
}

.tabelle th {
    font-weight: 600;
    background: rgba(212, 175, 55, 0.08);
}

.tabelle--responsive .aktion-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

@media (max-width: 960px) {
    .tabelle-wrapper {
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .tabelle--responsive {
        border: none;
        box-shadow: none;
    }

    .tabelle--responsive thead {
        display: none;
    }

    .tabelle--responsive tbody {
        display: grid;
        gap: 1.2rem;
    }

    .tabelle--responsive tr {
        display: grid;
        gap: 0.9rem;
        padding: 1rem 1.2rem;
        border: 1px solid rgba(212, 175, 55, 0.25);
        border-radius: 1rem;
        background: rgba(0, 0, 0, 0.35);
        box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.28);
    }

    .tabelle--responsive td {
        display: grid;
        gap: 0.35rem;
        padding: 0;
        border: 0;
    }

    .tabelle--responsive td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.8em;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        opacity: 0.8;
    }

    .tabelle--responsive td:last-child {
        gap: 0.6rem;
    }

    .tabelle--responsive td a {
        display: inline-flex;
    }
}

.liste {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.6rem;
}

.kontoabschnitt {
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 1rem;
    padding: 1.6rem;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.3);
}

.hilfe-trigger {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.6);
    background: rgba(0, 0, 0, 0.4);
    color: var(--gold-light);
    font-weight: 700;
    cursor: pointer;
    margin-left: 0.6rem;
}

.kopfbereich__links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.1rem;
}

.kopfbereich__login {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translatey(-50%);
    display: flex;
    align-items: center;
    z-index: 1200;
    padding: 0.4rem 0.6rem 0.8rem;
}

.login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--gold-light);
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.login-icon::before {
    content: "👤";
    font-size: 1.6rem;
}

.login-icon:hover, .login-icon:focus-visible {
    box-shadow: 0 0.6rem 1.6rem rgba(212, 175, 55, 0.35);
    transform: translatey(-2px);
}

.login-dropdown {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .kopfbereich__login .login-dropdown {
        position: absolute;
        top: calc(100% - 0.2rem);
        right: 0;
        width: clamp(16rem, 24vw, 18rem);
        padding: 1.4rem;
        border-radius: 1rem;
        border: 1px solid rgba(212, 175, 55, 0.35);
        background: rgba(0, 0, 0, 0.88);
        box-shadow: 0 1.2rem 2.8rem rgba(0, 0, 0, 0.45);
        opacity: 0;
        pointer-events: none;
        transform: translatey(-0.25rem);
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 1500;
        display: block;
        line-height: 1.4;
    }

    .kopfbereich__login:hover .login-dropdown, .kopfbereich__login:focus-within .login-dropdown {
        opacity: 1;
        pointer-events: auto;
        transform: translatey(0);
    }
}

.kopfbereich__login .login-dropdown .formular {
    gap: 0.9rem;
}

.kopfbereich__login .login-dropdown input, .kopfbereich__login .login-dropdown label {
    font-size: 1rem;
}

.kopfbereich__login .login-dropdown .button {
    width: 100%;
}

.kopfbereich__login .login-dropdown .login-links {
    font-size: 0.85em;
}

@media (orientation: portrait) {
    .kopfbereich__login .login-dropdown {
        display: none !important;
    }

    .kopfbereich__links {
        gap: 0.75rem;
    }

    .kopfbereich__login {
        right: 1.2rem;
        top: 50%;
        transform: translatey(-50%);
    }
}

.login-links {
    margin: 0;
    text-align: center;
    font-size: 0.9em;
}

.login-links a {
    color: var(--gold-light);
}

.login-icon--aktiv {
    background: rgba(212, 175, 55, 0.12);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hilfe-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
    z-index: 1000;
}

.hilfe-overlay__inhalt {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 1rem;
    padding: 1.8rem;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.45);
}

.hilfe-overlay__detail {
    margin-top: 1rem;
}

.hilfe-overlay__schliessen {
    margin-top: 1.6rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    background: transparent;
    color: var(--gold-light);
    cursor: pointer;
}

.kopfzeile__prefix {
    font-size: 0.5em;
    font-family: "Germania One", serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
    line-height: 1;
}

.kopfzeile__titel {
    display: inline-block;
    line-height: 1.2;
}

main > h1 {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: clamp(0.35rem, 1.2vw, 0.75rem);
}

.karte-detail__layout {
    display: grid;
    gap: 1rem;
}

.karte-detail {
    position: relative;
}

.karte-detail__item--premium {
    position: relative;
    overflow: hidden;
    transition: filter 0.2s ease-in-out;
}

.karte-detail--locked,
.karte-detail--locked * {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.karte-detail--locked .karte-detail__item--premium dd {
    filter: blur(0.20rem);
    pointer-events: none;
}

.karte-detail--open,
.karte-detail--open * {
    user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
}

.karte-detail--open .karte-detail__item--premium dd {
    filter: none;
    pointer-events: auto;
}

.karte-detail__werte {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.8rem);
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    padding: 0;
}

.karte-detail__item {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 1rem;
    padding: clamp(1rem, 2.4vw, 1.6rem);
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.45);
    display: grid;
    gap: 0.6rem;
}

.karte-detail__item dt {
    font-family: "Germania One", serif;
    font-size: clamp(1.1rem, 2.6vw, 1.35rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.karte-detail__item dd {
    margin: 0;
    color: var(--gold-base);
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    line-height: 1.7;
}

.karte-detail__item--bild {
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    align-self: start;
    justify-self: center;
}

.karte-detail__bild {
    display: block;
    width: 100%;
    max-width: clamp(16rem, 40vw, 26rem);
    border-radius: 1.1rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: var(--gold-shadow);
}

@media (min-width: 720px) {
    .scan-shell {
        grid-template-columns: 2fr 1fr;
        align-items: start;
    }

    .karte-detail__layout {
        grid-template-columns: minmax(10rem, 20rem) minmax(0, 1fr);
        align-items: start;
    }

    .karte-detail__werte {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }
}
