/* ============================================================
   vonfoorn-brand.css
   Geteiltes Marken-Stylesheet fuer statische Referenzseiten.
   Eine Quelle der Wahrheit fuer CI-Tokens und Bausteine.
   Tokens gespiegelt aus web/sass/_variables.scss.
   Schriften selbst gehostet, DSGVO-konform, kein Google-CDN.
   ============================================================ */

/* --- Schriften (nutzen die bereits vorhandenen woff2 unter case-study-eca/fonts) --- */
@font-face { font-family:"Lato"; font-style:normal; font-weight:300; font-display:swap; src:url("/assets/case-study-eca/fonts/lato-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family:"Lato"; font-style:normal; font-weight:400; font-display:swap; src:url("/assets/case-study-eca/fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family:"Lato"; font-style:normal; font-weight:700; font-display:swap; src:url("/assets/case-study-eca/fonts/lato-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family:"Roboto Slab"; font-style:normal; font-weight:400; font-display:swap; src:url("/assets/case-study-eca/fonts/roboto-slab-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family:"Roboto Slab"; font-style:normal; font-weight:700; font-display:swap; src:url("/assets/case-study-eca/fonts/roboto-slab-latin-700-normal.woff2") format("woff2"); }

/* --- Tokens --- */
:root {
  --default-font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --headline-font: "Roboto Slab", Georgia, serif;
  --white:#FFFFFF;
  --grey-dark:#333333;
  --grey-medium:#888888;
  --grey-light:#CCCCCC;
  --grey-xlight:#DDDDDD;
  --grey-xxlight:#F3F3F3;
  --primary:#00AAE4;
  --primary-dark:#00a3da;
  --primary-light:#f0f5f7;
  --secondary:#00FF90;
  --highlight:#EC3B55;
  --text-color:#333333;
  --text-light:#888888;
  --separator:#CCCCCC;
  --maxw:1080px;
  --readw:860px;
  /* Verlaufs-Steuerung wie im Hauptsystem (colorgesture-faehig).
     Werte gespiegelt aus $primary #00AAE4 und $secondary #00FF90. */
  --hue: 195; --saturation: 100%; --lightness: 45%;
  --hue-secondary: 154; --saturation-secondary: 100%; --lightness-secondary: 50%;
  --grad-hero: linear-gradient(120deg,
    hsla(var(--hue-secondary), var(--saturation-secondary), var(--lightness-secondary), 1) 0,
    hsla(var(--hue), var(--saturation), var(--lightness), 1) 80%);
  --grad-accent: linear-gradient(120deg, #00AAE4 0%, hsl(195,100%,65%) 100%);
}

/* --- Reset / Basis --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { background: var(--white); color: var(--text-color); font-family: var(--default-font); font-size: 1rem; line-height: 1.65; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: var(--headline-font); font-weight: 400; line-height: 1.25; color: var(--text-color); }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary); }
img { display: block; max-width: 100%; }
.vf-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 2rem; }
.vf-read { max-width: var(--readw); margin: 0 auto; padding: 0 2rem; }
@media (max-width: 640px) { .vf-wrap, .vf-read { padding: 0 1.25rem; } }

/* --- Header --- */
.vf-header { padding: 1.6rem 0; border-bottom: 1px solid rgba(51,51,51,.08); position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.vf-header .vf-wrap { display: flex; align-items: center; justify-content: space-between; }
.vf-brand { display: flex; align-items: baseline; gap: .55rem; }
.vf-brand img { height: 26px; width: auto; }
.vf-brand .bn { font-family: var(--headline-font); font-weight: 700; font-size: 1.4rem; letter-spacing: -.01em; color: var(--grey-dark); }
.vf-brand .bd { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grey-medium); }
.vf-nav a { font-size: .85rem; letter-spacing: .04em; color: var(--grey-medium); margin-left: 1.6rem; }
.vf-nav a:hover { color: var(--primary); }
@media (max-width: 640px) { .vf-nav a:not(:last-child) { display: none; } }

/* --- Hero --- */
.vf-hero { padding: 5rem 0 2.5rem; text-align: center; }
.vf-eyebrow { font-family: var(--headline-font); font-weight: 700; font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(51,51,51,.5); margin-bottom: 1.4rem; }
.vf-hero h1 { font-size: 3.2rem; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 1.4rem; }
@media (min-width: 640px) { .vf-hero h1 { font-size: 4.2rem; } }
.vf-lead { font-weight: 300; font-size: 1.25rem; line-height: 1.5; color: var(--grey-dark); max-width: 40rem; margin: 0 auto 2rem; }
@media (min-width: 640px) { .vf-lead { font-size: 1.5rem; } }
.vf-accent { height: 4px; width: 96px; border-radius: 999px; margin: 0 auto; background: var(--grad-accent); }

/* --- Meta-Leiste --- */
.vf-meta { display: grid; grid-template-columns: repeat(4, auto); gap: 1.5rem 3rem; justify-content: center; border-top: 1px solid rgba(51,51,51,.08); border-bottom: 1px solid rgba(51,51,51,.08); padding: 1.75rem 0; margin-top: 2.5rem; }
.vf-meta .k { font-family: var(--headline-font); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(51,51,51,.5); margin-bottom: .35rem; }
.vf-meta .v { font-size: .98rem; color: var(--grey-dark); }
.vf-meta .v a { color: var(--primary); }
@media (max-width: 680px) { .vf-meta { grid-template-columns: 1fr 1fr; text-align: left; } }

/* --- Abschnitte / Erzaehlung --- */
.vf-section { padding: 3.75rem 0 1rem; }
.vf-kicker { font-family: var(--headline-font); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; }
.vf-section h2 { color: var(--primary); font-size: 2rem; line-height: 1.25; margin-bottom: 1.4rem; }
@media (min-width: 640px) { .vf-section h2 { font-size: 2.4rem; } }
@media (min-width: 1024px) { .vf-section h2 { font-size: 3rem; } }
.vf-section p { font-size: 1.1rem; line-height: 1.65; color: rgba(51,51,51,.9); margin-bottom: 1.5rem; }
.vf-read p { max-width: 44rem; }
.vf-section p:last-child { margin-bottom: 0; }
.vf-section p strong { color: var(--grey-dark); font-weight: 700; }
.vf-section h3 { font-size: 1.35rem; font-weight: 700; color: var(--grey-dark); margin: 2rem 0 .75rem; }
@media (max-width: 640px) { .vf-section h2 { font-size: 1.75rem; } .vf-section p { font-size: 1.05rem; } }

/* --- Signature-Verlaufspanel (fuer Moment und CTA) --- */
.vf-panel { position: relative; overflow: hidden; border-radius: 2rem; background: var(--grad-hero); color: var(--white); padding: 3.5rem 2.5rem; }
@media (min-width: 768px) { .vf-panel { padding: 4.5rem 3.5rem; } }
.vf-panel > * { position: relative; z-index: 2; }
/* Signature-Textur im Verlauf, wie .cta-panel:before im Hauptsystem */
.vf-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url("/assets/images/pattern_long.svg") center / cover no-repeat; opacity: .1; }

/* --- Volle Verlaufsbaender mit abgewinkelter Unterkante (wie .is-decorated) --- */
.vf-band { position: relative; overflow: hidden; background: var(--grad-hero); color: var(--white); }
.vf-band > * { position: relative; z-index: 2; }
.vf-band::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url("/assets/images/pattern_long.svg") center / cover no-repeat; opacity: .1; }
.vf-band h1, .vf-band h2, .vf-band h3, .vf-band p { color: var(--white); }
.vf-band .vf-eyebrow { color: rgba(255,255,255,.72); }
.vf-band .vf-lead { color: rgba(255,255,255,.94); }
/* Verlaufs-Hero: grosszuegige Hoehe, Inhalt ueber der Uebergangskante */
.vf-hero-band { padding-top: 4.5rem; text-align: center; }
.vf-hero-band h1 { font-size: 3.2rem; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 1.4rem; }
@media (min-width: 640px) { .vf-hero-band h1 { font-size: 4.2rem; } }
.vf-hero-band .vf-accent { background: rgba(255,255,255,.85); margin: 0 auto; }

/* Abgewinkelte Unterkante als Uebergang in die naechste Sektion */
.vf-decorated { padding-bottom: calc(20% + 4rem); }
@media (min-width: 768px) { .vf-decorated { padding-bottom: calc(10% + 4rem); } }
@media (min-width: 1024px) { .vf-decorated { padding-bottom: calc(7% + 4rem); } }
.vf-decorated::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3;
  padding-top: 20%; background: url("/assets/images/reflection2.svg") bottom center / cover no-repeat; }
@media (min-width: 768px) { .vf-decorated::after { padding-top: 10%; } }
@media (min-width: 1024px) { .vf-decorated::after { padding-top: 7%; } }
.vf-decorated--reverse::after { background-image: url("/assets/images/reflection_reverse.svg"); transform: rotateY(180deg); }

/* Diagonale Formen als Sektions-Hintergrund (wie .has-pattern) */
.vf-pattern { background: url("/assets/images/pattern.svg") center / cover no-repeat; }

/* --- Der Moment --- */
.vf-moment .m-label { font-family: var(--headline-font); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 1.4rem; }
.vf-moment blockquote { font-family: var(--headline-font); font-weight: 400; font-size: 1.7rem; line-height: 1.4; color: var(--white); }
@media (min-width: 768px) { .vf-moment blockquote { font-size: 2.2rem; } }
.vf-moment cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* --- Galerie / Screenshots im Browser-Rahmen --- */
.vf-gallery { padding-top: 1rem; }
.vf-shot { margin: 0 0 3rem; }
.vf-win { border-radius: .85rem; overflow: hidden; background: #fff; box-shadow: 0 24px 50px rgba(0,0,0,.10); border: 1px solid rgba(51,51,51,.08); }
.vf-win-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: var(--grey-xxlight); border-bottom: 1px solid rgba(51,51,51,.07); }
.vf-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--grey-light); display: block; }
.vf-win-bar .u { margin-left: .6rem; font-size: .72rem; color: var(--grey-medium); letter-spacing: .02em; }
.vf-win-view { display: block; background: var(--grey-xxlight); }
.vf-feature .vf-win-view { min-height: 300px; }
.vf-placeholder { min-height: 260px; display: flex; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.vf-placeholder p { font-family: ui-monospace, monospace; font-size: .8rem; color: var(--grey-medium); line-height: 1.65; max-width: 32em; margin: 0; padding: 0; }
.vf-win-view img { width: 100%; display: block; }
.vf-scrollshot .vf-win-view { height: 520px; overflow-y: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.vf-scrollshot .vf-win-view::-webkit-scrollbar { width: 8px; }
.vf-scrollshot .vf-win-view::-webkit-scrollbar-thumb { background: rgba(51,51,51,.18); border-radius: 8px; }
.vf-cap { display: flex; align-items: baseline; gap: .75rem; margin-top: 1.1rem; padding: 0 .25rem; }
.vf-cap .n { font-family: var(--headline-font); font-weight: 700; font-size: .78rem; letter-spacing: .1em; color: var(--primary); }
.vf-cap .t { font-size: 1rem; color: var(--grey-dark); }
.vf-cap .t small { color: var(--grey-medium); }
.vf-scrollhint { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; font-size: .78rem; color: var(--grey-medium); }
.vf-scrollhint::before { content: "\2195"; color: var(--primary); font-weight: bold; }
.vf-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 680px) { .vf-pair { grid-template-columns: 1fr; gap: 2.5rem; } }
.vf-pair-head { color: var(--primary); font-size: 1.9rem; margin: 1.5rem 0 .75rem; }
@media (min-width: 768px) { .vf-pair-head { font-size: 2.4rem; } }
.vf-pair-sub { font-weight: 300; font-size: 1.15rem; color: var(--grey-dark); max-width: 42rem; margin: 0 0 2rem; }

/* --- Leistung / Spalten --- */
.vf-ops { background: var(--primary-light); padding: 4rem 0; border-radius: 2rem; }
.vf-ops .vf-read { max-width: none; }
.vf-ops__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 2.5rem; }
.vf-ops h2 { color: var(--primary); font-size: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .vf-ops h2 { font-size: 2.6rem; } }
.vf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 680px) { .vf-cols { grid-template-columns: 1fr; gap: 1rem; } }
.vf-cols .label { font-family: var(--headline-font); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(51,51,51,.5); margin: 0 0 .75rem; }
.vf-cols ul { list-style: none; }
.vf-cols li { font-size: 1.1rem; color: var(--grey-dark); padding: .5rem 0 .5rem 1.5rem; position: relative; border-bottom: 1px solid rgba(51,51,51,.08); line-height: 1.5; }
.vf-cols li:last-child { border-bottom: 0; }
.vf-cols li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }

/* --- Stat-Kacheln --- */
.vf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 0; }
@media (max-width: 640px) { .vf-stats { grid-template-columns: 1fr; } }
.vf-stat { border: 1px solid rgba(51,51,51,.1); border-left: 3px solid var(--primary); border-radius: .5rem; padding: 1.1rem 1.25rem; background: var(--primary-light); }
.vf-stat .num { font-family: var(--headline-font); font-weight: 700; font-size: 1.6rem; color: var(--grey-dark); line-height: 1; }
.vf-stat .lab { font-size: .9rem; color: var(--grey-medium); margin-top: .5rem; line-height: 1.4; }

/* --- Vorher / Nachher --- */
.vf-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 640px) { .vf-ba { grid-template-columns: 1fr; } }
.vf-ba-card { border: 1px solid rgba(51,51,51,.1); border-radius: .75rem; overflow: hidden; }
.vf-ba-head { font-family: var(--headline-font); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .7rem 1rem; }
.vf-ba-before .vf-ba-head { background: #fff4e6; color: #a15c12; }
.vf-ba-after .vf-ba-head { background: var(--primary-light); color: var(--primary-dark); }
.vf-ba-body { padding: 1rem 1.15rem; font-size: 1rem; color: var(--grey-dark); line-height: 1.55; }
.vf-ba-body code { font-family: ui-monospace, monospace; font-size: .85rem; background: var(--grey-xxlight); padding: 1px 5px; border-radius: 3px; color: var(--grey-dark); }

/* --- CTA --- */
.vf-cta { text-align: center; }
.vf-cta h2 { color: var(--white); font-size: 2rem; margin-bottom: 1.1rem; }
@media (min-width: 768px) { .vf-cta h2 { font-size: 2.8rem; } }
.vf-cta p { font-weight: 300; font-size: 1.2rem; color: rgba(255,255,255,.96); max-width: 36rem; margin: 0 auto 2rem; }
.vf-btn { display: inline-block; background: #fff; color: var(--primary); text-transform: uppercase; font-family: var(--default-font); font-size: 1rem; border: 0; border-radius: 2px; line-height: 3rem; padding: 0 2rem; letter-spacing: .04em; box-shadow: 0 24px 50px rgba(0,0,0,.2); transition: transform .25s ease, background .25s ease; }
.vf-btn:hover { background: #f3f3f3; color: var(--primary); transform: translateY(-2px); }
.vf-cta-fine { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: 1rem; }

/* --- Footer --- */
.vf-footer { background: var(--grey-dark); color: #fff; padding: 3.5rem 0; margin-top: 4rem; }
.vf-footer .vf-wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 680px) { .vf-footer .vf-wrap { grid-template-columns: 1fr; gap: 1.75rem; } }
.vf-footer h3 { color: #fff; font-weight: 700; font-size: 1.25rem; margin-bottom: .75rem; }
.vf-footer p, .vf-footer address { font-size: 1rem; line-height: 1.6; font-style: normal; color: #fff; margin: 0 0 .3rem; }
.vf-footer a { color: #fff; }
.vf-footer a:hover { color: var(--primary); }
.vf-ft-links a { display: inline-block; }
.vf-ft-links a:not(:last-child)::after { content: "·"; margin: 0 .5rem; color: rgba(255,255,255,.5); }
.vf-ft-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .8rem; color: rgba(255,255,255,.6); }
