/* ═══ FoodFlow Entwurf „Hell“ (public_html2, 2026-11-21) ═══
   Grund mit ganz leichtem Gruenschimmer, Karten weiss, Gruen als Akzent. Liegt als letzte Datei vor </head> auf jeder Seite.
   Runde 2 (Max 21.11.): kein Wechsel Weiss/Grau zwischen Abschnitten, ein durchgehender Grund.
   html:root schlaegt :root aus ff-farben.css, ff-ds.css und ff-ein.css, deshalb ohne !important.
   Kontrast (gemessen) auf #F3F8F4: Tinte 16,5:1, Leise 7,0:1, Leiser 5,0:1; Weiss auf Knopfgruen 5,0:1. */

html:root,html[data-theme]{
  /* Flaechen: Grund mit leichtem Gruenschimmer, Weiss fuer Karten */
  --ds-sand:#F3F8F4;
  --ds-sand-2:#E5EEE8;
  --ds-creme:#FFFFFF;
  --ds-kante:#E2EBE5;
  --ds-linie:#D5E0D8;
  /* Schrift: neutrales Graphit statt Gruenschwarz */
  --ds-tinte:#111827;
  --ds-tinte-2:#374151;
  --ds-leise:#4B5563;
  --ds-leiser:#646B76;
  /* Gruen bleibt die Marke, aber nur als Akzent */
  --ds-gruen:#22C55E;
  --ds-gruen-text:#15803D;
  --ds-gruen-tief:#15803D;
  --ds-gruen-hell:#4ADE80;
  --ds-gruen-grund:#E9F6EE;
  --ds-gruen-grund-2:#F2FAF5;
  --ds-blau-grund:#EEF1F5;
  /* ruhigere Schatten auf Weiss */
  --sch-1:0 1px 2px rgba(17,24,39,.04),0 1px 3px rgba(17,24,39,.06);
  --sch-2:0 1px 2px rgba(17,24,39,.04),0 6px 16px rgba(17,24,39,.06);
  --sch-3:0 2px 6px rgba(17,24,39,.05),0 16px 40px rgba(17,24,39,.10);
  /* Alte Variablen der Startseite (:root im <body> von default.php) auf die Tokens */
  --bg:var(--ds-sand);--white:var(--ds-creme);--black:var(--ds-tinte);
  --text:var(--ds-tinte);--text2:var(--ds-tinte-2);--muted:var(--ds-leise);--muted2:var(--ds-leiser);--light:#C4C9D0;
  --border:var(--ds-linie);--border2:var(--ds-sand-2);
  --green-bg:var(--ds-gruen-grund-2);--green-bg2:var(--ds-gruen-grund);--ok-bg:var(--ds-gruen-grund);
  --ff-tief:var(--ds-tinte);--ff-tief-h:#1F2937;--ff-satz:var(--ds-leise);
  --ff-creme:var(--ds-sand);--ff-minzgrund:var(--ds-sand);--ff-karte:var(--ds-creme);--ff-kante:var(--ds-kante);
  --ff-schatten:var(--sch-1);
  --sh:var(--sch-1);--sh-lg:var(--sch-2);--sh-xl:var(--sch-3);
}
/* Schatten und Kanten gelten in .ffn (ff-ein.css verschiebt sie dorthin), deshalb dort noch einmal */
html .ffn{
  --sch-1:0 1px 2px rgba(17,24,39,.04),0 1px 3px rgba(17,24,39,.06);
  --sch-2:0 1px 2px rgba(17,24,39,.04),0 6px 16px rgba(17,24,39,.06);
  --sch-3:0 2px 6px rgba(17,24,39,.05),0 16px 40px rgba(17,24,39,.10);
}

/* ── Navigation: weisses Glas statt Creme ── */
html body #nav,html body #nav.scrolled{background:rgba(255,255,255,.86)!important;border:1px solid var(--ds-kante);box-shadow:0 1px 2px rgba(17,24,39,.04),0 8px 24px rgba(17,24,39,.06)}
html:root body .top-fade,html:root body .top-fade[class]{background:linear-gradient(180deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.8) 40%,rgba(255,255,255,0) 100%)!important}
/* Max 21.11.: Nav war mit 4 Links zu klein und zu leer. Ab 901 px breiter, hoeher, groessere Schrift,
   Links als Pillen mit Hover-Flaeche statt Unterstrich. Handy (bis 900 px) bleibt wie es ist. */
@media(min-width:901px){
  html body #nav{width:min(calc(100% - 32px),1120px);height:70px;padding:0 11px 0 22px}
  html body #nav .logo{gap:10px;font-size:1.18rem;letter-spacing:-.02em}
  html body #nav .logo img{width:36px;height:36px;border-radius:10px}
  html body #nav .nav-l{gap:4px;margin:0 16px}
  html body #nav .nav-l a{font-size:1.02rem;font-weight:600;letter-spacing:-.01em;color:var(--ds-tinte-2);padding:10px 18px;border-radius:100px;line-height:1.3;transition:background .2s,color .2s}
  html body #nav .nav-l a::after{display:none}
  html body #nav .nav-l a:hover{background:var(--ds-gruen-grund);color:var(--ds-gruen-lese)}
  html body #nav .nav-l a.active{background:var(--ds-gruen-grund);color:var(--ds-gruen-lese)}
  html body #nav .nav-l a:focus-visible{outline:2px solid var(--ds-gruen);outline-offset:2px}
  html body #nav .nav-right{gap:8px}
  html body #nav .nav-login,html body #nav .nav-cta{display:inline-flex;align-items:center;height:48px;padding:0 22px;font-size:.98rem;font-weight:650}
}
@media(min-width:901px) and (max-width:1080px){
  html body #nav .nav-l{margin:0 8px}
  html body #nav .nav-l a{font-size:.96rem;padding:9px 13px}
  html body #nav .nav-login,html body #nav .nav-cta{padding:0 18px;font-size:.92rem}
}
/* ── Knopf zum Druecken (Max 21.11., Vorbild Knopf "Gespraech buchen" auf partner.html) ──
   Dicke Kante unten, beim Hover etwas hoeher, beim Druecken sinkt er ganz ein, Glanzstreif beim Hover.
   Gilt fuer .ff-los und fuer die Haupt-Knoepfe ohne eigene Klasse: Nav-Knopf auf allen Seiten, Hero und Sticky der Startseite,
   Buchen-Knopf auf partner.html (#ptBtn, ohne Glanz, weil sein ::after der Pfeil ist).
   Bewegung ueber "translate" (nicht transform), damit Ein- und Ausblenden per transform (Sticky) weiter funktionieren.
   :is() mit #nav/#ptBtn hebt alle Teile auf ID-Gewicht, so schlagen die Regeln die aelteren Knopf-Stile ohne !important. */
html body :is(.ff-los,#nav .nav-cta,.ffn .uh-haupt,.ff-sticky,#ptBtn){
  --los:var(--ds-knopf);--kante:5px;overflow:hidden;border:0;border-radius:16px;background:var(--los);color:#fff;font-weight:750;
  box-shadow:0 var(--kante) 0 color-mix(in srgb,var(--los) 62%,#000),0 12px 22px -10px color-mix(in srgb,var(--los) 75%,transparent);
  translate:0 0;transition:translate .12s cubic-bezier(.3,.7,.4,1),box-shadow .12s cubic-bezier(.3,.7,.4,1),background .2s;-webkit-tap-highlight-color:transparent}
html body :is(.ff-los,#nav .nav-cta,.ffn .uh-haupt,.ff-sticky,#ptBtn):hover{background:var(--los);translate:0 -2px;
  box-shadow:0 calc(var(--kante) + 2px) 0 color-mix(in srgb,var(--los) 62%,#000),0 16px 26px -10px color-mix(in srgb,var(--los) 75%,transparent)}
html body :is(.ff-los,#nav .nav-cta,.ffn .uh-haupt,.ff-sticky,#ptBtn):active{translate:0 var(--kante);
  box-shadow:0 0 0 color-mix(in srgb,var(--los) 62%,#000),0 4px 10px -6px color-mix(in srgb,var(--los) 75%,transparent)}
html body :is(.ff-los,#nav .nav-cta,.ffn .uh-haupt,.ff-sticky,#ptBtn):focus-visible{outline:3px solid var(--ds-gruen);outline-offset:4px}
html body :is(.ff-los,#nav .nav-cta,.ffn .uh-haupt,.ff-sticky)::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;
  transform:skewX(-20deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);pointer-events:none}
/* position nur dort setzen, wo sie fehlt: der Sticky-Knopf bleibt fixed */
html body :is(.ff-los,#nav .nav-cta,.ffn .uh-haupt,#ptBtn){position:relative}
html body :is(#nav .nav-cta,.ff-los.klein){--kante:4px;border-radius:14px}
html body #ptBtn:disabled{translate:0 0;opacity:.75}
@media (prefers-reduced-motion:no-preference){
  html body :is(.ff-los,#nav .nav-cta,.ffn .uh-haupt,.ff-sticky):hover::after{animation:ff-glanz .7s ease-out}
  @keyframes ff-glanz{to{left:130%}}
}
/* Max 21.11.: kein Login mehr in Nav und Menue. Nur ausgeblendet, das Login-Fenster selbst (openLogin) bleibt.
   Ist jemand schon angemeldet, zeigt #authSlot weiter den Avatar. */
html body #nav .nav-login,html body #mm a[href$="#login"],html body #mm a[onclick*="openLogin"]{display:none!important}
/* Menue am Handy: groessere Eintraege, leichter zu treffen */
html body #mm a{font-size:1.06rem;font-weight:600;padding:14px 16px}

/* ── Startseite: ein durchgehender Grund, keine Baender ── */
html body #home,html body #vertrauen,html body #how,html body #faq,html body #probleme,html body #pricing,html body #maerkte{background:transparent!important}
html body > footer{background:transparent!important;border-top:1px solid var(--ds-kante)}
html body #how .ffn,html body #home .ffn{background:transparent}
/* Max 21.11.: Kreislauf war ein weisser Balken zwischen Mint, jetzt derselbe Grund */
html body .ffn .kl{background:transparent;border-block:0}
html body .st-huelle,html body .st-huelle > .ffn,html body .ffn .st-hero,html body .ffn .kl-s,html body .ffn [class*="st-band"]{background-color:transparent}

/* ── Etiketten ueber Ueberschriften: leise, ohne Pille ── */
html body .eyebrow{background:transparent!important;padding:0!important;color:var(--ds-gruen-lese)!important;font-weight:650!important}

/* ── Problem-Szenen: Grau statt Lila, Pfirsich, Rosa. Gruen bleibt der Loesung vorbehalten. ── */
html body .pb-szene[data-pb]{--pb-ton:#6B7280;--pb-grund:var(--ds-sand);--pb-text:var(--ds-tinte-2)}
html body .thk.t-lila,html body .thk.t-pfirsich,html body .thk.t-rosa,html body .thk.t-minze,html body .thk.t-gelb{background:var(--ds-sand);color:var(--ds-tinte-2)}
html body .dp-card{background:#fff;border:1px solid var(--ds-kante);box-shadow:none}
html body .dp-card h3{margin-bottom:0}

/* ── Drei Zahlen statt vier Statistik-Karten ── */
.hl-fakten{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;max-width:880px;margin:40px auto 0;
  background:var(--ds-kante);border:1px solid var(--ds-kante);border-radius:16px;overflow:hidden}
.hl-fakt{display:flex;flex-direction:column;gap:4px;padding:20px 24px;background:#fff}
.hl-fakt b{font-size:1.75rem;font-weight:750;letter-spacing:-.03em;line-height:1.1;color:var(--ds-tinte);font-variant-numeric:tabular-nums}
.hl-fakt span{font-size:.9rem;line-height:1.4;color:var(--ds-leise)}
.hl-quelle{max-width:880px;margin:10px auto 0;font-size:.75rem;color:var(--ds-leiser);text-align:center}
@media(max-width:700px){.hl-fakten{grid-template-columns:1fr}.hl-fakt{padding:16px 20px}}

/* ── Preise: Karten flach auf Weiss, Gruen nur am Premium-Rand ── */
html body #pricing .pc{background:#fff;border:1px solid var(--ds-kante);box-shadow:none}
html body #pricing .pc.ft{border:1.5px solid var(--ds-gruen);box-shadow:0 8px 28px rgba(21,128,61,.10)}
html body #pricing .calc{background:#fff;border:1px solid var(--ds-kante);box-shadow:none}
/* Zahlweise nur einmal waehlen (in der Premium-Karte); App-Store-Vergleich steht schon in der Unterzeile */
html body #pricing .tog{display:none}
html body #pricing #ps{display:none}
/* Ausgeblendete Teile bleiben aus, auch wenn eine Seitenregel display setzt */
html body [hidden]{display:none!important}
/* Gruen als Schrift nur im Lesegruen (#22C55E als Schrift waere 2,3:1) */
html body .calc output,html body .calc .ch-val,html body .calc-hint b{color:var(--ds-gruen-lese)}

/* ── Fuer Maerkte (partner.html): Baender im Wechsel ── */
html body .pn-hero,html body #partner,html body #fragen,html body #vergleich,html body #nutzen{background:transparent}
html body .ds-etikett{background:transparent;padding:0;height:auto;color:var(--ds-gruen-lese)}

/* ── FAQ-Uebersicht: Themenkacheln mit Linien-Icon statt Emoji ── */
html body .hub-ico{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--ds-gruen-grund);color:var(--ds-gruen-tief);font-size:0}
html body .hub-ico .hub-svg{display:block}

/* ── Blog-Uebersicht: kompaktes Raster statt langer Liste ──
   Ganze Karte klickbar (Link der Ueberschrift spannt sich auf), Vorschau auf zwei Zeilen, Datum und "Weiterlesen" entfallen. */
html body .blog-hero h1 em{background:none;-webkit-text-fill-color:currentColor;color:var(--ds-gruen-lese)}
html body .articles{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;max-width:1160px}
html body .articles > :not(article){grid-column:1/-1}
html body .article{padding:22px 22px 20px;border:1px solid var(--ds-kante);border-radius:16px;box-shadow:none;display:flex;flex-direction:column}
html body .article:hover{transform:none;border-color:var(--ds-gruen);box-shadow:0 6px 18px rgba(17,24,39,.06)}
html body .article .article-header{margin-bottom:10px}
html body .article h2{font-size:1.02rem;line-height:1.35;margin-bottom:6px}
html body .article h2 a::after{content:"";position:absolute;inset:0}
html body .article .excerpt{font-size:.86rem;line-height:1.5;color:var(--ds-leise);margin:0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .article .meta,html body .article .read-more{display:none}
html body .article-tag{background:var(--ds-sand)!important;color:var(--ds-tinte-2)!important}

/* ── Roadmap: Karten weiss auf Grau ── */
html body .cs-card{background:#fff!important;border:1px solid var(--ds-kante)!important;box-shadow:none!important}

/* ── Blog-Artikel: Lesen auf Weiss ── */
html body:has(article.art){background:#fff}

/* ── Startseite am Handy: Problem-Karten als Wischleiste statt vier Karten untereinander ── */
@media(max-width:640px){
  html body #probleme .dp-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:4px 16px 12px;scrollbar-width:none}
  html body #probleme .dp-grid::-webkit-scrollbar{display:none}
  html body #probleme .dp-card{flex:0 0 82%;scroll-snap-align:center}
}

/* ── Team (team.html, Entwurf) ── */
.tm-raster{max-width:440px;margin:0 auto}
.tm-karte{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--ds-kante);border-radius:20px;padding:clamp(16px,4vw,32px)}
.tm-initialen{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:50%;background:var(--ds-gruen-grund);color:var(--ds-gruen-lese);font-weight:700}
.tm-karte a{color:var(--ds-gruen-lese);text-underline-offset:.2em;overflow-wrap:anywhere}
.tm-karte h2{font-size:1.05rem;font-weight:700;letter-spacing:-.02em;margin:0 0 2px}
.tm-karte p{font-size:.88rem;color:var(--ds-leise);margin:0}
.tm-partner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin:28px auto 0;font-size:.85rem;color:var(--ds-leise)}
.tm-partner b{color:var(--ds-tinte);font-weight:650}
.tm-punkt{width:4px;height:4px;border-radius:50%;background:var(--ds-linie)}

/* ═══ 21.11. abends (Max): Chami ueberall groesser, Store-Knoepfe im Abschluss hervorgehoben ═══
   Nur Ueberschreibungen, die Grundregeln stehen in ff-umbau.css und ff-kennst.css. */
html body .ffn .uh-chami{width:min(160px,40vw);left:calc(50% + min(22px,5vw))}
html body .ffn .us-chami-klein{width:66px}
html body .ffn .ks-chami{width:142px}
html body .ld-chami{width:190px}
html body .ffn .en-chami{width:172px;top:-92px}
html body .ffn .en-karte{padding-top:124px}
html body .stand-chami{width:82px}
html body .tp-chami{width:clamp(84px,22vw,140px)}
@media(min-width:960px){
  html body .ffn .uh-chami{width:216px;left:calc(50% + 84px)}
  html body .ffn .us-chami{width:190px}
  html body .ffn .ks-chami{width:200px}
  html body .ffn .en-karte{padding-top:136px}
}
@media(max-width:899px){html body .stand-chami{width:96px;top:-96px}}
/* Store-Knoepfe im Abschluss: gross, gleich breit, gruener Leuchtrand */
html body .ffn .en-stores{gap:12px;margin-top:22px}
html body .ffn .en-stores .ff-store{flex:1 1 0;max-width:220px;height:62px;justify-content:center;gap:12px;padding:0 18px;border-radius:18px;--kante:6px;font-size:1.08rem;white-space:nowrap;
  box-shadow:0 var(--kante) 0 #000,0 0 0 3px rgba(34,197,94,.28),0 16px 30px -12px rgba(22,163,74,.6),inset 0 1px 0 rgba(255,255,255,.14)}
html body .ffn .en-stores .ff-store:hover{box-shadow:0 calc(var(--kante) + 2px) 0 #000,0 0 0 4px rgba(34,197,94,.4),0 20px 34px -12px rgba(22,163,74,.7),inset 0 1px 0 rgba(255,255,255,.14)}
html body .ffn .en-stores .ff-store:active{box-shadow:0 0 0 #000,0 0 0 3px rgba(34,197,94,.28),0 4px 10px -6px rgba(17,24,39,.5),inset 0 1px 0 rgba(255,255,255,.14)}
html body .ffn .en-stores .ff-store .ic{width:28px;height:28px}
@media(max-width:479px){html body .ffn .en-stores .ff-store{height:58px;gap:8px;padding:0 10px;font-size:.98rem}html body .ffn .en-stores .ff-store .ic{width:24px;height:24px}}
html body .ffn .en-stores .ff-store small{font-size:.72rem;color:#86EFAC;opacity:1;font-weight:650}
html body .ffn .en-stores .ff-store:focus-visible{outline:3px solid var(--ds-gruen)}
