:root {
    --navy: #120d0a;
    --navy-2: #1d1511;
    --panel: rgba(34, 24, 18, .78);
    --field: #0e0a08;
    --gold: #d9b56c;
    --gold-2: #f0d79a;
    --gold-line: rgba(217, 181, 108, .38);
    --text: #efe6d2;
    --muted: #b3a88f;
    --err: #ef8f78;
    --ok: #a9cf9f;
    --radius: 14px;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    padding: env(safe-area-inset-top) 16px calc(32px + env(safe-area-inset-bottom));
    background:
        radial-gradient(ellipse at 50% -10%, rgba(240, 215, 154, .14), transparent 55%),
        radial-gradient(ellipse at 50% 120%, rgba(217, 181, 108, .08), transparent 50%),
        var(--navy);
    color: var(--text);
    font: 17.5px/1.5 'EB Garamond', Georgia, serif;
}
a { color: var(--gold-2); }
.wrap { max-width: 620px; margin: 0 auto; }
.wrap.wide { max-width: 980px; }
.muted { color: var(--muted); }
.center { text-align: center; }
[hidden] { display: none !important; }

/* Sprache */
.langswitch {
    display: flex; width: 100%; max-width: 340px; margin: 14px auto 6px; padding: 4px;
    border: 1px solid var(--gold-line); border-radius: 30px; background: rgba(14, 10, 8, .7);
}
.langswitch a {
    flex: 1; display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 26px;
    text-decoration: none; color: var(--muted); font-size: 16px; letter-spacing: .06em; transition: background .2s, color .2s;
}
.langswitch a.on { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--navy); font-weight: 700; }

/* Kopf */
.hero { text-align: center; padding: 4px 0 22px; }
.hero.small { padding: 24px 0 14px; }
.tagline { color: var(--gold); letter-spacing: .08em; font-size: 14px; }
.big {
    font-family: 'Playfair Display', Georgia, serif; font-weight: 700;
    font-size: clamp(84px, 28vw, 150px); line-height: 1; margin: 6px 0 2px;
    background: linear-gradient(180deg, #fbe8b7 0%, #d9b56c 45%, #9e7a3a 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45));
}
.names { font-family: 'Playfair Display', Georgia, serif; color: var(--gold); font-size: clamp(22px, 6.4vw, 34px); margin: 0; letter-spacing: .03em; }
.script { font-family: 'Great Vibes', cursive; color: var(--gold-2); font-size: clamp(44px, 13vw, 66px); line-height: 1.15; }
.flourish, .foot { color: var(--gold); text-align: center; font-size: 22px; }
.foot { padding: 28px 0 0; opacity: .7; }

/* Info-Box: Datum als Blickfang */
.info { background: var(--panel); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 22px 18px 18px; margin-bottom: 18px; text-align: center; }
.info .lbl { font: 600 13px/1.25 'EB Garamond', Georgia, serif; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); }
.when { padding-bottom: 18px; margin-bottom: 16px; position: relative; }
.when::after { content: "❦"; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); color: var(--gold); font-size: 16px; background: #211814; padding: 0 10px; line-height: 1; }
.when { border-bottom: 1px solid transparent; background: linear-gradient(90deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent) bottom / 100% 1px no-repeat; }
.wday { font-family: 'Great Vibes', cursive; color: var(--gold-2); font-size: clamp(34px, 9vw, 44px); line-height: 1.1; margin-top: 8px; }
.wdate { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--text); font-size: clamp(26px, 7.4vw, 36px); line-height: 1.15; letter-spacing: .01em; }
.wtime {
    display: inline-block; margin-top: 12px; padding: 6px 18px; border-radius: 22px;
    background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--navy);
    font: 600 17px/1.2 'EB Garamond', Georgia, serif; letter-spacing: .04em;
}
.info-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.mcell { padding: 6px 8px; }
.mcell + .mcell { border-left: 1px solid rgba(217, 181, 108, .25); }
.mval { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 19px; color: var(--text); margin-top: 7px; line-height: 1.2; }
.msub { font-style: italic; color: var(--muted); font-size: 15px; margin-top: 3px; }

/* Karte & Formular */
.card { background: var(--panel); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 20px 18px; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.field { display: block; margin-bottom: 14px; }
.field > span, legend { display: block; color: var(--gold); font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], select, textarea {
    width: 100%; min-height: 48px; padding: 11px 13px;
    font: 16px/1.4 'EB Garamond', Georgia, serif; color: var(--text);
    background: var(--field); border: 1px solid var(--gold-line); border-radius: 10px;
    -webkit-appearance: none; appearance: none;
}
select {
    background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
::placeholder { color: #7f7867; }
.field.narrow { max-width: 180px; }
.grid2 { display: grid; gap: 0 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.hint { font-size: 13.5px; color: var(--muted); margin: -4px 0 16px; }
.hint.center { margin: 14px 0 0; }
h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--gold-2); font-weight: 700; }
h3 { font-size: 19px; margin: 6px 0 6px; }

.choice { border: 0; padding: 0; margin: 4px 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice legend { grid-column: 1 / -1; padding: 0; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span {
    display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 8px;
    border: 1px solid var(--gold-line); border-radius: 10px; background: var(--field); cursor: pointer;
}
.opt input:checked + span { background: var(--gold); color: var(--navy); font-weight: 700; border-color: var(--gold); }
.opt input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }

.choice.small { margin: 0 0 14px; }
.choice.small .opt span { min-height: 48px; }
.counts { align-items: start; }
.who { margin-top: 6px; }
.group { border: 1px solid var(--gold-line); border-radius: 12px; padding: 4px 14px 6px; margin-bottom: 14px; background: rgba(14, 10, 8, .35); }
.ghead { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; padding: 10px 0 2px; }
.glabel { display: block; font-size: 13px; color: var(--muted); }
.glabel input, .glabel select { margin-top: 4px; }
.glabel.grow { flex: 1; min-width: 0; }
.glabel.age { flex: 0 0 92px; }
.guest { display: flex; gap: 10px; padding: 12px 0; border-top: 1px dashed rgba(217, 181, 108, .22); }
.group .ghead + .guest { border-top: 0; }
.gnum {
    flex: 0 0 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gold); color: var(--gold); font-weight: 700; margin-top: 22px;
}
.gbody { flex: 1; display: grid; gap: 8px; min-width: 0; }
.gline { display: flex; gap: 8px; align-items: flex-end; }
.gline input[type=text] { flex: 1; min-width: 0; }
.chk { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; white-space: nowrap; color: var(--muted); font-size: 14px; }
.chk input { width: 20px; height: 20px; accent-color: var(--gold); }
#yesbox { margin-bottom: 8px; }

.btn {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 8px;
    font: 700 17px/1 'EB Garamond', Georgia, serif; letter-spacing: .06em; text-decoration: none;
    color: var(--navy); background: linear-gradient(180deg, var(--gold-2), var(--gold)); border: 0; border-radius: 10px; cursor: pointer;
}
.btn:disabled { opacity: .6; }
.btn.ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold-line); }

.errors { border: 1px solid var(--err); background: rgba(239, 143, 120, .1); color: #ffd9cf; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.errors ul { margin: 6px 0 0; padding-left: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.thanks { text-align: center; padding: 30px 20px; }
.thanks h2 { margin: 8px 0 10px; font-size: 22px; line-height: 1.35; }
.seal {
    width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--navy); background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--gold) 60%, #9e7a3a);
}

/* Admin */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--gold-line); border-radius: 22px; text-decoration: none; color: var(--gold); font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(6, 1fr); } }
.kpi { background: var(--panel); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 14px; text-align: center; }
.kpi b { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 34px; color: var(--gold-2); line-height: 1.1; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi.hl { background: linear-gradient(180deg, rgba(240, 215, 154, .22), rgba(217, 181, 108, .1)); }
.card h2 { margin: 0 0 12px; font-size: 20px; }
.card h2 small, .sect small { font-family: 'EB Garamond', Georgia, serif; font-weight: 400; font-size: 13px; color: var(--muted); }
.sect { text-align: center; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; color: var(--gold); font-weight: 400; font-size: 13px; border-bottom: 1px solid var(--gold-line); padding: 6px 6px 6px 0; }
.tbl td { padding: 8px 6px 8px 0; border-bottom: 1px dashed rgba(217, 181, 108, .18); vertical-align: top; }
.entry .ehead { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.entry strong { font-size: 17px; margin-right: 6px; }
.badge { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 10px; vertical-align: middle; }
.badge.ok { background: rgba(169, 207, 159, .18); color: var(--ok); }
.badge.off { background: rgba(179, 168, 143, .16); color: var(--muted); }
.entry.no { opacity: .75; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--muted); margin: 6px 0 4px; }
.glist { margin: 8px 0 0; padding-left: 20px; }
.glist li { padding: 2px 0; }
.allergy { display: inline-block; margin-left: 6px; color: var(--err); font-size: 14px; }
blockquote { margin: 10px 0 0; padding: 8px 12px; border-left: 2px solid var(--gold); color: var(--muted); font-style: italic; }
.del { min-width: 44px; min-height: 44px; background: transparent; border: 1px solid rgba(239, 143, 120, .4); color: var(--err); border-radius: 10px; cursor: pointer; font-size: 16px; }

@media print {
    body { background: #fff; color: #000; padding: 0; }
    .noprint, .langswitch { display: none !important; }
    .card, .kpi { background: #fff; border-color: #999; box-shadow: none; break-inside: avoid; }
    .kpi b, h2, .script, .tagline, .tbl th { color: #000 !important; }
    .allergy { color: #000; font-weight: 700; }
    .entry.no { opacity: 1; }
}

/* ================= Vintage-Ambiente (Gästeseite) ================= */

body.festa { padding-top: calc(70px + env(safe-area-inset-top)); position: relative; overflow-x: hidden; }

/* Lichterkette */
.lights { position: absolute; top: 0; left: 0; width: 100%; height: 150px; pointer-events: none; z-index: 0; }
.lights .glow { animation: twinkle 3.2s ease-in-out infinite; transform-origin: 0 12px; }
.lights .b1 .glow { animation-delay: -.6s; animation-duration: 2.7s; }
.lights .b2 .glow { animation-delay: -1.3s; animation-duration: 3.6s; }
.lights .b3 .glow { animation-delay: -2.1s; animation-duration: 2.9s; }
.lights .b4 .glow { animation-delay: -.2s; animation-duration: 4.1s; }
@keyframes twinkle { 0%, 100% { opacity: .95; } 45% { opacity: .45; } 60% { opacity: 1; } }

/* Papierkörnung + Vignette */
.grain {
    position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .07; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body.festa::after {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .45) 100%);
}
body.festa .wrap { position: relative; z-index: 1; }

/* Ornamente */
.hero { position: relative; }
.corner { position: absolute; width: 74px; height: 74px; color: var(--gold); opacity: .55; top: 46px; }
.corner.tl { left: -4px; }
.corner.tr { right: -4px; transform: scaleX(-1); }
@media (min-width: 560px) { .corner { width: 110px; height: 110px; } }
.flourish { position: relative; }
.flourish::before, .flourish::after {
    content: ""; position: absolute; top: 50%; width: min(28vw, 150px); height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.flourish::before { right: calc(50% + 22px); }
.flourish::after { left: calc(50% + 22px); transform: scaleX(-1); }
.big { animation: shimmer 6s ease-in-out infinite; background-size: 100% 220%; }
@keyframes shimmer { 0%, 100% { background-position: 0 0; } 50% { background-position: 0 100%; } }

.info, .card { backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.info { position: relative; }
.info::before, .card::before {
    content: ""; position: absolute; inset: 5px; border: 1px solid rgba(217, 181, 108, .16); border-radius: calc(var(--radius) - 4px); pointer-events: none;
}
.card { position: relative; }

/* Kopf-Hintergrundbild (in Sepia/Navy getönt, läuft weich aus) */
.hero-bg { position: absolute; top: 0; left: 0; right: 0; height: 600px; z-index: 0; overflow: hidden; pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.7) 45%, transparent 100%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.7) 45%, transparent 100%); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
    filter: grayscale(1) sepia(.75) brightness(.38) contrast(1.15); opacity: .55; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,13,10,.25), rgba(18,13,10,.55)); }
.lights { z-index: 1; }

/* Filmstreifen: 3 Bilder, passt immer in die Breite */
.film { margin: 0 0 18px; padding: 14px 8px; border-radius: 6px; position: relative;
    background:
        radial-gradient(circle at 50% 50%, #e9dcbc 0 2.6px, transparent 3px) 0 3px / 18px 8px repeat-x,
        radial-gradient(circle at 50% 50%, #e9dcbc 0 2.6px, transparent 3px) 0 calc(100% - 3px) / 18px 8px repeat-x,
        #0c0c0f;
    box-shadow: 0 10px 26px rgba(0,0,0,.4); }
.film::before { content: ""; position: absolute; inset: 0; border-radius: 6px; background: inherit; opacity: 0; }
.film-frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.frame { margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: #1b1b20; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block;
    filter: grayscale(1) sepia(.55) contrast(1.05) brightness(.92); transition: opacity .7s ease; }
.frame.fade img { opacity: 0; }
.frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 4px 5px; text-align: center;
    font: italic 12.5px/1.15 'EB Garamond', Georgia, serif; color: #f3e7cc; letter-spacing: .03em;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.7)); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    transition: opacity .7s ease; }
.frame.fade figcaption { opacity: 0; }
@media (min-width: 560px) { .frame figcaption { font-size: 13px; } }

/* Musik */
.music { position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 10; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.music-btn {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 5px 6px; border: 1px solid var(--gold-line);
    border-radius: 14px; background: rgba(12, 9, 7, .88); color: var(--gold); cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .4); -webkit-tap-highlight-color: transparent;
}
.vinyl { width: 40px; height: 40px; display: block; }
.music-btn.playing .vinyl { animation: spin 3s linear infinite; }
.music-label { font: 700 10.5px 'EB Garamond', Georgia, serif; letter-spacing: .04em; }
.music-btn.playing .music-label { color: var(--gold-2); }
@keyframes spin { to { transform: rotate(360deg); } }
.music-hint {
    background: var(--gold); color: var(--navy); font: 700 14px 'EB Garamond', Georgia, serif; padding: 8px 12px; border-radius: 12px;
    position: relative; animation: bob 1.6s ease-in-out infinite; white-space: nowrap;
}
.music-hint::after { content: ""; position: absolute; right: 18px; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--gold); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.foot { padding-bottom: 70px; }

/* Danke-Seite: goldene Funken */
.celebrate .thanks { overflow: hidden; }
.celebrate .thanks::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(circle, var(--gold-2) 1.5px, transparent 2px),
        radial-gradient(circle, var(--gold) 1px, transparent 1.5px);
    background-size: 46px 46px, 31px 31px; background-position: 0 0, 15px 20px;
    animation: sparkle 6s linear infinite; opacity: .35;
}
@keyframes sparkle { from { background-position: 0 -46px, 15px -11px; } to { background-position: 0 230px, 15px 175px; } }

@media (prefers-reduced-motion: reduce) {
    .lights .glow, .big, .music-btn.playing .vinyl, .music-hint, .celebrate .thanks::after { animation: none !important; }
}
.foot .credit { display: block; font-size: 11px; color: var(--muted); opacity: .7; margin-top: 6px; letter-spacing: .04em; }

/* ================= Mobile-Feinschliff ================= */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body.festa { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
@media (max-width: 559px) {
    body.festa { padding-top: calc(54px + env(safe-area-inset-top)); }
    .langswitch { max-width: 260px; margin-top: 8px; }
    .langswitch a { min-height: 42px; font-size: 15px; }
    .corner { width: 52px; height: 52px; top: 34px; opacity: .45; }
    .big { font-size: clamp(76px, 25vw, 110px); }
    .script { font-size: clamp(40px, 12vw, 54px); }
    .card { padding: 18px 14px; }
    .guest { gap: 8px; }
    .gnum { flex-basis: 28px; height: 28px; font-size: 14px; }
    .group { padding: 4px 10px 6px; }
    .glabel.age { flex-basis: 78px; }
    .choice { gap: 8px; }
    .opt span { font-size: 15px; }
    .foot { padding-bottom: 90px; }
}

/* ================= Topbar ================= */
.topbar { display: flex; justify-content: center; margin: 14px auto 6px; }
.topbar .langswitch { margin: 0; }
@media (max-width: 559px) { .topbar { margin-top: 8px; } }

/* ================= Musik: grosser Knopf im Kopf ================= */
.music-cta {
    display: inline-flex; align-items: center; gap: 14px; margin: 22px auto 0; padding: 10px 22px 10px 10px;
    border: 0; border-radius: 48px; cursor: pointer; text-align: left; position: relative;
    background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--navy);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .45), 0 0 0 0 rgba(240, 215, 154, .55);
    animation: ctaPulse 2.2s ease-out infinite; -webkit-tap-highlight-color: transparent;
}
.music-cta .vinyl { width: 58px; height: 58px; flex: 0 0 auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); }
.cta-text { display: flex; flex-direction: column; line-height: 1.15; }
.cta-off, .cta-on { font: 700 20px/1.15 'Playfair Display', Georgia, serif; }
.cta-on { display: none; }
.cta-text small { font: italic 14px/1.3 'EB Garamond', Georgia, serif; opacity: .8; margin-top: 2px; }
.eq { display: none; align-items: flex-end; gap: 3px; height: 22px; margin-left: 4px; }
.eq i { display: block; width: 4px; background: var(--navy); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 22px; } }
@keyframes ctaPulse { 0% { box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 0 rgba(240,215,154,.55); } 70% { box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 18px rgba(240,215,154,0); } 100% { box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 0 rgba(240,215,154,0); } }
.music-cta.playing { animation: none; background: rgba(14, 10, 8, .85); color: var(--gold-2); border: 1px solid var(--gold); }
.music-cta.playing .cta-off { display: none; }
.music-cta.playing .cta-on { display: inline; }
.music-cta.playing .eq { display: flex; }
.music-cta.playing .eq i { background: var(--gold); }
.music-cta.playing .vinyl, .music-mini.playing .vinyl { animation: spin 3s linear infinite; }
.music-cta:active { transform: scale(.97); }
@media (max-width: 380px) { .music-cta .vinyl { width: 50px; height: 50px; } .cta-off, .cta-on { font-size: 18px; } }

/* kleiner Knopf beim Scrollen */
.music-mini {
    position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20;
    width: 58px; height: 58px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(12, 9, 7, .92); border: 2px solid var(--gold); cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .5); -webkit-tap-highlight-color: transparent;
    opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .3s, transform .3s, visibility .3s;
}
.music-mini.show { opacity: 1; visibility: visible; transform: none; }
.music-mini:not(.playing).show { animation: ctaPulse 2.2s ease-out infinite; }
.music-mini .vinyl { width: 46px; height: 46px; }
.music-mini .mute {
    position: absolute; inset: 0; border-radius: 50%; pointer-events: none; transform: scale(.7);
    background: linear-gradient(135deg, transparent calc(50% - 1.5px), var(--gold-2) calc(50% - 1.5px), var(--gold-2) calc(50% + 1.5px), transparent calc(50% + 1.5px));
}
.music-mini.playing .mute { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .music-cta, .music-mini, .eq i { animation: none !important; } }
.gal-btn { margin: 0 0 18px; }

/* ===== Vereinfachte Anmeldung (v10) ===== */
.btn.jump { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 58px; font-size: 20px; margin: 0 0 18px; text-decoration: none; box-sizing: border-box; }
.rsvp { scroll-margin-top: 12px; }
.rsvp input[type=text], .rsvp select, .rsvp textarea { font-size: 18px; min-height: 52px; }
.step { margin-bottom: 22px; scroll-margin-top: 16px; }
.step[hidden] { display: none; }
.step-h { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--gold-2); font-size: 22px; margin-bottom: 10px; }
.step-n { flex: 0 0 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gold); color: var(--navy); font-size: 18px; }
.bigchoice { display: grid; gap: 10px; border-radius: 12px; }
.bc { position: relative; display: block; }
.bc input { position: absolute; opacity: 0; inset: 0; }
.bc span { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 0 16px; font-size: 21px; border: 1.5px solid var(--gold-line); border-radius: 12px; background: var(--field); cursor: pointer; text-align: center; }
.bc.no span { min-height: 52px; font-size: 18px; color: var(--muted); }
.bc input:checked + span { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--navy); font-weight: 700; border-color: var(--gold); }
.bc input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.plist { display: grid; gap: 10px; }
.person { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--gold-line); border-radius: 12px; background: rgba(14, 10, 8, .45); }
.person[hidden] { display: none; }
.person.kid { border-style: dashed; }
.p-top { display: flex; gap: 8px; align-items: center; }
.p-top .p-name { flex: 1; min-width: 0; }
.p-del { flex: 0 0 48px; height: 48px; border-radius: 10px; border: 1px solid var(--gold-line); background: transparent; color: var(--muted); font-size: 20px; cursor: pointer; }
.p-badge { flex: 0 0 auto; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--navy); background: var(--gold); border-radius: 20px; padding: 4px 9px; }
.p-kidline { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px; }
.p-all { font-size: 16px !important; min-height: 46px !important; }
.addrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.addrow .btn { min-height: 52px; font-size: 17px; margin: 0; width: 100%; }
.addrow .btn[hidden] { display: none; }
.btn.send { width: 100%; min-height: 62px; font-size: 22px; margin-top: 18px; }
details.msg { margin-top: 14px; }
details.msg summary { cursor: pointer; color: var(--gold); font-size: 16px; min-height: 44px; display: flex; align-items: center; }
details.msg textarea { margin-top: 6px; }
.bad { outline: 2px solid var(--err) !important; outline-offset: 1px; border-color: transparent !important; }
.fielderr { color: #ffd2c6; font-size: 15px; margin: 6px 0 0; }
.fielderr::before { content: "▲ "; color: var(--err); }
@media (max-width: 380px) { .p-kidline { grid-template-columns: 1fr; } .addrow { grid-template-columns: 1fr; } }

/* Austragungsort */
.place-note { margin: 14px 0 0; font-size: 15.5px; color: var(--text); font-style: italic; line-height: 1.4; }
.btn.route-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 14px; text-decoration: none; box-sizing: border-box; font-size: 18px; }
.thanks .btn.route-btn { margin: 4px 0 14px; }
.mval.long { font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }

/* ================= La Famiglia – Noir-Look (überschreibt Vintage) ================= */
:root {
    --navy: #120d0a; --navy-2: #1d1511; --panel: rgba(30, 21, 16, .82); --field: #0e0a08;
    --red: #9b1c1c; --red-2: #c4302b; --red-line: rgba(196, 48, 43, .55);
}
body {
    background:
        radial-gradient(ellipse at 18% 0%, rgba(246, 223, 168, .13), transparent 45%),
        radial-gradient(ellipse at 50% 120%, rgba(155, 28, 28, .14), transparent 55%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 26px),
        var(--navy);
}
body.festa { padding-top: calc(28px + env(safe-area-inset-top)); }
.lights.blinds { height: 700px; }
.smoke path { animation: smoke 14s ease-in-out infinite; transform-origin: 50% 100%; }
.smoke .s2 { animation-duration: 18s; animation-delay: -6s; }
.smoke .s3 { animation-duration: 16s; animation-delay: -3s; }
@keyframes smoke { 0%, 100% { transform: translateX(0) scaleY(1); opacity: .06; } 50% { transform: translateX(18px) scaleY(1.08); opacity: .13; } }
@media (prefers-reduced-motion: reduce) { .smoke path { animation: none; } }

.hero { padding-top: 8px; }
.emblem { display: block; width: 74px; height: 74px; margin: 0 auto -6px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)); }
.fam-title {
    font: 700 clamp(30px, 9vw, 46px)/1 'Playfair Display', Georgia, serif; letter-spacing: .01em;
    color: #f1dcaa; text-shadow: 0 3px 10px rgba(0, 0, 0, .7);
}
.don {
    font: 900 clamp(64px, 21vw, 118px)/.95 'Playfair Display', Georgia, serif; margin: 2px 0 0; letter-spacing: -.01em;
    background: linear-gradient(180deg, #fbe8b7 0%, #e3c27f 40%, #a7803c 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .7));
    background-size: 100% 220%; animation: shimmer 7s ease-in-out infinite;
}
.presenta { display: flex; align-items: center; gap: 14px; justify-content: center; margin: 12px auto 0; max-width: 420px;
    font: 600 13px/1 'EB Garamond', Georgia, serif; letter-spacing: .42em; text-transform: uppercase; color: #e9dcbc; }
.presenta::before, .presenta::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--red-line)); }
.presenta::after { transform: scaleX(-1); }
.hero .script { color: #f6e3b4; margin-top: 4px; text-shadow: 0 0 18px rgba(196, 48, 43, .35); }
.hero .script::after { content: ""; display: block; width: 62%; height: 2px; margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--red-2), transparent); box-shadow: 0 0 10px rgba(196, 48, 43, .8); }
.laurel { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 14px 0 4px; color: var(--gold); }
.laurel .lb { width: 34px; height: 52px; }
.laurel .lb.r { transform: scaleX(-1); }
.lmid { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.lmid small { font: 600 12px/1.3 'EB Garamond', Georgia, serif; letter-spacing: .22em; text-transform: uppercase; color: #e9dcbc; max-width: 220px; }
.lmid b { font: italic 700 46px/1 'Playfair Display', Georgia, serif; color: var(--gold-2); margin-top: 2px; }
.offer { font: 16px/1.4 'Special Elite', 'Courier New', monospace; color: var(--muted); margin: 10px 0 14px; letter-spacing: .02em; }

.poster { display: block; margin: 4px auto 20px; max-width: 360px; border-radius: 4px; overflow: hidden;
    border: 1px solid var(--gold-line); box-shadow: 0 18px 40px rgba(0, 0, 0, .6), 0 0 0 6px rgba(18, 13, 10, .8), 0 0 0 7px var(--gold-line);
    transform: rotate(-1.2deg); transition: transform .3s; }
.poster:hover { transform: rotate(0) scale(1.01); }
.poster img { display: block; width: 100%; height: auto; }

.info::after { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--red-2), transparent); }
.when::after { content: "✦"; background: #1f1611; color: var(--red-2); }
.wtime, .langswitch a.on, .opt input:checked + span { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a120d; }
.btn.jump, .btn[type=submit] { background: linear-gradient(180deg, #b52a25, #7d1515); color: #fbe8b7; border: 1px solid rgba(251, 232, 183, .35);
    box-shadow: 0 6px 18px rgba(125, 21, 21, .45); letter-spacing: .04em; }
.seal { background: radial-gradient(circle at 35% 30%, #c4302b, #6e1010); color: #fbe8b7; }
.card h2, h2, h3 { color: #f1dcaa; }
.field > span, legend { color: var(--gold); }
.foot { color: var(--red-2); }
.emblem.sm { width: 50px; height: 50px; margin-bottom: -4px; }
.hero.small .fam-title { font-size: clamp(26px, 7.5vw, 38px); }
.hero.small .tagline { margin-top: 4px; letter-spacing: .2em; text-transform: uppercase; font-size: 12.5px; color: #e9dcbc; }
.foto-h1 { font-family: 'Special Elite', 'Courier New', monospace; letter-spacing: .06em; }
.yt-hidden { position: fixed; left: -9999px; top: 0; width: 200px; height: 120px; overflow: hidden; pointer-events: none; }
