/* ═══════════════════════════════════════════════════════════════
   CEMDO — Stylesheet nach den Werbemitteln 2026
   (Zweiseiter A4, Postkarte A6, Visitenkarte)
   Lavendel-Grund · weiße Karten · Sora + IBM Plex Sans
   Logo-Farben Gelb / Grau / Orange / Grün als Streifen und Akzente
   ═══════════════════════════════════════════════════════════════ */

/* Schriften lokal — kein Abruf bei Google */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('/schriften/sora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('/schriften/sora-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/schriften/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/schriften/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/schriften/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/schriften/ibm-plex-sans-latin-700-normal.woff2') format('woff2'); }

:root {
  /* Grund & Flächen */
  --grund: #EEF0F8;
  --karte: #FFFFFF;
  --linie: #E3E7F1;
  /* Text */
  --text: #1F2633;
  --navy: #16263C;
  --text-2: #454C5C;
  --grau: #5A6478;
  --grau-hell: #78819A;
  /* Logo-Farben */
  --gelb: #F5C33B;
  --balken: #B8B8B6;
  --orange: #EE7A1C;
  --gruen: #1FA89B;
  --gruen-dunkel: #15756C;
  --link: #C25708;
  /* Typo */
  --kopf: 'Sora', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --fliess: 'IBM Plex Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius: 20px;
  --radius-k: 14px;
  --breite: 1160px;
  --streifen: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
/* Am Telefon seitlich fest (gemeldet 13.10.2026: "wackelt nach links und rechts").
   overflow-x am body allein reicht mobil nicht — der Rand schwappt ueber html.
   clip statt hidden: erzeugt keinen Scrollbereich, die feste Kopfleiste bleibt. */
html { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  font-family: var(--fliess); font-size: 17px; line-height: 1.6; color: var(--text);
  background: var(--grund); overflow-x: hidden; padding-right: var(--streifen);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
strong, b { font-weight: 600; }
h1, h2, h3, h4 { font-family: var(--kopf); color: var(--text); line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Farbstreifen am rechten Rand — wie auf Zweiseiter, Postkarte, Visitenkarte */
.farbstreifen { position: fixed; top: 0; right: 0; bottom: 0; width: var(--streifen); display: flex; flex-direction: column; z-index: 200; }
.farbstreifen i { flex: 1; }
.farbstreifen i:nth-child(1) { background: var(--gelb); }
.farbstreifen i:nth-child(2) { background: var(--balken); }
.farbstreifen i:nth-child(3) { background: var(--orange); }
.farbstreifen i:nth-child(4) { background: var(--gruen); }

.wrap { max-width: var(--breite); margin: 0 auto; padding-inline: 32px; }
.karte { background: var(--karte); border-radius: var(--radius); }

/* Kleine Kapitälchen-Zeile wie "PREISE & KONTAKT" */
.kicker { font-family: var(--kopf); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grau-hell); }
.gelbe-linie { width: 100%; max-width: 420px; height: 4px; border-radius: 2px; background: var(--gelb); }
.punkt-gruen { color: var(--gruen); }

/* ─── NAVIGATION ─────────────────────────────────────────────── */
nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(238, 240, 248, 0.94); backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 28px; padding: 13px 32px; min-height: 76px;
  border-bottom: 1px solid var(--linie);
}
.nav-logo { display: block; line-height: 0; }
.nav-logo img { height: 50px; width: auto; }
.nav-links { list-style: none; display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a.aktiv { color: var(--link); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.btn-ghost {
  color: var(--navy); text-decoration: none; font-family: var(--kopf); font-size: 14px; font-weight: 600;
  padding: 10px 16px; border: 1.5px solid var(--navy); border-radius: 100px; white-space: nowrap; transition: background .2s, color .2s;
}
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-nav-cta {
  background: var(--orange); color: var(--navy); text-decoration: none; font-family: var(--kopf); font-weight: 700; font-size: 14px;
  padding: 11px 18px; border-radius: 100px; white-space: nowrap; transition: background .2s;
}
.btn-nav-cta:hover { background: #F59A4E; }
.hamburger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 10px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu {
  display: none; position: fixed; top: 76px; left: 0; right: var(--streifen); z-index: 99;
  background: var(--karte); padding: 12px 20px 22px; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--linie);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text); text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--linie); font-weight: 500; }
.mobile-menu a.mm-cta { background: var(--orange); color: var(--navy); font-family: var(--kopf); font-weight: 700; text-align: center; border-radius: 100px; border: 0; margin-top: 12px; }
.mobile-menu a.mm-demo { border: 1.5px solid var(--navy); border-radius: 100px; text-align: center; margin-top: 8px; font-weight: 600; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn, .btn-primary, .btn-zweit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  font-family: var(--kopf); font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: 100px;
  white-space: nowrap; transition: background .2s, color .2s; cursor: pointer; border: 0;
}
.btn-orange, .btn-primary { background: var(--orange); color: var(--navy); }
.btn-orange:hover, .btn-primary:hover { background: #F59A4E; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #2A3D57; }
.btn-umriss, .btn-zweit { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-umriss:hover, .btn-zweit:hover { background: var(--navy); color: #fff; }

/* ─── HERO (wie Seite 1 des Zweiseiters / Postkarten-Vorderseite) ── */
.hero { padding-block: 40px 28px; }
.hero-karte { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; padding: 56px 56px 48px; position: relative; overflow: hidden; }
.hero-text { min-width: 0; }
.hero h1 { font-weight: 600; font-size: clamp(24px, 2.7vw, 32px); line-height: 1.25; color: var(--grau-hell); }
/* Startsatz: genau zwei Zeilen, auf jedem Geraet. Jede Zeile bricht nie in
   sich um ("CEMDO App" bleibt zusammen); auf dem Handy waechst die Schrift
   mit der Breite, damit "Die CEMDO App verbindet" in eine Zeile passt. */
.hero h1 .zeile { white-space: nowrap; }
.hero .gelbe-linie { margin: 22px 0 26px; }
.staffel { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.staffel li { display: flex; align-items: center; gap: 14px; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.3; color: var(--text-2); font-weight: 700; }
.staffel li small { font-size: 0.78em; font-weight: 700; }
.staffel li::before { content: ''; flex-shrink: 0; width: 26px; height: 7px; border-radius: 4px; background: var(--strich, var(--orange)); }
.staffel li:nth-child(1) { --strich: var(--orange); }
.staffel li:nth-child(2) { --strich: var(--gelb); }
.staffel li:nth-child(3) { --strich: var(--gruen); }
.staffel li:nth-child(4) { --strich: var(--balken); }
.dreiwort { margin-top: 26px; font-family: var(--kopf); font-weight: 600; font-size: 17px; color: var(--grau-hell); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--grau); }
.hero-bild { display: flex; justify-content: center; min-width: 0; }
.handy-svg { width: 100%; max-width: 270px; height: auto; overflow: visible; }

/* Leiste "vereinfacht die Arbeit. verbindet Teams. gibt den Überblick." */
.claimleiste {
  margin-top: 28px; padding-top: 14px; border-top: 3px solid var(--gelb);
  font-family: var(--kopf); font-weight: 700; font-size: clamp(16px, 1.8vw, 20px); color: #434A57; text-align: right;
}

/* ─── ABSCHNITTE ─────────────────────────────────────────────── */
.abschnitt { padding-block: 56px; }
.abschnitt-kopf { max-width: 780px; margin-bottom: 30px; }
.abschnitt-kopf h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; margin-top: 8px; }
.abschnitt-kopf p { margin-top: 12px; font-size: 18px; color: var(--grau); }

/* Rauten-Liste wie im Zweiseiter */
.rauten { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.rauten li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; }
.rauten li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; margin-top: 8px; background: var(--orange); transform: rotate(45deg); }
.rauten li b { font-weight: 600; }
.funktionen-karte { padding: 40px 44px; }

/* Drei Vertrauenskarten */
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-karte { background: var(--karte); border-radius: var(--radius-k); padding: 24px 26px; }
.mini-karte h3 { font-size: 18px; font-weight: 700; }
.mini-karte p { margin-top: 8px; font-size: 15.5px; color: var(--grau); line-height: 1.5; }
.mini-karte a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; text-decoration: none; }
.mini-karte a:hover { text-decoration: underline; }

/* Für wen — vier Karten mit Farbstrich */
.vier { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wen-karte { background: var(--karte); border-radius: var(--radius-k); padding: 24px 24px 26px; }
.wen-karte .strich { display: block; width: 26px; height: 7px; border-radius: 4px; background: var(--orange); margin-bottom: 16px; }
.wen-karte:nth-child(2) .strich { background: var(--gelb); }
.wen-karte:nth-child(3) .strich { background: var(--gruen); }
.wen-karte:nth-child(4) .strich { background: var(--balken); }
.wen-karte h3 { font-size: 22px; font-weight: 700; color: var(--text-2); }
.wen-karte h3 small { font-size: 0.78em; }
.wen-karte p { margin-top: 10px; font-size: 15.5px; color: var(--grau); line-height: 1.5; }

.souv .wen-karte h3 { font-size: 20px; color: var(--text); }

/* Für Dein Team / Kunden / Dienstleister — wie Produktblatt Seite 2 */
.beteiligte .wen-karte h3 { font-size: 20px; color: var(--text); }
.beteiligte .wen-karte:nth-child(1) .strich { background: var(--gelb); }
.beteiligte .wen-karte:nth-child(2) .strich { background: var(--gruen); }
.beteiligte .wen-karte:nth-child(3) .strich { background: var(--balken); }
.haken { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.haken li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--grau); line-height: 1.45; }
.haken li::before { content: '✓'; flex-shrink: 0; font-weight: 700; color: var(--strich-farbe, var(--gelb)); }
.beteiligte .wen-karte:nth-child(2) .haken { --strich-farbe: var(--gruen); }
.beteiligte .wen-karte:nth-child(3) .haken { --strich-farbe: var(--grau-hell); }
.souv .wen-karte:nth-child(1) .strich { background: var(--gelb); }
.souv .wen-karte:nth-child(2) .strich { background: var(--orange); }
.souv .wen-karte:nth-child(3) .strich { background: var(--gruen); }
.souv .wen-karte a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; text-decoration: none; }
.souv .wen-karte a:hover { text-decoration: underline; }

/* Planen, umsetzen, informieren — drei Spalten */
.pui { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pui-karte { background: var(--karte); border-radius: var(--radius-k); overflow: hidden; display: flex; }
.pui-karte::before { content: ''; flex-shrink: 0; width: 6px; background: var(--gelb); }
.pui-karte:nth-child(2)::before { background: var(--orange); }
.pui-karte:nth-child(3)::before { background: var(--gruen); }
.pui-inhalt { padding: 24px 24px 26px; min-width: 0; }
.pui-karte h3 { font-size: 24px; font-weight: 700; }
.pui-karte > .pui-inhalt > p { margin-top: 6px; color: var(--grau); font-size: 15.5px; }
.pui-karte .rauten { grid-template-columns: 1fr; gap: 9px; margin-top: 16px; }
.pui-karte .rauten li { font-size: 15.5px; }
.pui-karte .rauten li::before { width: 7px; height: 7px; margin-top: 7px; }

/* Screenshots aus der App */
.bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.bild-karte { background: var(--karte); border-radius: var(--radius-k); padding: 16px; min-width: 0; }
.bild-karte .rahmen { border: 1px solid var(--linie); border-radius: 10px; overflow: hidden; aspect-ratio: 2.25 / 1; max-width: 100%; }
.bild-karte .rahmen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.bild-karte h3 { margin-top: 14px; font-size: 17px; font-weight: 700; }
.bild-karte p { margin-top: 4px; font-size: 15px; color: var(--grau); line-height: 1.45; }

/* KI-Abschnitt */
.ki-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.ki-karte { padding: 32px 34px; }
.ki-karte h3 { font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.ki-karte .rauten { grid-template-columns: 1fr; gap: 11px; }
.ki-karte .rauten li { font-size: 16px; }
.plattformen { list-style: none; display: flex; flex-direction: column; gap: 0; }
.plattformen li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--linie); font-size: 16px; }
.plattformen li:last-child { border-bottom: 0; }
.plattformen li span:first-child { font-weight: 600; }
.plattformen li span:last-child { color: var(--grau); text-align: right; }
.hinweis-klein { margin-top: 14px; font-size: 14.5px; color: var(--grau); }
.lokal-ki { margin-top: 18px; display: flex; align-items: stretch; overflow: hidden; }
.lokal-ki::before { content: ''; flex-shrink: 0; width: 6px; background: var(--gruen-dunkel); }
.lokal-ki-inhalt { padding: 26px 30px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; flex: 1; min-width: 0; }
.lokal-ki h3 { font-size: 19px; font-weight: 700; }
.lokal-ki p { margin-top: 4px; color: var(--grau); max-width: 680px; font-size: 15.5px; }

.ki-einzeln { grid-template-columns: 1fr; }
.ki-einzeln .rauten { grid-template-columns: 1fr 1fr; gap: 12px 40px; }

/* Geräte */
.geraete-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.geraet-karte { padding: 28px 30px; min-width: 0; }
.geraet-karte .strich { display: block; width: 26px; height: 7px; border-radius: 4px; background: var(--orange); margin-bottom: 16px; }
.geraet-karte:nth-child(2) .strich { background: var(--gruen); }
.geraet-karte h3 { font-size: 21px; font-weight: 700; }
.geraet-karte p { margin: 8px 0 14px; color: var(--grau); font-size: 15.5px; line-height: 1.5; }

/* ─── PREISE (wie Seite 2 des Zweiseiters) ───────────────────── */
.preise { display: flex; flex-direction: column; gap: 12px; }
.preis-karte { background: var(--karte); border-radius: var(--radius-k); display: flex; overflow: hidden; }
.preis-karte::before { content: ''; flex-shrink: 0; width: 6px; background: var(--farbe, var(--gruen)); }
.preis-karte.gelb { --farbe: var(--gelb); }
.preis-karte.orange { --farbe: var(--orange); }
.preis-karte.grau { --farbe: var(--balken); }
.preis-karte.dunkelgruen { --farbe: var(--gruen-dunkel); }
.preis-inhalt { flex: 1; padding: 20px 26px; display: flex; gap: 24px; align-items: center; min-width: 0; }
.preis-text { flex: 1; min-width: 0; }
.preis-text .kicker { font-size: 11.5px; }
.preis-text h3 { margin-top: 4px; font-size: 19px; font-weight: 700; }
.preis-text p { margin-top: 4px; font-size: 15px; color: var(--grau); line-height: 1.45; }
.preis-betrag { text-align: right; white-space: nowrap; }
.preis-betrag b { display: block; font-family: var(--kopf); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.preis-betrag small { font-size: 13px; color: var(--grau-hell); }
.preis-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.preis-paar .preis-inhalt { flex-direction: column; align-items: stretch; gap: 10px; }
.preis-paar .preis-kopfzeile { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.preis-aktion { flex-shrink: 0; }
.preis-aktion .btn { padding: 11px 20px; font-size: 14px; }
.preis-aktion-gestapelt { display: flex; flex-direction: column; gap: 8px; }
.preis-aktion-gestapelt .btn { text-align: center; }
.preis-rechts { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.preis-rechts .preis-betrag { text-align: center; }
.preis-aktion-reihe { display: flex; gap: 8px; }
.preis-aktion-reihe .btn { text-align: center; white-space: nowrap; }

/* ─── DEMO ERHALTEN (Postkarten-Rückseite) ───────────────────── */
.demo-karte { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; padding: 32px 36px; }
.qr { width: 156px; height: 156px; padding: 10px; background: #fff; border: 1px solid var(--linie); border-radius: 12px; }
.qr svg { width: 100%; height: 100%; display: block; }
.demo-text h2 { font-size: 26px; font-weight: 700; color: var(--navy); }
.demo-text .unter { margin-top: 4px; font-family: var(--kopf); font-weight: 600; font-size: 18px; color: var(--grau); }
.demo-text p { margin-top: 10px; color: var(--grau); }
.demo-text .mail { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 18px; color: var(--link); text-decoration: none; user-select: all; }
.demo-aktion { display: flex; flex-direction: column; gap: 10px; }

/* ─── THEMEN ─────────────────────────────────────────────────── */
.themen-gitter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.themen-karte { background: var(--karte); border-radius: var(--radius-k); padding: 22px 20px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; border: 1.5px solid transparent; transition: border-color .2s; }
.themen-karte:hover { border-color: var(--orange); }
.themen-karte strong { font-family: var(--kopf); font-weight: 700; color: var(--text); font-size: 17px; line-height: 1.3; }
.themen-text { color: var(--grau); font-size: 15px; flex: 1; line-height: 1.45; }
.themen-mehr { color: var(--link); font-weight: 600; font-size: 15px; }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.faq-item { background: var(--karte); border-radius: 12px; padding: 0 24px; }
.faq-item summary { cursor: pointer; list-style: none; font-family: var(--kopf); font-weight: 600; font-size: 16.5px; color: var(--text); padding: 18px 32px 18px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 13px; font-size: 26px; font-weight: 400; color: var(--orange); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding-bottom: 20px; color: var(--grau); }

/* ─── KONTAKT (Visitenkarte) ─────────────────────────────────── */
.kontakt-karte { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; }
.kontakt-links { padding: 36px 40px; }
.kontakt-links .name { font-family: var(--kopf); font-weight: 700; font-size: 24px; color: var(--text); }
.kontakt-links .rolle { margin-top: 2px; font-weight: 600; color: #4A5260; }
.kontakt-links .gelbe-linie { margin: 14px 0 18px; height: 3px; }
.kontakt-links address { font-style: normal; line-height: 1.7; }
.kontakt-links .feld { display: inline-block; width: 24px; font-weight: 600; color: var(--orange); }
.kontakt-links a { color: var(--text); text-decoration: none; }
.kontakt-links a:hover { color: var(--link); }
.kontakt-rechts { background: var(--grund); margin: 10px 10px 10px 0; border-radius: 14px; padding: 32px 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.kontakt-rechts img { height: 46px; width: auto; align-self: flex-end; }
.kontakt-rechts .leistungen { font-weight: 600; color: var(--grau); line-height: 1.5; }
.kontakt-rechts .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Kontaktformular */
.kontakt-links .kicker + .gelbe-linie { margin-top: 16px; }
.kontakt-form { background: var(--grund); margin: 10px 10px 10px 0; border-radius: 14px; padding: 30px 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kontakt-form h2 { font-size: 22px; font-weight: 700; margin-bottom: 2px; }
.form-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-feld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.form-feld label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.form-feld .optional { font-weight: 400; color: var(--grau-hell); }
.form-feld input, .form-feld select, .form-feld textarea { font: inherit; font-size: 16px; color: var(--text); background: #fff; border: 1.5px solid var(--linie); border-radius: 10px; padding: 11px 13px; width: 100%; }
.form-feld textarea { resize: vertical; min-height: 120px; }
.form-feld input:focus, .form-feld select:focus, .form-feld textarea:focus { outline: none; border-color: var(--orange); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--grau); line-height: 1.45; cursor: pointer; }
.form-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--orange); flex-shrink: 0; }
.form-fuss { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 14px; flex: 1; min-width: 200px; }
.form-status.ok { color: var(--gruen-dunkel); }
.form-status.fehler { color: #B3261E; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer { margin-top: 40px; background: var(--karte); border-top: 1px solid var(--linie); }
.footer-grid { max-width: var(--breite); margin: 0 auto; padding: 48px 32px 32px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { height: 38px; width: auto; }
.footer-desc { margin-top: 14px; font-size: 15px; color: var(--grau); max-width: 340px; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grau-hell); margin-bottom: 12px; }
.footer-col a { display: block; color: var(--text-2); text-decoration: none; font-size: 15px; padding: 4px 0; }
.footer-col a:hover { color: var(--link); }
.footer-bottom { max-width: var(--breite); margin: 0 auto; padding: 18px 32px 26px; border-top: 1px solid var(--linie); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--grau-hell); }
.footer-bottom a { font-weight: 600; text-decoration: none; }

/* ─── UNTERSEITEN ────────────────────────────────────────────── */
.unterseite-kopf { padding-block: 40px 0; }
.unterseite-kopf .wrap > div { background: var(--karte); border-radius: var(--radius); padding: 44px 48px 40px; }
.unterseite-kopf .brotkrumen { color: var(--grau-hell); font-size: 14px; margin-bottom: 14px; }
.unterseite-kopf .brotkrumen a { color: var(--link); text-decoration: none; }
.unterseite-kopf h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; max-width: 900px; }
.unterseite-kopf .unterseite-kurz { color: var(--grau); font-size: 19px; max-width: 780px; margin-top: 16px; padding-top: 18px; border-top: 3px solid var(--gelb); }
.unterseite .section { max-width: 860px; margin: 20px auto 0; padding: 44px 48px 56px; background: var(--karte); border-radius: var(--radius); }
.unterseite .section h2 { font-size: 24px; font-weight: 700; margin: 36px 0 12px; }
.unterseite .section h2:first-child { margin-top: 0; }
.unterseite .section p { margin-bottom: 14px; color: #33435A; }
.unterseite .section ul { margin: 0 0 16px 22px; }
.unterseite .section > .brotkrumen, .unterseite .section > h1, .unterseite .section > .unterseite-kurz { display: none; }
.unterseite .faq-item { background: var(--grund); }
.unterseite-cta { background: var(--grund); border-radius: 14px; padding: 26px 28px; margin: 40px 0; border-left: 6px solid var(--orange); }
.unterseite .unterseite-cta h2 { margin-top: 0; }
.unterseite-cta a { margin: 8px 10px 0 0; }
.unterseite-zurueck { margin-top: 36px; }
.unterseite-zurueck a { color: var(--link); font-weight: 600; text-decoration: none; }
.unterseite-kopf .verlaufsband, .verlaufsband { display: none; }

/* ─── CHAT-WIDGET ────────────────────────────────────────────── */
.chat-widget-btn {
  position: fixed; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); right: calc(22px + var(--streifen)); z-index: 999;
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.chat-widget-btn:hover { background: #2A3D57; }
.chat-widget-box { position: fixed; bottom: 92px; right: calc(22px + var(--streifen)); z-index: 998; width: 360px; height: 520px; background: #fff; border-radius: 18px; border: 1px solid var(--linie); display: none; flex-direction: column; overflow: hidden; box-shadow: 0 18px 40px rgba(22,38,60,0.18); }
.chat-widget-box.open { display: flex; }
.chat-widget-header { background: var(--karte); padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 3px solid var(--gelb); }
.chat-bot-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--grund); display: grid; place-items: center; flex-shrink: 0; }
.chat-bot-avatar img { width: 26px; height: auto; }
.chat-bot-info h4 { font-size: 15px; }
.chat-bot-info p { font-size: 13px; color: var(--grau); }
.chat-close-btn { margin-left: auto; background: none; border: none; color: var(--grau); font-size: 20px; cursor: pointer; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--grund); }
.chat-msg-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-msg-row.user { flex-direction: row-reverse; }
.chat-msg-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.chat-msg-row.bot .chat-msg-av { background: var(--navy); color: var(--gelb); }
.chat-msg-row.user .chat-msg-av { background: var(--gruen-dunkel); color: #fff; }
.chat-bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.chat-msg-row.bot .chat-bubble { background: #fff; color: var(--text); border-bottom-left-radius: 4px; }
.chat-msg-row.user .chat-bubble { background: var(--gruen-dunkel); color: #fff; border-bottom-right-radius: 4px; }
.chat-quick-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chat-quick-btn { padding: 5px 11px; border-radius: 100px; border: 1.5px solid var(--orange); background: #fff; color: var(--link); font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit; }
.chat-quick-btn:hover { background: var(--orange); color: var(--navy); }
.chat-typing { display: flex; gap: 4px; padding: 10px 14px; background: #fff; border-radius: 16px; width: fit-content; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--grau); animation: tippen 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; } .chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes tippen { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-6px); opacity: 1; } }
.chat-input-area { padding: 12px 14px; border-top: 1px solid var(--linie); display: flex; gap: 8px; align-items: center; background: #fff; }
.chat-input { flex: 1; border: 1.5px solid var(--linie); border-radius: 10px; padding: 10px 12px; font-size: 15px; font-family: inherit; outline: none; resize: none; max-height: 80px; }
.chat-input:focus { border-color: var(--orange); }
.chat-send-btn { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); color: #fff; border: none; cursor: pointer; font-size: 16px; flex-shrink: 0; }
.chat-send-btn:disabled { opacity: .4; cursor: not-allowed; }
.chat-footer-note { text-align: center; font-size: 12px; color: var(--grau); padding: 6px; border-top: 1px solid var(--linie); background: #fff; }

/* ─── MODALE & COOKIE ────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(22,38,60,0.5); z-index: 9000; }
.modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 9100; width: min(720px, 92vw); max-height: 85vh; overflow-y: auto; background: #fff; border-radius: 18px; padding: 44px; border-top: 6px solid var(--gelb); }
.modal h2 { font-size: 26px; font-weight: 700; margin-bottom: 26px; }
.modal h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--grau-hell); margin-bottom: 8px; }
.modal p { margin-bottom: 22px; line-height: 1.7; }
.modal-close { position: sticky; top: 0; float: right; background: var(--grund); border: none; cursor: pointer; border-radius: 8px; padding: 8px 12px; font-size: 15px; color: var(--grau); font-family: inherit; }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: var(--streifen); z-index: 9999; background: #fff; color: var(--text); padding: 16px 32px calc(16px + env(safe-area-inset-bottom, 0px)); display: none; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 3px solid var(--gelb); }
.cookie-banner p { font-size: 14px; color: var(--grau); max-width: 760px; }
.cookie-banner button { background: var(--navy); color: #fff; border: none; padding: 10px 22px; border-radius: 100px; font-weight: 600; cursor: pointer; font-family: var(--kopf); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-links { gap: 16px; }
  .themen-gitter { grid-template-columns: repeat(3, 1fr); }
  .vier { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-karte { grid-template-columns: 1fr; padding: 40px 32px; }
  .hero-bild { order: -1; }
  .handy-svg { max-width: 180px; }
  .pui, .drei, .ki-grid, .geraete-grid, .bilder, .preis-paar, .kontakt-karte { grid-template-columns: 1fr; }
  .demo-karte { grid-template-columns: auto 1fr; }
  .demo-aktion { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .preis-inhalt:has(.preis-rechts) { flex-wrap: wrap; }
  .preis-inhalt:has(.preis-rechts) .preis-text { flex-basis: 100%; }
  .kontakt-rechts, .kontakt-form { margin: 0 10px 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --streifen: 6px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  nav { padding: 12px 16px; min-height: 66px; }
  .nav-logo img { height: 42px; }
  .mobile-menu { top: 66px; }
  .hero { padding-block: 20px 12px; }
  .hero-karte { padding: 30px 22px; }
  .hero h1 { font-size: clamp(17px, 5.6vw, 24px); }
  .hero-btns .btn { width: 100%; }
  .claimleiste { text-align: left; }
  .abschnitt { padding-block: 40px; }
  .funktionen-karte, .ki-karte { padding: 26px 22px; }
  .rauten, .ki-einzeln .rauten { grid-template-columns: 1fr; }
  .vier, .themen-gitter { grid-template-columns: 1fr; }
  .preis-inhalt { flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 20px; }
  .preis-betrag { text-align: left; }
  .preis-aktion .btn { width: 100%; }
  .preis-rechts { align-items: stretch; }
  .preis-rechts .preis-betrag { text-align: left; }
  .preis-aktion-reihe { flex-direction: column; }
  /* Am Telefon untereinander: Umbruch und Breite aus dem 960er-Block zuruecknehmen,
     sonst bricht die Spalte in eine zweite Spalte rechts daneben um */
  .preis-inhalt:has(.preis-rechts) { flex-wrap: nowrap; }
  .preis-inhalt:has(.preis-rechts) .preis-text { flex-basis: auto; }
  .demo-karte { grid-template-columns: 1fr; padding: 26px 22px; justify-items: start; }
  .qr { width: 140px; height: 140px; }
  .demo-aktion .btn { width: 100%; }
  .kontakt-links, .kontakt-rechts, .kontakt-form { padding: 26px 22px; }
  .form-zeile { grid-template-columns: 1fr; }
  .form-fuss .btn { width: 100%; }
  .kontakt-rechts img { align-self: flex-start; }
  .kontakt-rechts .btns { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; padding: 40px 16px 24px; }
  .footer-bottom { padding: 16px; }
  .unterseite-kopf .wrap > div { padding: 28px 22px; }
  .unterseite .section { padding: 28px 22px 40px; margin-inline: 16px; }
  .chat-widget-box { right: 12px; left: 12px; width: auto; bottom: 86px; height: 70vh; }
  .modal { padding: 28px 22px; }
  .cookie-banner { padding-inline: 16px; }
}
