/* ============================================================
   Café Tilly – Landingpage
   Design-Tokens, Basis, Komponenten, Animationen
   ============================================================ */

:root {
  /* Farben */
  --bg: #f7f1e6;
  --bg-alt: #f0e7d4;
  --surface: #fffdf8;
  --ink: #2c2115;
  --ink-soft: #6f604e;
  --line: rgba(44, 33, 21, 0.14);
  --accent: #c05b2e;
  --accent-deep: #9c4520;
  --accent-soft: #f4dcc9;
  --gold: #d9a441;
  --dark: #241b12;
  --dark-2: #31251a;
  --cream-on-dark: #f4ead8;
  --line-on-dark: rgba(244, 234, 216, 0.16);

  /* Typografie */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;

  /* Geometrie */
  --r-lg: 28px;
  --r-md: 18px;
  --container: 1160px;
  --header-h: 96px;

  /* Bewegung */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Kantenformen für die Sektionsübergänge (als Maske, weiß = sichtbar).
     Jede Form ist bewusst anders geschnitten, damit die Seite nicht
     wie eine Abfolge gleicher Wellen wirkt. */
  --edge-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0h1440v30c-200 58-404 4-620 24C604 74 300 106 0 60Z'/%3E%3C/svg%3E");
  --edge-wave-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 100h1440V58c-214-48-436 22-676 2C536 42 268 0 0 42Z'/%3E%3C/svg%3E");
  --edge-arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0h1440v20c-372 62-706 66-1440 14Z'/%3E%3C/svg%3E");
  --edge-arc-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 100h1440V72C1068 18 706 14 0 78Z'/%3E%3C/svg%3E");
  --edge-sweep: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 0h1440v14c-330 84-742 34-1440 76Z'/%3E%3C/svg%3E");
  --edge-sweep-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 100h1440V78c-360-56-760 6-1440-34Z'/%3E%3C/svg%3E");
}

/* ---------- Reset & Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Feine Körnung über der ganzen Seite */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--surface);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

/* Nur für Screenreader */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container-narrow {
  max-width: 780px;
}

/* ---------- Typografie ---------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

h2 em,
h1 em {
  font-style: italic;
  font-weight: 480;
  color: var(--accent);
}

.section-dark h2 em,
.cta-card h2 em {
  color: var(--gold);
}

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), background-color 0.3s ease,
    color 0.3s ease, border-color 0.3s ease, box-shadow 0.35s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(44, 33, 21, 0.08);
}

.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(192, 91, 46, 0.55);
}

.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream-on-dark);
  color: var(--dark);
}

.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.5);
}

.btn-outline-light {
  border: 1.5px solid var(--line-on-dark);
  color: var(--cream-on-dark);
}

.btn-outline-light:hover {
  border-color: var(--cream-on-dark);
  background: rgba(244, 234, 216, 0.08);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 1.8rem;
}

.btn-xl {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}

.btn-xl svg {
  width: 19px;
  height: 19px;
}

.inline-link {
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.25s ease;
}

.inline-link:hover {
  color: var(--accent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 1rem;
}

.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease-out);
}

.text-link:hover svg {
  transform: translateX(5px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.4s ease, box-shadow 0.4s ease,
    border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(247, 241, 230, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 130;
  position: relative;
}

/* Das Logo trägt viel Ornament um den Schriftzug – es braucht Höhe,
   damit "Café Tilly" lesbar bleibt */
.brand-logo {
  width: auto;
  height: clamp(56px, 6vw, 74px);
  transition: transform 0.5s var(--ease-out);
}

.brand:hover .brand-logo {
  transform: scale(1.04);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.main-nav ul {
  display: flex;
  gap: 1.6rem;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s ease;
  padding-block: 0.4rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 130;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), width 0.3s ease;
}

.nav-open .nav-toggle-line:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-open .nav-toggle-line:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(90vh, 800px);
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: clip;
}

/* Foto liegt über die ganze Sektion, der Verlauf hält den Text links lesbar */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 32% rückt den hellen Lichtbereich des Fotos hinter den Text,
   die Backwaren stehen dadurch rechts */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
  animation: heroDrift 26s ease-in-out infinite alternate;
}

/* Sehr langsamer Zoom – gibt dem Standbild etwas Leben */
@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      var(--bg) 0%,
      var(--bg) 33%,
      rgba(247, 241, 230, 0.95) 42%,
      rgba(247, 241, 230, 0.74) 54%,
      rgba(247, 241, 230, 0.38) 68%,
      rgba(247, 241, 230, 0.1) 82%,
      rgba(247, 241, 230, 0) 93%
    ),
    linear-gradient(to top, var(--bg) 0%, rgba(247, 241, 230, 0) 24%),
    linear-gradient(to bottom, rgba(247, 241, 230, 0.75) 0%, rgba(247, 241, 230, 0) 20%);
}

/* Wortmarke im Anschnitt: nur als Kontur, damit sie Tiefe gibt statt
   mit der Überschrift um Aufmerksamkeit zu konkurrieren */
.hero-watermark {
  position: absolute;
  left: -0.04em;
  bottom: -0.12em;
  z-index: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5rem, 8.5vw, 9.5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(44, 33, 21, 0.09);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.6s ease 0.7s, transform 1.6s var(--ease-out) 0.7s;
}

body.loaded .hero-watermark {
  opacity: 1;
  transform: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 34rem;
}

/* Ortsmarke über der Überschrift – zurückhaltend gesetzt: die weite
   Laufweite und die feine Linie tragen die Wertigkeit, nicht die Farbe */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.hero-eyebrow-rule {
  width: 2.6rem;
  height: 1px;
  flex: none;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    rgba(192, 91, 46, 0.2) 100%
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s var(--ease-out) 0.4s;
}

body.loaded .hero-eyebrow-rule {
  transform: scaleX(1);
}

.hero-title {
  font-size: clamp(2.35rem, 6.2vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 1.5rem;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-block: 0.14em;
}

.hero-title .line-inner {
  display: block;
  transform: translateY(115%);
  transition: transform 1.1s var(--ease-out);
}

.hero-title .line:nth-child(2) .line-inner {
  transition-delay: 0.12s;
}

.hero-title .line:nth-child(3) .line-inner {
  transition-delay: 0.24s;
}

body.loaded .hero-title .line-inner {
  transform: translateY(0);
}

/* ---------- Wechselndes Wort ---------- */
/* inline-grid stapelt alle Wörter in einer Zelle: die Breite richtet sich
   nach dem längsten Wort, dadurch springt die Zeile beim Wechsel nicht */
.rotator {
  display: inline-grid;
  /* clip-path statt overflow: hidden – overflow würde die Grundlinie des
     inline-grid synthetisieren und das Wort gegenüber "frische" verrutschen */
  clip-path: inset(-0.04em -0.3em);
}

.rotator-word {
  grid-area: 1 / 1;
  justify-self: start;
  white-space: nowrap;
  color: var(--accent);
  opacity: 0;
  transform: translateY(0.9em);
  transition: opacity 0.45s ease, transform 0.75s var(--ease-out);
}

.rotator-word.is-active {
  opacity: 1;
  transform: translateY(0);
}

.rotator-word.is-leaving {
  opacity: 0;
  transform: translateY(-0.9em);
}

.hero-eyebrow,
.hero-sub,
.hero-actions {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
}

body.loaded .hero-eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

body.loaded .hero-sub {
  opacity: 1;
  transform: none;
  transition-delay: 0.5s;
}

body.loaded .hero-actions {
  opacity: 1;
  transform: none;
  transition-delay: 0.65s;
}

/* Etwas schmaler und dunkler als der Standardtext – der Fließtext liegt
   im Übergangsbereich des Foto-Verlaufs und braucht mehr Kontrast */
.hero-sub {
  max-width: 30rem;
  font-size: 1.15rem;
  color: #5a4c3c;
  margin-bottom: 2.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- Laufband ---------- */
.marquee {
  position: relative;
  z-index: 5;
  background: var(--ink);
  color: var(--cream-on-dark);
  transform: rotate(-1.2deg) scale(1.02);
  margin-block: -0.6rem;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee-list {
  display: flex;
  align-items: center;
  flex: none;
  gap: 2.6rem;
  padding: 0.95rem 1.3rem;
}

.marquee-list li {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  white-space: nowrap;
}

.marquee-list li:nth-child(even) {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--gold);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sektionen ---------- */
.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--dark);
  color: var(--cream-on-dark);
  overflow: hidden;

  /* Kräftig geschwungen: der dunkle Block ist der stärkste Farbwechsel
     der Seite und verträgt die deutlichste Form. */
  --edge-h: clamp(46px, 6.5vw, 104px);
  --edge-shape: var(--edge-wave);
  --edge-shape-bottom: var(--edge-wave-up);
}

/* Zurückhaltender Bogen: hier wechselt nur die Creme-Nuance,
   eine große Welle wäre zu laut. */
.section-alt {
  --edge-h: clamp(30px, 4.5vw, 70px);
  --edge-shape: var(--edge-arc);
  --edge-shape-bottom: var(--edge-arc-up);
}

/* ---------- Weiche Sektionsübergänge ---------- */
/* Statt einer harten Geraden legt sich eine Fläche in der Farbe der
   Nachbarsektion über die Kante und wird in Form geschnitten. Die
   Sektion selbst bleibt unbeschnitten – Inhalte laufen nirgends an. */
.edge-top::before,
.edge-bottom::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  height: var(--edge-h, clamp(34px, 5vw, 78px));
  background: var(--edge-color, var(--bg));
  pointer-events: none;
  z-index: 1;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.edge-top::before {
  top: -1px;
  -webkit-mask-image: var(--edge-shape, var(--edge-wave));
  mask-image: var(--edge-shape, var(--edge-wave));
}

.edge-bottom::after {
  bottom: -1px;
  background: var(--edge-color-bottom, var(--edge-color, var(--bg)));
  -webkit-mask-image: var(--edge-shape-bottom, var(--edge-wave-up));
  mask-image: var(--edge-shape-bottom, var(--edge-wave-up));
}

/* Die geschwungene Kante braucht oben und unten etwas mehr Luft,
   sonst rückt die Überschrift in den Bogen hinein. */
.edge-top {
  padding-top: calc(clamp(4.5rem, 9vw, 7.5rem) + clamp(1rem, 3vw, 2.5rem));
}

.edge-bottom {
  padding-bottom: calc(clamp(4.5rem, 9vw, 7.5rem) + clamp(1rem, 3vw, 2.5rem));
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.6rem, 5vw, 4rem);
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.watermark {
  position: absolute;
  /* unterhalb der geschwungenen Kante, sonst wird sie oben angeschnitten */
  top: calc(var(--edge-h, 0px) + clamp(0.5rem, 2vw, 1.5rem));
  right: -1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(5rem, 16vw, 13rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 234, 216, 0.1);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ---------- Karten (Vorteile) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.2rem 2rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease,
    border-color 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(192, 91, 46, 0.4);
  box-shadow: 0 26px 50px -28px rgba(44, 33, 21, 0.35);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Handwerk (dunkel) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.split-copy h2 {
  margin-bottom: 1.3rem;
}

.split-copy .lead {
  margin-bottom: 2rem;
  color: rgba(244, 234, 216, 0.78);
}

.feature-list {
  display: flex;
  flex-direction: column;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  padding-block: 1.7rem;
  border-top: 1px solid var(--line-on-dark);
  transition: padding-left 0.45s var(--ease-out);
}

.feature:last-child {
  border-bottom: 1px solid var(--line-on-dark);
}

.feature:hover {
  padding-left: 0.7rem;
}

.feature-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  padding-top: 0.2rem;
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.feature p {
  color: rgba(244, 234, 216, 0.72);
  font-size: 0.97rem;
}

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  counter-reset: step;
}

.steps::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 12%;
  right: 12%;
  border-top: 1.5px dashed rgba(192, 91, 46, 0.35);
}

.step {
  position: relative;
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1.5px dashed var(--accent);
  background: var(--bg);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  transition: transform 0.5s var(--ease-out), background-color 0.4s ease,
    color 0.4s ease;
}

.step:hover .step-num {
  transform: rotate(8deg) scale(1.08);
  background: var(--accent);
  color: #fff;
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 30rem;
}

/* ---------- Sortiment ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.product {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.6rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease,
    border-color 0.4s ease;
}

.product:hover {
  transform: translateY(-8px);
  border-color: rgba(192, 91, 46, 0.4);
  box-shadow: 0 26px 50px -28px rgba(44, 33, 21, 0.35);
}

.product-tag {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--ink-soft);
}

.product-tag-accent {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.product-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-bottom: 1.4rem;
  transition: transform 0.5s var(--ease-out), border-radius 0.5s var(--ease-out);
}

.product:hover .product-icon {
  transform: rotate(-7deg) scale(1.07);
  border-radius: 50%;
}

.product-icon svg {
  width: 34px;
  height: 34px;
}

.product h3 {
  font-size: 1.22rem;
  margin-bottom: 0.6rem;
}

.product p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Dunkles Feature-Panel im Stil der Kontakt-Sektion */
.product-feature {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.8rem clamp(2rem, 5vw, 4rem);
  background: var(--dark);
  color: var(--cream-on-dark);
  border-radius: var(--r-lg);
  padding: clamp(2.2rem, 5vw, 3.2rem) clamp(1.8rem, 4vw, 3.2rem);
}

.feature-deco {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
}

.feature-deco-1 {
  width: 340px;
  height: 340px;
  top: -170px;
  right: -60px;
  background: rgba(192, 91, 46, 0.32);
}

.feature-deco-2 {
  width: 280px;
  height: 280px;
  bottom: -150px;
  left: -70px;
  background: rgba(217, 164, 65, 0.2);
}

.feature-body {
  min-width: 0;
  max-width: 42rem;
}

.product-feature h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  margin-bottom: 0.8rem;
}

.product-feature h3 em {
  font-style: italic;
  font-weight: 480;
  color: var(--gold);
}

.product-feature > .feature-body > p:last-child {
  color: rgba(244, 234, 216, 0.75);
  font-size: 1rem;
}

.feature-cta {
  justify-self: end;
}

/* ---------- Karte mit Foto-Hintergrund ----------
   Oben bleibt Raum fürs Bild, darunter deckt der Verlauf so weit ab, dass der
   Text lesbar bleibt. Steht bewusst nach .card und .product, deren
   padding-Kurzform sonst die Bildzone überschreiben würde. */
.has-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--photo-zone, clamp(8rem, 15vw, 10.5rem));
}

.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--card-photo);
  background-size: var(--card-photo-size, cover);
  background-position: var(--card-photo-pos, center);
  transition: transform 0.6s var(--ease-out);
}

.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 248, 0.12) 0%,
    rgba(255, 253, 248, 0.34) 26%,
    rgba(255, 253, 248, 0.82) 48%,
    rgba(255, 253, 248, 0.95) 66%,
    rgba(255, 253, 248, 0.97) 100%
  );
}

.has-photo:hover::before {
  transform: scale(1.05);
}

/* Schmalere Karten im Sortiment – etwas flachere Bildzone */
.product.has-photo {
  --photo-zone: clamp(7rem, 11vw, 9rem);
}

/* Position je Motiv, damit das Wesentliche in der oberen Bildzone liegt.
   Die PNG-Originale liegen daneben im assets-Ordner. */
.photo-senioren {
  --card-photo: url("assets/senioren-lieferung.webp");
  --card-photo-pos: center 30%;
}

.photo-familien {
  --card-photo: url("assets/familien-lieferung.webp");
  --card-photo-pos: 68% 38%;
}

/* Die Tüte sitzt im unteren Bilddrittel – herangezoomt rückt sie in die Bildzone */
.photo-bestellung {
  --card-photo: url("assets/bestellung.webp");
  --card-photo-size: 190%;
  --card-photo-pos: 62% 100%;
}

.photo-broetchen {
  --card-photo: url("assets/broetchen.webp");
  --card-photo-pos: center 42%;
}

.photo-baguette {
  --card-photo: url("assets/baguette.webp");
  --card-photo-pos: center 40%;
}

.photo-brot {
  --card-photo: url("assets/brot.webp");
  --card-photo-pos: center 38%;
}

.photo-vielesmehr {
  --card-photo: url("assets/vielesmehr.webp");
  --card-photo-pos: center 42%;
}

.photo-form-broetchen {
  --card-photo: url("assets/broetchen-laugengebaeck.webp");
  --card-photo-pos: center 40%;
}

.photo-form-baguette {
  --card-photo: url("assets/baquette_brot.webp");
  --card-photo-pos: center 40%;
}

.photo-form-ferienwohnung {
  --card-photo: url("assets/ferienwohnung.webp");
  --card-photo-pos: center 38%;
}

/* ---------- Bestellformulare ---------- */
#formulare .section-head .lead {
  margin-top: 1.1rem;
  color: var(--ink-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

/* Ganze Karte ist der Download-Link – große Klickfläche */
.form-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s ease,
    border-color 0.4s ease;
}

.form-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 91, 46, 0.45);
  box-shadow: 0 26px 50px -28px rgba(44, 33, 21, 0.35);
}

/* Muss nach .form-card stehen – dessen padding-Kurzform würde die Bildzone
   sonst wieder überschreiben. */
.form-card.has-photo {
  --photo-zone: clamp(8rem, 13vw, 10.5rem);
  padding-top: var(--photo-zone);
}

.form-body {
  display: block;
  flex: 1;
}

.form-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 560;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.form-desc {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.form-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.form-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  flex: none;
  transition: transform 0.4s var(--ease-out), background-color 0.3s ease;
}

.form-card:hover .form-arrow {
  background: var(--accent-deep);
  transform: translateY(3px);
}

.form-arrow svg {
  width: 17px;
  height: 17px;
}

/* Abschlusszeile unter den Formularen – zentriert, mit Zierstern als Trenner */
.form-note {
  position: relative;
  max-width: 34rem;
  margin: clamp(2.6rem, 5vw, 3.8rem) auto 0;
  padding-top: clamp(2.2rem, 4vw, 3rem);
  text-align: center;
  text-wrap: balance;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.form-note::before {
  content: "✦";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  line-height: 1;
  color: var(--gold);
}

/* Feine Linien links und rechts des Sterns */
.form-note::after {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 50%;
  transform: translateX(-50%);
  width: min(14rem, 60%);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--line) 18%,
    var(--line) 38%,
    transparent 42%,
    transparent 58%,
    var(--line) 62%,
    var(--line) 82%,
    transparent
  );
}

.form-note a {
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.form-note a:hover {
  color: var(--accent);
}

/* ---------- Liefergebiet ---------- */
/* Eigener Farbverlauf, damit die Sektion sich zwischen den beiden
   cremefarbenen Nachbarn als eigenständiges Kapitel liest */
/* Eigener, spürbar wärmerer Papierton – vorher lief die Sektion oben und
   unten farbgleich in die Nachbarn, dadurch war gar keine Kante zu sehen.
   Jetzt trägt der Ton den Wechsel und die Schwünge zeichnen ihn nach. */
.area-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ece0c8 0%, #e7dabf 55%, #e5d7ba 100%);

  --edge-h: clamp(34px, 5vw, 80px);
  --edge-shape: var(--edge-arc);
  --edge-color: var(--bg);
  --edge-shape-bottom: var(--edge-sweep-up);
  --edge-color-bottom: var(--bg-alt);
}

.area-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

/* ----- Spalte 1: Einstieg ----- */
.area-intro h2 {
  margin-bottom: 1.3rem;
}

.area-intro .lead {
  color: var(--ink-soft);
  max-width: 30rem;
}

/* Kennzahlen als drei gleich formatierte Karten – Belege statt Behauptungen */
.area-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 2.2rem;
}

.area-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.15rem 1.1rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 18px 34px -30px rgba(44, 33, 21, 0.55);
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease,
    box-shadow 0.5s ease;
}

.area-stat:hover {
  transform: translateY(-5px);
  border-color: rgba(192, 91, 46, 0.4);
  box-shadow: 0 26px 44px -28px rgba(44, 33, 21, 0.5);
}

/* Zahl über Label – umbrechende Labels verschieben so keine Grundlinie */
.area-stat dd {
  order: -1;
}

.area-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.3s ease;
}

.area-stat:hover .area-stat-num {
  color: var(--accent-deep);
}

/* Kurzer Akzentstrich als gemeinsames Detail aller drei Karten */
.area-stat dt {
  position: relative;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.area-stat dt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.45s var(--ease-out);
}

.area-stat:hover dt::before {
  width: 34px;
}

.area-ask {
  margin-top: 1.8rem;
  color: var(--ink-soft);
  max-width: 28rem;
}

.area-cta {
  margin-top: 1.5rem;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ----- Spalte 2: Ortsregister als Tafel ----- */
.area-board {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 3vw, 32px);
  padding: clamp(1.8rem, 3.4vw, 2.8rem);
  box-shadow: 0 40px 80px -55px rgba(44, 33, 21, 0.75);
}

/* Warme Kante oben – signalisiert die Zugehörigkeit zur Marke */
.area-board::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(2rem, 6vw, 4rem);
  right: clamp(2rem, 6vw, 4rem);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    rgba(192, 91, 46, 0),
    var(--accent) 35%,
    var(--gold) 100%
  );
}

.area-board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.2rem;
  padding-bottom: 1.3rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.area-index-head {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.area-board-count {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.area-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(1.2rem, 2.5vw, 2.2rem);
  list-style: none;
}

.area-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease-out);
}

/* Warme Unterstreichung wächst beim Hover von links ein */
.area-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.area-item:hover::after {
  transform: scaleX(1);
}

.area-item:hover {
  padding-left: 0.55rem;
}

/* Die jeweils letzte Zeile jeder Spalte schließt ohne Linie ab */
.area-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.area-item-num {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(111, 96, 78, 0.6);
  flex: none;
  transition: color 0.3s ease;
}

.area-item:hover .area-item-num {
  color: var(--accent);
}

.area-item-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.area-item:hover .area-item-name {
  color: var(--accent-deep);
}

.area-item-tag {
  margin-left: auto;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(217, 164, 65, 0.7);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8781f;
  white-space: nowrap;
}

.area-item.is-soon .area-item-name {
  color: var(--ink-soft);
}

/* Der pulsierende Punkt hält den Blick auf den kommenden Orten */
.area-item.is-soon .area-item-num {
  position: relative;
  color: transparent;
}

.area-item.is-soon .area-item-num::before {
  content: "";
  position: absolute;
  top: 0.15em;
  left: 0.15em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: soonPulse 3s ease-in-out infinite;
}

@keyframes soonPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.55);
  }
  55% {
    box-shadow: 0 0 0 6px rgba(217, 164, 65, 0);
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  text-align: left;
  padding: 1.45rem 0.2rem;
  font-size: 1.08rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-deep);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  transition: transform 0.5s var(--ease-out), background-color 0.35s ease,
    border-color 0.35s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.8px;
  background: currentColor;
  translate: -50% -50%;
  transition: rotate 0.5s var(--ease-out);
}

.faq-icon::after {
  rotate: 90deg;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.faq-item.open .faq-icon::after {
  rotate: 0deg;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  padding: 0 3.5rem 1.5rem 0.2rem;
  color: var(--ink-soft);
}

.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}

/* ---------- Kontakt / CTA ---------- */
.section-cta {
  padding-top: 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--cream-on-dark);
  border-radius: clamp(28px, 5vw, 44px);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.cta-deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-deco-1 {
  width: 380px;
  height: 380px;
  top: -160px;
  right: -100px;
  background: rgba(192, 91, 46, 0.35);
}

.cta-deco-2 {
  width: 320px;
  height: 320px;
  bottom: -160px;
  left: -80px;
  background: rgba(217, 164, 65, 0.22);
}

.cta-card h2 {
  position: relative;
  margin-bottom: 1.2rem;
}

.cta-sub {
  position: relative;
  max-width: 34rem;
  margin: 0 auto 2.4rem;
  color: rgba(244, 234, 216, 0.78);
  font-size: 1.1rem;
}

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-note {
  position: relative;
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: rgba(244, 234, 216, 0.6);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--cream-on-dark);
  padding-top: calc(clamp(3.5rem, 7vw, 5.5rem) + clamp(1.5rem, 4vw, 3rem));

  /* Langer, flacher Schwung – der Fuß soll sich anschleichen,
     nicht wie ein zweiter dunkler Block aufschlagen. */
  --edge-h: clamp(40px, 6vw, 92px);
  --edge-shape: var(--edge-sweep);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}

.footer-brand .brand-logo {
  height: clamp(52px, 6vw, 64px);
}

.footer-brand p {
  margin-top: 1.1rem;
  max-width: 26rem;
  font-size: 0.95rem;
  color: rgba(244, 234, 216, 0.65);
}

.footer-qr {
  display: inline-block;
  margin-top: 1.4rem;
  transition: opacity 0.25s ease;
}

.footer-qr img {
  width: 110px;
  height: 110px;
}

.footer-qr:hover {
  opacity: 0.8;
}

.footer-nav h3,
.footer-contact h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.footer-nav li,
.footer-contact li {
  margin-bottom: 0.55rem;
}

.footer-nav a,
.footer-contact a {
  color: rgba(244, 234, 216, 0.75);
  font-size: 0.97rem;
  transition: color 0.25s ease, padding-left 0.35s var(--ease-out);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--cream-on-dark);
  padding-left: 0.35rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.88rem;
  color: rgba(244, 234, 216, 0.55);
}

.footer-bottom ul {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom a {
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: var(--cream-on-dark);
}

/* ---------- Scroll-Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background: var(--bg);
    clip-path: circle(0 at calc(100% - 44px) 40px);
    transition: clip-path 0.7s var(--ease-out);
    visibility: hidden;
  }

  .nav-open .main-nav {
    clip-path: circle(150% at calc(100% - 44px) 40px);
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
  }

  .nav-link {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 560;
    color: var(--ink);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s var(--ease-out);
    transition-delay: calc(0.15s + var(--i, 0) * 0.06s);
  }

  .nav-link::after {
    height: 2px;
  }

  .nav-open .nav-link {
    opacity: 1;
    transform: none;
  }

  .btn-nav {
    opacity: 0;
    transform: translateY(14px);
    transition-delay: 0.55s;
  }

  .nav-open .btn-nav {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease 0.55s, transform 0.45s var(--ease-out) 0.55s;
  }

  .nav-toggle {
    display: flex;
  }

  /* Unter 1020px wandert das Foto aus dem Hintergrund in den Fluss:
     Text oben, Foto als Band darunter. Die Sektion wird dadurch nur so
     hoch wie nötig – das Laufband liegt direkt im ersten Blickfeld. */
  .hero {
    min-height: 0;
    padding-bottom: 0;
  }

  .hero-inner {
    order: 1;
  }

  /* Die Wortmarke säße hier auf dem Foto statt im Cremebereich */
  .hero-watermark {
    display: none;
  }

  .hero-bg {
    position: relative;
    order: 2;
    width: 100%;
    height: clamp(180px, 30svh, 300px);
    margin-top: clamp(1.8rem, 5vw, 2.6rem);
  }

  .hero-copy {
    max-width: 32rem;
  }

  .hero-photo {
    object-position: 62% 58%;
  }

  /* Nur noch eine weiche Kante nach oben – der Text liegt nicht mehr drauf */
  .hero-fade {
    background: linear-gradient(
      to bottom,
      var(--bg) 0%,
      rgba(247, 241, 230, 0.8) 18%,
      rgba(247, 241, 230, 0.28) 48%,
      rgba(247, 241, 230, 0) 100%
    );
  }

  .card-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .split {
    grid-template-columns: 1fr;
  }

  /* Karte rückt unter den Text, Register auf zwei Spalten */
  .area-grid {
    grid-template-columns: 1fr;
    gap: clamp(2.2rem, 6vw, 3.2rem);
  }


  .steps {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    max-width: 560px;
  }

  .steps::before {
    top: 8%;
    bottom: 8%;
    left: 31px;
    right: auto;
    border-top: none;
    border-left: 1.5px dashed rgba(192, 91, 46, 0.35);
  }

  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 1.4rem;
  }

  .step-num {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-feature {
    grid-template-columns: 1fr;
  }

  .feature-cta {
    justify-self: start;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

@media (max-width: 640px) {
  /* Kompakterer Header: gewinnt oben rund 20px für die Hero */
  :root {
    --header-h: 76px;
  }

  body {
    font-size: 1rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 1.1rem);
  }

  /* Ohne Linie und mit engerer Laufweite bleibt die Zeile einzeilig */
  .hero-eyebrow {
    font-size: clamp(0.64rem, 3vw, 0.7rem);
    letter-spacing: 0.06em;
    gap: 0;
    margin-bottom: 1rem;
  }

  .hero-eyebrow-rule {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.1rem, 9.6vw, 2.9rem);
    margin-bottom: 1.1rem;
  }

  .hero-sub {
    font-size: 1.02rem;
    margin-bottom: 1.4rem;
  }

  .hero-actions {
    gap: 0.7rem;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero-bg {
    height: clamp(140px, 21svh, 230px);
    margin-top: 1.2rem;
  }

  .area-stats {
    gap: 0.5rem;
  }

  .area-stat {
    padding: 0.95rem 0.8rem 0.9rem;
  }

  .area-stat dt {
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .area-index {
    grid-template-columns: 1fr;
  }

  /* Einspaltig schließt erst der letzte Eintrag die Liste ab */
  .area-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .area-item:last-child {
    border-bottom: none;
  }

  .area-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Niedrige Handy-Viewports: Text weiter zusammenziehen, damit das
   Laufband auch dort noch ohne Scrollen im Blick liegt */
@media (max-width: 640px) and (max-height: 740px) {
  .hero {
    padding-top: calc(var(--header-h) + 0.8rem);
  }

  .hero-eyebrow {
    margin-bottom: 0.7rem;
  }

  .hero-title {
    font-size: clamp(1.95rem, 8.8vw, 2.5rem);
    margin-bottom: 0.9rem;
  }

  .hero-sub {
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
  }

  .hero-bg {
    height: clamp(105px, 16svh, 180px);
    margin-top: 0.9rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-feature {
    padding: 2.2rem 1.6rem;
  }

  .feature-cta {
    width: 100%;
    justify-content: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .faq-panel-inner p {
    padding-right: 1rem;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }

  .hero-title .line-inner,
  .hero-eyebrow,
  .hero-sub,
  .hero-actions,
  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  /* Ohne Bewegung bleibt das erste Wort einfach stehen */
  .rotator-word {
    opacity: 0;
    transform: none;
  }

  .rotator-word.is-active {
    opacity: 1;
  }
}

/* ============================================================
   Rechtliche Seiten (Impressum, Datenschutz)
   ============================================================ */
.page-head {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg-alt);
}

.page-head .eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.page-head h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.page-head .lead {
  margin-top: 1.1rem;
  max-width: 46rem;
  color: var(--ink-soft);
}

.legal {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.legal-block + .legal-block {
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
}

.legal h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.legal h3 {
  font-size: 1.12rem;
  margin: 1.8rem 0 0.6rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  line-height: 1.75;
}

.legal p + p {
  margin-top: 0.9rem;
}

.legal ul {
  list-style: none;
  margin-top: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.legal ul li {
  position: relative;
  padding-left: 1.4rem;
}

.legal ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Buttons behalten ihre eigene Farbgebung – nur Fließtextlinks werden markiert */
.legal a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.legal a:not(.btn):hover {
  color: var(--accent-deep);
}

.legal address {
  font-style: normal;
  line-height: 1.8;
  color: var(--ink-soft);
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.legal-note {
  margin-top: 1.2rem;
  border-left: 3px solid var(--gold);
  background: rgba(217, 164, 65, 0.1);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
}

.legal-note strong {
  color: var(--ink);
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.legal-toc a {
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.35s var(--ease-out);
}

.legal-toc a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.legal-back {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

/* Anschrift in der Fußzeile – etwas ruhiger als die Kontaktlinks daneben */
.footer-address {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(244, 234, 216, 0.6);
}
