:root {
  /* Schleierkraut (white), Salbei (sage), Eukalyptus (blue-green) */
  --bg: #f9f9f5;
  --bg-alt: #edf1ea;
  --card: #fefefc;
  --ink: #24302a;
  --muted: #52605a;
  --line: #d8dfd3;
  --gold: #5f7a5c;
  --gold-dark: #465f49;
  --gold-text: #4d6a60;
  --gold-light: #c5d3bf;
  --doodle: #557268;
  --gold-grad: linear-gradient(135deg, #8fa89c 0%, #4f6b63 45%, #7f9c94 70%, #3f564f 100%);
  --gold-grad-light: linear-gradient(135deg, #ffffff 0%, #dbe6d8 40%, #f4f7f1 65%, #b4c7b3 100%);
  --hero-text: #eef3ea;
  --hero-accent: #c3d5bf;
  --error: #a33b2f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Ephesis", "Brush Script MT", cursive;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .4em; }
a { color: var(--gold-dark); }
strong { font-weight: 500; }

.script { font-family: var(--script); font-weight: 400; color: var(--gold-text); line-height: 1; margin: 0; }
.title { font-size: clamp(3.2rem, 9vw, 4.6rem); }
.sub { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .24em; text-transform: uppercase; margin: .4rem 0 0; }

/* Doodles */
.dd { fill: none; stroke: var(--doodle); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 560px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--hero-text); background: #1c2622;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  /* frosted-glass look: blur + slight scale hides the soft blurred edges */
  filter: blur(7px) saturate(1.05) brightness(.82);
  transform: scale(1.08);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(18, 30, 25, .5), rgba(18, 30, 25, .18) 72%),
    linear-gradient(rgba(18, 30, 25, .3), rgba(18, 30, 25, .08) 30%, rgba(18, 30, 25, .42)),
    rgba(150, 175, 160, .08);
}
.hero-content { position: relative; z-index: 1; padding: 0 16px; }

/* MC initials (inline SVG symbol #mc) */
.mc { display: block; aspect-ratio: 840 / 772; height: auto; fill: url(#g-mc); overflow: visible; }
.mc-hero {
  width: clamp(150px, 38vw, 230px); margin: 0 auto 1.8rem; fill: url(#g-mc-light);
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .45));
}
.mc-foot { width: 74px; margin: 0 auto 1rem; }

.hero-names { font-family: var(--script); font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: 1; margin: 0 0 .5rem; color: var(--hero-text); text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.hero-date {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 5vw, 2.4rem); letter-spacing: .26em; margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.hero-date i { font-style: normal; color: var(--hero-accent); }
.hero-quote { margin: .9rem 0 2.2rem; color: var(--hero-text); text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.hero-quote span { display: block; font-family: "GFS Didot", var(--serif); font-size: clamp(1.35rem, 4vw, 1.8rem); letter-spacing: .04em; }
.hero-quote small { display: block; margin-top: .25rem; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.scroll-down {
  position: absolute; z-index: 1; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(238, 243, 234, .7); border-radius: 14px;
}
.scroll-down span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px;
  background: var(--hero-text); animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Buttons */
.btn {
  display: inline-block; cursor: pointer;
  background: var(--gold); color: #fff; border: 1px solid var(--gold);
  padding: .9rem 2.1rem; border-radius: 999px;
  font: 500 .8rem var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-light { background: #f7f9f4; color: #2c3b34; border-color: #f7f9f4; }
.btn-light:hover { background: var(--hero-accent); border-color: var(--hero-accent); color: #1c2622; }
.btn-ghost-light { background: rgba(0, 0, 0, .12); color: var(--hero-text); border-color: rgba(238, 243, 234, .8); backdrop-filter: blur(3px); }
.btn-ghost-light:hover { background: rgba(238, 243, 234, .15); border-color: var(--hero-text); }
.btn-outline { background: transparent; color: var(--gold-dark); }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
.btn-dashed { background: none; border: 1px dashed var(--gold); color: var(--gold-dark); padding: .6rem 1.2rem; border-radius: 999px; cursor: pointer; font: inherit; font-size: .92rem; }

/* Nav: appears after the hero */
.nav {
  position: fixed; inset: var(--switch-h, 0px) 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem clamp(16px, 4vw, 40px);
  background: rgba(249, 249, 245, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  transform: translateY(calc(-100% - var(--switch-h, 0px))); transition: transform .35s ease;
}
.nav.show { transform: none; }
.nav-mono { display: inline-flex; text-decoration: none; }
.nav-mono .mc { width: 36px; }
.nav-links { display: flex; gap: clamp(.9rem, 2.5vw, 2rem); flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.nav-links a:hover, .nav-cta { color: var(--gold-dark) !important; }
.nav-cta { font-weight: 500; }

/* Sections */
.section { position: relative; padding: 6.5rem 16px; text-align: center; }
.section > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.section-alt { background: var(--bg-alt); }
.head { position: relative; margin-bottom: 2rem; }
.lead { color: var(--muted); max-width: 640px; }
.hint { color: var(--muted); font-size: .92rem; margin-top: 1.4rem; }

.dd-head-l, .dd-head-r { position: absolute; width: 64px; height: 90px; top: 50%; }
.dd-head-l { left: max(0px, calc(50% - 290px)); transform: translateY(-50%) rotate(-10deg); }
.dd-head-r { right: max(0px, calc(50% - 290px)); transform: translateY(-50%) rotate(var(--r, 10deg)); }
.dd-head-r:has(use[href="#d-spark"]) { width: 26px; height: 26px; }

/* Intro */
.intro { padding-top: 6rem; }
.intro-text { font-family: var(--serif); font-size: clamp(1.35rem, 3.2vw, 1.7rem); line-height: 1.5; max-width: 600px; margin: 1.2rem auto 2rem; }
.dd-a { position: absolute; width: 170px; height: 74px; top: 2.5rem; left: max(-30px, calc(50% - 470px)); transform: rotate(var(--r)); }
.dd-b { position: absolute; width: 22px; height: 22px; top: 5rem; right: max(24px, calc(50% - 380px)); }
.dd-c { position: absolute; width: 14px; height: 14px; bottom: 4rem; right: max(48px, calc(50% - 320px)); }

.countdown { display: flex; gap: clamp(1.2rem, 5vw, 3rem); justify-content: center; }
.countdown b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.4rem; line-height: 1.1; color: var(--gold-text); }
.countdown span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

address {
  font-style: normal; font-family: var(--serif); font-size: 1.45rem; line-height: 1.45;
  display: inline-block; padding: 1.2rem 2.6rem; margin-top: .6rem;
  border-top: 1px solid var(--gold-light); border-bottom: 1px solid var(--gold-light);
}

/* Menu card (Ablauf) */
.menu-card {
  position: relative; max-width: 520px !important;
  background: var(--card); border: 1px solid var(--line);
  padding: 3.5rem clamp(1.5rem, 6vw, 3.5rem) 2.5rem;
  box-shadow: 0 30px 60px -40px rgba(30, 50, 40, .4);
}
.menu-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold-light); pointer-events: none; }
.menu-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.menu-list li { display: flex; flex-direction: column; align-items: center; }
.menu-list .t { font-size: .78rem; letter-spacing: .24em; color: var(--gold-text); font-weight: 500; }
.menu-list strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.2; }
.menu-list em { font-style: normal; color: var(--muted); font-size: .95rem; }
.menu-dd { padding: .9rem 0; }
.menu-dd .dd { width: 12px; height: 12px; stroke-width: 1.2; }
.dd-card-tl { position: absolute; width: 70px; height: 55px; top: 26px; left: 26px; transform: rotate(-12deg); }
.dd-card-tr { position: absolute; width: 22px; height: 22px; top: 34px; right: 40px; }
.dd-card-bl { position: absolute; width: 30px; height: 92px; bottom: 30px; left: 34px; transform: rotate(-18deg); }
.dd-card-br { position: absolute; width: 86px; height: 78px; bottom: 26px; right: 24px; }

/* Anreise options */
.options { display: grid; gap: 1.4rem; max-width: 680px !important; text-align: left; }
.option address { display: block; padding: 0; border: 0; margin: .2rem 0 0; font-size: 1.3rem; }
.option .btn-row { justify-content: flex-start; margin-top: 1.2rem; }

/* Location photo */
/* Location: text left, small muted photo right (stacked on phones) */
.ort-grid {
  display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: center;
  max-width: 820px !important; text-align: left;
}
.ort-grid .lead { margin: 0; max-width: none; font-size: 1.1rem; }
.ort-grid .lead p { margin: 0 0 .9rem; }
.ort-grid .lead p:last-child { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.photo {
  margin: 0; padding: 6px; background: var(--card); border: 1px solid var(--line);
  transform: rotate(1.5deg); box-shadow: 0 18px 36px -30px rgba(30, 50, 40, .4);
}
.photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  filter: saturate(.65) brightness(1.06) contrast(.95); opacity: .9;
}
@media (max-width: 720px) {
  .ort-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .photo { width: min(260px, 75%); margin: 0 auto; }
}
.option { background: var(--card); border: 1px solid var(--line); padding: 1.8rem 1.6rem; box-shadow: 0 30px 60px -44px rgba(30, 50, 40, .4); }
.option-tag { margin: 0; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.option h3 { font-size: 1.9rem; margin: .2rem 0 .6rem; }
.option p { color: var(--muted); }
.more { margin-top: 1rem; border-top: 1px solid var(--line); }
.more summary {
  cursor: pointer; list-style: none; padding: 1rem 0 .4rem; min-height: 48px;
  font-weight: 500; color: var(--gold-dark); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
.more[open] summary::after { content: "–"; }
.more-body h4 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin: 1.1rem 0 .2rem; color: var(--ink); }
.more-body p, .more-body ul { margin: .2rem 0; color: var(--muted); }
.more-body ul { padding-left: 1.1rem; }

/* Dresscode swatches */
.swatches { margin-top: 2rem; }
.swatch-title { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; margin: 0 0 1rem; }
.swatch-row { display: flex; justify-content: center; gap: clamp(1rem, 5vw, 2.2rem); flex-wrap: wrap; }
.swatch { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.swatch span {
  position: relative; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .6);
}
.swatch span::after {
  content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 1.5px; background: var(--gold-dark); transform: rotate(-45deg);
}
.swatch span[style*="#b3261e"]::after { background: #fff; }
.swatch figcaption { font-size: .9rem; color: var(--muted); }

/* Contacts */
.contacts { display: flex; justify-content: center; gap: clamp(1.5rem, 6vw, 4rem); flex-wrap: wrap; margin-top: 2.5rem; }
.contact { display: flex; flex-direction: column; align-items: center; }
.contact img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); padding: 6px; background: var(--card); }
.contact h3 { font-size: 1.8rem; margin: 1rem 0 0; }
.contact-role { margin: .1rem 0 .9rem; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.btn-wa { display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1.6rem; }
.btn-wa svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

/* Form */
.form {
  background: var(--card); border: 1px solid var(--line); padding: clamp(1.25rem, 4vw, 2.75rem);
  text-align: left; box-shadow: 0 30px 60px -40px rgba(30, 50, 40, .4);
}
fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; min-width: 0; }
legend { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: .7rem; padding: 0; }
label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; }
.row-3 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.form-hint { margin: -.3rem 0 1rem; color: var(--muted); font-size: .92rem; }
.pill-wide span { display: flex; flex-direction: column; border-radius: 14px; padding: .8rem 1.3rem; min-width: 220px; }
.pill-wide b { font-weight: 500; }
.pill-wide small { font-size: .85rem; opacity: .85; }
.full { width: 100%; }
.opt { font-size: .85em; opacity: .8; }
input[type=text], input[type=email], select, textarea {
  display: block; width: 100%; margin-top: .3rem; padding: .75rem .9rem;
  font: 400 1rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-light); outline-offset: 0; border-color: var(--gold); }
.invalid { border-color: var(--error) !important; }
.choice { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice legend { width: 100%; }
.choice .full { margin-top: .8rem; }
.pill { display: inline-flex; margin: 0; cursor: pointer; position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { padding: .65rem 1.3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font-size: .98rem; transition: all .15s; }
.pill:hover span { border-color: var(--gold-light); }
.pill input:checked + span { background: var(--gold); border-color: var(--gold); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.person { border: 1px solid var(--line); border-radius: 6px; padding: 1rem 1rem 0; margin-bottom: 1rem; position: relative; }
.p-remove { position: absolute; top: .5rem; right: .7rem; background: none; border: 0; color: var(--muted); font: inherit; font-size: .82rem; cursor: pointer; text-decoration: underline; }
.person:first-child .p-remove { display: none; }
.person:first-child .p-name { background: var(--bg-alt); }
.hp { position: absolute; left: -9999px; }
.form-error { color: var(--error); }
.form .btn { margin-top: .5rem; }
.danke { background: var(--card); border: 1px solid var(--line); padding: 3rem 1.5rem; }

/* Footer */
.footer { text-align: center; padding: 4rem 16px 3rem; color: var(--muted); font-size: .92rem; }
.footer p { margin: .2rem 0; }
.footer-script { font-size: 2.4rem; margin-bottom: .4rem !important; }
.footer-dd { display: flex; justify-content: center; align-items: flex-end; gap: 1.6rem; margin-bottom: 1.6rem; }
.footer-dd .dd:nth-child(1) { width: 34px; height: 62px; transform: rotate(-8deg); }
.footer-dd .dd:nth-child(2) { width: 34px; height: 62px; }
.footer-dd .dd:nth-child(3) { width: 48px; height: 62px; transform: rotate(8deg); }

/* Mobile menu (big targets, labelled button) */
.menu-btn {
  display: none; position: fixed; z-index: 30; top: calc(var(--switch-h, 0px) + 12px); right: 12px;
  align-items: center; gap: .6rem; min-height: 52px; padding: 0 1.2rem;
  background: #f7f9f4; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  font: 500 1.05rem var(--sans); box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .35);
}
.menu-icon { display: inline-flex; flex-direction: column; gap: 4px; }
.menu-icon i { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: currentColor; }
.menu {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  background: var(--bg); padding: calc(var(--switch-h, 0px) + 16px) 20px 32px;
  display: flex; flex-direction: column;
}
.menu[hidden] { display: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.menu-title { font-family: var(--script); font-size: 2.4rem; color: var(--gold-text); }
.menu-close {
  min-height: 52px; padding: 0 1.2rem; border-radius: 999px; cursor: pointer;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); font: 500 1.05rem var(--sans);
}
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex; align-items: center; min-height: 64px; padding: 0 .4rem;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
}
.menu-links a::after { content: "›"; margin-left: auto; color: var(--gold-text); font-size: 1.8rem; }
.menu-cta { margin-top: 1.6rem; text-align: center; padding: 1.1rem; font-size: 1rem; }
body.menu-open { overflow: hidden; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-down span { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 640px) {
  .hero-actions .btn { min-width: 220px; }
  .dd-head-l, .dd-head-r { width: 44px; height: 62px; top: -1.6rem; transform: rotate(-10deg); }
  .dd-head-r { transform: rotate(var(--r, 10deg)); }
  .dd-a { width: 120px; height: 52px; top: 1.2rem; left: -20px; }
  .menu-card { padding-top: 4.5rem; padding-bottom: 6rem; }
  .dd-card-tl { width: 56px; height: 44px; }
  .dd-card-br { width: 64px; height: 58px; }
  .dd-card-bl { height: 70px; }
  address { padding: 1.2rem 1rem; font-size: 1.3rem; }
}
