@media (max-width: 1080px) {
  .einsatz-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; }
  .einsatz-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .einsatz-item:nth-child(n+2) { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 760px) {
  .einsatz-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 125px; gap: 12px; }
  .einsatz-item:nth-child(1) { grid-column: span 2; grid-row: span 3; }
  .einsatz-item:nth-child(n+2) { grid-column: span 1; grid-row: span 2; }
  .einsatz-item figcaption { opacity: 1; transform: none; font-size: .76rem; padding: 26px 12px 12px; }
}

/* ============================================================
   Fotobox Schwalmstadt – Sven Riebeling Photography & Video
   Design orientiert am Projektkonzept-Layout
   ============================================================ */

:root {
  /* --- Firmenfarbe: exakt das Orange aus dem Logo (#F87800) --- */
  --orange:        #F87800;
  --orange-dark:   #D96A00;
  --orange-soft:   #FDE8CC;
  --orange-tint:   #FEF7EF;
  /* Nur fuer kleine Schrift auf hellem Grund - die Firmenfarbe
     selbst bleibt unveraendert bei Flaechen und Buttons. */
  --orange-text:   #A34E00;

  /* --- Neutraltoene mit warmem Stich (Fotopapier, nicht Bildschirmgrau) --- */
  --ink:           #17130F;
  --panel:         #2B2622;   /* dunkle Flaechen: Dunkelkammer-Braun */
  --panel-soft:    #3A342E;

  --text:          #5B534B;
  --text-strong:   #17130F;
  --text-muted:    #9A9188;
  --text-invert:   #ffffff;
  --text-invert-muted: #D8D0C6;

  --bg:            #ffffff;
  --bg-alt:        #FAF7F2;   /* warmes Papierweiss */
  --bg-soft:       #F4F0E9;
  --border:        #E8E2D8;

  /* --- Radien: bewusst abgestuft statt ueberall gleich --- */
  --radius:        14px;
  --radius-lg:     20px;
  --radius-sm:     8px;

  --shadow:        0 1px 2px rgba(23,19,15,.04), 0 8px 24px rgba(23,19,15,.06);
  --shadow-lg:     0 2px 6px rgba(23,19,15,.05), 0 24px 56px rgba(23,19,15,.10);

  --maxw:          1600px;
  --pad:           clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-strong);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1em; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section {
  padding: clamp(90px, 10vw, 150px) 0;   /* Zentrierung schafft zusaetzliche Luft */

  /* Jede Sektion ist mindestens bildschirmhoch.
     Laengere Inhalte (Preise, Rahmen) duerfen darueber hinauswachsen. */
  min-height: 100svh;
  display: flex;
  align-items: center;      /* Inhalt vertikal zentriert */
}
section > .wrap { width: 100%; }

/* Der Hero bringt seine eigene Hoehenlogik mit */
.hero { min-height: 100svh; }

/* ---------- Eyebrow / Section head ---------- */
.eyebrow {
  display: block;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--orange-text);   /* lesbar auf hellem Grund */
  margin-bottom: .9em;
}
/* Auf dunklen Flaechen darf das helle Firmenorange stehen */
.section-dark .eyebrow,
.einsatz .eyebrow,
.hero .eyebrow { color: var(--orange); }
.section-head { max-width: 680px; margin-bottom: clamp(64px, 8vw, 116px); }
.section-head p { color: var(--text); font-size: 1.08rem; max-width: 52ch; margin-bottom: 0; }
.section-head.center { margin-inline: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  font-family: inherit;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-dark { background: var(--text-strong); color: #fff; }
.btn-dark:hover { background: #000; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Logo ist weiss -> ueber dem Hero direkt nutzbar */
.logo img {
  height: 42px;
  width: auto;
  flex: none;
  transition: filter .3s ease;
}
/* Auf hellem Header einfaerben, damit es sichtbar bleibt */
.scrolled .logo img { filter: invert(1) brightness(.18); }

.logo-claim {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.28);
  white-space: nowrap;
  transition: color .3s ease, border-color .3s ease;
}
.scrolled .logo-claim {
  color: var(--text-muted);
  border-left-color: var(--border);
}

/* Auf schmalen Bildschirmen nur das Logo */
@media (max-width: 620px) {
  .logo-claim { display: none; }
  .logo img { height: 36px; }
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: .93rem; font-weight: 500; color: rgba(255,255,255,.9); transition: color .2s ease; }
.nav a:hover { color: var(--orange); }
.scrolled .nav a { color: var(--text); }
.scrolled .nav a:hover { color: var(--orange); }
.nav .btn { padding: 11px 24px; font-size: .9rem; }
.scrolled .nav .btn-ghost { border-color: var(--text-strong); color: var(--text-strong); }
.scrolled .nav .btn-ghost:hover { background: var(--text-strong); color: #fff; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0; background: transparent; cursor: pointer;
  padding: 0; position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: #fff; border-radius: 2px; transition: .3s ease;
}
.scrolled .nav-toggle span, .nav-open .nav-toggle span { background: var(--text-strong); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ============================================================
   HERO  (Video-Hintergrund, zentriert)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;             /* Text sitzt unten, wie im Angebots-PDF */
  justify-content: flex-start;
  text-align: left;
  padding: 150px 0 clamp(62px, 8vw, 112px);
  background: var(--panel);
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  /* Abdunkeln von unten links - der Text steht dort, nicht mittig */
  background:
    linear-gradient(105deg,
      rgba(23,19,15,.80) 0%,
      rgba(23,19,15,.55) 42%,
      rgba(23,19,15,.20) 72%,
      rgba(23,19,15,.32) 100%),
    linear-gradient(to top,
      rgba(23,19,15,.72) 0%,
      rgba(23,19,15,.24) 45%,
      rgba(23,19,15,.30) 100%);
}

.hero .wrap { position: relative; z-index: 2; }

.hero-inner {
  max-width: 760px;
  margin-inline: 0;                  /* linksbuendig */
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-lead {
  color: rgba(255,255,255,.94);
  font-size: clamp(1.04rem, 1.6vw, 1.24rem);
  max-width: 520px;
  margin: 0 0 2.8em;              /* zentriert */
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
  margin-bottom: clamp(52px, 7vw, 84px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 46px);
  padding-top: 46px;
  border-top: 1px solid rgba(255,255,255,.22);
  max-width: 940px;
  margin-inline: 0;
}
.hero-fact strong {
  display: block;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.hero-fact span {
  display: block;
  font-size: clamp(.92rem, 1.05vw, 1.02rem);
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  letter-spacing: .005em;
}

/* Scroll-Indikator */
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  translate: -50% 0;
  z-index: 2;
  width: 26px; height: 44px;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 999px;
  display: grid; place-items: start center;
  padding-top: 8px;
}
.hero-scroll-line {
  width: 3px; height: 8px; border-radius: 2px;
  background: var(--orange);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(12px); opacity: .3; }
}

/* ============================================================
   ABLAUF – Schritte
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.2vw, 30px); }
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(30px, 3vw, 40px) clamp(26px, 2.6vw, 34px) clamp(32px, 3.2vw, 42px);
  position: relative;
  overflow: hidden;
}
/* Dunkle Grundlinie: so sehen noch nicht erreichte Karten aus */
.step::after {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: #1B1E25;
  border-radius: 0 0 3px 0;
}

/* Orangener Balken laeuft darueber */
.step::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  z-index: 2;
  background: linear-gradient(90deg, var(--orange), #FFA954);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Blitz an der Vorderkante des Balkens */
.step .blitz {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  /* Heller Lichtkopf am rechten Rand des Elements */
  background: linear-gradient(90deg,
    rgba(255,255,255,0)    0%,
    rgba(255,255,255,0)   80%,
    rgba(255,220,160,.55) 92%,
    rgba(255,255,255,.95) 98%,
    #ffffff              100%);
  filter: blur(1px);
  transform: translateX(-100%);
  will-change: transform;
}

/* Zeitleiste: Karten fuellen sich nacheinander */
.steps.laeuft .step .blitz {
  animation: blitzLauf .9s cubic-bezier(.4,0,.2,1) forwards;
}
/* Kurzes Nachglimmen der Linie, wenn der Blitz durch ist */
.steps.laeuft .step::before {
  animation: balkenFuellen .9s cubic-bezier(.4,0,.2,1) forwards,
             linieGlimmen 1.1s ease-out forwards;
}
@keyframes linieGlimmen {
  0%,55% { box-shadow: 0 0 0 rgba(248,120,0,0); }
  72%    { box-shadow: 0 0 16px 2px rgba(248,120,0,.75); }
  100%   { box-shadow: 0 0 0 rgba(248,120,0,0); }
}

.steps.laeuft .step:nth-child(1)::before,
.steps.laeuft .step:nth-child(1) .blitz { animation-delay: .1s; }
.steps.laeuft .step:nth-child(2)::before,
.steps.laeuft .step:nth-child(2) .blitz { animation-delay: .7s; }
.steps.laeuft .step:nth-child(3)::before,
.steps.laeuft .step:nth-child(3) .blitz { animation-delay: 1.3s; }
.steps.laeuft .step:nth-child(4)::before,
.steps.laeuft .step:nth-child(4) .blitz { animation-delay: 1.9s; }

@keyframes balkenFuellen {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Blitz wandert mit der Balkenkante von links nach rechts */
@keyframes blitzLauf {
  0%   { transform: translateX(-100%); opacity: 0; }
  12%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(2%);    opacity: 0; }
}

/* Nummer springt hoch, wenn ihr Balken laeuft */
.step .step-num {
  opacity: .16;
  transform: translateY(6px) scale(.9);
  transform-origin: left bottom;
}
.steps.laeuft .step .step-num {
  animation: nummerRein .7s cubic-bezier(.2,1.5,.4,1) forwards;
}
.steps.laeuft .step:nth-child(1) .step-num { animation-delay: .15s; }
.steps.laeuft .step:nth-child(2) .step-num { animation-delay: .75s; }
.steps.laeuft .step:nth-child(3) .step-num { animation-delay: 1.35s; }
.steps.laeuft .step:nth-child(4) .step-num { animation-delay: 1.95s; }

@keyframes nummerRein {
  0%   { opacity: .16; transform: translateY(6px) scale(.9);  color: var(--orange); }
  55%  { opacity: 1;   transform: translateY(-3px) scale(1.12); color: var(--orange); }
  100% { opacity: .5;  transform: translateY(0) scale(1);      color: var(--orange); }
}

/* Karte hebt sich kurz mit an */
.steps.laeuft .step { animation: karteRein .6s ease forwards; }
.steps.laeuft .step:nth-child(1) { animation-delay: .1s; }
.steps.laeuft .step:nth-child(2) { animation-delay: .7s; }
.steps.laeuft .step:nth-child(3) { animation-delay: 1.3s; }
.steps.laeuft .step:nth-child(4) { animation-delay: 1.9s; }

@keyframes karteRein {
  0%   { box-shadow: var(--shadow); }
  50%  { box-shadow: 0 10px 34px rgba(248,120,0,.22); }
  100% { box-shadow: var(--shadow); }
}

/* Beim Ueberfahren wird der Balken kraeftiger */
.step:hover::before { height: 5px; }

.step-num {
  font-size: 2.6rem; font-weight: 700; color: var(--orange);
  line-height: 1; margin-bottom: 8px; letter-spacing: -.04em;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   PREISE
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 2.4vw, 36px);
  align-items: stretch;
}
.price-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 0 clamp(34px, 3.4vw, 44px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-card.featured { box-shadow: var(--shadow-lg); border: 1px solid var(--orange-soft); transform: translateY(-10px); }
.price-bar { height: 7px; background: var(--text-strong); }
.price-card.featured .price-bar { background: linear-gradient(90deg, var(--orange), #FFA954); }
.price-body { padding: clamp(34px, 3.4vw, 44px) clamp(30px, 3vw, 38px) 0; flex: 1; display: flex; flex-direction: column; }

.price-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--text-strong);
  color: #fff;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.price-card.featured .price-tag { background: var(--orange); }
.price-card h3 { font-size: 1.35rem; margin-bottom: .25em; }
.price-sub { font-size: .9rem; color: var(--orange); font-weight: 600; margin-bottom: 22px; }

.check-list { list-style: none; margin: 0 0 32px; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: .93rem;
  margin-bottom: 14px;
  color: var(--text);
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--orange);
  font-weight: 700;
}
.price-foot { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--border); }
.price-amount { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 700; color: var(--text-strong); line-height: 1; letter-spacing: -.03em; }
.price-note { font-size: .8rem; color: var(--text-muted); margin: 6px 0 0; }

.price-hint {
  margin-top: 34px;
  background: var(--orange-tint);
  border: 1px solid var(--orange-soft);
  border-radius: var(--radius);
  padding: 24px 30px;
  font-size: .92rem;
  color: #96601f;
}
.price-hint p { margin: 0; }

/* ---------- Zusatzoptionen ---------- */

/* ============================================================
   HINWEISE (dunkel)
   ============================================================ */
.section-dark {
  background-color: var(--panel);   /* Fallback, falls der Verlauf nicht greift */
  background-image: linear-gradient(160deg, var(--panel-soft) 0%, var(--panel) 60%);
  color: var(--text-invert-muted);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .section-head p { color: var(--text-invert-muted); }

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* auf voller Breite drei Spalten */
  gap: clamp(28px, 3.4vw, 48px) clamp(36px, 4vw, 64px);
}
.note { display: flex; gap: 16px; align-items: flex-start; }
.note-icon {
  flex: none; width: 32px; height: 32px; border-radius: 10px;
  background: rgba(248,120,0,.18); color: var(--orange);
  display: grid; place-items: center; font-size: .82rem; font-weight: 700;
  margin-top: 3px;
}
.note p { margin: 0; font-size: .95rem; }


/* Hinweise: heller Block direkt vor dem dunklen Kontaktbereich */
#hinweise { background: var(--bg); }
#hinweise .note-icon {
  background: var(--orange-soft);
  color: var(--orange-dark);
}
#hinweise .note p { color: var(--text); }

/* ============================================================
   HELLE ALTERNATIV-SEKTION
   ============================================================ */
.section-alt { background: var(--bg-alt); }

/* Karten ohne harten Rahmen, Tiefe ueber Schatten */
.step, .price-card, .form {
  border-color: transparent;
  box-shadow: var(--shadow);
}
.step:hover { box-shadow: var(--shadow-lg); }
.step { transition: box-shadow .3s ease; }

/* ============================================================
   SONSTIGES  (Zusatzleistungen unter den Paketen)
   ============================================================ */
.sonstiges {
  margin: clamp(48px, 5vw, 72px) 0 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(32px, 3.4vw, 48px) clamp(28px, 3vw, 48px);
  box-shadow: var(--shadow);
}

.sonstiges-head { margin-bottom: clamp(24px, 2.6vw, 34px); }
.sonstiges-head .eyebrow { margin-bottom: .5em; }
.sonstiges h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin: 0;
}

.sonstiges ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}

.sonstiges li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(22px, 2.2vw, 30px) clamp(20px, 2vw, 26px);
  background: linear-gradient(170deg, #fff 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.sonstiges li:hover {
  border-color: var(--orange-soft);
  box-shadow: var(--shadow);
}

/* Symbol im orangen Kreis */
.so-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--orange-soft);
  font-size: 1.15rem;
  line-height: 1;
}

.so-label {
  font-size: .93rem;
  line-height: 1.45;
  color: var(--text);
  flex: 1;
}
.so-label em {
  display: block;
  font-style: normal;
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.so-preis {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -.02em;
  line-height: 1.1;
  white-space: nowrap;
}
.so-preis-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sonstiges-note {
  margin: clamp(24px, 2.4vw, 32px) 0 0;
  padding-top: clamp(18px, 2vw, 24px);
  border-top: 1px solid var(--border);
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .sonstiges ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sonstiges ul { grid-template-columns: 1fr; gap: 12px; }
  .sonstiges li {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
  }
  .so-icon { width: 38px; height: 38px; flex: none; }
  .so-preis { font-size: 1.15rem; margin-left: auto; }
  .so-preis-text { font-size: .88rem; }
}

/* ============================================================
   VORLAGEN / RAHMEN   (Stil wie fotobox-kirchheim.de)
   ============================================================ */
.vorlagen { background: var(--bg-alt); }

.vorlagen-header {
  max-width: 680px;
  margin-bottom: clamp(40px, 4.5vw, 60px);
}
.vorlagen-header h2 { margin-bottom: 0; }

.vorlagen-intro {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 1rem 0 1.25rem;
  max-width: 62ch;
}

/* Hinweisbox mit Gluehbirne */
.vorlagen-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: var(--orange-tint);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  font-size: .875rem;
  color: var(--text);
  line-height: 1.6;
  max-width: 62ch;
}
.vorlagen-note-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.vorlagen-note strong { color: var(--text-strong); font-weight: 700; }

/* Kartenraster */
.vorlagen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 26px);
  margin-bottom: clamp(36px, 4vw, 52px);
}

.vorlage-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.vorlage-card:hover { box-shadow: var(--shadow-lg); }

.vorlage-img-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-soft);
}
.vorlage-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.vorlage-card:hover .vorlage-img-wrap img { transform: scale(1.03); }

/* Badge oben links */
.vorlage-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--text-strong);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 20px;
}

.vorlage-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  padding: .85rem 1rem;
  margin: 0;
  border-top: 1px solid var(--border);
}

/* Abschluss-Leiste mit Aktion */
.vorlagen-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--orange-tint);
  border: 1px solid var(--orange-soft);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px) clamp(26px, 3vw, 42px);
}
.vorlagen-cta p {
  font-size: .95rem;
  color: var(--text);
  max-width: 560px;
  margin: 0;
}

@media (max-width: 1080px) {
  .vorlagen-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .vorlagen-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .vorlage-label { font-size: .76rem; padding: .7rem .5rem; }
  .vorlagen-cta { flex-direction: column; align-items: flex-start; }
  .vorlagen-cta .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   EINSATZ  –  Bildergalerie mit Scroll-Effekten
   ============================================================ */
.einsatz {
  background: var(--panel);
  background-image: linear-gradient(170deg, var(--panel-soft) 0%, var(--panel) 55%);
  overflow: hidden;
}
.einsatz .eyebrow { color: var(--orange); }
.einsatz h2 { color: #fff; }
.einsatz .section-head p { color: var(--text-invert-muted); }
.einsatz .section-cta { border-top-color: rgba(255,255,255,.14); }
.einsatz .section-cta p { color: #fff; }

.einsatz-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 175px;
  gap: clamp(14px, 1.6vw, 22px);
}

/* --- Bento fuer 5 Bilder ------------------------------------
   Zeile 1:  [   gross 3x2   ][ hoch 3x2 ]
   Zeile 2:  [ 2x1 ][ 2x1 ][ 2x1 ]
   Ergibt ein ausgewogenes Raster ohne Luecken.             */
.einsatz-item:nth-child(1) { grid-column: span 4; grid-row: span 3; }  /* Blickfang */
.einsatz-item:nth-child(2) { grid-column: span 2; grid-row: span 3; }
.einsatz-item:nth-child(3) { grid-column: span 2; grid-row: span 2; }
.einsatz-item:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.einsatz-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }

.einsatz-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255,255,255,.04);

  /* Start des Einblendens */
  opacity: 0;
  transform: translateY(38px) scale(.97);
  transition: opacity .8s cubic-bezier(.22,.8,.3,1),
              transform .8s cubic-bezier(.22,.8,.3,1),
              box-shadow .35s ease;
}
.einsatz-item.visible { opacity: 1; transform: none; }

.einsatz-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.7,.3,1), filter .5s ease;
  filter: saturate(.92);
}
.einsatz-item:hover img { transform: scale(1.07); filter: saturate(1.08); }
.einsatz-item:hover { box-shadow: 0 22px 60px rgba(0,0,0,.4); }

/* Bildunterschrift blendet beim Hover ein */
.einsatz-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 18px 16px;
  font-size: .86rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(10,12,16,.88), rgba(10,12,16,0));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.einsatz-item:hover figcaption,
.einsatz-item:focus-within figcaption { opacity: 1; transform: none; }

/* oranger Rahmen beim Hover */
.einsatz-item::after {
  content: "";
  position: absolute; inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  transition: border-color .35s ease;
  pointer-events: none;
}
.einsatz-item:hover::after { border-color: rgba(248,120,0,.75); }

@media (max-width: 1080px) {
  .einsatz-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  /* alle gleich hoch, damit nichts zu flach wird */
  .einsatz-item:nth-child(n) { grid-column: span 1; grid-row: span 2; }
  /* die grosse Kachel bekommt mehr Hoehe statt mehr Breite */
  .einsatz-item:nth-child(1) { grid-column: span 2; grid-row: span 3; }
}
@media (max-width: 760px) {
  .einsatz-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 12px; }
  .einsatz-item:nth-child(n) { grid-column: span 1; grid-row: span 2; }
  .einsatz-item:nth-child(1) { grid-column: span 2; grid-row: span 3; }
  .einsatz-item figcaption { opacity: 1; transform: none; font-size: .76rem; padding: 26px 12px 12px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  /* Zwei nebeneinanderliegende Spalten, jede fuer sich fliessend.
     Grid statt Flex: die Spalten beeinflussen sich nicht gegenseitig,
     eine aufgeklappte Antwort laesst die andere Spalte in Ruhe. */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(40px, 5vw, 90px);
  max-width: 1320px;
  margin-inline: auto;
}
/* eigener Formatierungskontext: verhindert, dass Aussenabstaende
   der Eintraege aus der Spalte herauslaufen und sie verschieben */
.faq-spalte { min-width: 0; align-self: start; display: flow-root; }

.faq-item {
  border-bottom: 1px solid var(--border);
  /* verhindert, dass ein Eintrag zwischen den Spalten zerrissen wird */
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0;
  padding: 26px 0;
  font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--text-strong);
  text-align: left; cursor: pointer;
  transition: color .2s ease;
}
.faq-q:hover { color: var(--orange-text); }
.faq-q::after {
  content: "+";
  flex: none;
  font-size: 1.5rem; font-weight: 400; color: var(--orange);
  transition: transform .3s ease;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p {
  padding-bottom: 26px;
  margin: 0;
  font-size: .95rem;
  color: var(--text);
  max-width: 62ch;
}

@media (max-width: 980px) {
  .faq { grid-template-columns: 1fr; max-width: 780px; }
}

/* Die FAQ-Sektion bekommt keine Mindesthoehe und keine vertikale
   Zentrierung. Sonst rueckt beim Aufklappen einer Antwort der
   gesamte Block nach oben, weil die Sektion neu mittig ausrichtet. */
#faq {
  display: block;
  min-height: 0;
}
#faq .section-head {
  margin-bottom: 0;
  padding-bottom: clamp(56px, 6vw, 96px);
}

/* ============================================================
   FLYER  –  Download-Bereich
   ============================================================ */
.flyer { background: var(--bg-alt); }

.flyer-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  max-width: 1180px;
  margin-inline: auto;
}

.flyer-text h2 { margin-bottom: .4em; }
.flyer-text p {
  color: var(--text);
  max-width: 46ch;
  margin-bottom: 2em;
}
.flyer-aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.flyer-hinweis {
  font-size: .84rem;
  color: var(--text-muted);
  margin: 16px 0 0 !important;
}

/* ---------- Vorschau: zwei versetzte A5-Blätter ---------- */
.flyer-vorschau {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 380px;                 /* feste Hoehe statt aspect-ratio */
  margin-inline: auto;
  justify-self: center;
}

.flyer-blatt {
  position: absolute;
  top: 50%; left: 50%;
  width: 54%;
  aspect-ratio: 148 / 210;      /* echtes A5-Verhaeltnis */
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(23,19,15,.06), 0 18px 44px rgba(23,19,15,.16);
  overflow: hidden;
  transform-origin: center;
}

/* hinteres Blatt: nach links versetzt, leicht gedreht */
.flyer-blatt.hinten {
  background: var(--bg-soft);
  transform: translate(-72%, -50%) rotate(-6deg);
}
/* vorderes Blatt: nach rechts versetzt, gegenlaeufig gedreht */
.flyer-blatt.vorn {
  transform: translate(-28%, -50%) rotate(4deg);
  display: flex;
  flex-direction: column;
  transition: transform .45s cubic-bezier(.2,.8,.3,1);
}
.flyer-inner:hover .flyer-blatt.vorn {
  transform: translate(-28%, -54%) rotate(2deg);
}

.fb-bild { height: 45%; overflow: hidden; background: var(--panel); position: relative; }
.fb-bild img { width: 100%; height: 100%; object-fit: cover; }
.fb-bild::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(23,19,15,.84) 0%, rgba(23,19,15,.32) 68%, transparent 100%);
}

/* angedeutete Textzeilen */
.fb-text { flex: 1; padding: 11% 12% 0; display: flex; flex-direction: column; gap: 6px; }
.fb-text span { height: 5px; border-radius: 3px; background: var(--border); }
.fb-text span.kurz { width: 52%; }

.fb-leiste { height: 13%; background: var(--orange); }

@media (max-width: 860px) {
  .flyer-inner { grid-template-columns: 1fr; gap: 44px; }
  .flyer-vorschau { order: -1; max-width: 330px; height: 300px; }
  .flyer-blatt { width: 50%; }
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(48px, 7vw, 110px);
  max-width: 1320px;
  margin-inline: auto;
}

.contact-info ul { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info .label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-invert-muted); display: block; }
.contact-info .value { color: #fff; font-weight: 600; }
.contact-info a.value:hover { color: var(--orange); }

.form {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(32px, 4.4vw, 56px);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-strong); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 17px;
  border: 1px solid transparent;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--text);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(248,120,0,.13);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-check { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 22px; }
.field-check input { width: auto; margin-top: 5px; flex: none; }
.field-check label { font-size: .84rem; font-weight: 400; color: var(--text-muted); line-height: 1.55; margin: 0; }
.field-check a { color: var(--orange); text-decoration: underline; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: .8rem; color: var(--text-muted); text-align: center; margin: 14px 0 0; }

/* ============================================================
   CTA-BAND  (Vollbreites Orange-Panel)
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFA030 0%, var(--orange) 45%, #D96A00 100%);
  padding: clamp(84px, 10vw, 140px) 0;
  text-align: center;
  isolation: isolate;
}

/* dezentes Linienmuster im Hintergrund */
.cta-band::before {
  content: "";
  position: absolute; inset: -10%;
  z-index: -1;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.9) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255,255,255,.9) 2px, transparent 2px);
  background-size: 78px 78px;
  transform: rotate(-8deg);
}
/* weicher Lichtschein */
.cta-band::after {
  content: "";
  position: absolute; z-index: -1;
  width: 60vw; aspect-ratio: 1;
  top: -35%; left: 50%; translate: -50% 0;
  background: radial-gradient(circle, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 65%);
  pointer-events: none;
}

.cta-band .inner { max-width: 680px; margin-inline: auto; }
.cta-band h2 {
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
  letter-spacing: -.01em;
  margin-bottom: .45em;
}
.cta-band p {
  color: rgba(255,255,255,.94);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  max-width: 460px;
  margin: 0 auto 2.6em;
}

.btn-outline-light {
  border-color: rgba(255,255,255,.9);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(2px);
  padding: 16px 38px;
}
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============================================================
   SEKTIONS-CTA  (Abschluss unter einzelnen Bereichen)
   ============================================================ */
.section-cta {
  margin-top: clamp(48px, 6vw, 78px);
  padding-top: clamp(36px, 4vw, 52px);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 22px;
  text-align: center;
}
.section-cta p {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-strong);
}
.section-dark .section-cta { border-top-color: rgba(255,255,255,.16); }
.section-dark .section-cta p { color: #fff; }

/* Button in der Preiskarte */
.price-cta {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  width: 100%;
}

/* ============================================================
   MOBILE AKTIONSLEISTE
   ============================================================ */
.mobile-bar { display: none; }

@media (max-width: 760px) {
  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 600;
  }
  .mobile-bar-call { border: 2px solid var(--text-strong); color: var(--text-strong); }
  .mobile-bar-cta  { background: var(--orange); color: var(--ink); }

  /* Platz schaffen, damit die Leiste nichts verdeckt */
  body { padding-bottom: 82px; }
}

/* ============================================================
   FOOTER  (Stil wie Projektkonzept-PDF)
   ============================================================ */
.site-footer {
  background: var(--panel);
  color: #d7dade;
  padding: clamp(72px, 8.5vw, 116px) 0 34px;
  font-size: .97rem;
}
.footer-logo { margin-bottom: clamp(38px, 5vw, 62px); }
.footer-logo img { height: 62px; width: auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
  margin-bottom: 64px;
  max-width: 1320px;
}

.site-footer h4 {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -.01em;
  text-transform: none;
  margin: 0 0 22px;
}

.footer-contact p { margin: 0 0 12px; color: #e4e6e9; }
.footer-contact a { color: #e4e6e9; }
.footer-contact a:hover { color: var(--orange); }
.footer-contact .group { margin-bottom: 26px; }
.footer-contact .group:last-child { margin-bottom: 0; }

/* dunkle Info-Boxen rechts */
.footer-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin-bottom: 24px;
}
.footer-box:last-child { margin-bottom: 0; }
.footer-box h4 { font-size: 1.12rem; margin-bottom: 16px; }
.footer-box p { margin: 0 0 12px; color: #e4e6e9; }
.footer-box p:last-child { margin-bottom: 0; }
.footer-box .hint {
  font-style: italic;
  font-size: .88rem;
  color: #9aa0a6;
  line-height: 1.65;
  margin-top: 16px;
}

.footer-nav ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #d7dade; }
.footer-nav a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 26px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  font-size: .86rem; color: #8b9096;
}
.footer-bottom a:hover { color: var(--orange); }

/* ============================================================
   ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .step::before { transform: scaleX(1) !important; }
  .step .blitz { display: none !important; }
  .step .step-num { opacity: .5 !important; transform: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Fakten brechen frueh auf 2x2 um, damit nichts gequetscht wird */
@media (max-width: 1080px) {
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 30px 28px; max-width: 620px; }
}

@media (max-width: 980px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .note-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}

@media (max-width: 760px) {
  /* Auf dem Handy keine erzwungene Hoehe - sonst entstehen leere Bildschirme */
  section { min-height: 0; display: block; padding: clamp(84px, 13vw, 120px) 0; }

  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 90px 24px 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,.14);
    transform: translateY(-102%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .nav-open .nav { transform: none; }
  .nav a { color: var(--text-strong); padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav .btn { margin-top: 18px; justify-content: center; border-color: var(--text-strong); color: var(--text-strong); }
  .nav-open .site-header { background: #fff; }

  .price-grid, .steps, .note-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-nav ul { columns: 1; }
  .footer-box { padding: 26px 24px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 22px 20px; }
  body { font-size: 16px; }
}
