/* ==========================================================================
   Alltagshilfe-Buchholz – Stylesheet
   Farben & Typografie 1:1 aus dem Flyer abgeleitet (Lato, Navy/Koralle/Salbei/Creme)
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, kein Google-Fonts-Abruf) ---------- */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/lato-latin-900-normal.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Markenfarben (Flyer) */
  --navy: #113c56;
  --navy-900: #0b2c41;
  --navy-700: #1d4f6d;
  --coral: #e9855b;
  --coral-600: #b9572b; /* Buttons: weißer Text mit AA-Kontrast */
  --coral-700: #a34a22;
  --peach: #f9e6db;
  --sage: #708f63;
  --sage-700: #4d6a43; /* Salbei für Text auf Creme */
  --sage-100: #e8ece1;
  --cream: #f7f4e9;
  --paper: #fcfaf5;
  --white: #ffffff;

  /* Text */
  --text: #2e3b42;
  --text-muted: #58646c;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #c9d6dd;

  /* Typografie */
  --font: "Lato", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); /* 17–19px */
  --fs-small: 0.9375rem;
  --fs-lead: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 1.9vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2rem);
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 88px;

  /* Effekte */
  --shadow-sm: 0 1px 2px rgba(17, 60, 86, 0.06), 0 2px 8px rgba(17, 60, 86, 0.05);
  --shadow: 0 2px 6px rgba(17, 60, 86, 0.06), 0 12px 32px rgba(17, 60, 86, 0.09);
  --shadow-lg: 0 4px 12px rgba(17, 60, 86, 0.08), 0 24px 56px rgba(17, 60, 86, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--navy);
}

/* ---------- Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--navy);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--coral-600);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

:where(ul[role="list"], ol[role="list"]) {
  list-style: none;
  margin: 0;
  padding: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

.icon {
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Layout-Bausteine ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}
.section--paper {
  background: var(--paper);
}
.section--sage {
  background: var(--sage-100);
}

.split {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--media-first > :last-child {
    order: -1;
  }
}

/* Koralle-Balken über Überschriften – Motiv aus dem Flyer */
.accent-bar {
  display: block;
  width: 56px;
  height: 6px;
  border-radius: 99px;
  background: var(--coral);
  margin-bottom: 1.25rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .accent-bar {
  margin-inline: auto;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--coral-600);
  --btn-bg-hover: var(--coral-700);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0.85rem 1.6rem;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid transparent;
  border-radius: 99px;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.btn:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(185, 87, 43, 0.28);
}
.btn:active {
  transform: translateY(0);
}
.btn .icon {
  width: 1.25em;
  height: 1.25em;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-bg-hover: var(--navy);
  --btn-fg: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  --btn-fg: var(--white);
  box-shadow: 0 10px 22px rgba(17, 60, 86, 0.2);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 48px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 245, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: rgba(17, 60, 86, 0.08);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}
.brand img {
  width: auto;
  height: 66px;
}

.main-nav {
  display: none;
}
.main-nav ul {
  display: flex;
  gap: 0.25rem;
}
.main-nav a {
  position: relative;
  display: block;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy);
  text-decoration: none;
  border-radius: 99px;
  transition: background-color 0.2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.3rem;
  height: 3px;
  border-radius: 3px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover {
  background: var(--sage-100);
  color: var(--navy);
}
.main-nav a:hover::after,
.main-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone .icon-circle {
  width: 40px;
  height: 40px;
}
.header-phone:hover {
  color: var(--coral-600);
}

.header-cta {
  display: none;
}

.icon-circle {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  flex-shrink: 0;
}
.icon-circle .icon {
  width: 52%;
  height: 52%;
}

/* Mobile Icon-Buttons */
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid var(--sage-100);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.icon-btn:hover {
  background: var(--sage-100);
  color: var(--navy);
}
.icon-btn--call {
  background: var(--coral-600);
  border-color: var(--coral-600);
  color: var(--white);
}
.icon-btn--call:hover {
  background: var(--coral-700);
  border-color: var(--coral-700);
  color: var(--white);
}
.icon-btn .icon {
  width: 24px;
  height: 24px;
}
.menu-toggle .icon-close {
  display: none;
}
.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Mobiles Menü */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  padding: 1rem var(--gutter) 2rem;
  background: var(--paper);
  border-top: 1px solid rgba(17, 60, 86, 0.08);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease),
    visibility 0s linear 0.25s;
}
.mobile-nav.is-open {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.mobile-nav ul {
  margin-bottom: 1.25rem;
}
.mobile-nav li + li {
  border-top: 1px solid var(--sage-100);
}
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  text-decoration: none;
}
.mobile-nav a:not(.btn) .icon {
  width: 22px;
  height: 22px;
  color: var(--coral);
}
.mobile-nav .btn + .btn {
  margin-top: 0.75rem;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 104px;
  }
  .brand img {
    height: 78px;
  }
  .main-nav,
  .header-cta {
    display: flex;
  }
  .mobile-only {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .header-phone {
    display: inline-flex;
  }
}
@media (max-width: 1023.98px) {
  .brand img {
    height: 60px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(4rem, 3rem + 4vw, 7rem);
  background:
    radial-gradient(60rem 30rem at 100% 0%, rgba(232, 236, 225, 0.9), transparent 60%),
    var(--cream);
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
  }
}

.hero h1 {
  font-size: var(--fs-h1);
  line-height: 1.05;
  margin-bottom: 0.35em;
}
.hero-sub {
  display: block;
  margin-top: 0.4em;
  font-size: 0.55em;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

/* Schwung unter dem Schlüsselwort – angelehnt an die Linie im Logo */
.swoosh {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.swoosh svg {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.28em;
  overflow: visible;
}
.swoosh path {
  fill: none;
  stroke: var(--sage);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 0;
}
.js .swoosh path {
  stroke-dashoffset: 220;
  animation: draw 1.1s 0.5s var(--ease) forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero .lead {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  font-weight: 700;
  color: var(--navy);
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-meta .icon {
  width: 1.4em;
  height: 1.4em;
}

.check-icon {
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
  color: var(--sage);
}

/* Bildkomposition mit Kartenüberlagerung (wie im Flyer) */
.hero-media {
  position: relative;
  margin: 0;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% -6% -7% 10%;
  border-radius: var(--radius-lg);
  background: var(--sage-100);
  z-index: 0;
}
.hero-media picture,
.media-frame picture {
  position: relative;
  z-index: 1;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 28% 40%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) {
  .hero-media img {
    aspect-ratio: 5 / 4;
  }
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--navy);
  line-height: 1.35;
}
.floating-card strong {
  display: block;
  font-weight: 900;
  font-size: 1.0625rem;
}
.floating-card span {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}
.floating-card .icon-circle {
  width: 48px;
  height: 48px;
  background: var(--sage);
}
.hero-media .floating-card {
  left: -1rem;
  bottom: 1.5rem;
  max-width: 380px;
}
.hero-media .accent-tag {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  right: 1.25rem;
}

.accent-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--paper);
  border-radius: 99px;
  box-shadow: var(--shadow-sm);
  font-size: 0.8125rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-700);
}
.accent-tag .icon {
  width: 1.25em;
  height: 1.25em;
  color: var(--coral);
  fill: var(--coral);
  stroke: var(--coral);
}

@media (max-width: 599.98px) {
  .hero-media .floating-card {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: none;
  }
  .hero-media .accent-tag {
    top: 0.75rem;
    right: 0.75rem;
  }
  .hero-media::before {
    inset: 6% -4% -4% 8%;
  }
  .btn-row .btn {
    width: 100%;
  }
}

/* ---------- Leistungen ---------- */
.audience {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--sage-100);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.5;
}
.audience .icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--sage-700);
  margin-top: 0.1rem;
}

.media-frame {
  position: relative;
  margin: 0;
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.media-frame::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 42%;
  height: 42%;
  border-radius: var(--radius-lg);
  background: var(--peach);
  right: -1.25rem;
  bottom: -1.25rem;
}
.media-frame--sage::after {
  background: var(--sage-100);
  right: auto;
  left: -1.25rem;
}
@media (max-width: 599.98px) {
  .media-frame::after {
    display: none;
  }
}

.services {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
}
@media (min-width: 760px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 760px) and (max-width: 1079.98px) {
  .services > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1080px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Leistungskarte mit farbiger Kante links – wie im Flyer */
.service-card {
  --accent: var(--sage);
  --accent-soft: var(--sage-100);
  --accent-ink: var(--sage-700);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 2rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--accent);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card--coral {
  --accent: var(--coral);
  --accent-soft: var(--peach);
  --accent-ink: var(--coral-600);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--accent-soft, var(--sage-100));
  color: var(--navy);
  transition: transform 0.3s var(--ease);
}
.icon-badge .icon {
  width: 30px;
  height: 30px;
}
.service-card:hover .icon-badge {
  transform: scale(1.06) rotate(-4deg);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.check-list {
  display: grid;
  gap: 0.7rem;
}
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  line-height: 1.45;
}
.check-list .check-icon {
  margin-top: 0.05em;
  color: var(--accent, var(--sage));
}

/* ---------- Über uns ---------- */
.about-quote {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: -1.75rem;
  max-width: 320px;
  padding: 1.25rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
}
.about-quote::before {
  content: "";
  display: block;
  width: 40px;
  height: 5px;
  margin-bottom: 0.75rem;
  border-radius: 99px;
  background: var(--coral);
}
@media (max-width: 599.98px) {
  .about-quote {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -2.5rem 0.75rem 0;
  }
}

.audience-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
}
.audience-list li {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.audience-list .icon-circle {
  width: 44px;
  height: 44px;
  background: var(--sage-100);
  color: var(--navy);
}

/* ---------- Vorteile ---------- */
.benefits {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.benefit {
  padding: 1.75rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.benefit .icon-badge {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  background: var(--sage-100);
}
.benefit:nth-child(even) .icon-badge {
  background: var(--peach);
}
.benefit h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.benefit p {
  color: var(--text-muted);
}

/* ---------- Ablauf ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  margin: 2rem 0 2.25rem;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
}
.step:last-child {
  padding-bottom: 0;
}
/* Verbindungslinie zwischen den Schritten – wie im Flyer */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: var(--sage);
  opacity: 0.6;
}
.step-num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 1.375rem;
  font-weight: 900;
  box-shadow: 0 0 0 6px var(--sage-100);
}
.step h3 {
  margin: 0.6rem 0 0.35rem;
  font-size: 1.3125rem;
}
.step p {
  color: var(--text-muted);
}

/* ---------- Kontakt ---------- */
.contact {
  background:
    radial-gradient(48rem 32rem at 105% -10%, rgba(112, 143, 99, 0.2), transparent 65%),
    var(--navy);
  color: var(--text-on-dark);
  overflow: hidden;
}
.contact h2 {
  color: var(--white);
}
.contact .eyebrow {
  color: #a9c39c;
}
.contact-kicker {
  font-size: var(--fs-lead);
  font-weight: 900;
  color: var(--coral);
  line-height: 1.4;
  margin-bottom: 1.25rem;
}
.contact-text {
  color: var(--text-on-dark-muted);
  max-width: 32rem;
}

.contact-grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  align-items: start;
}
@media (min-width: 1000px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .contact-grid > :first-child {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.contact-list {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.25rem;
}
.contact-list a,
.contact-list .contact-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  text-decoration: none;
  font-size: 1.125rem;
  overflow-wrap: anywhere;
}
.contact-list a:hover {
  color: var(--coral);
}
.contact-list .icon-circle {
  width: 48px;
  height: 48px;
}
.contact-list .icon-circle--sage {
  background: var(--sage);
}
.contact-list .contact-phone {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.01em;
}
.contact-list .contact-phone .icon-circle {
  width: 56px;
  height: 56px;
  transition: transform 0.25s var(--ease);
}
.contact-list .contact-phone:hover .icon-circle {
  transform: rotate(-12deg) scale(1.05);
}

/* Formular */
.form-card {
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  background: var(--paper);
  color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-card h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  margin-bottom: 0.4rem;
}
.form-intro {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field > label,
.field > legend {
  display: block;
  margin-bottom: 0.45rem;
  padding: 0;
  font-weight: 700;
  color: var(--navy);
}
.field .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.field-hint {
  margin: -0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.input {
  width: 100%;
  min-height: 56px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--text);
  background: var(--white);
  border: 2px solid #cfd6cc;
  border-radius: var(--radius-sm);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.input:hover {
  border-color: var(--sage);
}
.input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(17, 60, 86, 0.15);
}
textarea.input {
  min-height: 140px;
  resize: vertical;
}
.input[aria-invalid="true"] {
  border-color: #b3261e;
}

.choice-grid {
  display: grid;
  gap: 0.6rem;
}
@media (min-width: 600px) {
  .choice-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 2px solid #dfe4dc;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1.4;
  transition:
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}
.choice:hover {
  border-color: var(--sage);
}
.choice:has(input:checked) {
  border-color: var(--sage);
  background: var(--sage-100);
}
.choice:has(input:focus-visible) {
  box-shadow: var(--focus);
}
.choice input {
  width: 22px;
  height: 22px;
  margin: 0.05rem 0 0;
  flex-shrink: 0;
  accent-color: var(--sage-700);
}
.choice strong {
  display: block;
  color: var(--navy);
}
.choice small {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
}
.consent input {
  width: 22px;
  height: 22px;
  margin: 0.1rem 0 0;
  flex-shrink: 0;
  accent-color: var(--sage-700);
}

.form-hint {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
}
.form-error {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: #fdecea;
  color: #8c1d18;
  font-weight: 700;
  font-size: 0.9375rem;
}
.form-error.is-visible {
  display: block;
}
.form-success {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--sage-100);
  color: var(--navy);
  font-weight: 700;
}
.form-success.is-visible {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  padding-block: clamp(3rem, 2.5rem + 3vw, 4.5rem) 1.5rem;
  font-size: 1rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1.2fr 0.8fr;
  }
}
.footer-logo {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius);
}
.footer-logo img {
  width: 180px;
  height: auto;
}
.site-footer h2 {
  font-size: 1.0625rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.site-footer ul {
  display: grid;
  gap: 0.6rem;
}
.site-footer a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}
.site-footer li a {
  display: inline-block;
  padding-block: 0.2rem;
}
.site-footer a:hover {
  color: var(--coral);
  text-decoration: underline;
}
.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  overflow-wrap: anywhere;
}
.footer-contact .icon {
  width: 1.2em;
  height: 1.2em;
  color: var(--coral);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
}

/* ---------- Mobile Schnellkontakt-Leiste ---------- */
.quickbar {
  position: fixed;
  z-index: 90;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(252, 250, 245, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(17, 60, 86, 0.1);
  box-shadow: 0 -6px 20px rgba(17, 60, 86, 0.08);
  transition: transform 0.3s var(--ease);
}
.quickbar .btn {
  min-height: 52px;
  padding-inline: 0.75rem;
  font-size: 1.0625rem;
}
.quickbar.is-hidden {
  transform: translateY(110%);
}
@media (max-width: 1023.98px) {
  body.has-quickbar {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}
@media (min-width: 1024px) {
  .quickbar {
    display: none;
  }
}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal + .site-footer .footer-bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
  background: var(--paper);
}
.legal .container {
  max-width: calc(52rem + 2 * var(--gutter));
}
.legal h1 {
  font-size: var(--fs-h2);
}
.legal h2 {
  font-size: 1.375rem;
  margin-top: 2.25rem;
}
.legal h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
}
.todo {
  background: var(--peach);
  padding: 0.05em 0.35em;
  border-radius: 4px;
  font-weight: 700;
  color: var(--navy);
}
.notice {
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  border-left: 5px solid var(--coral);
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- Einstieg Hero (nur Text, Bild bleibt sofort sichtbar) ---------- */
.hero-content > * {
  animation: rise 0.7s var(--ease) both;
}
.hero-content > :nth-child(2) {
  animation-delay: 0.05s;
}
.hero-content > :nth-child(3) {
  animation-delay: 0.1s;
}
.hero-content > :nth-child(n + 4) {
  animation-delay: 0.18s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ---------- Scroll-Animationen (dezent) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Druck ---------- */
@media print {
  .site-header,
  .quickbar,
  .mobile-nav,
  .form-card {
    display: none !important;
  }
  .contact {
    background: none;
    color: #000;
  }
}

/* Honeypot-Feld (Spam-Schutz) – außerhalb des sichtbaren Bereichs */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn[aria-busy="true"] {
  opacity: 0.75;
  cursor: progress;
}
.form-error .btn-link {
  display: inline;
  padding: 0;
  margin-top: 0.4rem;
  font: inherit;
  font-weight: 900;
  color: inherit;
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}
