*{box-sizing:border-box} :root{--ink:#31382b;--green:#424f35;--muted:#5e6657;--paper:#ffffff;--line:#cbd5c9;--sage-wash:#f0f5ef;--leaf:#f0f4e9;--header:70px;color:var(--ink);background:var(--paper);font:17px/1.58 "Segoe UI",Arial,sans-serif}
body{margin:0} [hidden]{display:none!important} a{color:inherit;text-underline-offset:.25em} button,input,textarea{font:inherit} button{cursor:pointer} button:disabled{cursor:default;opacity:.55} :focus-visible{outline:3px solid #42634a;outline-offset:4px} h1,h2,h3,p{margin:0} h1,h2,h3,.brand,.signature,.date-line{font-family:Georgia,"Times New Roman",serif;font-weight:400}
h2{font-size:clamp(2.55rem,5.3vw,5.1rem);line-height:1.04;letter-spacing:-.05em;text-wrap:balance} h3{font-size:1.65rem;line-height:1.2;letter-spacing:-.025em} p+p{margin-top:1em} a,button,input,textarea{touch-action:manipulation} .sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap} .skip:focus{position:fixed;z-index:20;background:white;padding:.7rem} header{position:sticky;top:0;z-index:8;background:var(--paper);border-bottom:1px solid var(--line)} .topbar{max-width:1520px;height:var(--header);margin:auto;padding:0 clamp(18px,5vw,90px);display:flex;align-items:center;justify-content:space-between;gap:2rem} .brand{font-size:1.72rem;letter-spacing:.04em;text-decoration:none;white-space:nowrap}.brand i{font-size:.77em;color:#5c755f}.topbar nav,footer>div{display:flex;gap:clamp(16px,2.4vw,48px);align-items:center}nav a,footer a{font-size:.84rem;text-decoration:none;padding:12px 0}nav a:hover,footer a:hover{text-decoration:underline}.menu{border:1px solid var(--line);background:transparent;color:inherit;padding:.45rem .8rem;min-height:44px}.menu span{margin-left:.5em}
section[id],#brief{scroll-margin-top:calc(var(--header) + 10px)}.interior,.hero{width:min(1200px,88%);margin:auto}.spaced{padding-block:clamp(4rem,9vw,8rem)}.eyebrow{font-size:.72rem;font-weight:650;text-transform:uppercase;letter-spacing:.18em;line-height:1.45;margin-bottom:1.1rem;color:var(--muted)}.line{display:inline-block;width:2.5rem;height:1px;vertical-align:middle;background:currentColor;margin-right:.65rem}
.scene{background:#f5f8f2;border-bottom:1px solid var(--line);position:relative}.scene.scrub{height:400svh}.sticky{position:sticky;top:var(--header);min-height:min(770px,calc(100svh - var(--header)));display:grid;align-items:center;background:radial-gradient(ellipse at 75% 53%,#ffffff 5%,#f5f8f2 70%)}.scrub .sticky{height:calc(100svh - var(--header))}.hero{display:grid;grid-template-columns:.79fr 1.32fr;grid-template-areas:"title media" "action media";gap:1.9rem clamp(1.5rem,4vw,5rem);padding-block:3.5rem}.hero-title{grid-area:title;align-self:end}.hero h1{font-size:clamp(4.4rem,8vw,8.5rem);line-height:.92;letter-spacing:-.075em;margin:1.35rem 0 1.4rem}.hero h1 i{font-size:.74em;font-weight:400;color:#5f7c64}.hero-date{font:normal clamp(1.02rem,1.8vw,1.45rem) Georgia,serif}.hero-action{grid-area:action;display:flex;flex-direction:column;align-items:flex-start;gap:1.1rem}.hero-action>span{font-size:.8rem;color:var(--muted);letter-spacing:.025em}.hero-action>span span{margin-left:.5rem}.media-stage{grid-area:media;align-self:center;justify-self:center;position:relative;width:100%;aspect-ratio:16/9;background:#f4f7f2;box-shadow:0 12px 32px #304a371a;overflow:hidden}.media-stage img,.media-stage video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}.media-stage img#ende{background:#f4f7f2}.btn,.outline{display:inline-flex;align-items:center;justify-content:center;gap:1em;border:1px solid var(--green);background:var(--green);color:white;text-decoration:none;min-height:46px;padding:.65rem 1.14rem;border-radius:3px;font-size:.92rem;font-weight:590;text-align:center}.btn:hover{background:#323e29}.outline{background:transparent;color:var(--green)}.outline:hover{background:#e8e9dc}.textlink{background:none;border:0;color:var(--green);font-weight:600;font-size:.9rem;text-decoration:underline;text-underline-offset:.25em;display:inline-flex;align-items:center;min-height:44px;padding:.2rem 0;gap:.45em}.actions{display:flex;gap:.65rem 1.45rem;align-items:center;flex-wrap:wrap;margin-top:1.35rem}
.letter-section{padding-block:clamp(3rem,7vw,6rem)}.letter-print{max-width:760px;margin:0 auto 3.5rem}.letter-print img{display:block;width:100%;height:auto}.letter-layout,.split,.welcome-grid{display:grid;grid-template-columns:1fr 1.18fr;gap:clamp(2rem,7vw,7.5rem)}.letter-copy{font:1.4rem/1.5 Georgia,serif}.letter-copy strong{font-weight:400;font-size:1.45em}.letter-copy p+p{font:1rem/1.55 "Segoe UI",Arial,sans-serif}.letter-copy .actions{font-family:"Segoe UI",Arial,sans-serif}.welcome{background:var(--leaf);padding-block:4.5rem}.welcome-grid{align-items:center}.photo-frame{padding:10px;background:#ffffff;max-width:350px;justify-self:center;transform:rotate(-2deg);box-shadow:0 5px 15px #383d2f22}.photo-frame img{display:block;width:100%;height:auto;max-height:430px;object-fit:cover;object-position:center 45%}.welcome h2,.contact h3,#listen h2{margin-bottom:1rem}.signature{font-style:italic;font-size:1.4rem}.date-line{font-size:1.7rem;margin-bottom:1.4rem}.timeline{list-style:none;padding:0;margin:0}.timeline li{display:grid;grid-template-columns:4.4rem 1fr;border-top:1px solid var(--line);padding:1.3rem 0;gap:.5rem}.timeline time{font-weight:650;font-variant-numeric:tabular-nums}.timeline h3{font-size:1.35rem}.timeline a{display:inline-block;padding:.65rem 0}.facts{margin:0}.facts dt{font-weight:600;margin-top:1rem}.facts dd{margin:0}.rsvp{background:var(--sage-wash)}.ringfoto{max-width:220px;width:62%;height:auto;max-height:255px;object-fit:cover;object-position:50% 54%;margin-top:2rem;border:7px solid #ffffff;transform:rotate(2deg)}form{min-width:0}form label:not(.choice),.receipt label{display:block;font-size:.9rem;font-weight:600;margin-bottom:1rem}input:not([type=radio]):not([type=checkbox]),textarea{width:100%;padding:.68rem .8rem;border:1px solid #929889;border-radius:3px;display:block;margin-top:.32rem;background:#ffffff;color:var(--ink);font-size:1rem;line-height:1.4}textarea{resize:vertical}small{font-size:.85em;font-weight:400;color:var(--muted)}fieldset{border:0;padding:0;margin:1.2rem 0;min-width:0}legend{padding:0;font-weight:600;font-size:.94rem;margin-bottom:.5rem}.choice{display:flex;align-items:center;gap:.65rem;padding:.65rem .85rem;margin:.5rem 0;border:1px solid #9fa592;background:#fbfdfb;border-radius:3px;min-height:46px;font-size:.94rem}.choice:has(input:checked){background:#e3e8d9;border-color:var(--green)}input[type=radio],input[type=checkbox]{accent-color:var(--green);width:18px;height:18px;flex-shrink:0}#begleitung{border-left:2px solid #849882;padding-left:1rem}.privacy,.notice,.phone,.dishmeta{font-size:.87rem;color:#4f5849}.privacy{margin-bottom:1rem}.notice:not(:empty){border-left:2px solid #738b72;padding-left:.8rem;margin-block:1rem}.lists{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:2rem}.lists article,.receipt{padding:clamp(1rem,3vw,2.3rem);background:#f7f8f0;border:1px solid #d5d8c9}.lists article h3{max-width:22ch}.entries{margin:1rem 0 1.4rem}.entries p{margin:0}.entries>div{padding:.75rem 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.entries strong{display:block}.entries .empty{color:var(--muted);font-size:.93rem}.dish-form{border-top:1px solid var(--line);margin-top:1rem}.receipt{margin-top:1.3rem;max-width:700px}.receipt p,.receipt label{margin:.65rem 0}.contact{background:#d6e3d2}.contact .btn{background-color:#f8fbf6;color:#304735;border-color:#81977d}.contact .btn:hover,.contact .btn:focus-visible{background-color:#fff;border-color:#476349}.phone{margin-top:.6rem}.contact .btn{margin-top:1.4rem}footer{padding:3rem 6%;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:#f3f7f2}footer a{background:#fffffff2}section:focus{outline:none}.legal{max-width:760px;width:88%;margin:4rem auto}.legal h1{font-size:clamp(2.2rem,6vw,4rem);line-height:1.08}.legal h2{font-size:1.55rem;margin:2.1rem 0 .4rem}.legal p{margin-block:1rem}
@media(max-width:1120px){:root{--header:58px}.menu:not([hidden]){display:inline-flex;align-items:center}.topbar{padding:0 5%;position:relative}.topbar nav{position:absolute;top:100%;right:3%;z-index:5;display:grid;gap:0;min-width:230px;padding:.5rem 1rem;background:var(--paper);border:1px solid var(--line);box-shadow:0 12px 25px #31382b20}.topbar nav a{padding:.75rem .25rem}.hero,.interior{width:90%}.hero{grid-template-columns:.83fr 1.1fr;gap:1.3rem}.hero h1{font-size:clamp(3.2rem,8.5vw,5.5rem)}}
@media(max-width:640px){.scene.scrub{height:235svh}.hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.85rem;padding:1.15rem 0}.hero-title,.hero-action{align-self:center}.hero-title .eyebrow{margin-bottom:.5rem}.hero h1{font-size:clamp(2.3rem,9vw,3.8rem);margin:.4rem 0;letter-spacing:-.055em}.hero h1 br{display:none}.hero h1 br:after{content:" "}.hero h1 i{margin:0 .12em}.hero-date{font-size:1rem}.hero-action{align-items:center;gap:.35rem}.media-stage{width:min(100%,calc((100svh - var(--header) - 205px)*9/16));aspect-ratio:9/16;min-width:0}.sticky{min-height:0}.scrub .sticky{height:calc(100svh - var(--header))}.letter-layout,.split,.welcome-grid,.lists{grid-template-columns:1fr;gap:1.7rem}.letter-print{margin-bottom:2rem}.letter-layout{gap:1rem}.spaced,.welcome{padding-block:3.2rem}.photo-frame{max-width:245px}.welcome-grid{gap:2.3rem}.welcome-grid p{max-width:36em}.ringfoto{width:135px;height:145px;margin-top:1rem}.lists{gap:1rem}.lists article{padding:1.2rem}.list h3{font-size:1.4rem}.contact h2 br{display:none}.contact h2 br:after{content:" "}footer{align-items:flex-start;gap:1rem}footer>div{flex-direction:column;align-items:flex-end;gap:0}footer a{padding:.38rem 0}.topbar .brand{font-size:1.45rem}}
@media(max-width:640px) and (max-height:620px){.hero{gap:.4rem;padding:.45rem 0}.hero-title .eyebrow,.hero-date{display:none}.media-stage{width:min(100%,calc((100svh - var(--header) - 139px)*9/16))}}
@media(prefers-reduced-motion:reduce){.scene.scrub{height:auto}.scrub .sticky{height:auto}}

@media(max-width:640px){.standbild .media-stage{width:100%;aspect-ratio:1670/1002}.standbild .hero{padding-block:2rem;gap:1.6rem}}
@media(max-width:640px){.hero{gap:clamp(.65rem,2.1svh,1.3rem);padding-block:1.2rem}.media-stage{width:min(100%,calc((100svh - var(--header) - 205px)*1.22));aspect-ratio:1.22}.media-stage video{object-fit:cover}.hero-title .eyebrow{margin-bottom:.55rem}.scene:not(.standbild) .media-stage img{object-fit:contain}.hero-action{gap:.45rem}.scrub .hero{margin-block:auto}}

.brief-actions{display:flex;align-items:center;gap:.45rem 1rem;flex-wrap:wrap}.media-stage canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.media-stage #film{object-fit:contain}@media(max-width:640px){.brief-actions{justify-content:center}.media-stage canvas,.media-stage #film{object-fit:cover}.hero-action>span{font-size:.77rem}} .scene.scrub.opt-in{height:400svh}.scene.scrub.opt-in .sticky{height:calc(100svh - var(--header))}@media(max-width:640px){.scene.scrub.opt-in{height:235svh}}

.intro-aktiv header{visibility:hidden}.film-intro .hero-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.film-intro .hero{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:1rem 0}.film-intro .media-stage{width:min(100%,calc((100svh - var(--header) - 108px)*16/9));max-width:1080px}.film-intro .hero-action{align-self:center}.timeline li{grid-template-columns:minmax(5.3rem,auto) 1fr}.timeline li>span{font-size:.92rem;font-weight:600}.timeline li>div{min-width:0}@media(min-width:1000px){.lists{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.film-intro .media-stage{max-width:100%;width:min(100%,calc((100svh - var(--header) - 108px)*1.22))}}

.countdown{background:#f6f9f5;border-block:1px solid var(--line)}.clock,.contacts{display:flex;gap:clamp(.65rem,3vw,2.4rem);flex-wrap:wrap}.clock{padding-bottom:1.5rem}.clock span{display:grid;font-size:.83rem;color:var(--muted)}.clock b{font:normal clamp(1.7rem,4vw,3rem)/1.15 Georgia,serif;color:var(--green);font-variant-numeric:tabular-nums}.clock b:not(:first-child){min-width:2ch}#kalender,.travel{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line)}#kalender h3,.guest-grid h2{margin-bottom:1rem}.travel h4{font:normal 1.24rem Georgia,serif;margin:1.4rem 0 .4rem}.travel .actions{font-size:.92rem}.day-end{padding-block:.8rem}.guest-notes{background:#e2ebdd}.guest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(2rem,7vw,7.5rem)}.guest-grid h2{font-size:clamp(2.15rem,4vw,3.8rem)}[id=anreise],[id=kinder],[id=geschenke]{scroll-margin-top:calc(var(--header) + 1rem)}.questions details{border-bottom:1px solid var(--line)}.questions details:first-child{border-top:1px solid var(--line)}.questions summary{cursor:pointer;padding:1rem .25rem;font-weight:600}.questions details p{padding:0 .25rem 1rem}.questions summary::marker{color:var(--green)}.topbar nav{max-height:calc(100svh - var(--header));overflow:auto}.contacts .phone{text-align:center}.intro-aktiv header:focus-within{visibility:visible}
@media(max-width:640px){.guest-grid{grid-template-columns:1fr}.clock{justify-content:space-between}.guest-grid article+article{border-top:1px solid var(--line);padding-top:2rem}.contacts{gap:1rem}}


/* Jede Papierfläche reicht bis zum Fensterrand, auch im System-Dunkelmodus. */
:root { color-scheme: only light; }
html, body, main { background-color: var(--paper); color: var(--ink); }
.paper-section { position: relative; background-color: #ffffff; color: var(--ink); }
#ablauf { background-color: #fbfdf9; }
#listen { background-color: #ffffff; }
#faq { background-color: #f7f9f2; }
.scene, .sticky { background-color: #f5f8f2; }
.lists article, .receipt { background-color: #f5f7ed; }
.btn { background-color: #e4ecd9; color: #34462e; border-color: #95a587; }
.btn:hover, .btn:focus-visible { background-color: #d7e4c9; color: #2e4028; }
.zeit-hinweis { color: var(--muted); margin: -.65rem 0 1.15rem; }
.timeline li { grid-template-columns: 6rem minmax(0, 1fr); }
.timeline .slot { white-space: nowrap; font-size: .94rem; font-variant-numeric: tabular-nums; }
.timeline li h3 + p { margin-top: .2rem; }
@media (max-width: 640px) {
  .timeline li { grid-template-columns: 4.9rem minmax(0, 1fr); }
}

/* Der gleiche Papierweiß-Abgleich gilt für alle Darstellungen des Briefs. */
.media-stage, .letter-print img { filter: url(#papierweiss); }

:root { --zeichnung: url(medien/voegel.jpg); }
/* Die Bordüre bleibt beim Öffnen über die gesamte Höhe der Startszene sichtbar. */
.scene .sticky::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(10px, 2.2vw, 33px);
  background: #fff var(--zeichnung) 48% top / 145px auto repeat-y;
  border-right: 1px solid #cad6c5;
  pointer-events: none;
}
.intro-aktiv .scene .sticky::before { top: calc(-1 * var(--header)); }
.letter-layout {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr);
  grid-template-areas: "names print" "copy print";
  gap: 1.3rem clamp(2rem, 5vw, 5rem);
}
.letter-heading { grid-area: names; align-self: end; }
.letter-heading i { color: #536f53; font-weight: normal; }
.letter-copy { grid-area: copy; }
.letter-print {
  grid-area: print;
  width: 100%;
  margin: 0;
  align-self: center;
  background: #f9f8f2;
  box-shadow: 0 0 0 1px #d5dacd, 0 6px 22px #30463312;
}
.countdown, #ablauf {
  --ink: #223b29;
  --green: #214e33;
  --muted: #394e3d;
  --line: #91a58f;
  color: var(--ink);
}
.countdown { background: #dfebdc; }
#ablauf { background-color: #fff; }
.clock b { color: var(--green); font-weight: 500; }
.clock span { font-weight: 600; }
#kalender .outline { background-color: #fbfdf9; }
#kalender .outline:hover { background-color: #edf4e9; }
.timeline .slot {
  justify-self: start;
  align-self: start;
  background-color: #e3eedf;
  color: #264b30;
  padding: .18rem .45rem;
  border-radius: 3px;
}
#ablauf a { color: var(--green); }
@media (max-width: 640px) {
  .letter-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "names" "print" "copy"; gap: 1.35rem; }
  .timeline .slot { padding-inline: .25rem; }
}

/* Zwei kleine Illustrationen aus dem Vogel- und Blütenmotiv auf Papier. */
.illustrated-heading {
  --ausschnitt: 66% 17%;
}
#faq .illustrated-heading { --ausschnitt: 70% 59%; }
.illustrated-heading::after {
  content: "";
  display: block;
  width: 9.5rem;
  aspect-ratio: 1.45;
  margin: 1.5rem 0 0;
  background: var(--zeichnung) var(--ausschnitt) / 230% auto no-repeat;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse closest-side, #000 48%, transparent 100%);
  pointer-events: none;
}
@media (max-width: 640px) {
  .illustrated-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(3.1rem, 18vw, 5rem);
    column-gap: .4rem;
    align-items: center;
  }
  .illustrated-heading .eyebrow { grid-column: 1 / -1; }
  .illustrated-heading::after { grid-column: 2; grid-row: 2; width: 100%; margin: 0; }
}


