/* pezac.de — Stil der Firmenwebseite
   Gestaltet nach den Skills impeccable und apple-design (nicht Modlinger UI).
   Farben nur hier oben als Variablen; unten im Code keine Farbwerte. */

/* --- Schriften (lokal, SIL Open Font License 1.1) ------------------------ */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; font-display: swap; src: url('../schriften/plus-jakarta-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 500; font-display: swap; src: url('../schriften/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600; font-display: swap; src: url('../schriften/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-display: swap; src: url('../schriften/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-display: swap; src: url('../schriften/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url('../schriften/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: italic; font-display: swap; src: url('../schriften/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url('../schriften/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url('../schriften/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

/* --- Werte ---------------------------------------------------------------- */
:root {
  --papier:        #F7F6F2;
  --papier-tief:   #F1EFEA;
  --weiss:         #FFFFFF;
  --tinte:         #111111;
  --tinte-2:       #2E2C29;
  --tinte-3:       #3A3834;
  --tinte-4:       #5A5751;
  --linie:         #E2DFD9;
  --linie-hell:    #ECEAE5;
  --linie-feld:    #CFCBC3;
  --feld-rand:     #8A867E;          /* Rahmen von Eingabefeldern, 3,6:1 auf Weiß */
  --raster:        rgba(17, 17, 17, .045);
  --kopf-glas:     rgba(247, 246, 242, .72);
  --kopf-rand:     rgba(17, 17, 17, .08);
  --kopf-tafel:    #F7F6F2;
  --kopf-schatten: rgba(17, 17, 17, .14);

  --orange:        #E0703A;          /* nur Fläche, nie Text auf Hell */
  --orange-text:   #A84A1C;          /* Orange als Text auf Hell, 5,5:1 */
  --auf-orange:    #2A1A10;

  --nacht:         #111111;
  --nacht-linie:   #34332F;
  --nacht-text:    #CFCCC5;
  --nacht-text-2:  #B9B6AF;
  --nacht-rahmen:  #6A6761;

  --markierung:    #F3EEE3;

  /* Floremo-Seite: Farben aus dem Floremo-Markenleitfaden */
  --fl-sand:       #EFE8DC;
  --fl-papier:     #FBF8F2;
  --fl-linie:      #DDD3C3;
  --fl-tinte:      #2A251E;
  --fl-gedaempft:  #625A4F;
  --fl-salbei:     #4D6A58;
  --fl-salbei-tief:#3E5848;
  --fl-dunkel:     #2C4438;
  --fl-creme:      #F5F1E8;
  --fl-creme-2:    #CBD5CD;
  --fl-dunkel-linie: #44594D;
  --fl-kopf-glas:  rgba(239, 232, 220, .78);
  --fl-schatten:   0 30px 60px -28px rgba(42, 37, 30, .35), 0 2px 6px rgba(42, 37, 30, .06);
  --schrift-floremo: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --schrift:       'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --schrift-mono:  'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --breite:        1240px;
  --rand:          24px;
  --kopf-hoehe:    66px;
  --tap:           44px;
  --weich:         cubic-bezier(.16, 1, .3, 1);   /* exponentielles Auslaufen */
}

/* --- Grundlage ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-hoehe) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 400 1rem/1.6 var(--schrift);
  color: var(--tinte);
  background-color: var(--papier);
  background-image:
    linear-gradient(var(--raster) 1px, transparent 1px),
    linear-gradient(90deg, var(--raster) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
img, svg { display: block; }

a { color: var(--orange-text); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--tinte); }

::selection { background: var(--orange); color: var(--tinte); }
:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; border-radius: 4px; }
.nacht :focus-visible, .nacht:focus-visible { outline-color: var(--weiss); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.sprung {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  padding: 12px 18px; border-radius: 10px;
  background: var(--tinte); color: var(--weiss); font-weight: 600; text-decoration: none;
}
.sprung:focus { top: 12px; }

.huelle { max-width: var(--breite); margin: 0 auto; padding-inline: var(--rand); }
.abschnitt { padding-block: clamp(80px, 10vw, 120px); }
.flaeche-weiss { background: var(--weiss); border-top: 1px solid var(--kopf-rand); }

/* Typografie: Laufweite und Zeilenabstand je Größe */
.titel-gross {
  font-size: clamp(2.75rem, 7.2vw, 6rem);
  line-height: .98;
  letter-spacing: -.035em;
  max-width: 15ch;
}
.titel {
  font-size: clamp(2.125rem, 4.2vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.032em;
  max-width: 16ch;
}
.einleitung {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
  letter-spacing: -.005em;
  color: var(--tinte-3);
  max-width: 34em;
}
.text { font-size: 1.125rem; line-height: 1.6; color: var(--tinte-3); max-width: 40em; }
.zahl { font-family: var(--schrift-mono); font-variant-numeric: tabular-nums; }
.punkt { display: inline-block; width: .17em; height: .17em; margin-left: .12em; vertical-align: .035em; background: var(--orange); transform: rotate(45deg); }

/* --- Knöpfe: Rückmeldung schon beim Drücken -------------------------------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 12px;
  font: 700 1rem/1 var(--schrift); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 120ms var(--weich), background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.knopf:active { transform: scale(.97); transition-duration: 60ms; }
.knopf svg { flex: none; transition: transform 200ms var(--weich); }
.knopf-dunkel { background: var(--tinte); color: var(--weiss); }
.knopf-dunkel:hover { background: var(--tinte-2); color: var(--weiss); }
.knopf-rahmen { border-color: var(--tinte); color: var(--tinte); font-weight: 600; }
.knopf-rahmen:hover { background: var(--weiss); color: var(--tinte); }
.knopf-orange { background: var(--orange); color: var(--tinte); }
.knopf-orange:hover { background: var(--weiss); color: var(--tinte); }
@media (hover: hover) { .knopf-pfeil:hover svg { transform: translateX(3px); } }
.knopf-gross { min-height: 60px; padding: 0 28px; border-radius: 14px; font-size: 1.125rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Kopf: durchscheinende Leiste, Inhalt läuft darunter ------------------- */
.kopf {
  position: sticky; top: 0; z-index: 10;
  background: var(--kopf-glas);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--kopf-rand);
}
.kopf .huelle {
  min-height: var(--kopf-hoehe);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0 24px;
}
.kopf-marke { display: flex; align-items: center; min-height: var(--tap); }
.kopf-marke img { height: 26px; width: auto; }
.menue {
  display: flex; align-items: center; gap: 0 26px; font-size: .9375rem; font-weight: 500;
  /* popover bringt eigene Vorgaben mit; am Computer ist das Menü eine normale Zeile */
  position: static; inset: auto; width: auto; height: auto; margin: 0; padding: 0;
  border: 0; overflow: visible; color: inherit; background: none;
}
.menue a:not(.knopf) { color: var(--tinte-2); text-decoration: none; padding: 12px 0; }
.menue a:not(.knopf):hover { color: var(--tinte); text-decoration: underline; }
.menue .knopf { min-height: var(--tap); padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: .9375rem; }

/* Ausklappmenü „Programme“ */
.menue-gruppe { position: relative; }
.menue-auf {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 0;
  border: 0; background: none; color: var(--tinte-2); font: inherit; cursor: pointer;
}
.menue-auf:hover { color: var(--tinte); }
.menue-auf svg { transition: transform 120ms ease-out; }
.menue-unter {
  display: none; position: absolute; top: 100%; left: 0; min-width: 280px; margin-top: 8px; padding: 6px;
  background: var(--kopf-tafel); border: 1px solid var(--kopf-rand); border-radius: 12px;
  box-shadow: 0 18px 32px var(--kopf-schatten);
}
/* überbrückt den Abstand, damit die Maus auf dem Weg nach unten nicht herausfällt */
.menue-unter::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.menue-gruppe.offen .menue-unter { display: block; }
.menue-gruppe.offen .menue-auf svg { transform: rotate(180deg); }
@media (hover: hover) {
  .menue-gruppe:hover .menue-unter { display: block; }
  .menue-gruppe:hover .menue-auf svg { transform: rotate(180deg); }
}
.menue .menue-unter a:not(.knopf) { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; border-radius: 9px; }
.menue-name { font-weight: 600; }
.menue-zusatz { font-size: .8125rem; font-weight: 400; opacity: .78; }
.menue-titel { display: none; margin: 0; }

.kopf-kontakt { display: none; min-height: var(--tap); padding: 0 16px; border-radius: 10px; font-size: .9375rem; font-weight: 600; }

.menue-knopf {
  display: none; width: var(--tap); height: var(--tap); margin-right: -10px;
  align-items: center; justify-content: center;
  border: 0; border-radius: 10px; background: none; color: inherit; cursor: pointer;
}
.menue-knopf path { transform-origin: 12px 12px; transition: transform 160ms ease-out, opacity 120ms ease-out; }

@media (max-width: 760px) {
  .kopf .huelle { gap: 0 8px; }
  .kopf-marke { margin-right: auto; }
  .kopf-kontakt { display: inline-flex; }
  .menue { order: 3; width: 100%; flex-wrap: wrap; gap: 0 16px; }
  .menue .knopf { display: none; }

  /* Im Handy-Menü stehen die Programme direkt da, ohne weiteres Aufklappen */
  .menue-auf { display: none; }
  .menue-gruppe { width: 100%; }
  .menue-unter, .menue-gruppe.offen .menue-unter {
    display: block; position: static; min-width: 0; margin: 0; padding: 0;
    background: none; border: 0; box-shadow: none;
  }
  .menue-unter::before { display: none; }
  .menue-titel { display: block; padding: 12px 12px 2px; font-size: .8125rem; opacity: .78; }

  /* Browser mit popover (alle seit 2024): Menü klappt unter dem Kopf auf.
     Ältere zeigen die Punkte einfach als zweite Zeile. */
  @supports selector(:popover-open) {
    .menue-knopf { display: inline-flex; }
    .menue { display: none; }
    .menue:popover-open {
      display: flex; flex-direction: column; align-items: stretch; gap: 2px;
      position: fixed; top: calc(var(--kopf-hoehe) + 1px); left: 0; right: 0; width: auto;
      max-height: calc(100dvh - var(--kopf-hoehe) - 1px); overflow-y: auto;
      padding: 8px 16px 16px; font-size: 1.125rem;
      background: var(--kopf-tafel); border-bottom: 1px solid var(--kopf-rand);
      box-shadow: 0 18px 32px var(--kopf-schatten);
      animation: menue-auf 160ms ease-out;
    }
    .menue:popover-open a:not(.knopf) { display: flex; align-items: center; min-height: 52px; padding: 0 12px; }
    .menue:popover-open .menue-unter a:not(.knopf) {
      flex-direction: column; align-items: flex-start; justify-content: center;
      min-height: 60px; padding: 4px 12px 4px 24px;
    }
    .menue::backdrop { background: transparent; }
    .kopf:has(.menue:popover-open) .strich-oben { transform: translateY(5px) rotate(45deg); }
    .kopf:has(.menue:popover-open) .strich-mitte { opacity: 0; }
    .kopf:has(.menue:popover-open) .strich-unten { transform: translateY(-5px) rotate(-45deg); }
  }
}
@keyframes menue-auf { from { opacity: 0; transform: translateY(-6px); } }

/* --- Eröffnung -------------------------------------------------------------- */
.eroeffnung { padding-block: clamp(64px, 9vw, 128px) clamp(72px, 9vw, 120px); }
.eroeffnung-unten {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
}

/* --- Angebot: Liste statt Kacheln ----------------------------------------- */
.kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.kopfzeile .text { max-width: 30em; }
.liste { margin-top: 64px; border-top: 2px solid var(--tinte); }
.liste-eintrag { display: flex; flex-wrap: wrap; gap: 12px 48px; padding: 36px 0; border-bottom: 1px solid var(--linie); }
.liste-eintrag h3 { flex: 1 1 320px; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
.liste-eintrag p { flex: 1.6 1 420px; }

/* --- Floremo (dunkel) ------------------------------------------------------ */
.nacht { background: var(--nacht); color: var(--weiss); }
.nacht a:not(.knopf) { color: var(--weiss); }
.floremo { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: flex-start; }
.floremo-text { flex: 1 1 460px; min-width: 0; }
.marke-zeile { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; color: var(--nacht-text); }
.marke-zeile::before { content: ""; width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); }
.floremo h2 { margin-top: 18px; font-size: clamp(2.5rem, 5.4vw, 4.75rem); line-height: .98; letter-spacing: -.035em; max-width: 12ch; }
.floremo .einleitung { margin-top: 28px; color: var(--nacht-text); max-width: 32em; }
.floremo .knopfreihe { margin-top: 40px; }

/* --- Ablauf: Reihenfolge trägt Information --------------------------------- */
.ablauf { margin: 64px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 32px; }
.ablauf li { position: relative; display: flex; flex-direction: column; gap: 12px; padding-top: 28px; border-top: 2px solid var(--tinte); }
.ablauf li::before { content: ""; position: absolute; top: -8px; left: 3px; width: 14px; height: 14px; background: var(--tinte); transform: rotate(45deg); }
.ablauf li:first-child::before { background: var(--orange); }
.ablauf h3 { font-size: 1.3125rem; font-weight: 700; letter-spacing: -.01em; }
.ablauf p { font-size: 1.0625rem; line-height: 1.6; color: var(--tinte-3); }

/* --- Über mich --------------------------------------------------------------- */
.ueber { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.ueber-bild { flex: 0 1 340px; min-width: 0; position: relative; }
.ueber-bild::before { content: ""; position: absolute; left: -6px; bottom: -6px; width: 56px; height: 56px; background: var(--orange); transform: rotate(45deg); }
.bildplatz {
  position: relative; aspect-ratio: 4 / 5; border-radius: 4px; background: var(--linie-hell);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  font-size: .9375rem; font-weight: 600; color: var(--tinte-4);
}
.ueber-text { flex: 1 1 460px; min-width: 0; }
.ueber-text p { margin-top: 28px; font-size: 1.1875rem; line-height: 1.65; color: var(--tinte-2); max-width: 34em; }
.ueber-text p + p { margin-top: 16px; }

/* --- Kontakt ---------------------------------------------------------------- */
.kontakt { background: var(--orange); color: var(--tinte); }
.kontakt .huelle { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.kontakt h2 { font-size: clamp(2.5rem, 6vw, 5.25rem); line-height: .98; letter-spacing: -.035em; max-width: 15ch; }
.kontakt p { margin-top: 24px; font-size: 1.1875rem; line-height: 1.6; color: var(--auf-orange); max-width: 30em; }
.kontakt-text { flex: 1 1 560px; min-width: 0; }
.kontakt .knopf-dunkel:hover { background: var(--weiss); color: var(--tinte); }

/* --- Fuß -------------------------------------------------------------------- */
.fuss { background: var(--nacht); color: var(--nacht-text); }
.fuss .huelle { padding-block: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.fuss-marke { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: .875rem; }
.fuss-marke img { height: 20px; width: auto; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: .875rem; }
.fuss nav a { color: var(--weiss); text-decoration: none; padding: 12px 0; }
.fuss nav a:hover { text-decoration: underline; }
.herstellerzeile { font-size: .8125rem; color: var(--nacht-text-2); display: inline-flex; align-items: baseline; gap: .35em; }
.herstellerzeile img { height: .758em; width: auto; vertical-align: -.2em; display: inline-block; }

/* --- Unterseiten (Impressum, Datenschutz, Über) ---------------------------- */
.textseite { padding-block: clamp(56px, 8vw, 96px) clamp(80px, 10vw, 120px); }
.textseite .huelle { max-width: 820px; }
.textseite h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -.033em; }
.textseite h2 { margin-top: 48px; font-size: 1.375rem; font-weight: 700; letter-spacing: -.012em; }
.textseite p, .textseite li, .textseite address { font-size: 1.0625rem; line-height: 1.65; color: var(--tinte-2); font-style: normal; }
.textseite p, .textseite address, .textseite ul, .textseite dl { margin-top: 16px; }
.textseite ul { padding-left: 1.2em; }
.textseite dl { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); gap: 10px 24px; }
.textseite dt { font-weight: 600; }
.textseite dd { margin: 0; color: var(--tinte-2); }
@media (max-width: 560px) { .textseite dl { grid-template-columns: 1fr; gap: 2px; } .textseite dd { margin-bottom: 10px; } }
.entwurf {
  margin-top: 28px; padding: 16px 20px; border-radius: 12px;
  background: var(--weiss); border: 1px solid var(--linie); font-size: 1rem; color: var(--tinte-2);
}
.platzhalter { background: var(--markierung); padding: 0 .25em; border-radius: 3px; }

/* --- Startseite: Rahmenknopf auf dunklem Grund ---------------------------- */
.knopf-rahmen-hell { border-color: var(--nacht-rahmen); color: var(--weiss); font-weight: 600; }
.knopf-rahmen-hell:hover { background: var(--weiss); color: var(--tinte); border-color: var(--weiss); }

/* --- Floremo-Seite ---------------------------------------------------------- */
.floremo-seite { background: var(--fl-sand); background-image: none; color: var(--fl-tinte); --kopf-glas: var(--fl-kopf-glas); --kopf-tafel: var(--fl-sand); }
.floremo-seite ::selection { background: var(--fl-salbei); color: var(--fl-creme); }
.floremo-seite main a:not(.knopf) { color: var(--fl-salbei); }

.fl-eroeffnung { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.fl-logo { height: clamp(52px, 6vw, 68px); width: auto; }
.fl-titel-gross {
  margin-top: clamp(28px, 4vw, 44px);
  font: 500 clamp(2.875rem, 7.4vw, 6rem)/.98 var(--schrift-floremo);
  letter-spacing: -.02em; max-width: 13ch;
}
.fl-titel { font: 500 clamp(2.25rem, 4.4vw, 3.5rem)/1.04 var(--schrift-floremo); letter-spacing: -.015em; max-width: 16ch; }
.fl-titel-mittel { font: 500 clamp(2rem, 3.4vw, 2.75rem)/1.06 var(--schrift-floremo); letter-spacing: -.012em; max-width: 15ch; }
.fl-einleitung { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.6; color: var(--fl-gedaempft); max-width: 34em; }
.fl-text { font-size: 1.125rem; line-height: 1.65; color: var(--fl-gedaempft); max-width: 36em; }
.fl-eroeffnung-unten { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }

.fl-knopf { background: var(--fl-salbei); color: var(--fl-creme); }
.fl-knopf:hover { background: var(--fl-salbei-tief); color: var(--fl-creme); }
.fl-knopf-rahmen { border-color: var(--fl-tinte); color: var(--fl-tinte); font-weight: 600; }
.fl-knopf-rahmen:hover { background: var(--fl-papier); color: var(--fl-tinte); }
.floremo-seite .knopf:focus-visible { outline-color: var(--fl-tinte); }

/* Bildschirmfotos im Fensterrahmen */
.fl-fenster {
  margin: 0; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--fl-linie); background: var(--fl-papier);
  box-shadow: var(--fl-schatten);
}
.fl-fenster img { width: 100%; height: auto; }
.fl-fenster-gross { margin-top: clamp(48px, 6vw, 80px); border-radius: 18px; }
.fl-bildhinweis { margin-top: 14px; font-size: .875rem; color: var(--fl-gedaempft); }

.fl-flaeche { background: var(--fl-papier); border-block: 1px solid var(--fl-linie); }

.fl-funktionen { display: flex; flex-direction: column; gap: clamp(80px, 10vw, 136px); }
.fl-funktion { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 72px); align-items: center; }
.fl-funktion-gespiegelt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.fl-funktion-gespiegelt .fl-funktion-text { order: 2; }
.fl-funktion-text { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 860px) {
  .fl-funktion, .fl-funktion-gespiegelt { grid-template-columns: minmax(0, 1fr); }
  .fl-funktion-gespiegelt .fl-funktion-text { order: 0; }
}

.fl-weitere { margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 40px; }
.fl-weitere div, .fl-datenpunkte div { padding: 22px 0; border-top: 1px solid var(--fl-linie); }
.fl-weitere dt, .fl-datenpunkte dt { font-size: 1.0625rem; font-weight: 700; }
.fl-weitere dd, .fl-datenpunkte dd { margin: 6px 0 0; font-size: 1rem; line-height: 1.55; color: var(--fl-gedaempft); }

.fl-dunkel { background: var(--fl-dunkel); color: var(--fl-creme); }
.fl-dunkel .fl-text { color: var(--fl-creme-2); }
.fl-datenpunkte { margin: 56px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.fl-datenpunkte div { border-top-color: var(--fl-dunkel-linie); }
.fl-datenpunkte dd { color: var(--fl-creme-2); }

.fl-pilot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px; }
.fl-pilot > div { flex: 1 1 560px; min-width: 0; }
.fl-titel-pilot { margin-top: 0; max-width: 14ch; }
.fl-pilot .fl-einleitung { margin-top: 24px; }

.fl-fragen-huelle { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
@media (max-width: 860px) { .fl-fragen-huelle { grid-template-columns: minmax(0, 1fr); } }
.fl-fragen { border-top: 1px solid var(--fl-linie); }
.fl-fragen details { border-bottom: 1px solid var(--fl-linie); }
.fl-fragen summary {
  list-style: none; cursor: pointer; min-height: var(--tap);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 1.125rem; font-weight: 600;
}
.fl-fragen summary::-webkit-details-marker { display: none; }
.fl-fragen summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--weich);
}
.fl-fragen details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.fl-fragen details p { padding: 0 0 22px; font-size: 1.0625rem; line-height: 1.65; color: var(--fl-gedaempft); max-width: 40em; }

/* Die Anrufe laufen in den Trauerfall: Startzustand ist das fertige Bild,
   bewegung.js setzt nur vor dem Hineinscrollen .vor-zeigen. */
.fl-anrufe { --links: clamp(124px, 20vw, 200px); --mitte: clamp(20px, 7vw, 88px); margin: 56px 0 0; max-width: 880px; }
.fl-anrufe-feld { position: relative; }
.fl-anrufe-feld::before {
  content: ""; position: absolute; inset: 0 0 0 calc(var(--links) + var(--mitte));
  border: 1px solid var(--fl-linie); border-radius: 14px; background: var(--fl-sand);
}
.fl-anrufe ul { position: relative; margin: 0; padding: 0 0 10px; list-style: none; }
.fl-fall {
  position: relative; margin-left: calc(var(--links) + var(--mitte)); padding: 20px 24px 14px;
  display: flex; flex-direction: column; gap: 2px; font-size: .9375rem; color: var(--fl-gedaempft);
}
.fl-fall strong { font: 500 1.625rem/1.15 var(--schrift-floremo); color: var(--fl-tinte); }
.fl-anruf { --anruf: 0; display: grid; grid-template-columns: var(--links) var(--mitte) minmax(0, 1fr); align-items: center; }
.fl-anruf:nth-child(2) { --anruf: 1; }
.fl-anruf:nth-child(3) { --anruf: 2; }
.fl-anrufer {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; margin-block: 5px;
  border: 1px solid var(--fl-linie); border-radius: 10px; font-weight: 600;
  transition: opacity 360ms var(--weich), transform 420ms var(--weich);
  transition-delay: calc(var(--anruf) * 900ms);
}
.fl-anrufer svg { flex: none; color: var(--fl-salbei); }
.fl-linie {
  height: 2px; background: var(--fl-salbei); transform-origin: left;
  transition: transform 420ms var(--weich);
  transition-delay: calc(var(--anruf) * 900ms + 240ms);
}
.fl-bestellung {
  align-self: stretch; display: flex; align-items: center; padding-inline: 24px;
  font-size: 1.0625rem; font-weight: 600; border-top: 1px solid var(--fl-linie);
  clip-path: inset(0 0 0 0); transition: clip-path 560ms var(--weich);
  transition-delay: calc(var(--anruf) * 900ms + 520ms);
}
.fl-anrufe.vor-zeigen .fl-anrufer { opacity: 0; transform: translateX(-10px); }
.fl-anrufe.vor-zeigen .fl-linie { transform: scaleX(0); }
.fl-anrufe.vor-zeigen .fl-bestellung { clip-path: inset(0 100% 0 0); }
.fl-anrufe.vor-zeigen * { transition: none; }
.fl-anrufe .fl-bildhinweis { margin-left: calc(var(--links) + var(--mitte)); }

/* --- Floremo: Preise und Testphase ----------------------------------------- */
.fl-preise { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.fl-preise-text { display: flex; flex-direction: column; gap: 20px; }
.fl-enthalten { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.fl-enthalten li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.0625rem; line-height: 1.5; }
.fl-enthalten svg { flex: none; margin-top: 2px; color: var(--fl-salbei); }
.fl-preis { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--fl-linie); border-radius: 20px; background: var(--fl-papier); }
.fl-preis-betrag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.fl-preis-zahl { font: 500 clamp(4rem, 8vw, 5.5rem)/.9 var(--schrift-floremo); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.fl-preis-einheit { font-size: 1.125rem; font-weight: 600; }
.fl-preis-brutto { margin-top: 12px; color: var(--fl-gedaempft); font-variant-numeric: tabular-nums; }
.fl-preis-knopf { margin-top: 32px; width: 100%; }
.fl-preis-hinweis { margin-top: 16px; font-size: .9375rem; line-height: 1.5; color: var(--fl-gedaempft); }
.fl-zusatz { margin: 72px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 40px; }
.fl-zusatz div { padding: 22px 0; border-top: 1px solid var(--fl-linie); }
.fl-zusatz dt { font-size: 1.0625rem; font-weight: 700; }
.fl-zusatz dd { margin: 6px 0 0; font-size: 1rem; line-height: 1.55; color: var(--fl-gedaempft); }
.fl-zusatz .fl-zusatz-betrag { margin-top: 4px; font: 500 1.75rem/1.2 var(--schrift-floremo); color: var(--fl-tinte); font-variant-numeric: lining-nums tabular-nums; }
.fl-schritte { margin: 56px 0 0; padding: 0; list-style: none; counter-reset: schritt; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.fl-schritte li { counter-increment: schritt; display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--fl-tinte); }
.fl-schritte li::before { content: counter(schritt); font: 500 2.25rem/1 var(--schrift-floremo); color: var(--fl-salbei); font-variant-numeric: lining-nums; }
.fl-schritte h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.fl-schritte p { font-size: 1.0625rem; line-height: 1.6; color: var(--fl-gedaempft); }
@media (max-width: 860px) { .fl-preise { grid-template-columns: 1fr; } }

/* --- Bewegung: Listen und Bildschirmfotos erscheinen einmal, ruhig ----------- */
.zeige { transition: opacity 520ms var(--weich), transform 640ms var(--weich); transition-delay: calc(var(--reihe, 0) * 70ms); }
.zeige:nth-child(2) { --reihe: 1; }
.zeige:nth-child(3) { --reihe: 2; }
.zeige:nth-child(n+4) { --reihe: 3; }
.zeige.vor-zeigen { opacity: 0; transform: translateY(14px); transition: none; }
.fl-fenster.zeige.vor-zeigen { transform: translateY(20px) scale(.985); }
.fl-fragen details[open] p { animation: fl-aufklappen 260ms var(--weich); }
@keyframes fl-aufklappen { from { opacity: 0; transform: translateY(-4px); } }

/* --- Rücksicht auf Einstellungen am Gerät ---------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; }
  .knopf:active { transform: none; }
  .fl-fragen details[open] p { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .kopf { background: var(--papier); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .kopf { background: var(--papier); backdrop-filter: none; border-bottom-color: var(--tinte); }
  .text, .einleitung { color: var(--tinte); }
}

/* --- Drucken ---------------------------------------------------------------- */
@media print {
  body { background: none; }
  .kopf, .knopfreihe, .sprung { display: none; }
  .nacht, .kontakt, .fuss { background: none; color: var(--tinte); }
  .vor-zeigen, .vor-zeigen * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
.textseite .herstellerzeile { color: var(--tinte-2); font-size: 1.0625rem; }

/* --- Vorführ-Clips (Floremo und Produktvorlage) ------------------------------ */
.clip-rahmen { position: relative; }
.clip { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1025; background: var(--weiss); }
.clip-knopf {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--tap); height: var(--tap); padding: 0; border: 0; border-radius: 50%;
  background: var(--tinte); color: var(--weiss); cursor: pointer; opacity: .78;
  transition: opacity 160ms ease-out, transform 120ms var(--weich);
}
.clip-knopf:hover, .clip-knopf:focus-visible { opacity: 1; }
.clip-knopf:active { transform: scale(.94); }
.clip-knopf:focus-visible { outline: 2px solid var(--weiss); outline-offset: 2px; box-shadow: 0 0 0 4px var(--tinte); }
.clip-knopf svg { margin-left: 1px; }
@media print { .clip-knopf { display: none; } }
