/* ==========================================================================
   HGP Borna – Design System V4 "Frisch"
   Farbenfroh, warm, freundlich – aber nicht bunt zusammengewürfelt.

   Ordnungsprinzip: Jeder der drei Leistungsbereiche hat EINE eigene Farbe
   und behält sie überall – im Symbol, in der Kachel, im Seitenkopf, im
   Menü. Farbe ist damit Orientierung, nicht Dekoration.

     Grün  = Garten und Grünflächen
     Blau  = Reinigung
     Bernstein = Hausmeister und Sonstiges
     Beere = Karriere und Menschen
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Basis – warmes Creme statt kaltem Weiß */
  --cream:   #FFFCF5;
  --cream-2: #FDF6E9;
  --paper:   #FFFFFF;

  --ink:   #16241B;
  --ink-2: #4E5F55;
  --ink-3: #657469;   /* auf Creme 4,82:1 */
  --ink-4: #A9B5AD;
  --line:  #E9E2D4;

  /* Bereichsfarben – jeweils kräftig, weich und dunkel */
  /* Jeweils drei Stufen:
       --x        = die helle, freundliche Signalfarbe (Flächen, Symbole)
       --x-solid  = Fläche, auf der WEISSE Schrift steht (mind. 4,5:1 geprüft)
       --x-deep   = Schrift auf hellem Grund und auf --x-soft
       --x-soft   = zarte Hintergrundfläche                                */
  --green:       #2E9E4F;
  --green-solid: #1F7A3C;   /* Weiß darauf: 5,37:1 */
  --green-deep:  #1D6E36;   /* auf Creme: 6,14:1 */
  --green-soft:  #E0F4E5;

  --sky:         #1B8FD1;
  --sky-solid:   #14709F;   /* Weiß darauf: 5,46:1 */
  --sky-deep:    #12648F;
  --sky-soft:    #DDEFFB;

  --amber:       #E08A0B;
  --amber-solid: #8A5304;   /* Weiß darauf: 6,33:1 */
  --amber-deep:  #9E5F05;
  --amber-soft:  #FDEFD6;

  --berry:       #C43C6E;
  --berry-solid: #A32F5A;   /* Weiß darauf: 6,3:1 */
  --berry-deep:  #8E2A4E;
  --berry-soft:  #FBE3EC;

  /* Aktive Bereichsfarbe – wird pro Abschnitt/Seite umgesetzt */
  --tone:       var(--green);
  --tone-solid: var(--green-solid);
  --tone-deep:  var(--green-deep);
  --tone-soft:  var(--green-soft);

  --focus: #1B6ACB;
  --danger: #C0392B;

  --f: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
       "Helvetica Neue", Arial, sans-serif;

  --t-xs:  .75rem;
  --t-sm:  .8438rem;
  --t-md:  .9375rem;
  --t-base:1.0625rem;
  --t-lg:  clamp(1.125rem, 1.05rem + .35vw, 1.375rem);
  --t-xl:  clamp(1.35rem, 1.2rem + .8vw, 1.875rem);
  --t-2xl: clamp(1.75rem, 1.4rem + 1.7vw, 2.875rem);
  --t-3xl: clamp(2.2rem, 1.6rem + 2.8vw, 4rem);
  --t-4xl: clamp(2.5rem, 1.6rem + 4.2vw, 5rem);

  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --wrap: 1240px;
  --wrap-text: 720px;
  --sec: clamp(4rem, 2.5rem + 6vw, 8rem);

  --r-sm: 14px;
  --r:    22px;
  --r-lg: 34px;
  --r-xl: 48px;
  --r-pill: 999px;

  --sh:    0 2px 10px rgba(30, 45, 35, .05), 0 10px 30px -12px rgba(30, 45, 35, .12);
  --sh-lg: 0 8px 24px rgba(30, 45, 35, .08), 0 28px 60px -20px rgba(30, 45, 35, .22);

  --ease: cubic-bezier(.22, .68, .3, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: 340ms;
}

/* Bereichsklassen – setzen nur die aktive Farbe um */
.t-green { --tone: var(--green); --tone-solid: var(--green-solid); --tone-deep: var(--green-deep); --tone-soft: var(--green-soft); }
.t-sky   { --tone: var(--sky);   --tone-solid: var(--sky-solid);   --tone-deep: var(--sky-deep);   --tone-soft: var(--sky-soft); }
.t-amber { --tone: var(--amber); --tone-solid: var(--amber-solid); --tone-deep: var(--amber-deep); --tone-soft: var(--amber-soft); }
.t-berry { --tone: var(--berry); --tone-solid: var(--berry-solid); --tone-deep: var(--berry-deep); --tone-soft: var(--berry-soft); }

/* --------------------------------------------------------------------------
   2. Basis
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  background: var(--cream);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f);
  font-size: var(--t-base);
  line-height: 1.6;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
svg { flex: none; width: 1em; height: 1em; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
  /* Lange deutsche Komposita ("Landschaftspflege", "Gebaeudereinigung")
     sprengen sonst schmale Karten und werden am Rand abgeschnitten.
     Erst trennen, und nur im Notfall hart umbrechen. */
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); line-height: 1.18; letter-spacing: -.024em; }
h4 { font-size: var(--t-lg); line-height: 1.25; letter-spacing: -.02em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--tone-deep); text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

ul, ol { margin: 0 0 1em; padding-left: 1.15rem; }
li { margin-bottom: .3rem; }

::selection { background: var(--green-soft); color: var(--green-deep); }

.f-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.f-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .85rem 1.4rem;
  font-weight: 600; border-radius: 0 0 var(--r-sm) 0;
}
.f-skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.f-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.f-wrap--text { max-width: var(--wrap-text); }

.f-sec { padding-block: var(--sec); position: relative; }
.f-sec--tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.f-sec--paper { background: var(--paper); }
.f-sec--cream { background: var(--cream-2); }
.f-sec--tone  { background: var(--tone-soft); }

/* Weiche Rundung zwischen zwei Flächen */
.f-round-top { border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); position: relative; z-index: 2; }

.f-intro { text-align: center; max-width: 720px; margin: 0 auto clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); }
.f-intro p { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.45; }

.f-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .9rem; margin-bottom: .9rem;
  background: var(--tone-soft); color: var(--tone-deep);
  border-radius: var(--r-pill);
  font-size: var(--t-sm); font-weight: 700; letter-spacing: -.005em;
}
.f-eyebrow svg { width: 15px; height: 15px; }

.f-grid { display: grid; gap: clamp(1rem, .6rem + 1.2vw, 1.5rem); }
.f-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.f-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.f-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */
.f-nav {
  position: sticky; top: 0; z-index: 150;
  background: color-mix(in srgb, var(--cream) 96%, transparent);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  transition: box-shadow var(--dur) var(--ease);
}
.f-nav.is-stuck { box-shadow: 0 1px 0 var(--line), 0 6px 22px -14px rgba(30,45,35,.35); }
.f-nav__in {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px;
  max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad);
}

.f-logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); flex: none; }
.f-logo img { max-height: 40px; width: auto; }
.f-logo__m {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--green-solid) 0%, var(--sky-solid) 100%);
  color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .01em;
  box-shadow: 0 3px 10px -3px rgba(46,158,79,.55);
}
.f-logo__t { display: flex; flex-direction: column; line-height: 1.1; }
.f-logo__n { font-weight: 750; font-size: 1rem; letter-spacing: -.028em; white-space: nowrap; }
.f-logo__s { font-size: .68rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }

.f-menu { display: flex; align-items: center; gap: .15rem; margin-inline: auto; }
.f-menu ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.f-menu li { margin: 0; }
.f-menu a {
  display: block; padding: .5rem .8rem;
  font-size: .875rem; font-weight: 600; letter-spacing: -.015em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  border-radius: var(--r-pill);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.f-menu a:hover { color: var(--ink); background: rgba(22,36,27,.055); }
.f-menu .is-active > a, .f-menu .current-menu-item > a { color: var(--green-deep); background: var(--green-soft); }

.f-nav__act { display: flex; align-items: center; gap: .5rem; flex: none; }
.f-burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(22,36,27,.06); border-radius: 13px; cursor: pointer; color: var(--ink); }
.f-burger svg { width: 20px; height: 20px; }

@media (max-width: 1160px) {
  .f-burger { display: grid; place-items: center; }
  .f-menu {
    position: fixed; inset: 68px 0 auto 0; z-index: 140;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 1.25rem var(--pad) 2rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(30,45,35,.4);
    max-height: calc(100dvh - 68px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: all var(--dur) var(--ease);
  }
  .f-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .f-menu ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .f-menu a { padding: .85rem 1rem; font-size: 1.15rem; border-radius: var(--r-sm); }
  body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   5. Schaltflächen
   -------------------------------------------------------------------------- */
.f-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .8rem 1.6rem;
  font: inherit; font-size: var(--t-md); font-weight: 700; letter-spacing: -.015em;
  color: #fff; background: var(--tone-solid);
  border: 2px solid transparent; border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 14px -6px color-mix(in srgb, var(--tone-solid) 70%, transparent);
  transition: transform 180ms var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.f-btn:hover {
  color: #fff; transform: translateY(-2px);
  background: color-mix(in srgb, var(--tone-solid) 86%, #000);
  box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--tone-solid) 75%, transparent);
}
.f-btn:active { transform: translateY(0); }
.f-btn--soft { background: var(--tone-soft); color: var(--tone-deep); box-shadow: none; }
.f-btn--soft:hover { background: var(--tone-solid); color: #fff; }
.f-btn--outline { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.f-btn--outline:hover { background: var(--paper); color: var(--ink); border-color: var(--ink-4); transform: translateY(-2px); box-shadow: var(--sh); }
.f-btn--ink { background: var(--ink); }
.f-btn--ink:hover { background: #0C150F; }
.f-btn--wa { background: #25D366; color: #06331A; }
.f-btn--wa:hover { background: #1FB955; color: #06331A; }
.f-btn--lg { min-height: 58px; padding: .95rem 2rem; font-size: var(--t-base); }
.f-btn--sm { min-height: 42px; padding: .5rem 1.1rem; font-size: var(--t-sm); }
.f-btn--block { width: 100%; }

/* Muss NACH .f-btn stehen – sonst gewinnt dessen display:inline-flex und die
   Schaltfläche liegt am Handy über dem Menü-Knopf. */
@media (max-width: 1160px) {
  .f-nav .f-nav__cta { display: none; }
}

.f-btns { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.f-intro .f-btns, .f-center .f-btns { justify-content: center; }
.f-center { text-align: center; }

.f-more {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 700; font-size: var(--t-md); color: var(--tone-deep); text-decoration: none;
}
.f-more svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.f-more:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.f-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6rem) 0; }

/* Drei farbige Lichtflecken – das Farbfundament der Seite */
.f-hero__blobs { position: absolute; inset: -10% -5% auto; height: 130%; z-index: 0; pointer-events: none; }
.f-hero__blobs i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(80px); opacity: .42;
}
.f-hero__blobs i:nth-child(1) { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  left: -8%; top: -12%; background: var(--green); }
.f-hero__blobs i:nth-child(2) { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px;
  right: -6%; top: -6%; background: var(--sky); opacity: .42; }
.f-hero__blobs i:nth-child(3) { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px;
  right: 22%; top: 34%; background: var(--amber); opacity: .34; }

.f-hero__in { position: relative; z-index: 1; text-align: center; }
.f-hero h1 { font-size: var(--t-4xl); letter-spacing: -.038em; max-width: 17ch; margin-inline: auto; }
.f-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--green) 0%, var(--sky) 52%, #B06B04 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.f-hero__sub { font-size: var(--t-lg); color: var(--ink-2); max-width: 40ch; margin: 1.1rem auto 0; line-height: 1.45; }
.f-hero__btns { margin-top: 2rem; justify-content: center; }

.f-hero__shot {
  position: relative; z-index: 1;
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 2 / 1; background: var(--cream-2);
  box-shadow: var(--sh-lg);
  border: 6px solid var(--paper);
}
.f-hero__shot img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .f-hero__shot { aspect-ratio: 4/3; border-radius: var(--r-lg); border-width: 4px; } }

/* Vertrauensleiste */
.f-trust {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  gap: 1rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.f-trust__i {
  background: var(--paper); border-radius: var(--r);
  padding: 1.25rem 1rem; text-align: center; box-shadow: var(--sh);
}
.f-trust__i b {
  display: block; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
  font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--tone-deep);
}
.f-trust__i span { display: block; margin-top: .45rem; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.35; }
.f-trust__i:nth-child(1) { --tone-deep: var(--green-deep); }
.f-trust__i:nth-child(2) { --tone-deep: var(--sky-deep); }
.f-trust__i:nth-child(3) { --tone-deep: var(--amber-deep); }
.f-trust__i:nth-child(4) { --tone-deep: var(--berry-deep); }

/* Seitenkopf Unterseiten */
.f-phead { position: relative; overflow: hidden; background: var(--tone-soft); text-align: center;
  padding-block: clamp(2.75rem, 2rem + 4vw, 5rem); }
.f-phead::after {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  right: -14%; top: -60%; border-radius: 50%;
  background: var(--tone); opacity: .13; filter: blur(50px);
}
.f-phead > * { position: relative; z-index: 1; }
.f-phead h1 { font-size: var(--t-3xl); max-width: 19ch; margin-inline: auto; }
.f-phead p { color: var(--ink-2); font-size: var(--t-lg); max-width: 48ch; margin: 1rem auto 0; }
.f-crumb { font-size: var(--t-sm); color: var(--ink-3); margin-bottom: .85rem; }
.f-crumb a { color: var(--ink-3); text-decoration: none; }
.f-crumb a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   7. Bereichskarten
   -------------------------------------------------------------------------- */
.f-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: var(--paper); border-radius: var(--r-lg);
  box-shadow: var(--sh);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.f-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.f-card--tone { background: var(--tone-soft); box-shadow: none; }
.f-card--tone:hover { box-shadow: var(--sh); }
.f-card__i {
  width: 58px; height: 58px; border-radius: 18px; margin-bottom: 1.25rem;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--tone-solid), var(--tone-deep));
  box-shadow: 0 6px 16px -8px var(--tone);
}
.f-card__i svg { width: 26px; height: 26px; }
.f-card__k {
  display: inline-block; font-size: var(--t-sm); font-weight: 700;
  color: var(--tone-deep); margin-bottom: .4rem;
}
.f-card h3 { margin-bottom: .5rem; }
.f-card p { color: var(--ink-2); font-size: var(--t-md); }
.f-card__foot { margin-top: auto; padding-top: 1.5rem; }
.f-card__stretch::after { content: ""; position: absolute; inset: 0; }

/* Zahl-Kachel */
.f-card__big {
  font-size: clamp(2.75rem, 2rem + 3.4vw, 4.5rem); font-weight: 800;
  letter-spacing: -.05em; line-height: 1; color: var(--tone-deep); margin-bottom: .35rem;
}

/* --------------------------------------------------------------------------
   8. Leistungsliste
   -------------------------------------------------------------------------- */
.f-list { list-style: none; margin: 0; padding: 0; }
.f-list li {
  display: grid; grid-template-columns: auto 1fr; gap: .7rem;
  margin: 0 0 .55rem; padding: .7rem .9rem;
  background: var(--paper); border-radius: var(--r-sm);
  font-size: var(--t-md); color: var(--ink-2); line-height: 1.45;
  box-shadow: 0 1px 3px rgba(30,45,35,.045);
}
.f-list li::before {
  content: ""; width: 20px; height: 20px; margin-top: .1rem; flex: none;
  border-radius: 50%; background: var(--tone-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
@media (min-width: 760px) { .f-list--2 { columns: 2; column-gap: 1.25rem; } .f-list--2 li { break-inside: avoid; } }

/* --------------------------------------------------------------------------
   9. Segmentwahl
   -------------------------------------------------------------------------- */
.f-seg {
  display: inline-flex; gap: .25rem; padding: .3rem;
  background: var(--paper); border-radius: var(--r-pill);
  box-shadow: var(--sh); max-width: 100%; overflow-x: auto;
}
.f-seg button {
  border: 0; background: none; font: inherit; cursor: pointer; white-space: nowrap;
  padding: .6rem 1.2rem; border-radius: var(--r-pill);
  font-size: var(--t-md); font-weight: 700; color: var(--ink-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.f-seg button:hover { color: var(--ink); }
.f-seg button[aria-selected="true"] { background: var(--seg-tone, var(--green-solid)); color: #fff; }
.f-seg button:nth-child(1) { --seg-tone: var(--green-solid); }
.f-seg button:nth-child(2) { --seg-tone: var(--sky-solid); }
.f-seg button:nth-child(3) { --seg-tone: var(--amber-solid); }
.f-panel[hidden] { display: none; }
.f-panel { animation: fIn .5s var(--ease-out); }
@keyframes fIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   10. Ablauf
   -------------------------------------------------------------------------- */
.f-steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }
.f-step { background: var(--paper); border-radius: var(--r); padding: 1.75rem 1.5rem; text-align: center; box-shadow: var(--sh); }
.f-step b {
  display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 1rem;
  border-radius: 50%; color: #fff; font-size: var(--t-md); font-weight: 800;
  background: linear-gradient(140deg, var(--tone-solid), var(--tone-deep));
}
.f-step:nth-child(1) { --tone-solid: var(--green-solid); --tone-deep: var(--green-deep); }
.f-step:nth-child(2) { --tone-solid: var(--sky-solid);   --tone-deep: var(--sky-deep); }
.f-step:nth-child(3) { --tone-solid: var(--amber-solid); --tone-deep: var(--amber-deep); }
.f-step:nth-child(4) { --tone-solid: var(--berry-solid); --tone-deep: var(--berry-deep); }
.f-step h3 { font-size: var(--t-lg); margin-bottom: .35rem; }
.f-step p { color: var(--ink-2); font-size: var(--t-md); }

/* --------------------------------------------------------------------------
   11. Kundenstimmen
   -------------------------------------------------------------------------- */
.f-quote {
  background: var(--paper); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  box-shadow: var(--sh); display: flex; flex-direction: column; height: 100%;
}
.f-stars { display: flex; gap: .12rem; color: #F2A93B; margin-bottom: 1rem; }
.f-stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.f-quote blockquote { margin: 0 0 1.5rem; font-size: var(--t-lg); line-height: 1.45; letter-spacing: -.02em; }
.f-quote figcaption { margin-top: auto; display: flex; align-items: center; gap: .8rem; font-size: var(--t-md); }
.f-ava {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff;
  background: linear-gradient(140deg, var(--tone-solid), var(--tone-deep));
}
.f-quote figcaption b { display: block; font-weight: 700; color: var(--ink); }
.f-quote figcaption span { color: var(--ink-3); font-size: var(--t-sm); }

/* --------------------------------------------------------------------------
   12. Team
   -------------------------------------------------------------------------- */
.f-person { text-align: center; }
.f-person__img {
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--tone-soft); margin-bottom: 1rem; position: relative;
}
.f-person__img img { width: 100%; height: 100%; object-fit: cover; }
.f-person__img .f-ph { background: transparent; color: var(--tone-deep); }
.f-person h3 { font-size: var(--t-lg); margin-bottom: .15rem; }
.f-person p { color: var(--tone-deep); font-size: var(--t-md); font-weight: 600; margin: 0; }
.f-person small { display: block; color: var(--ink-3); font-size: var(--t-sm); margin-top: .35rem; }

/* --------------------------------------------------------------------------
   13. Vorher/Nachher
   -------------------------------------------------------------------------- */
.f-ba {
  position: relative; overflow: hidden; aspect-ratio: 16/10;
  border-radius: var(--r-lg); background: var(--cream-2);
  user-select: none; touch-action: none; cursor: ew-resize;
  box-shadow: var(--sh);
}
.f-ba__l { position: absolute; inset: 0; }
.f-ba__l img { width: 100%; height: 100%; object-fit: cover; }
.f-ba__l--a { clip-path: inset(0 0 0 var(--split, 50%)); }
.f-ba__tag {
  position: absolute; top: 1rem; z-index: 3; padding: .35rem .85rem;
  border-radius: var(--r-pill); font-size: var(--t-xs); font-weight: 700;
  background: rgba(255,255,255,.9); color: var(--ink); backdrop-filter: blur(8px);
}
.f-ba__tag--l { left: 1rem; }
.f-ba__tag--r { right: 1rem; color: var(--green-deep); }
.f-ba__h {
  position: absolute; top: 0; bottom: 0; left: var(--split, 50%); z-index: 2;
  width: 3px; background: #fff; transform: translateX(-1.5px);
  box-shadow: 0 0 14px rgba(0,0,0,.3);
}
.f-ba__k {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
}
.f-ba__k svg { width: 19px; height: 19px; }
.f-ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 4; }

.f-ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .3rem;
  background: var(--cream-2); color: var(--ink-4);
  font-size: var(--t-sm); text-align: center; padding: 1.25rem;
}
.f-ph--g { background: var(--green-soft); color: var(--green-deep); }

/* --------------------------------------------------------------------------
   14. Konfigurator
   -------------------------------------------------------------------------- */
.f-conf { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
.f-conf__b { padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); display: grid; gap: 1.75rem; }
.f-conf__g h4 { font-size: var(--t-md); color: var(--ink-2); margin-bottom: .75rem; }
.f-conf__g:nth-child(1) { --tone: var(--green); --tone-deep: var(--green-deep); --tone-soft: var(--green-soft); }
.f-conf__g:nth-child(2) { --tone: var(--sky);   --tone-deep: var(--sky-deep);   --tone-soft: var(--sky-soft); }
.f-conf__g:nth-child(3) { --tone: var(--amber); --tone-deep: var(--amber-deep); --tone-soft: var(--amber-soft); }
.f-conf__g:nth-child(4) { --tone: var(--berry); --tone-deep: var(--berry-deep); --tone-soft: var(--berry-soft); }
.f-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.f-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 42px; padding: .55rem 1.05rem;
  font: inherit; font-size: var(--t-md); font-weight: 600;
  color: var(--ink); background: var(--cream-2);
  border: 2px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; transition: all 220ms var(--ease);
}
.f-chip:hover { border-color: var(--tone); transform: translateY(-1px); }
.f-chip[aria-pressed="true"] { background: var(--tone-solid); color: #fff; border-color: var(--tone-solid); }
.f-chip svg { width: 0; opacity: 0; transition: width 220ms, opacity 220ms; }
.f-chip[aria-pressed="true"] svg { width: 14px; opacity: 1; }
.f-conf__out {
  padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--cream-2);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.f-conf__sum { font-size: var(--t-md); color: var(--ink-2); margin: 0; }
.f-conf__sum b { color: var(--ink); }

/* --------------------------------------------------------------------------
   15. Formular
   -------------------------------------------------------------------------- */
.f-form { display: grid; gap: 1.1rem; text-align: left; }
.f-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.f-f { display: grid; gap: .4rem; }
.f-f label { font-size: var(--t-md); font-weight: 700; }
.f-f .rq { color: var(--green-deep); }
.f-f input, .f-f select, .f-f textarea {
  width: 100%; min-height: 52px; padding: .8rem 1.1rem;
  font: inherit; font-size: var(--t-md); color: var(--ink);
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--r-sm);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.f-f textarea { min-height: 150px; resize: vertical; }
.f-f input::placeholder, .f-f textarea::placeholder { color: var(--ink-4); }
.f-f input:focus, .f-f select:focus, .f-f textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}
.f-f__hint { font-size: var(--t-sm); color: var(--ink-3); }
.f-consent { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; }
.f-consent input { flex: none; width: 22px; height: 22px; min-height: 0; accent-color: var(--green); margin-top: .1rem; }
.f-hp { position: absolute !important; left: -9999px; }

.f-note { padding: 1.1rem 1.35rem; border-radius: var(--r-sm); font-size: var(--t-md); }
.f-note--ok { background: var(--green-soft); color: var(--green-deep); }
.f-note--err { background: #FCE9E7; color: #8E2018; }

.f-contact { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.f-contact > div { background: var(--paper); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--sh); }
.f-contact dt { font-size: var(--t-sm); color: var(--ink-3); margin-bottom: .3rem; }
.f-contact dd { margin: 0; font-size: var(--t-lg); font-weight: 700; letter-spacing: -.025em; }
.f-contact dd a { color: var(--ink); text-decoration: none; }
.f-contact dd a:hover { color: var(--green-deep); }
.f-contact__i {
  width: 38px; height: 38px; border-radius: 12px; margin-bottom: .9rem;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--tone-solid), var(--tone-deep));
}
.f-contact__i svg { width: 18px; height: 18px; }
.f-contact > div:nth-child(1) { --tone: var(--green); --tone-deep: var(--green-deep); }
.f-contact > div:nth-child(2) { --tone: #25D366; --tone-deep: #128C4A; }
.f-contact > div:nth-child(3) { --tone: var(--sky); --tone-deep: var(--sky-deep); }
.f-contact > div:nth-child(4) { --tone: var(--amber); --tone-deep: var(--amber-deep); }

/* --------------------------------------------------------------------------
   16. Akkordeon
   -------------------------------------------------------------------------- */
.f-acc { display: grid; gap: .7rem; text-align: left; }
.f-acc__i { background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.f-acc__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 1.5rem; cursor: pointer; list-style: none;
  font-size: var(--t-lg); font-weight: 700; letter-spacing: -.025em;
}
.f-acc__q::-webkit-details-marker { display: none; }
.f-acc__q::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D6E36' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / 13px no-repeat;
  transition: transform var(--dur) var(--ease);
}
.f-acc__i[open] .f-acc__q::after { transform: rotate(135deg); }
.f-acc__a { padding: 0 3.5rem 1.5rem 1.5rem; color: var(--ink-2); font-size: var(--t-md); max-width: 72ch; }

/* --------------------------------------------------------------------------
   17. Abschluss-Banner
   -------------------------------------------------------------------------- */
.f-cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); text-align: center;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) var(--pad);
  background: linear-gradient(125deg, var(--green-solid) 0%, var(--sky-solid) 58%, var(--amber-solid) 118%);
  color: #fff;
}
.f-cta::after {
  content: ""; position: absolute; inset: -40% -10% auto; height: 90%; z-index: -1;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.32), transparent 60%);
}
.f-cta h2 { color: #fff; font-size: var(--t-2xl); }
.f-cta p { color: rgba(255,255,255,.94); max-width: 46ch; margin: 0 auto 1.75rem; font-size: var(--t-lg); }
.f-cta .f-btn { background: #fff; color: var(--green-deep); box-shadow: 0 8px 22px -10px rgba(0,0,0,.5); }
.f-cta .f-btn:hover { background: #F4FBF6; color: var(--green-deep); }
.f-cta .f-btn--outline { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.f-cta .f-btn--outline:hover { background: rgba(255,255,255,.26); color: #fff; }

/* --------------------------------------------------------------------------
   18. Fußbereich
   -------------------------------------------------------------------------- */
.f-foot { background: var(--ink); color: #A8B8AE; font-size: var(--t-md); }
.f-foot__in { max-width: var(--wrap); margin-inline: auto; padding: clamp(2.5rem, 2rem + 2vw, 4rem) var(--pad) 2rem; }
.f-foot h4 { color: #fff; font-size: var(--t-sm); margin-bottom: 1rem; letter-spacing: 0; }
.f-foot a { color: #C9D6CE; text-decoration: none; }
.f-foot a:hover { color: #fff; text-decoration: underline; }
.f-foot__cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); padding-bottom: 2.25rem; }
.f-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.f-foot li { margin: 0; }
.f-hours { display: grid; gap: .4rem; font-size: var(--t-sm); }
.f-hours div { display: flex; justify-content: space-between; gap: .75rem; }
.f-hours dd { margin: 0; color: #DDE7E1; text-align: right; }
.f-foot__end {
  display: flex; flex-wrap: wrap; gap: .8rem 1.75rem; align-items: center; justify-content: space-between;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: var(--t-xs); color: #8B9C92;
}
.f-foot__end nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.f-soc { display: flex; gap: .5rem; }
.f-soc a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.09); color: #DDE7E1;
  transition: background var(--dur), transform var(--dur), color var(--dur);
}
.f-soc a:hover { transform: translateY(-2px); color: #fff; }
.f-soc a:nth-child(1):hover { background: #C43C6E; }
.f-soc a:nth-child(2):hover { background: #1B8FD1; }
.f-soc a:nth-child(3):hover { background: #2E9E4F; }
.f-soc svg { width: 18px; height: 18px; }

/* Mobile Leiste */
.f-dock {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 130; display: none; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(16px); border-top: 1px solid var(--line);
}
.f-dock .f-btn { flex: 1; min-height: 46px; font-size: var(--t-sm); padding-inline: .5rem; }
@media (max-width: 760px) { .f-dock { display: flex; } body { padding-bottom: 74px; } }

.f-up {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 120;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
  cursor: pointer; opacity: 0; visibility: hidden; box-shadow: var(--sh);
  transition: all var(--dur) var(--ease);
}
.f-up.on { opacity: 1; visibility: visible; }
.f-up:hover { color: var(--green-deep); border-color: var(--green); }
.f-up svg { width: 17px; height: 17px; }
@media (max-width: 760px) { .f-up { bottom: 86px; } }

/* --------------------------------------------------------------------------
   19. Cookie
   -------------------------------------------------------------------------- */
.f-cookie {
  position: fixed; z-index: 160; left: 1rem; right: 1rem; bottom: 1rem; max-width: 450px;
  padding: 1.5rem; background: var(--paper); border-radius: var(--r);
  box-shadow: var(--sh-lg); display: none; font-size: var(--t-md);
}
.f-cookie.on { display: block; animation: fUp .45s var(--ease-out); }
.f-cookie h3 { font-size: var(--t-lg); }
.f-cookie p { color: var(--ink-2); font-size: var(--t-sm); }
.f-cookie__b { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.f-cookie__b .f-btn { flex: 1 1 130px; min-height: 44px; font-size: var(--t-sm); }
.f-cookie__l { margin-top: .85rem; display: flex; gap: 1.25rem; font-size: var(--t-xs); }
.f-cookie__l a { color: var(--ink-3); }
@media (max-width: 760px) { .f-cookie { bottom: 84px; } }

/* --------------------------------------------------------------------------
   20. Bewegung
   -------------------------------------------------------------------------- */
@keyframes fUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

html.f-js .f-rev { opacity: 0; transform: translateY(24px); }
html.f-js .f-rev.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { html.f-js .f-rev { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   21. Fließtext & Recht
   -------------------------------------------------------------------------- */
.f-prose { max-width: 70ch; text-align: left; }
.f-prose h2 { font-size: var(--t-xl); margin-top: 2.5rem; }
.f-prose h3 { margin-top: 2rem; }
.f-prose > *:first-child { margin-top: 0; }
.f-prose a { color: var(--green-deep); }
.f-prose table { width: 100%; border-collapse: collapse; font-size: var(--t-md); margin-bottom: 1.5rem; }
.f-prose th, .f-prose td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.f-prose th { background: var(--cream-2); font-weight: 700; }

.f-legal { font-size: var(--t-md); line-height: 1.7; color: var(--ink-2); text-align: left; }
.f-legal h2 { font-size: var(--t-lg); margin-top: 2.5rem; color: var(--ink); }
.f-legal h3 { font-size: var(--t-base); margin-top: 1.75rem; color: var(--ink); }
.f-legal strong { color: var(--ink); }
.f-legal a { color: var(--green-deep); }
.f-toc { background: var(--paper); border-radius: var(--r); padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; box-shadow: var(--sh); }
.f-toc ul { columns: 2; column-gap: 2.5rem; margin: 0; font-size: var(--t-sm); }
@media (max-width: 640px) { .f-toc ul { columns: 1; } }
.f-todo { background: var(--amber-soft); border-radius: var(--r-sm); padding: 1.1rem 1.35rem; margin-block: 1.5rem; font-size: var(--t-md); color: #6B4300; }
.f-todo strong { color: var(--amber-deep); }

.f-job { background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.75rem, 1rem + 2vw, 2.75rem); text-align: left; box-shadow: var(--sh); }
.f-job h4 { font-size: var(--t-md); color: var(--ink-3); margin-bottom: .6rem; }
.f-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .85rem; border-radius: var(--r-pill);
  background: var(--tone-soft); color: var(--tone-deep);
  font-size: var(--t-sm); font-weight: 700;
}

@media print { .f-nav, .f-foot, .f-dock, .f-cookie, .f-up { display: none !important; } }
