/* Layout: ruhige Ein-Spalten-Seite; Hero geteilt (Text | Logo im Cyan-Schimmer),
   danach Abschnitte als Bänder, Kernstück = Eskalationslinie Bediener → Techniker → Ingenieur */
@font-face { font-family: "Poppins"; src: url("fonts/poppins-300.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-500.woff") format("woff"); font-weight: 500; font-display: swap; }

:root {
  --bg: #FBFCFD;
  --surface: #F0F6F9;
  --ink: #0E2A47;
  --ink-soft: #4A6178;
  --line: #D9E4EC;
  --cyan: #14E8F4;
  --cyan-text: #077684;
  --band: #0E2A47;
  --band-ink: #E8F1F7;
  --band-soft: #A9BED0;
  --font: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.25rem, 5vw, 3.75rem);
  --maxw: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-text); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Kopfzeile */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; }
.brand span { font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em; }
.brand b { font-weight: 500; letter-spacing: 0.08em; }
.nav { display: flex; gap: 24px; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: var(--step--1); }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 720px 480px at 75% 50%, rgba(20,232,244,0.20), rgba(20,232,244,0) 70%);
}
.hero { padding-block: 0; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-block: 72px 56px; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 40px; height: 4px; background: var(--cyan); }
.hero h1 { font-size: var(--step-3); margin-top: 20px; }
.hero .lead { margin-top: 22px; font-size: var(--step-1); font-weight: 300; color: var(--ink-soft); max-width: 34ch; line-height: 1.55; }
.hero .actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 4px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; font-size: 0.95rem; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: #163A5E; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
.status { font-size: var(--step--1); color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(20,232,244,0.2); }
.hero-mark { justify-self: center; width: min(320px, 70vw); filter: drop-shadow(0 18px 30px rgba(14,42,71,0.18)); }

/* Abschnitte */
section { padding-block: 88px; }
.section-head { max-width: 640px; }
.section-head h2 { font-size: var(--step-2); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); }

.facts { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.fact { border-top: 2px solid var(--ink); padding-top: 18px; }
.fact h3 { font-size: var(--step-1); }
.fact p { margin-top: 10px; color: var(--ink-soft); }

/* Eskalationslinie */
.levels-band { background: var(--surface); }
.levels { margin-top: 56px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.levels::before { content: ""; position: absolute; left: 6%; right: 6%; top: 11px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--ink)); }
.level { position: relative; padding-top: 40px; }
.level::before { content: ""; position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 3px solid var(--cyan); }
.level:nth-child(2)::before { border-color: #3E8FB5; }
.level:nth-child(3)::before { border-color: var(--ink); }
.level .role { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-text); }
.level h3 { font-size: var(--step-1); margin-top: 6px; }
.level p { margin-top: 10px; color: var(--ink-soft); }

/* Prinzipien */
.principles { margin-top: 44px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 32px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.principle h3 { font-size: var(--step-1); }
.principle p { color: var(--ink-soft); max-width: 60ch; }

/* Gründer */
.founder-band { background: var(--band); color: var(--band-ink); }
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.founder .eyebrow { color: var(--band-soft); }
.founder h2 { font-size: var(--step-2); margin-top: 14px; color: #fff; }
.founder .meta { margin-top: 18px; color: var(--band-soft); font-size: var(--step--1); }
.founder .body { display: grid; gap: 18px; color: var(--band-ink); font-weight: 300; font-size: 1.05rem; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.contact-card { border: 1px solid var(--line); border-radius: 6px; padding: 32px; background: #fff; display: grid; gap: 14px; }
.contact-card .label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.contact-card .mail { font-size: var(--step-1); font-weight: 500; word-break: break-all; user-select: all; }
.contact-card .row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-block: 28px; font-size: var(--step--1); color: var(--ink-soft); }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--ink-soft); }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.foot-brand img { width: 26px; }
.site-footer .copy { flex-basis: 100%; font-size: 0.8rem; }

/* Rechtstexte */
.legal { padding-block: 64px 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: var(--step-2); }
.legal h2 { font-size: var(--step-1); margin-top: 40px; }
.legal p, .legal li { margin-top: 12px; color: var(--ink); }
.legal .muted { color: var(--ink-soft); }
.legal address { font-style: normal; margin-top: 12px; line-height: 1.7; }
.todo { background: #FFF4D6; color: #6B4E00; padding: 2px 6px; border-radius: 3px; }

@media (max-width: 820px) {
  .hero .wrap, .founder, .contact { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { width: min(220px, 60vw); grid-row: 1; justify-self: start; }
  .facts, .levels { grid-template-columns: minmax(0, 1fr); }
  .levels::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; background: linear-gradient(180deg, var(--cyan), var(--ink)); }
  .level { padding-top: 0; padding-left: 48px; }
  .principle { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  section { padding-block: 64px; }
  .nav { gap: 16px; }
}

/* Barrierefreiheit */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 10; border-radius: 4px; }
.skip:focus { left: 16px; }

/* Kopfzeile: haftend, Kontakt hervorgehoben */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(251,252,253,0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.nav { align-items: center; }
.nav .nav-cta { color: var(--ink); border: 1px solid var(--ink); padding: 6px 14px; border-radius: 4px; }
.nav .nav-cta:hover { background: var(--ink); color: #fff; }
section[id] { scroll-margin-top: 72px; }

/* Hero */
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--step--1); color: var(--ink-soft); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(20,232,244,0.2); }

/* Bildschirmfotos */
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 10px; border: 1px solid rgba(14,42,71,0.14); box-shadow: 0 30px 60px -24px rgba(14,42,71,0.40), 0 8px 18px -8px rgba(14,42,71,0.18); }
.shot figcaption { margin-top: 12px; font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.02em; }
.shot-hero img { box-shadow: 0 40px 80px -30px rgba(14,42,71,0.55), 0 0 0 1px rgba(20,232,244,0.25); }

/* Produkt */
.product-band { background: var(--surface); }
.feature { margin-top: 72px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.feature:nth-of-type(even) .feature-text { order: 2; }
.feature-text h3 { font-size: var(--step-2); }
.feature-text p { margin-top: 14px; color: var(--ink-soft); max-width: 46ch; }
.feature-text .step-no { margin: 0 0 12px; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.14em; color: var(--cyan-text); }
.feature-aside { display: flex; justify-content: center; }
.flow { display: grid; gap: 0; justify-items: start; width: min(420px, 100%); padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.flow span { font-weight: 500; padding: 10px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); width: 100%; }
.flow span:last-child { border-color: var(--cyan-text); color: var(--cyan-text); }
.flow i { width: 2px; height: 22px; margin-left: 22px; background: linear-gradient(var(--cyan), var(--ink)); }

/* Branchen */
.industries { margin-top: 56px; }
.label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.industries ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.industries li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--step--1); background: #fff; }

/* Gründer mit Foto */
.founder-id { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 28px; align-items: start; }
.portrait { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(20,232,244,0.6); }
.li-link { display: inline-block; margin-top: 14px; color: var(--cyan); font-size: var(--step--1); }
.founder { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }

/* Stand */
.status-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 28px 40px; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 26px; bottom: 2px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--ink); border-color: var(--ink); }
.timeline li.now::before { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(20,232,244,0.2); }
.timeline b { font-weight: 500; font-size: var(--step-1); line-height: 1.3; }
.timeline span { color: var(--ink-soft); }
.timeline li.now b::after { content: "aktuell"; margin-left: 10px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-text); vertical-align: middle; }

/* FAQ */
.faq-band { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; color: var(--cyan-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 62ch; }
.faq summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

@media (max-width: 980px) {
  .nav { gap: 14px; }
}
@media (max-width: 820px) {
  .hero .wrap { padding-block: 48px 64px; gap: 40px; }
  .feature, .status-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature { margin-top: 56px; }
  .feature:nth-of-type(even) .feature-text { order: 0; }
  .founder-id { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; }
  .portrait { width: 96px; height: 96px; }
  .site-header { position: static; }
  .founder { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .nav a:not(.nav-cta) { display: none; }
}


/* Demografischer Wandel */
.demo-band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.demo-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 560px 420px at 12% 40%, rgba(20,232,244,0.16), rgba(20,232,244,0) 70%); }
.wandel { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.wandel .eyebrow { color: var(--band-soft); }
.wandel .big { margin-top: 22px; font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 500; line-height: 1; color: #fff; letter-spacing: -0.02em; }
.wandel .big span { color: var(--cyan); }
.wandel .stat-text { margin-top: 16px; font-size: var(--step-1); font-weight: 300; max-width: 22ch; line-height: 1.45; }
.wandel .source { margin-top: 18px; font-size: 0.78rem; color: var(--band-soft); }
.wandel-body h2 { font-size: var(--step-2); color: #fff; }
.wandel-body > p { margin-top: 18px; color: var(--band-soft); font-weight: 300; font-size: 1.05rem; max-width: 56ch; }
.wandel-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(169,190,208,0.25); }
.wandel-list li { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid rgba(169,190,208,0.25); }
.wandel-list b { font-weight: 500; color: #fff; display: flex; gap: 10px; align-items: baseline; }
.wandel-list b::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); transform: translateY(-2px); }
.wandel-list span { color: var(--band-soft); }
@media (max-width: 820px) {
  .wandel { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .wandel-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 480px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .brand span { font-size: 0.82rem; }
  .brand img { width: 32px; }
}
