/* ==========================================================
   Valeria – Freie Trauung & Hochzeitsmoderation
   Mobile-first. Struktur-Grammatik (.wrap, .section, .btn,
   .reveal-init, Skip-Link) uebernommen aus den anderen
   wad1-Projekten, eigene Farbwelt: Salbeigruen + Altrosa auf
   Elfenbein statt der bereits genutzten Gold-/Rosé-/Blau-/
   Violett-Paletten der anderen Kunden.

   Keine externen Schriften - Systemstack (DSGVO, Ladezeit).
   ========================================================== */

:root {
  --sage: #5C6E4F;
  --sage-dark: #46543D;
  --sage-soft: rgba(92, 110, 79, 0.12);
  --rose: #C79087;
  --rose-soft: rgba(199, 144, 135, 0.16);

  --ivory: #FBF7F0;
  --ivory-muted: #F2ECE1;
  --ink: #2B2820;
  --ink-soft: #5B564A;
  --line: rgba(43, 40, 32, 0.12);

  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-accent: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1080px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); font-weight: 300; }
h1 em { font-style: normal; font-family: var(--font-accent); font-weight: 400; font-style: italic; color: var(--sage-dark); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
em { font-family: var(--font-accent); font-style: italic; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap-mid { max-width: 760px; }
.wrap-narrow { max-width: 560px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--sage-dark); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 1000; transition: top 0.2s ease; font-weight: 700;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.74rem;
  color: var(--sage-dark); font-weight: 700; margin-bottom: 1.1em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  padding: 15px 27px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  white-space: nowrap; transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sage-dark); color: #fff; }
.btn-primary:hover { background: var(--sage); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--sage-dark); color: var(--sage-dark); }
.btn-small { padding: 11px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 15px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: inherit; }
.logo-mark { width: 13px; height: 13px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft); flex: none; }
.logo-text { font-family: var(--font-accent); font-style: italic; font-size: 1.25rem; }

/* ---------- Sprachumschalter ---------- */
.lang-switch {
  display: inline-flex; gap: 2px; margin-left: auto; margin-right: 10px;
  padding: 3px; border-radius: 999px; background: var(--ivory-muted); border: 1px solid var(--line);
}
.lang-btn {
  font: inherit; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 999px; border: 0; cursor: pointer;
  background: transparent; color: var(--ink-soft); transition: background-color 0.2s, color 0.2s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { background: var(--sage-dark); color: #fff; }

@media (min-width: 900px) { .lang-switch { margin-right: 22px; } }

.nav-toggle { background: none; border: 0; cursor: pointer; padding: 10px; display: inline-flex; }
.burger, .burger::before, .burger::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: fixed; inset: 61px 0 auto 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  display: none; flex-direction: column; gap: 2px; padding: 18px 22px 26px;
}
.primary-nav.is-open { display: flex; }
.primary-nav a { text-decoration: none; padding: 13px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.primary-nav a:last-child { border-bottom: 0; margin-top: 14px; align-self: flex-start; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 30px; background: none; border: 0; padding: 0; }
  .primary-nav a { border: 0; padding: 6px 0; font-size: 0.95rem; color: var(--ink-soft); transition: color 0.2s; }
  .primary-nav a:hover { color: var(--ink); }
  .primary-nav a:last-child { margin: 0; color: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-block: 120px 100px; overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, var(--sage-soft) 0%, transparent 42%),
    radial-gradient(circle at 88% 82%, var(--rose-soft) 0%, transparent 46%),
    var(--ivory);
}
.hero-content { position: relative; z-index: 2; max-width: 62ch; }
.hero h1 { margin-bottom: 0.34em; }
.hero-tagline { font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--ink-soft); max-width: 52ch; margin-bottom: 2em; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 13px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(70px, 10vw, 116px); }
.section-raised { background: var(--ivory-muted); border-block: 1px solid var(--line); }
.section-lead { color: var(--ink-soft); max-width: 58ch; font-size: 1.02rem; margin-bottom: 2.6em; }
.section-note { color: var(--ink-soft); font-size: 0.9rem; margin-top: 1.8em; }
.briefing-note { color: var(--sage-dark); }

/* ---------- Leistungen ---------- */
.pillar-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
.pillar { padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pillar-tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rose); font-weight: 700; margin-bottom: 0.9em;
}
.pillar p { color: var(--ink-soft); margin: 0; }

/* ---------- Bildstrecke ----------
   Alle Quellfotos sind Hochformat (Handy/Instagram) - Kacheln deshalb
   einheitlich hochkant statt erzwungenem Breitformat-Zuschnitt. */
.shots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .shots { grid-template-columns: repeat(3, 1fr); } }
.shot {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  background: var(--ivory-muted); border: 1px solid var(--line); display: grid; place-items: center;
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-accent); font-style: italic; font-weight: 700; font-size: 1.7rem;
  color: var(--rose); margin-bottom: 10px; line-height: 1;
}
.step p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* ---------- Über ---------- */
.about-grid { display: grid; gap: 32px; }
@media (min-width: 880px) { .about-grid { grid-template-columns: 0.8fr 1fr; gap: 54px; align-items: center; } }
.about-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ivory-muted); }
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-note { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Video / Reel ----------
   Zwei-Klick-Prinzip: das Instagram-Skript laedt erst nach Klick,
   vorher nur ein statischer Rahmen (DSGVO, kein Tracking beim
   blossen Seitenaufruf). */
.reel-embed {
  border-radius: var(--radius); overflow: hidden; background: var(--ivory);
  border: 1px solid var(--line); min-height: 220px; display: grid; place-items: center;
}
.reel-placeholder { text-align: center; padding: 44px 26px; display: grid; gap: 14px; justify-items: center; }
.reel-play {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-soft); color: var(--sage-dark); font-size: 1.1rem;
}
.reel-placeholder p { margin: 0; color: var(--ink-soft); max-width: 40ch; }
.reel-embed.is-ready .reel-placeholder { cursor: pointer; transition: opacity 0.2s; }
.reel-embed.is-ready .reel-placeholder:hover { opacity: 0.8; }
.reel-embed iframe, .reel-embed .instagram-media { width: 100% !important; }

/* ---------- Stimmen ---------- */
.quote-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
.quote { margin: 0; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px dashed var(--rose); }
.quote p { font-size: 1.06rem; margin-bottom: 1.2em; color: var(--ink-soft); }
.quote footer { margin: 0; }
.quote cite { font-style: normal; font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 20px 54px 20px 24px; font-weight: 700; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--sage-dark); border-bottom: 2px solid var(--sage-dark);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { padding: 0 24px 22px; margin: 0; color: var(--ink-soft); }

/* ---------- Kontakt ---------- */
.contact-placeholder {
  padding: 30px 26px; border-radius: var(--radius); background: #fff;
  border: 1px dashed var(--rose); display: grid; gap: 18px; text-align: center;
}
.contact-placeholder p { margin: 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ivory-muted); border-top: 1px solid var(--line); padding-block: 42px; }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1fr auto; align-items: center; } }
.footer-inner p { color: var(--ink-soft); font-size: 0.92rem; margin: 10px 0 0; }
.logo-footer { margin-bottom: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; }
.site-footer nav a:hover { color: var(--sage-dark); }

/* ---------- Scroll-Reveal ----------
   Im Zweifel sichtbar: der versteckte Startzustand gilt nur, wenn
   JavaScript tatsaechlich laeuft (.js-Klasse, siehe script.js). */
.reveal-init { opacity: 1; transform: none; }
.js .reveal-init { opacity: 0; transform: translateY(20px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.js .reveal-init.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal-init { opacity: 1; transform: none; } }
