:root {
    --gold:      #C8973A;
    --gold-light:#E8B84B;
    --gold-pale: #F5EDD8;
    --gold-border: #C8973A;
    --text-dark: #1A1A1A;
    --text-mid:  #555;
    --text-light:#888;
    --bg:        #FAFAF8;
    --card-bg:   #FFFFFF;
    --border:    #E8E4DC;
    --radius:    12px;
    --shadow:    0 2px 16px rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { height: 100%; }

body {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    background: var(--bg);
    color: var(--text-dark);
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}

/* ── HEADER ── */
.site-header {
    background: #1A1A1A;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}
.header-name {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 200;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    color: #fff;
    text-transform: uppercase;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 12px;
}

@media (max-width: 640px) {
    .header-name {
        display: block !important;
        font-size: 0.75rem;
        text-align: center;
        flex: 1;
    }
    .site-header .logo { display: none; }
    .site-header .reset-btn { display: none; }
}

.site-header .logo {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--gold-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

/* ── KONFIGURATOR WRAPPER ── */
.konfig-wrapper {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 24px 60px;
    box-sizing: border-box;
}

/* ── FORTSCHRITTSLEISTE ── */
.progress-bar {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 36px;
}
.progress-step {
    display: flex;
    align-items: center;
    flex: 1;
}
.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    flex-shrink: 0;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}
.step-circle.aktiv {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}
.step-circle.erledigt {
    background: var(--gold-pale);
    border-color: var(--gold);
    color: var(--gold);
}
.step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    position: relative;
    margin: 0 4px;
}
.step-line.aktiv { background: var(--gold); }

/* ── TITEL ── */
.konfig-titel {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.15;
    margin-bottom: 32px;
}

/* ── KARTEN GRID ── */
.karten-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ring-karte {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px 40px;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    position: relative;
    user-select: none;
}
.ring-karte:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}
.ring-karte.ausgewaehlt {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 1px var(--gold-border);
    background: var(--card-bg);
}
.ring-karte.ausgewaehlt::after {
    display: none;
}

.ring-karte-bild {
    width: 260px;
    height: 195px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ring-karte-bild svg {
    width: 100%;
    height: 100%;
}
.ring-karte-bild img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ring-karte-info {
    flex: 1;
    width: 100%;
}

/* ── MOBILE: Ring-Karten horizontal ── */
@media (max-width: 640px) {
    /* Wrapper weniger padding */
    .konfig-wrapper {
        padding: 16px 16px 80px;
    }

    /* Progress bar – mehr Abstand zur Überschrift */
    .progress-bar {
        margin-bottom: 24px;
    }

    /* Überschrift eine Zeile */
    .konfig-titel {
        font-size: 1.3rem !important;
        white-space: nowrap;
        margin-bottom: 12px;
        line-height: 1.1;
    }

    /* Grid: eine Spalte, wenig Abstand */
    .karten-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    /* Karte: Bild links, Text rechts-bündig, kompakt */
    .ring-karte {
        flex-direction: row;
        align-items: center;
        text-align: right;
        padding: 8px 12px;
        gap: 10px;
        border-radius: 10px;
    }
    .ring-karte-bild {
        width: 140px;
        height: 108px;
        flex-shrink: 0;
    }
    .ring-karte-info {
        flex: 1;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 1px;
    }
    .ring-karte-name {
        font-size: 0.82rem;
        margin-bottom: 0;
        white-space: nowrap;
    }
    .ring-karte-detail {
        font-size: 0.72rem;
        margin-bottom: 0;
        line-height: 1.3;
        white-space: nowrap;
    }
    .ring-karte-preis {
        font-size: 0.82rem;
        margin-bottom: 0;
        margin-top: 1px;
    }

    /* Info-Icon: unter dem Text, rechtsbündig, klein */
    .info-btn, .ring-karte .info-icon-btn {
        position: static !important;
        margin-top: 4px;
        align-self: flex-end;
        width: 18px !important;
        height: 18px !important;
        font-size: 0.62rem !important;
    }

    /* Nav-Buttons nah an den Boxen */
    .nav-buttons {
        margin-top: 12px;
        padding-top: 0;
    }

    /* ── STEP 2: Gravur ── */
    .gravur-untertitel {
        font-size: 0.82rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    .gravur-input {
        padding: 11px 16px;
        font-size: 0.92rem;
    }
    .gravur-zaehler {
        margin-bottom: 10px;
        font-size: 0.75rem;
    }
    .gravur-schrift-titel {
        font-size: 1.3rem !important;
        white-space: nowrap;
        margin-bottom: 10px;
        line-height: 1.1;
    }
    .gravur-schrift-titel br {
        display: none;
    }
    .schrift-liste {
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
    }
}
.ring-karte-name {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.ring-karte-detail {
    font-size: 0.8rem;
    color: var(--text-mid);
    line-height: 1.6;
}
.ring-karte-preis {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-top: 10px;
}

.info-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    background: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    z-index: 3;
}

/* ── MATERIAL KARTEN ── */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.material-karte {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
    text-align: center;
    position: relative;
}
.material-karte:hover { border-color: var(--gold-light); }
.material-karte.ausgewaehlt {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 1px var(--gold-border);
    background: var(--gold-pale);
}
.material-karte.ausgewaehlt::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 10px;
    width: 18px;
    height: 18px;
    background: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}
.material-farbe {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 10px;
    border: 3px solid rgba(0,0,0,0.08);
}
.material-name {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dark);
}
.material-detail {
    font-size: 0.72rem;
    color: var(--text-mid);
    margin-top: 3px;
}
.material-aufschlag {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--gold);
    margin-top: 6px;
}

/* ── OBERFLÄCHE KARTEN ── */
.oberflaeche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.oberflaeche-karte {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
    position: relative;
}
.oberflaeche-karte:hover { border-color: var(--gold-light); }
.oberflaeche-karte.ausgewaehlt {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 1px var(--gold-border);
    background: var(--gold-pale);
}
.oberflaeche-karte.ausgewaehlt::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 12px;
    width: 20px;
    height: 20px;
    background: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}
.oberflaeche-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-pale);
    border-radius: 50%;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.oberflaeche-name {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.oberflaeche-desc {
    font-size: 0.78rem;
    color: var(--text-mid);
}
.oberflaeche-aufschlag {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--gold);
    margin-top: 8px;
}

/* ── RINGGRÖSSE ── */
.groesse-wrapper {
    max-width: 600px;
}
.groesse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}
.groesse-btn {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}
.groesse-btn:hover { border-color: var(--gold-light); }
.groesse-btn.ausgewaehlt {
    border-color: var(--gold);
    background: var(--gold-pale);
    color: var(--gold);
    font-weight: 700;
}
.groesse-hinweis {
    background: var(--gold-pale);
    border-left: 3px solid var(--gold);
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    font-size: 0.83rem;
    color: var(--text-mid);
}

/* ── GRAVUR ── */
.gravur-wrapper {
    max-width: 100%;
}
.gravur-untertitel {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 20px;
}
.gravur-input {
    width: 100%;
    padding: 16px 22px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: var(--text-dark);
    background: white;
    transition: border-color 0.2s;
    outline: none;
    margin-bottom: 6px;
}
.gravur-input::placeholder { color: #bbb; }
.gravur-input:focus { border-color: var(--gold); }
.gravur-zaehler {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 28px;
}
.gravur-schrift-titel {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--gold);
    line-height: 1.2;
    margin-bottom: 18px;
    text-transform: uppercase;
}
.schrift-liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.schrift-liste label { display: flex; flex-direction: column; }
.schrift-btn {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
    text-align: center;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
    flex: 1;
}
.schrift-btn:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}
.schrift-btn.ausgewaehlt {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 1px var(--gold-border);
    background: var(--card-bg);
}
.schrift-btn.ausgewaehlt::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}

@media (max-width: 600px) {
    .schrift-liste { grid-template-columns: 1fr; }
}

/* ── RING TYP AUSWAHL ── */
.ringtyp-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 100%;
    align-items: start;
}
.ringtyp-karte-label {
    display: block;
    cursor: pointer;
    width: 100%;
}
.ringtyp-karte {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 22px 40px;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
    position: relative;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.ringtyp-karte:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow);
}
.ringtyp-karte.ausgewaehlt {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 1px var(--gold-border);
    background: var(--card-bg);
}
/* CSS-only fallback: radio checked state */
.ringtyp-karte-label input[type="radio"]:checked + .ringtyp-karte,
.ringtyp-karte-label:has(input[type="radio"]:checked) .ringtyp-karte {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 1px var(--gold-border);
    background: var(--card-bg);
}
.ringtyp-titel {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.ringtyp-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
    text-align: center;
}
.ringtyp-hinweis {
    background: var(--gold-pale);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px 40px;
    position: relative;
    grid-column: 1 / -1;
}
.ringtyp-hinweis-titel {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.ringtyp-hinweis-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.6;
}


/* ── MATERIAL & OBERFLÄCHE (Schritt 4) ── */
.material-oberflaeche-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Vorschau-Karte */
.vorschau-karte {
    background: var(--card-bg);
    border: 2px solid var(--gold-light);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 0;
}
.vorschau-bild {
    width: 260px;
    height: 195px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
}
.vorschau-bild svg { width: 100%; height: 100%; }
.vorschau-info { flex: 1; text-align: right; line-height: 1.55; }
.vorschau-zeile {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
    color: var(--text-mid);
}
.vorschau-zeile strong { font-weight: 700; color: var(--text-dark); }
.vorschau-gravur {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
    color: var(--gold);
    font-style: normal;
}

/* Gemeinsames 2-Spalten Grid für Materialien + Oberflächen */
.mat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    align-items: stretch;
}

/* Karten – identischer Stil wie .ring-karte */
.mat-label {
    display: flex;
    cursor: pointer;
}
.mat-label .mat-karte {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mat-label input[type="radio"] {
    display: none;
}
.mat-karte {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
    user-select: none;
    min-height: 52px;
    box-sizing: border-box;
}
.mat-karte-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mat-text {
    flex: 1;
}
.mat-karte:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}
.mat-label input[type="radio"]:checked + .mat-karte {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 1px var(--gold-border);
}
.mat-name {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.mat-sub {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.78rem;
    color: var(--text-mid);
}

/* Info-Button innerhalb Karte */
.mat-karte .info-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

/* Brillant-Karte – nicht klickbar als ganzes */
.mat-brillant {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 12px;
    background: var(--card-bg);
    cursor: default;
    min-height: 52px;
    box-sizing: border-box;
    transform: none !important;
}
.mat-brillant:hover { border-color: var(--border); box-shadow: none; }
.brillant-radio-group {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    align-items: center;
}
.brillant-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.82rem;
    color: var(--text-mid);
}
.brillant-option input[type="radio"] {
    display: inline-block !important;
    width: 15px;
    height: 15px;
    accent-color: var(--gold);
    cursor: pointer;
}

/* Preis-Box */
.preis-box {
    background: var(--card-bg);
    border: 2px solid var(--gold-light);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 6px;
}
.preis-box-label {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.875rem;
    color: var(--text-mid);
}
.preis-box-wert {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    white-space: nowrap;
}

@media (max-width: 640px) {
    .vorschau-karte {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        text-align: right;
    }
    .vorschau-bild {
        width: 140px;
        height: 108px;
        flex-shrink: 0;
        border-right: none;
        border-bottom: none;
        margin-right: 0;
        padding-right: 0;
    }
    .vorschau-info {
        flex: 1;
        text-align: right;
    }
    .vorschau-zeile {
        font-size: 0.76rem;
        line-height: 1.3;
    }
    .vorschau-gravur {
        font-size: 0.76rem;
    }
    /* Step 5: Zusammenfassung kompakt */
    .zusammenfassung-wrapper {
        gap: 7px !important;
    }
    .info-boxen-grid {
        grid-template-columns: 1fr !important;
    }
    .registrierung-box {
        padding: 10px 12px !important;
    }
    .registrierung-titel {
        font-size: 0.82rem !important;
        margin-bottom: 6px !important;
    }
    .registrierung-liste {
        gap: 4px !important;
    }
    .registrierung-liste li {
        font-size: 0.76rem !important;
    }
    .preis-box {
        padding: 10px 14px !important;
    }
    .preis-zahl {
        font-size: 1.4rem !important;
    }
}


/* ── ZUSAMMENFASSUNG (Schritt 5) ── */
.zusammenfassung-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.zusammenfassung-karte {
    align-items: flex-start;
}
.titel-sub {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.registrierung-box {
    background: var(--gold-pale);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 22px;
}
.registrierung-titel {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.registrierung-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.registrierung-liste li {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.88rem;
    color: var(--text-mid);
    padding-left: 14px;
    position: relative;
    line-height: 1.5;
}
.registrierung-liste li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--text-mid);
    font-weight: 700;
}

/* ── NAVIGATION BUTTONS ── */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
}
.btn-zurueck {
    background: none;
    border: none;
    color: var(--text-mid);
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.btn-zurueck:hover { color: var(--text-dark); }
.btn-weiter {
    background: var(--gold);
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s, opacity 0.25s;
}
.btn-weiter:disabled {
    background: #D5CDBE;
    cursor: not-allowed;
    opacity: 0.7;
}
.btn-weiter:not(:disabled):hover {
    background: #B5832E;
    transform: translateY(-1px);
}

/* ── SIDEBAR ZUSAMMENFASSUNG ── */
.konfig-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.sidebar-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 24px;
}
.sidebar-titel {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.04em;
}
.sidebar-zeile {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 8px;
}
.sidebar-zeile-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    flex-shrink: 0;
}
.sidebar-zeile-wert {
    font-size: 0.85rem;
    color: var(--text-dark);
    text-align: right;
    font-weight: 500;
}
.sidebar-gesamtpreis {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.sidebar-preis-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-mid);
}
.sidebar-preis-wert {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--text-dark);
}
.sidebar-leer {
    color: var(--text-light);
    font-size: 0.82rem;
    font-style: italic;
}

/* ── FOOTER ── */
.site-footer {
    background: #1A1A1A;
    color: #888;
    text-align: center;
    padding: 16px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}
.site-footer a { color: var(--gold-light); text-decoration: none; }

/* ── HIDDEN RADIO ── */
input[type="radio"] { display: none; }

/* ── RING SVG PLACEHOLDER ── */
.ring-svg-placeholder {
    width: 90px;
    height: 70px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .konfig-wrapper { padding: 24px 16px 40px; }
}

/* Tablet: 4 Boxen → 2x2, Bilder flexibel */
@media (max-width: 1024px) and (min-width: 701px) {
    .karten-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ring-karte-bild {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }
    .ring-karte-bild img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .ring-karte {
        padding: 16px 12px 36px;
    }
}

/* Desktop: Bilder flexibel damit sie nicht überlaufen */
@media (min-width: 1025px) {
    .ring-karte-bild {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }
    .ring-karte-bild img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

@media (max-width: 700px) {
    .karten-grid { grid-template-columns: 1fr; }
    .material-grid { grid-template-columns: repeat(2, 1fr); }
    .oberflaeche-grid { grid-template-columns: 1fr; }

    .konfig-titel { font-size: 1.9rem; }
    .groesse-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ── MOBILE Step 2: Schriftart-Boxen kompakt ── */
@media (max-width: 640px) {
    .schrift-btn {
        padding: 8px 6px !important;
        min-height: 0 !important;
    }
    .schrift-liste {
        gap: 7px !important;
    }
}

/* ── MOBILE Step 3: Ringtyp-Boxen kompakt ── */
@media (max-width: 640px) {
    .ringtyp-wrapper {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }
    .ringtyp-karte {
        padding: 12px 14px 12px !important;
        text-align: left !important;
    }
    .ringtyp-karte.ausgewaehlt::after {
        display: none !important;
    }
    .ringtyp-titel {
        font-size: 0.88rem !important;
        margin-bottom: 4px !important;
    }
    .ringtyp-text {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
    }
    .ringtyp-hinweis {
        padding: 10px 14px 36px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .ringtyp-hinweis-titel {
        font-size: 0.82rem !important;
        margin-bottom: 4px !important;
    }
    .ringtyp-hinweis-text {
        font-size: 0.76rem !important;
        line-height: 1.4 !important;
    }
    /* Nav-Buttons: gleicher seitlicher Abstand, mehr Abstand nach oben */
    .nav-buttons {
        margin-top: 16px !important;
        padding: 0 !important;
    }
}

/* ── MOBILE Step 4: Material/Optionen kompakt ── */
@media (max-width: 640px) {
    .mat-karte {
        padding: 6px 10px !important;
        min-height: 0 !important;
    }
    .mat-karte-inner {
        gap: 6px !important;
    }
    .mat-name {
        font-size: 0.78rem !important;
    }
    .mat-sub {
        font-size: 0.70rem !important;
        margin-top: 1px !important;
    }
    .mat-brillant {
        padding: 6px 10px !important;
        min-height: 0 !important;
    }
    .brillant-radio-group {
        margin-top: 4px !important;
        gap: 10px !important;
    }
    .mat-grid {
        gap: 5px !important;
    }
    /* Vorschau-Karte oben auch kompakter */
    .vorschau-karte {
        padding: 7px 10px !important;
        margin-bottom: 8px !important;
    }
}


/* ── PFLICHTFELD-MARKIERUNG ── */
.pflicht-stern {
    color: #e05050;
    font-size: 0.9em;
    margin-left: 2px;
}
.pflicht-fehler {
    border-color: #e05050 !important;
    box-shadow: 0 0 0 1px #e05050 !important;
}
.pflicht-hinweis {
    color: #e05050;
    font-size: 0.72rem;
    margin-top: 4px;
    padding-left: 4px;
    display: none;
}
.pflicht-hinweis.sichtbar {
    display: block;
}

/* Abmelden-Link im Header (nur eingeloggte Organisatoren) */
.site-header .header-abmelden {
    margin-left: auto;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 200;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 0.85;
}
.site-header .header-abmelden:hover { opacity: 1; }

/* ─────────────────────────────────────────────────────────────
   MOBIL: Grund-Schriftgröße erhöhen
   Alle Schriftgrößen sind in rem (relativ zur html-Grundgröße).
   Durch Anheben der html-font-size werden auf dem Handy ALLE
   Texte proportional größer und besser lesbar – ohne das
   Desktop-Layout zu verändern.
   ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    html { font-size: 18px; }
}

/* ─────────────────────────────────────────────────────────────
   MOBIL: Nav-Buttons stapeln
   Zurück-Link oben (klein, linksbündig), Haupt-Button (Weiter/
   Registrieren) darunter über die volle Breite – bessere
   Tap-Fläche auf dem Smartphone. Desktop bleibt unverändert.
   ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .nav-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .nav-buttons .btn-zurueck {
        align-self: flex-start;
    }
    .nav-buttons .btn-weiter {
        width: 100%;
    }
}
