/* Demo «Bergfeder Hochzeitsfotografie», hell. Effekte: Zoom-Topo, horizontale Galerie, Revelar. */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-full-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --paper: #fbf8f3; --paper-2: #f3eee5; --ink: #2a2823; --muted: #6a675f; --line: #e4ddd1;
  --lake: #2c6b67; --lake-deep: #1f4e4b; --lake-mist: #e3eeec; --gutter: 20px; --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 "Figtree", system-ui, sans-serif; padding-bottom: 72px; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 420; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: 64px; }
section[id] { scroll-margin-top: 64px; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 38em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; margin-bottom: 14px; }
.section-head { margin-bottom: 32px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 "Figtree", sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--lake); color: #fff; }
.btn-primary:hover { background: var(--lake-deep); }
.btn-soft { background: var(--lake-mist); color: var(--lake-deep); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #e3a33b; outline-offset: 2px; }
.link { font-weight: 600; text-underline-offset: 4px; }

.demo-banner { background: var(--ink); color: #f4efe6; font-size: .85rem; text-align: center; padding: 8px var(--gutter); margin: 0; }
.demo-banner a { color: #fff; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251,248,243,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { font-family: "Fraunces", serif; font-size: 1.45rem; text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo small { font: 500 .68rem/1.4 "Figtree", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-toggle { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font: 600 .95rem "Figtree", sans-serif; color: var(--ink); }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0 0 12px; padding: 0; }
.nav ul a { display: block; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); }

/* Hero mit langsamem Zoom */
.hero { position: relative; padding: 0; color: #fff; min-height: min(86svh, 780px); display: grid; align-items: end; overflow: clip; }
.hero-media { position: absolute; inset: 0; overflow: clip; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform-origin: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,22,.05) 30%, rgba(20,24,22,.62) 100%); }
.hero-copy { position: relative; z-index: 1; padding-block: 120px 56px; }
.hero-copy .lede { color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 24px; }
.link-light { color: #fff; }
/* Zoom lento: ao abrir a foto assenta (1.12 para 1); ao descer o JS volta a aproximá-la até 1.2. */
.fx .hero-media { animation: assentar 2.4s cubic-bezier(.2,.7,.2,1) both; }
.fx .hero-media img { will-change: transform; }
.fx .hero-copy > * { animation: subir .9s cubic-bezier(.2,.7,.2,1) both; }
.fx .hero-copy > :nth-child(2) { animation-delay: .15s; } .fx .hero-copy > :nth-child(3) { animation-delay: .3s; } .fx .hero-copy > :nth-child(4) { animation-delay: .45s; }
@keyframes assentar { from { transform: scale(1.12); } to { transform: none; } }
@keyframes subir { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Datum prüfen */
.check { background: var(--paper-2); }
.check-grid { display: grid; gap: 28px; }
.check-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfc7b9; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }

/* iOS Safari: Datums- und Zahlenfelder behalten sonst ihre eigene Breite und ragen aus der Box. */
.field { min-width: 0; }
input, select, textarea { display: block; min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input[type="date"] { line-height: 1.4; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field-hint { font-size: .85rem; color: var(--muted); margin: 0; }
.result { margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--lake-mist); color: var(--lake-deep); font-weight: 500; }
.result.is-busy { background: #fbefdc; color: #7a4b0b; }
.result.is-past { background: #eee9e0; color: var(--muted); }

/* Horizontale Galerie: Tagesablauf */
.day { padding-bottom: 32px; }
.hscroll-track { list-style: none; margin: 0; padding: 0 var(--gutter) 12px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.frame { flex: 0 0 74%; scroll-snap-align: center; margin: 0; }
.frame--wide { flex-basis: 88%; }
.frame img { width: 100%; height: 62svh; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.frame p { margin: 10px 2px 0; font-weight: 600; }
.frame time { color: var(--lake); margin-right: 8px; font-variant-numeric: tabular-nums; }
/* Com movimento, o JS (demo.js) põe .hs-on em qualquer largura e desloca a faixa ao descer. Sem movimento fica a faixa para deslizar com o dedo. */
.hscroll.hs-on { height: 200vh; } /* o JS acerta a altura ao caminho real das fotos */
.hscroll.hs-on .hscroll-sticky { position: sticky; top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); overflow: clip; display: flex; align-items: center; }
.hscroll.hs-on .hscroll-track { flex: 0 0 auto; backface-visibility: hidden; overflow: visible; scroll-snap-type: none; width: max-content; will-change: transform;
  padding-inline: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); }
.hscroll.hs-on .frame { flex: 0 0 auto; }
.hscroll.hs-on .frame img { height: min(62vh, 600px); width: auto; }

/* Pakete */
.pkg-list { display: grid; gap: 16px; }
.pkg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pkg--featured { border-color: var(--lake); box-shadow: 0 10px 30px rgba(44,107,103,.12); }
.pkg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pkg-top h3 { margin: 0; }
.amount { font-weight: 700; color: var(--lake-deep); }
.pkg ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--muted); }
.pkg li { margin-bottom: 4px; }

/* Ablauf */
.steps-sec { background: var(--paper-2); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 22px 22px 18px; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lake); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }

/* Anfrage */
.form-grid { display: grid; gap: 28px; }
.enquiry { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form-note { margin: 0; color: var(--muted); font-size: .92rem; }
.form-note.is-done { color: var(--lake-deep); font-weight: 600; }

.placeholder { border: 1px dashed #c9c0b1; border-radius: var(--radius); padding: 28px; color: var(--muted); background: #fff; }
.faq { background: var(--paper-2); }
.faq-grid { display: grid; gap: 12px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
details p { margin: 10px 0 0; color: var(--muted); }
.contact-grid { display: grid; gap: 14px; margin-top: 18px; }
.contact-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 4px; }
.contact-item span { font-size: .85rem; color: var(--muted); }
.contact-item a { font-weight: 600; text-decoration: none; }
.site-footer { background: var(--ink); color: #e9e3d8; padding-block: 28px 32px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.site-footer a { color: #fff; }
.mock { background: rgba(255,255,255,.07); border-radius: 10px; padding: 8px 12px; margin-top: 14px; font-size: .82rem; color: #cfc6b8; }
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(251,248,243,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }

/* Revelar ao scroll */

/* Efeitos com JS leve (demo.js põe .fx no <html>): correm em qualquer browser, incluindo iPhone sem iOS 26.
   Com «Bewegung reduzieren» não há .fx e tudo aparece parado e completo. */
.fx .rv { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.fx .rv.is-in { opacity: 1; transform: none; }

@media (min-width: 760px) {
  :root { --gutter: 40px; }
  section { padding-block: 92px; }
  .check-grid, .form-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 48px; }
  .pkg-list { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr 2fr; gap: 48px; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .enquiry { grid-template-columns: 1fr 1fr; }
  .field--wide, .enquiry .btn, .form-note { grid-column: 1 / -1; }
  .enquiry .btn { justify-self: start; }
  .frame { flex-basis: 40%; } .frame--wide { flex-basis: 56%; }
}
@media (min-width: 1024px) {
  body { padding-bottom: 0; } .action-bar { display: none; }
  .nav-toggle { display: none; }
  .nav, .nav.open { display: flex; position: static; align-items: center; gap: 28px; padding: 0; border: 0; background: none; }
  .nav ul { display: flex; gap: 26px; margin: 0; } .nav ul a { border: 0; padding: 6px 0; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* Manter fotografia e legenda acima da barra de acções no telemóvel. */
@media (max-width: 759px) {
  .hscroll.hs-on .hscroll-sticky {
    height: calc(100svh - 152px - env(safe-area-inset-bottom));
  }
  .hscroll.hs-on .frame img {
    height: min(52svh, max(120px, calc(100svh - 236px - env(safe-area-inset-bottom))));
  }
}
