/* =========================================================
   BizFlow – Marketing Website
   ECKER.Digital IT Solutions GmbH
   Design-System & Stylesheet
   ========================================================= */

/* ---------- Schriftart (lokal ausgeliefert, kein externer Aufruf) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/inter-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/inter-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/inter-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/inter-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/inter-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("fonts/inter-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* Markenfarben (Basis: ECKER.Digital #295862) */
  --brand-950: #081416;
  --brand-900: #0e2429;
  --brand-800: #163740;
  --brand-700: #1d4650;
  --brand-600: #295862;
  --brand-500: #34707c;
  --brand-400: #4a8f9b;
  --brand-300: #7db4bd;
  --brand-200: #b6d7dd;
  --brand-100: #dcecef;
  --brand-50:  #f0f7f8;

  --accent-600: #0f9b8e;
  --accent-500: #17b3a3;
  --accent-400: #35c9b8;
  --accent-300: #7adfd2;
  --accent-100: #d6f5f0;

  --amber-500: #e0a23a;
  --amber-100: #fbeed6;

  --ink-900: #0d1b1f;
  --ink-800: #1a2c31;
  --ink-700: #2c4248;
  --ink-600: #455f66;
  --ink-500: #627d85;
  --ink-400: #8ba3aa;
  --ink-300: #b9cbd0;
  --ink-200: #dde7e9;
  --ink-100: #eef4f5;
  --ink-50:  #f7fafb;
  --white: #ffffff;

  --ok-500: #2e9e63;
  --ok-100: #dcf3e7;
  --warn-500: #d9822b;
  --err-500: #d9534f;

  /* Typografie */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  /* Radien & Schatten */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  --sh-xs: 0 1px 2px rgba(13, 27, 31, .06);
  --sh-sm: 0 2px 8px rgba(13, 27, 31, .07);
  --sh-md: 0 10px 30px -12px rgba(13, 27, 31, .22);
  --sh-lg: 0 28px 70px -24px rgba(13, 27, 31, .38);
  --sh-glow: 0 30px 80px -30px rgba(23, 179, 163, .55);

  --maxw: 1180px;
  --gutter: 24px;

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--accent-600); }
h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.18;
  letter-spacing: -.021em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 1.35rem + 3.6vw, 3.8rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.1vw, 2.6rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.4rem); }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
strong { color: var(--ink-900); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--ink-200); margin: 48px 0; }
::selection { background: var(--accent-100); color: var(--brand-900); }
:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(60px, 7vw, 108px) 0; position: relative; }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section--alt { background: var(--ink-50); }
.section--brand {
  background: radial-gradient(1200px 520px at 15% -10%, rgba(23,179,163,.20), transparent 60%),
              linear-gradient(160deg, var(--brand-900) 0%, var(--brand-950) 100%);
  color: var(--brand-200);
}
.section--brand h2, .section--brand h3, .section--brand h4 { color: var(--white); }
.section--brand a { color: var(--accent-300); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split--reverse > *:first-child { order: 0; }
}
@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Typo-Hilfen ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent-500); border-radius: 2px; }
.section--brand .eyebrow { color: var(--accent-300); }
.section--brand .eyebrow::before { background: var(--accent-400); }

.lead { font-size: clamp(1.05rem, .98rem + .4vw, 1.22rem); color: var(--ink-600); }
.section--brand .lead { color: var(--brand-200); }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.muted { color: var(--ink-500); }
.small { font-size: .9rem; }
.mb0 { margin-bottom: 0; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: var(--r-full);
  font-weight: 650; font-size: 1rem; font-family: inherit;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: #01312d;
  box-shadow: 0 14px 30px -14px rgba(15,155,142,.9);
}
.btn--primary:hover { color: #01312d; transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(15,155,142,1); }
.btn--dark { background: var(--brand-700); color: var(--white); }
.btn--dark:hover { background: var(--brand-600); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--ink-300); color: var(--ink-800); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-700); background: var(--brand-50); }
.btn--light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--light:hover { background: rgba(255,255,255,.18); color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--sm { padding: 10px 18px; min-height: 42px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-200);
  transition: box-shadow .2s ease;
}
.header.is-scrolled { box-shadow: var(--sh-sm); }
.header__inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; color: var(--ink-900); letter-spacing: -.02em; font-size: 1.16rem; line-height: 1; }
.brand:hover { color: var(--ink-900); }
.brand__mark { width: 40px; height: 40px; flex: none; display: block; }
.brand__text { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.brand__name { display: block; line-height: 1; }
.brand__sub { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-500); line-height: 1; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; border-radius: var(--r-full);
  color: var(--ink-700); font-weight: 550; font-size: .97rem;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav a.is-active { color: var(--brand-700); background: var(--brand-50); }
.header__cta { margin-left: 12px; }

.burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: var(--r-md);
  border: 1px solid var(--ink-200); background: var(--white);
  align-items: center; justify-content: center; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink-800); border-radius: 2px; position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink-800); border-radius: 2px;
  transition: transform .2s ease, top .2s ease;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-bottom: 1px solid var(--ink-200);
    padding: 12px var(--gutter) 22px;
    box-shadow: var(--sh-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 14px; font-size: 1.02rem; }
  .header__cta { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--brand-100);
  background:
    radial-gradient(900px 480px at 78% 8%, rgba(23,179,163,.30), transparent 62%),
    radial-gradient(760px 520px at 8% 100%, rgba(41,88,98,.75), transparent 65%),
    linear-gradient(155deg, #0f2a30 0%, var(--brand-950) 78%);
  padding: clamp(54px, 7vw, 96px) 0 clamp(60px, 8vw, 110px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 460px at 50% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 460px at 50% 20%, #000, transparent 75%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--accent-300); }
.hero__lead { font-size: clamp(1.05rem, .98rem + .5vw, 1.3rem); color: #c3dce0; max-width: 40ch; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 4vw, 60px); align-items: center; }
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; } }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 9px; border-radius: var(--r-full);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #d5eaed; font-size: .85rem; font-weight: 550; margin-bottom: 22px;
}
.pill b { color: var(--accent-300); font-weight: 700; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-400); box-shadow: 0 0 0 4px rgba(53,201,184,.22); }

.hero__points { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 10px; }
.hero__points li { display: flex; gap: 10px; align-items: flex-start; color: #c3dce0; font-size: .99rem; }
.hero__points svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent-400); }

.hero__note { font-size: .88rem; color: #90b3b9; margin-top: 18px; }

/* ---------- Logo-/Trust-Leiste ---------- */
.trustbar { border-top: 1px solid rgba(255,255,255,.1); margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.trustbar__item { display: flex; gap: 12px; align-items: flex-start; }
.trustbar__item svg { width: 22px; height: 22px; color: var(--accent-400); flex: none; margin-top: 3px; }
.trustbar__item b { display: block; color: var(--white); font-size: .97rem; }
.trustbar__item span { font-size: .87rem; color: #9fc0c6; }
@media (max-width: 860px) { .trustbar__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .trustbar__grid { grid-template-columns: 1fr; } }

/* ---------- App-Mockup ---------- */
.mock {
  border-radius: var(--r-lg);
  background: #0b1e23;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--sh-lg), var(--sh-glow);
  overflow: hidden;
  font-size: 13px;
  color: #cfe1e4;
}
.mock--light { background: var(--white); border-color: var(--ink-200); color: var(--ink-700); box-shadow: var(--sh-lg); }
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.09); }
.mock--light .mock__bar { background: var(--ink-50); border-bottom-color: var(--ink-200); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.mock--light .mock__dot { background: var(--ink-300); }
.mock__url {
  margin-left: 10px; flex: 1; font-family: var(--font-mono); font-size: 11.5px;
  background: rgba(255,255,255,.07); border-radius: var(--r-full); padding: 4px 12px; color: #9fc0c6;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock--light .mock__url { background: var(--white); border: 1px solid var(--ink-200); color: var(--ink-500); }

.mock__body { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 380px; }
.mock__side { padding: 16px 12px; border-right: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); }
.mock--light .mock__side { background: var(--ink-50); border-right-color: var(--ink-200); }
.mock__logo { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: 14px; margin-bottom: 16px; padding: 0 6px; }
.mock--light .mock__logo { color: var(--ink-900); }
.mock__logo i { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--accent-400), var(--brand-600)); display: block; flex: none; }
.mock__nav { display: grid; gap: 3px; }
.mock__nav span {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; border-radius: 8px; color: #9fc0c6; font-size: 12.5px;
}
.mock--light .mock__nav span { color: var(--ink-500); }
.mock__nav span i { width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: .5; flex: none; }
.mock__nav span.is-active { background: rgba(53,201,184,.15); color: #baf0e8; font-weight: 600; }
.mock--light .mock__nav span.is-active { background: var(--brand-100); color: var(--brand-700); }

.mock__main { padding: 18px; display: grid; gap: 14px; align-content: start; }
.mock__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock__title { font-size: 15px; font-weight: 700; color: #fff; }
.mock--light .mock__title { color: var(--ink-900); }
.mock__btn { font-size: 11.5px; padding: 6px 12px; border-radius: var(--r-full); background: var(--accent-500); color: #01312d; font-weight: 650; }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.kpi { padding: 12px; border-radius: var(--r-md); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.mock--light .kpi { background: var(--white); border-color: var(--ink-200); box-shadow: var(--sh-xs); }
.kpi b { display: block; font-size: 18px; color: #fff; letter-spacing: -.02em; }
.mock--light .kpi b { color: var(--ink-900); }
.kpi span { font-size: 11px; color: #8fb2b8; }
.mock--light .kpi span { color: var(--ink-500); }
.kpi em { font-style: normal; font-size: 10.5px; color: var(--accent-300); font-weight: 650; }
.mock--light .kpi em { color: var(--ok-500); }

.chart { display: flex; align-items: flex-end; gap: 7px; height: 108px; padding: 12px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.mock--light .chart { background: var(--white); border-color: var(--ink-200); }
.chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--accent-400), rgba(53,201,184,.25)); display: block; }
.chart i:nth-child(odd) { background: linear-gradient(180deg, var(--brand-400), rgba(74,143,155,.22)); }

.rows { border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.mock--light .rows { border-color: var(--ink-200); }
.row { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 10px; align-items: center; padding: 9px 12px; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.mock--light .row { border-bottom-color: var(--ink-100); }
.row:last-child { border-bottom: 0; }
.row b { color: #e6f2f3; font-weight: 600; }
.mock--light .row b { color: var(--ink-900); }
.row span { color: #8fb2b8; }
.mock--light .row span { color: var(--ink-500); }
.tag { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-full); white-space: nowrap; }
.tag--ok { background: rgba(46,158,99,.18); color: #7fe0ab; }
.tag--warn { background: rgba(224,162,58,.18); color: #f0c37c; }
.tag--info { background: rgba(53,201,184,.16); color: #8fe6da; }
.mock--light .tag--ok { background: var(--ok-100); color: #1d6b42; }
.mock--light .tag--warn { background: var(--amber-100); color: #96601a; }
.mock--light .tag--info { background: var(--accent-100); color: #0a6f66; }

@media (max-width: 560px) {
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
}

/* ---------- Karten ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--sh-xs);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand-100), var(--accent-100));
  color: var(--brand-700);
}
.card__icon svg { width: 24px; height: 24px; }
.section--brand .card {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.1);
  box-shadow: none;
  color: var(--brand-200);
}
.section--brand .card__icon { background: rgba(53,201,184,.16); color: var(--accent-300); }
.section--brand .card--hover:hover { border-color: rgba(53,201,184,.4); background: rgba(255,255,255,.07); }

.card--flat { box-shadow: none; background: var(--ink-50); border-color: transparent; }

/* Feature-Liste mit Haken */
.checks { list-style: none; padding: 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; }
.checks svg { width: 21px; height: 21px; flex: none; color: var(--accent-600); margin-top: 2px; }
.section--brand .checks svg { color: var(--accent-400); }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 11px 26px; }
@media (max-width: 720px) { .checks--2 { grid-template-columns: 1fr; } }

/* Modul-Liste */
.module {
  display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--ink-200);
}
.module:last-child { border-bottom: 0; }
.module__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100); }
.module__icon svg { width: 26px; height: 26px; }
.module h3 { margin-bottom: .3em; }
.module p { margin-bottom: .6em; }
.module ul { margin: 0; padding-left: 1.1em; color: var(--ink-600); font-size: .95rem; }

/* Zahlen / Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.stat b { display: block; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); color: var(--white); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .93rem; color: #9fc0c6; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Schritt-für-Schritt */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0,1fr)); }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-600); color: var(--white); font-weight: 700; font-size: 1rem;
}
.step::after {
  content: ""; position: absolute; top: 20px; left: 48px; right: -10px; height: 1px;
  background: linear-gradient(90deg, var(--brand-200), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.08rem; }
.step p { font-size: .95rem; margin-bottom: 0; color: var(--ink-600); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Zitat */
.quote {
  border-left: 4px solid var(--accent-500);
  padding: 6px 0 6px 26px;
  font-size: clamp(1.1rem, 1rem + .6vw, 1.42rem);
  line-height: 1.5; color: var(--ink-900); font-weight: 500;
}
.section--brand .quote { color: var(--white); border-left-color: var(--accent-400); }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: .93rem; font-weight: 500; color: var(--ink-600); }
.section--brand .quote__by { color: #9fc0c6; }
.quote__by img, .quote__by .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .95rem;
}

/* Vergleichstabelle */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--ink-200); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .96rem; }
thead th { background: var(--ink-50); text-align: left; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); padding: 14px 18px; font-weight: 700; }
tbody td, tbody th { padding: 14px 18px; border-top: 1px solid var(--ink-100); text-align: left; vertical-align: top; }
tbody th { font-weight: 600; color: var(--ink-900); }
td.yes { color: var(--ok-500); font-weight: 650; }
td.no { color: var(--ink-400); }

/* Preis-Karten */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan--featured { border-color: var(--brand-400); box-shadow: var(--sh-md); }
.plan__badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--brand-700); color: #fff; font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--r-full);
}
.plan__price { font-size: 1.55rem; font-weight: 700; color: var(--ink-900); letter-spacing: -.02em; margin: 6px 0 4px; }
.plan__price small { display: block; font-size: .86rem; font-weight: 500; color: var(--ink-500); letter-spacing: 0; }
.plan .checks { margin: 20px 0 26px; font-size: .95rem; }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--ink-200); }
.faq details { border-bottom: 1px solid var(--ink-200); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 620; color: var(--ink-900); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 27px;
  width: 11px; height: 11px; border-right: 2px solid var(--brand-500); border-bottom: 2px solid var(--brand-500);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq details p { margin: 0 0 20px; color: var(--ink-600); max-width: 75ch; }

/* CTA-Band */
.cta {
  border-radius: var(--r-xl);
  padding: clamp(34px, 4.5vw, 62px);
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(23,179,163,.30), transparent 60%),
    linear-gradient(140deg, var(--brand-800), var(--brand-950));
  color: var(--brand-200);
  box-shadow: var(--sh-lg);
}
.cta h2 { color: var(--white); }
.cta .lead { color: #c3dce0; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 620; color: var(--ink-800); }
.field label .req { color: var(--err-500); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink-900);
  padding: 12px 14px; min-height: 48px;
  border: 1.5px solid var(--ink-200); border-radius: var(--r-md);
  background: var(--white); width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-500); box-shadow: 0 0 0 4px rgba(23,179,163,.14);
}
.field__hint { font-size: .83rem; color: var(--ink-500); }
.check-inline { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--ink-600); }
.check-inline input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--accent-600); }
.form__note { font-size: .84rem; color: var(--ink-500); }
.form-status { padding: 14px 16px; border-radius: var(--r-md); font-size: .95rem; display: none; }
.form-status.is-ok { display: block; background: var(--ok-100); color: #1d6b42; border: 1px solid #b6e3cb; }
.form-status.is-err { display: block; background: #fdecec; color: #9c2b28; border: 1px solid #f3c6c5; }

/* Kontakt-Infobox */
.info-list { list-style: none; padding: 0; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.info-list .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100); }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list b { display: block; color: var(--ink-900); font-size: .97rem; }
.info-list span, .info-list a { font-size: .95rem; color: var(--ink-600); }

/* ---------- Footer ---------- */
.footer { background: var(--brand-950); color: #8fb2b8; padding: clamp(46px, 5vw, 72px) 0 30px; font-size: .94rem; }
.footer a { color: #b6d7dd; }
.footer a:hover { color: var(--accent-300); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0,1fr)); gap: 34px; }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); font-weight: 700; font-size: 1.12rem; margin-bottom: 14px; }
.footer__brand svg { width: 34px; height: 34px; }
.footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; font-size: .88rem;
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Page-Header (Unterseiten) ---------- */
.pagehead {
  background:
    radial-gradient(800px 360px at 80% 0%, rgba(23,179,163,.22), transparent 62%),
    linear-gradient(150deg, var(--brand-900), var(--brand-950));
  color: #c3dce0; padding: clamp(46px, 5.5vw, 84px) 0;
}
.pagehead h1 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
.pagehead .lead { color: #c3dce0; max-width: 62ch; }
.crumbs { font-size: .86rem; color: #8fb2b8; margin-bottom: 16px; }
.crumbs a { color: #b6d7dd; }

/* ---------- Prose (Rechtstexte) ---------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }
.prose p, .prose li { color: var(--ink-600); }

/* Rechtstexte: einspaltig, gleiche Textbreite wie im übrigen Seiteninhalt */
.legal { max-width: var(--maxw); }
.legal__grid { display: block; max-width: 74ch; }
.legal__block {
  padding: 26px 0 8px;
  border-top: 1px solid var(--ink-200);
}
.legal__block h2 { font-size: 1.32rem; margin-top: 0; margin-bottom: .55em; }
.legal__block h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal__block p, .legal__block li { color: var(--ink-600); }
.legal__block p:last-child, .legal__block ul:last-child { margin-bottom: .4em; }
.legal__block ul { padding-left: 1.25em; }
.legal__block--wide { grid-column: 1 / -1; }
.legal__block--lead {
  grid-column: 1 / -1;
  border-top: 0;
  padding-top: 0;
}
@media (max-width: 860px) {
  .legal__grid { grid-template-columns: 1fr; }
}

/* ---------- Scroll-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Utility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--white); color: var(--brand-700); padding: 12px 18px; border-radius: var(--r-md); font-weight: 650;
}
.skip-link:focus { left: 16px; }
.badge {
  display: inline-block; font-size: .73rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 11px; border-radius: var(--r-full); background: var(--brand-100); color: var(--brand-700);
}
.badge--accent { background: var(--accent-100); color: #0a6f66; }
.anchor { scroll-margin-top: 90px; }
