/* ============================================================
   StarPix – Kinder- & Schulfotografie
   Design system: "warm-edel" (warm editorial)
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand blues (from logo) */
  --petrol-900: #173f52;
  --petrol-700: #235d78;
  --petrol-500: #3a82a3;
  --ice-300:    #bfe2ee;
  --ice-100:    #e8f4f8;

  /* Warm neutrals */
  --cream:   #faf6f0;
  --sand:    #efe6d8;
  --sand-200:#e4d6c2;
  --ink:     #25303a;
  --ink-soft:#5a6670;

  /* Accent */
  --gold:    #c8a063;
  --gold-dark:#a9844a;

  /* Semantic */
  --bg:        var(--cream);
  --bg-alt:    #f3ece1;
  --surface:   #ffffff;
  --text:      var(--ink);
  --text-soft: var(--ink-soft);
  --primary:   var(--petrol-700);
  --primary-h: var(--petrol-900);

  /* Type */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Manrope", system-ui, -apple-system, sans-serif;

  /* Spacing scale (8px rhythm) */
  --sp-1: .5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2rem;
  --sp-5: 3rem;  --sp-6: 4rem; --sp-7: 6rem;   --sp-8: 8rem;

  --radius:   16px;
  --radius-lg:26px;
  --shadow-sm: 0 2px 10px rgba(23,63,82,.06);
  --shadow:    0 14px 40px -12px rgba(23,63,82,.22);
  --shadow-lg: 0 30px 70px -20px rgba(23,63,82,.32);

  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1180px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--primary); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1,h2,h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); }
h3 { font-size: 1.4rem; }
em { font-style: italic; color: var(--gold-dark); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .76rem;
  font-weight: 600; color: var(--ice-300);
}
.eyebrow-dark { color: var(--gold-dark); }

.section-lead { color: var(--text-soft); font-size: 1.08rem; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; min-height: 52px; padding: 0 1.6rem;
  border-radius: 999px; font-family: var(--font-sans); font-weight: 600;
  font-size: 1rem; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-h); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(250,246,240,.94);
  backdrop-filter: blur(12px);
  padding: .55rem 0;
  box-shadow: 0 6px 22px -4px rgba(23,63,82,.18), 0 2px 6px rgba(23,63,82,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { width: 60px; height: 60px; object-fit: contain; transition: width .35s var(--ease), height .35s var(--ease); }
.scrolled .brand-logo { width: 52px; height: 52px; }
.brand-name {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600;
  color: #fff; transition: color .35s var(--ease);
}
.scrolled .brand-name { color: var(--petrol-900); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { font-weight: 600; font-size: .98rem; color: rgba(255,255,255,.92); position: relative; transition: color .25s; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.scrolled .main-nav a { color: var(--petrol-900); }
.main-nav .nav-cta {
  background: var(--gold); color: #2a2110; padding: .55rem 1.2rem; border-radius: 999px;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--gold-dark); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 101; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: .3s var(--ease); }
.scrolled .nav-toggle span { background: var(--petrol-900); }

/* Icons + Schließen-Button nur im Mobil-Menü sichtbar */
.nav-ico, .nav-close { display: none; }

/* Abdunkelnder Hintergrund (Scrim) hinter dem Mobil-Menü.
   z-index BEWUSST unter dem Header (100): so dimmt der Scrim den Seiteninhalt,
   aber Header + Menü (im Header-Stapelkontext) liegen darüber und bleiben klickbar. */
.nav-scrim {
  position: fixed; inset: 0; z-index: 90; background: rgba(15,33,43,.55);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.nav-scrim.open { opacity: 1; visibility: visible; }

/* ---------- Cinematic Hero (auto-play on load) ---------- */
.hero-stage { position: relative; height: 100svh; background: var(--petrol-900); }
.hero-pin {
  position: relative; height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
/* The "fanning" image frame – driven by --p (0..1) from JS */
.hero-frame {
  position: absolute; inset: 0; z-index: 1;
  --p: 0;
  /* starts as a centered narrow strip, fans outwards to fullscreen */
  clip-path: inset(
    calc((1 - var(--p)) * 30%) calc((1 - var(--p)) * 38%)
    round calc((1 - var(--p)) * 40px)
  );
  transform: scale(calc(1.28 - 0.28 * var(--p)));
  transform-origin: center;
  will-change: transform, clip-path;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-frame-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,33,43,.45) 0%, rgba(15,33,43,.12) 38%, rgba(15,33,43,.78) 100%),
    radial-gradient(130% 90% at 25% 30%, rgba(15,33,43,.35), transparent 60%);
}
.hero-copy {
  position: relative; z-index: 2; text-align: center; max-width: 880px; padding: 0 1.5rem;
}
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: clamp(.7rem,1.4vw,.82rem);
  font-weight: 600; color: var(--ice-300); margin-bottom: 1.4rem;
}
.hero-headline {
  font-family: var(--font-serif); font-weight: 600; line-height: .98;
  font-size: clamp(3rem, 11vw, 8rem); letter-spacing: -.01em;
  display: flex; flex-direction: column; align-items: center; gap: .1em;
  text-shadow: 0 4px 40px rgba(0,0,0,.35);
}
.hl-accent { color: var(--ice-300); font-style: italic; }
.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: rgba(255,255,255,.94);
  margin: 1.8rem auto 0; max-width: 56ch; line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; justify-content: center; }

/* sequenced reveal elements (JS toggles .seq-in) */
[data-seq] { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-seq].seq-in { opacity: 1; transform: none; }

/* playful spring-pop entrance for hero buttons (overrides generic) */
.hero-actions .hero-btn[data-seq] {
  opacity: 0; transform: translateY(20px) scale(.8);
  transition: opacity .45s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1);
}
.hero-actions .hero-btn[data-seq].seq-in { opacity: 1; transform: translateY(0) scale(1); }
/* subtle one-time wiggle on the primary CTA right after it pops in */
.hero-actions .btn-primary.seq-in { animation: ctaWiggle 1.1s var(--ease) .35s 1; }
@keyframes ctaWiggle {
  0%, 100% { rotate: 0deg; }
  30% { rotate: -2.5deg; }
  60% { rotate: 2deg; }
  80% { rotate: -1deg; }
}

.hero-scroll-hint {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.8); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  transition: opacity .4s var(--ease);
}
.hero-scroll-hint i { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.55); border-radius: 12px; position: relative; }
.hero-scroll-hint i::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
.hero-scroll-hint.hide { opacity: 0; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,13px)} 100%{opacity:0} }

/* ---------- Stats strip ---------- */
.stats { background: var(--petrol-900); color: #fff; padding: var(--sp-5) 0; position: relative; z-index: 4; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-family: var(--font-serif); font-size: clamp(2.6rem,5vw,3.6rem); color: var(--ice-300); line-height: 1; }
.stat-label { margin-top: .5rem; color: rgba(255,255,255,.82); font-size: .98rem; letter-spacing: .02em; }

/* ---------- Sections ---------- */
.section { padding: var(--sp-7) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: var(--sp-5); }
.section-head h2 { margin: .6rem 0 1rem; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.6rem; }
.feature { background: var(--surface); border-radius: var(--radius-lg); padding: 2rem 1.6rem; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ice-100); color: var(--petrol-700); margin-bottom: 1.2rem; }
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { color: var(--petrol-700); font-size: 1.2rem; margin-bottom: .5rem; }
.feature p { color: var(--text-soft); font-size: .96rem; }

/* ---------- Highlights: Swipe-Karten-Stapel ---------- */
.swipe { max-width: 620px; margin: 0 auto 2.5rem; text-align: center; }
.swipe-stage { position: relative; width: min(330px, 82vw); height: min(440px, 108vw); margin: 0 auto; perspective: 1200px; touch-action: pan-y; }
.swipe-card { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; background: var(--sand-200); box-shadow: 0 24px 60px -18px rgba(23,63,82,.5); will-change: transform; user-select: none; }
.swipe-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.swipe-card.top { cursor: grab; }
.swipe-card.top:active { cursor: grabbing; }
.swipe-card.gone-l { transition: transform .45s var(--ease), opacity .45s; transform: translateX(-130%) rotate(-18deg) !important; opacity: 0; }
.swipe-card.gone-r { transition: transform .45s var(--ease), opacity .45s; transform: translateX(130%) rotate(18deg) !important; opacity: 0; }
.swipe-badge { position: absolute; top: 14px; padding: .3rem .7rem; border-radius: 8px; font-weight: 700; font-size: .85rem; letter-spacing: .05em; opacity: 0; transition: opacity .15s; border: 2px solid #fff; color: #fff; text-transform: uppercase; }
.swipe-badge.like { right: 14px; transform: rotate(12deg); background: rgba(47,125,79,.85); }
.swipe-badge.nope { left: 14px; transform: rotate(-12deg); background: rgba(179,57,47,.85); }
.swipe-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.6rem; }
.swipe-ctrl { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--sand-200); background: var(--surface); cursor: pointer; font-size: 1.4rem; color: var(--petrol-700); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.swipe-ctrl:hover { transform: translateY(-2px); }
.swipe-ctrl.keep { color: #2f7d4f; }
.swipe-counter { font-weight: 600; color: var(--text-soft); min-width: 54px; }
.swipe-rail { display: flex; gap: .5rem; overflow-x: auto; padding: 1.4rem .3rem .3rem; max-width: 560px; margin: 1.1rem auto 0; scrollbar-width: thin; scroll-behavior: smooth; }
.swipe-rail button { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; border: 2px solid transparent; background: none; opacity: .55; transition: opacity .2s, border-color .2s, transform .2s; }
.swipe-rail button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swipe-rail button:hover { opacity: 1; transform: translateY(-2px); }
.swipe-rail button.active { opacity: 1; border-color: var(--petrol-700); }
.gallery-divider { text-align: center; color: var(--text-soft); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 1.5rem 0 1.8rem; }

/* ---------- Gallery filter ---------- */
.gallery-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.filter-btn {
  font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer;
  padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--sand-200);
  background: transparent; color: var(--text-soft); transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--petrol-500); color: var(--petrol-700); }
.filter-btn.is-active { background: var(--petrol-700); border-color: var(--petrol-700); color: #fff; }
.gallery-item.is-hidden { display: none; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 1rem; }
.faq-item { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 1.08rem; color: var(--ink);
  padding: 1.3rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-q i { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; background: var(--petrol-700); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-q i::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-q i::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-q[aria-expanded="true"] i::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 1.5rem 1.4rem; color: var(--text-soft); }

/* ---------- Sections ---------- */
.section { padding: var(--sp-7) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: var(--sp-5); }
.section-head h2 { margin: .6rem 0 1rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.card {
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.6rem 1.6rem 2rem; }
.card-body h3 { color: var(--petrol-700); margin-bottom: .5rem; }
.card-body p { color: var(--text-soft); font-size: .98rem; }

/* ---------- Gallery ---------- */
.gallery { columns: 3; column-gap: 1rem; }
.gallery-item {
  break-inside: avoid; margin-bottom: 1rem; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; position: relative; box-shadow: var(--shadow-sm);
  transform: translateY(24px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.gallery-item.in { transform: none; opacity: 1; }
.gallery-item img { width: 100%; transition: transform .7s var(--ease); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23,63,82,.45));
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; counter-reset: step; }
.step { background: var(--surface); border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow-sm); position: relative; }
.step-num { font-family: var(--font-serif); font-size: 2.4rem; color: var(--ice-300); display: block; margin-bottom: .5rem; }
.step h3 { color: var(--petrol-700); font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--text-soft); font-size: .95rem; }

/* ---------- Plans / Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.3rem; align-items: stretch; }
.plan {
  background: var(--surface); border-radius: var(--radius-lg); padding: 2.4rem 2rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative;
  border: 1.5px solid transparent; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan-featured {
  border-color: var(--gold); box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fff, #fffaf0);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #2a2110; font-weight: 700; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px;
}
.plan-name { font-family: var(--font-serif); color: var(--petrol-700); font-size: 1.5rem; margin-bottom: .4rem; }
.plan-price { font-family: var(--font-serif); font-size: 2.6rem; color: var(--ink); margin-bottom: 1.4rem; line-height: 1; }
.plan-price span { font-family: var(--font-sans); font-size: .9rem; font-weight: 600; color: var(--text-soft); margin-right: .3rem; }
.plan-list { display: grid; gap: .7rem; margin-bottom: 1.8rem; flex: 1; }
.plan-list li { position: relative; padding-left: 1.7rem; color: var(--text-soft); font-size: .97rem; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
  border-left: 2.5px solid var(--gold-dark); border-bottom: 2.5px solid var(--gold-dark);
  transform: rotate(-45deg);
}
.btn-outline { background: transparent; color: var(--petrol-700); border-color: var(--petrol-500); }
.btn-outline:hover { background: var(--petrol-700); color: #fff; transform: translateY(-2px); }
.plans-note { text-align: center; color: var(--text-soft); margin-top: 2.2rem; max-width: 60ch; margin-inline: auto; }

/* ---------- Quotes / Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
.quote {
  background: var(--surface); border-radius: var(--radius-lg); padding: 2.2rem 2rem;
  box-shadow: var(--shadow-sm); position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote::before {
  content: "\201C"; font-family: var(--font-serif); font-size: 5rem; color: var(--ice-300);
  position: absolute; top: .1rem; right: 1.2rem; line-height: 1; opacity: .8;
}
.quote-stars { color: var(--gold); letter-spacing: .12em; margin-bottom: .9rem; }
.quote blockquote { font-size: 1.05rem; color: var(--ink); line-height: 1.6; margin-bottom: 1.2rem; }
.quote figcaption { color: var(--text-soft); font-weight: 600; font-size: .92rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: center; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-text h2 { margin: .6rem 0 1.2rem; }
.about-text p { color: var(--text-soft); margin-bottom: 1rem; }
.about-text .btn { margin-top: .8rem; }

/* ---------- Bilder bestellen (fotograf.de) ---------- */
.shop-wrap { max-width: 620px; margin-inline: auto; text-align: center; }
.shop-box { background: var(--surface); border: 1.5px solid var(--sand-200); border-radius: var(--radius-lg); padding: 2.6rem 2rem; box-shadow: var(--shadow-sm); }
.shop-gate { display: flex; flex-direction: column; align-items: center; }
.shop-ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--ice-100); color: var(--petrol-700); margin-bottom: 1.2rem; }
.shop-ico svg { width: 30px; height: 30px; }
.shop-gate h3 { color: var(--petrol-700); font-size: 1.4rem; margin-bottom: .5rem; }
.shop-gate p { color: var(--text-soft); max-width: 42ch; margin-bottom: 1.4rem; }
.shop-gate .btn { min-width: 220px; }
.shop-note { font-size: .82rem; color: var(--text-soft); margin: 1rem 0 0; opacity: .85; }
.shop-alt { margin-top: 1.4rem; color: var(--text-soft); font-size: .98rem; }
.shop-alt a { color: var(--petrol-700); font-weight: 600; }
/* das eingebettete fotograf.de-Widget zentrieren */
.fotocdn-integrator { display: flex; justify-content: center; }

/* ---------- Region / Local SEO ---------- */
.region-text { max-width: 760px; }
.region-text p { color: var(--text-soft); margin-bottom: 1rem; font-size: 1.05rem; }
.region-text strong { color: var(--petrol-700); font-weight: 600; }
.region-pages { margin-top: 1.4rem; margin-bottom: .8rem; color: var(--text-soft); font-size: .98rem; }
.region-btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.region-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.3rem;
  border-radius: 999px; background: var(--petrol-700); color: #fff; font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.region-btn:hover { background: var(--petrol-900); transform: translateY(-2px); box-shadow: var(--shadow); }
.region-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.region-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.region-tags li {
  background: var(--ice-100); color: var(--petrol-700); font-weight: 600; font-size: .9rem;
  padding: .45rem .9rem; border-radius: 999px;
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-intro h2 { margin: .6rem 0 1rem; }
.contact-list { margin-top: 1.6rem; display: grid; gap: .6rem; color: var(--text-soft); }
.contact-list a { color: var(--petrol-700); font-weight: 600; }
.contact-form { background: var(--surface); padding: 2.2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem; font: inherit; font-size: 1rem;
  border: 1.5px solid var(--sand-200); border-radius: 12px; background: var(--cream); color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: auto; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--petrol-500); box-shadow: 0 0 0 4px rgba(58,130,163,.15);
}
.field-error { display: block; color: #b3392f; font-size: .82rem; margin-top: .3rem; min-height: 1em; }
.form-note { margin-top: 1rem; font-weight: 600; }
.form-note.ok { color: #2f7d4f; }
.form-note.err { color: #b3392f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-900); color: rgba(255,255,255,.8); padding: var(--sp-5) 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand p { font-size: .92rem; line-height: 1.4; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { font-weight: 600; font-size: .94rem; transition: color .25s; }
.footer-nav a:hover { color: var(--ice-300); }
.footer-copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.4rem; font-size: .85rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(15,33,43,.92); padding: 4vw;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-img { max-width: 90vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .35s var(--ease); }
.lightbox.open .lb-img { transform: scale(1); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; display: grid; place-items: center;
  transition: background .25s; backdrop-filter: blur(6px);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 4vw; right: 4vw; }
.lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* ---------- WhatsApp Floating-Button ---------- */
.wa-fab {
  position: fixed; right: 20px; top: 50%; margin-top: -29px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
/* geometrisch zentriert; minimale optische Korrektur für den Sprechblasen-Schwanz */
.wa-fab svg { width: 33px; height: 33px; display: block; transform: translate(1px, -1px); }
.wa-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 36px -8px rgba(0,0,0,.55); }
.wa-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
/* sanfter Aufmerksamkeits-Puls */
.wa-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366;
  z-index: -1; animation: waPulse 2.6s var(--ease) infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .5; } 70% { transform: scale(1.7); opacity: 0; } 100% { opacity: 0; } }
/* Tooltip-Label (nur Desktop, beim Hover) */
.wa-fab .wa-label {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap;
  padding: .5rem .85rem; border-radius: 10px; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.wa-fab:hover .wa-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 680px) { .wa-fab { right: 14px; top: auto; margin-top: 0; bottom: 16px; } .wa-fab .wa-label { display: none; } }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .gallery { columns: 2; }
  .about, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .plans { grid-template-columns: repeat(2,1fr); }
  .quotes { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: var(--sp-6) 0; }
  .features-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .plan-featured { order: -1; }
  .gallery { columns: 1; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(2.8rem, 16vw, 5rem); }

  /* Wichtig: backdrop-filter macht den Header zum Bezugsrahmen für
     position:fixed-Kinder und würde das Menü im Header einsperren.
     Auf dem Handy daher ohne Blur (Hintergrund ist ohnehin fast deckend). */
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250,246,240,.97); }

  .nav-toggle { display: flex; }

  /* Off-Canvas-Panel von rechts */
  .main-nav {
    position: fixed; inset: 0 0 0 auto; z-index: 110; width: min(86vw, 360px);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .35rem;
    background: var(--petrol-900); padding: 1rem 1.1rem 2rem;
    transform: translateX(100%); transition: transform .42s var(--ease);
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }

  /* Schließen-X oben rechts im Panel */
  .nav-close {
    display: block; align-self: flex-end; background: none; border: 0; cursor: pointer;
    color: #fff; font-size: 2.4rem; line-height: 1; width: 48px; height: 48px;
    border-radius: 50%; margin-bottom: .4rem; transition: background .2s var(--ease);
  }
  .nav-close:hover, .nav-close:focus-visible { background: rgba(255,255,255,.12); outline: none; }

  /* Menüpunkte mit Icons */
  .main-nav a, .scrolled .main-nav a {
    display: flex; align-items: center; gap: 1rem; color: #fff;
    font-size: 1.15rem; font-weight: 600; padding: .9rem 1rem; border-radius: 12px;
    transform: translateX(18px); opacity: 0;
    transition: transform .4s var(--ease), opacity .4s var(--ease), background .2s var(--ease);
  }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a:active { background: rgba(255,255,255,.08); }
  .main-nav.open a { transform: none; opacity: 1; }
  /* gestaffeltes Einfliegen (a-Elemente sind Kind 2..6, da .nav-close Kind 1) */
  .main-nav.open a:nth-child(2){ transition-delay: .05s; }
  .main-nav.open a:nth-child(3){ transition-delay: .10s; }
  .main-nav.open a:nth-child(4){ transition-delay: .15s; }
  .main-nav.open a:nth-child(5){ transition-delay: .20s; }
  .main-nav.open a:nth-child(6){ transition-delay: .25s; }

  .nav-ico { display: inline-flex; width: 26px; height: 26px; color: var(--ice-300); flex-shrink: 0; }
  .nav-ico svg { width: 100%; height: 100%; }

  .main-nav .nav-cta { background: var(--gold); color: #2a2110; margin-top: .7rem; }
  .main-nav .nav-cta .nav-ico { color: #2a2110; }
  .main-nav .nav-cta:hover { background: var(--gold-dark); color: #fff; }

  .nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity: 0; }
  .nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .gallery-item, [data-seq] { opacity: 1 !important; transform: none !important; }
  /* Hero: show final composed state, no scroll-driven stage */
  .hero-stage { height: auto !important; }
  .hero-pin { position: relative; height: 100svh; }
  .hero-frame { clip-path: none !important; transform: none !important; }
  .hero-scroll-hint { display: none; }
}
