/* =====================================================================
   SkyBits – gemeinsames Stylesheet der Webseite (Redesign Oktober 2026)
   Gilt für Startseite, alle Landingpages, Rechtsseiten und Formulare.
   Dashboard/CRM haben ein eigenes Design (Midnight Blue) – nicht mischen.
   ===================================================================== */

/* ─── Schriften (lokal, kein Google-Fonts-Aufruf wegen DSGVO) ─────────── */
@font-face {
  font-family: 'Archivo';
  src: url(/fonts/archivo-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  font-weight: 400 500;
  font-display: swap;
}

/* ─── Farben ──────────────────────────────────────────────────────────── */
:root {
  --bg: #F2F0EB;        /* Papier-Hintergrund */
  --bg-alt: #E9E6DF;    /* abgesetzte helle Abschnitte */
  --ink: #161616;       /* Text auf hell */
  --dark: #121212;      /* dunkle Flächen */
  --accent: #0EA5E9;    /* SkyBits-Blau */
  --link: #0369A1;      /* Blau für Text-Links auf hell (Kontrast) */
  --muted: #57534E;     /* Nebentext */
  --line: #BDB8AD;
  --line-soft: #D5D0C6;
  --ph: #D9D5CC;        /* Bildfläche */
  --d-line: #3A3A38;    /* Linien auf dunkel */
  --d-muted: #A8A29E;
  --d-text: #D6D3CD;
  --bad: #B42318;       /* „Nein" in Tabellen */
  --warn: #B45309;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { opacity: .85; }
h1, h2, h3, p { text-wrap: pretty; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mono, .font-mono { font-family: var(--mono); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 60; padding: 10px 16px; background: var(--accent); color: var(--dark); font-weight: 700; }
.skip:focus { left: 12px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.sec { padding-top: clamp(72px, 9vw, 128px); }
.h2 { margin: 0; font-size: clamp(36px, 4.8vw, 68px); line-height: .95; letter-spacing: -.035em; font-weight: 800; font-stretch: 72%; }
.dark { background: var(--dark); color: var(--bg); }

/* Formatierungen, die in den Seiteninhalten (seo-build/pages-*.js) vorkommen */
.text-gradient-blue { color: var(--accent); }
.text-white { font-weight: 700; }
.text-red-400 { color: var(--bad); font-weight: 600; }
.text-amber-400 { color: var(--warn); font-weight: 600; }
.text-sky-300, .text-sky-400 { color: var(--link); font-weight: 600; }
.dark .text-red-400 { color: #F97066; }
.dark .text-amber-400 { color: #FDB022; }
.dark .text-sky-300, .dark .text-sky-400 { color: var(--accent); }

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); opacity: 1; }
.btn-accent { min-height: 56px; padding: 0 28px; background: var(--accent); color: var(--dark); font-size: 17px; }
.btn-line { min-height: 48px; padding: 0 22px; border: 1.5px solid var(--ink); color: var(--ink); font-size: 16px; }
.btn-dark { min-height: 48px; padding: 0 22px; background: var(--dark); color: var(--bg); font-size: 16px; }
.btn-ghost { min-height: 56px; padding: 0 26px; border: 1.5px solid var(--d-line); color: var(--bg); font-size: 17px; }
.btn-ghost:hover { border-color: var(--bg); }

/* ─── Kopfzeile ───────────────────────────────────────────────────────── */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 22px 0; border-bottom: 1px solid var(--d-line); }
.logo { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-stretch: 85%; text-decoration: none; }
.logo i { width: 14px; height: 14px; background: var(--accent); }
.nav { display: flex; gap: 6px 28px; font-size: 16px; color: var(--d-text); }
.nav a { text-decoration: none; white-space: nowrap; }
.top-cta { display: flex; align-items: center; gap: 12px 24px; }
.top-cta .tel { font-size: 16px; font-weight: 600; text-decoration: none; }
.top-cta .btn { min-height: 44px; padding: 0 20px; background: var(--bg); color: var(--dark); font-size: 15px; }
/* Handy: Logo + Anfrage oben, Menü darunter wischbar */
@media (max-width: 879px) {
  .top { gap: 14px 16px; padding: 16px 0 0; }
  .top-cta .tel { display: none; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding: 4px 0 14px; gap: 22px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
}

/* ─── Startseite: Hero ────────────────────────────────────────────────── */
.hero { padding-bottom: clamp(120px, 16vw, 220px); }
.hero-grid { display: flex; flex-wrap: wrap; gap: 32px 64px; padding: clamp(48px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); align-items: flex-end; }
.hero h1 { flex: 3 1 560px; min-width: 0; margin: 0; font-size: clamp(52px, 9vw, 132px); line-height: .9; letter-spacing: -.04em; font-weight: 800; font-stretch: 70%; }
.hero h1 span { color: var(--accent); }
.hero-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: 10px; }
.hero-side p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--d-text); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero-actions .price { font-size: 17px; font-weight: 500; text-underline-offset: 5px; }

/* Live-Verbindungslinie */
.link-line { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 24px 0; border-top: 1px solid var(--d-line); }
.link-end { display: flex; flex-direction: column; gap: 4px; min-width: 180px; }
.link-end small { font-family: var(--mono); font-size: 12px; color: var(--d-muted); }
.link-end b { font-size: 18px; font-weight: 700; }
.link-end .ip { font-family: var(--mono); display: flex; align-items: center; gap: 10px; }
.link-end .ip i { width: 8px; height: 8px; background: var(--accent); }
.track { flex: 1 1 240px; position: relative; height: 14px; }
.tunnel { position: absolute; left: 0; right: 0; top: 6px; height: 2px; background-image: linear-gradient(90deg, #5A5A57 0 14px, transparent 14px 28px); background-size: 28px 2px; }
.packet { position: absolute; top: 0; width: 14px; height: 14px; background: var(--accent); }
.packet.d2 { background: var(--bg); animation-delay: 1.4s; }

@keyframes sb-packet { 0% { left: 0; opacity: 0 } 8% { opacity: 1 } 92% { opacity: 1 } 100% { left: calc(100% - 14px); opacity: 0 } }
@keyframes sb-dash { to { background-position: 28px 0 } }
@keyframes sb-marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes sb-blink { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
.packet { animation: sb-packet 2.8s cubic-bezier(.65, 0, .35, 1) infinite; }
.tunnel { animation: sb-dash 1.2s linear infinite; }
.blink { animation: sb-blink 1.6s ease-in-out infinite; }

/* ─── Foto, das in den dunklen Hero ragt + Eckdaten ───────────────────── */
.photo { margin-top: calc(-1 * clamp(100px, 14vw, 190px)); position: relative; }
.photo figure { margin: 0; }
.photo img { width: 100%; aspect-ratio: 21 / 9; min-height: 240px; object-fit: cover; background: var(--ph); }
.photo figcaption { padding: 12px 0; font-size: 14px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.facts p { margin: 0; padding: 22px 24px; font-size: 17px; line-height: 1.4; border-right: 1px solid var(--line); }
.facts p:first-child { padding-left: 0; }
.facts p:last-child { border-right: 0; }
.facts strong { font-weight: 700; }
@media (max-width: 559px) {
  .facts p { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts p:last-child { border-bottom: 0; }
}

/* ─── Zwei-Spalten-Abschnitt: Überschrift links, Inhalt rechts ────────── */
.problem, .split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.problem .h2 { flex: 1 1 340px; min-width: 0; }
.problem-text { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px 40px; font-size: 18px; line-height: 1.6; }
.problem-text p { margin: 0; }

/* Kurz erklärt: zitierfähiger Antwortblock + Vergleich (GEO) */
.explain { display: flex; flex-wrap: wrap; gap: 32px 64px; margin-top: clamp(56px, 7vw, 96px); padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 9vw, 128px); border-top: 1.5px solid var(--ink); }
.explain h2, .split-head { flex: 1 1 340px; min-width: 0; margin: 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1; letter-spacing: -.03em; font-weight: 800; font-stretch: 72%; }
.explain-body, .split-body { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.explain-body { gap: 32px; }
.explain-body > p, .split-body > p { margin: 0; font-size: 18px; line-height: 1.6; }
.explain-body .more, .split-body .more { font-size: 16px; font-weight: 700; text-underline-offset: 4px; }

/* Tabellen */
.compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.compare caption { text-align: left; padding-bottom: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.compare th, .compare td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.compare thead th { font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); border-bottom-color: var(--line); }
.compare tbody th, .compare tbody td:first-child { font-weight: 700; }
.compare tr.us th, .compare tr.us td { background: var(--accent); color: var(--dark); border-bottom: 0; }
.compare tr.us th { padding-left: 12px; }

/* ─── Laufband ────────────────────────────────────────────────────────── */
.marquee { background: var(--accent); color: var(--dark); overflow: hidden; border-top: 1.5px solid var(--dark); border-bottom: 1.5px solid var(--dark); }
.marquee div { display: flex; width: max-content; gap: 48px; padding: 18px 0; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; font-stretch: 75%; letter-spacing: -.01em; white-space: nowrap; animation: sb-marquee 38s linear infinite; }

/* ─── So läuft die Verbindung ─────────────────────────────────────────── */
.flow-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 56px; }
.flow-head p { margin: 0; max-width: 400px; font-size: 17px; line-height: 1.5; color: var(--d-text); }
.chain { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 2px; background: var(--d-line); border: 2px solid var(--d-line); }
.chain > div { padding: 24px 22px 28px; background: var(--dark); display: flex; flex-direction: column; gap: 10px; }
.chain small { font-family: var(--mono); font-size: 12px; color: var(--d-muted); }
.chain b { font-size: 21px; font-weight: 700; }
.chain > .on { background: var(--accent); color: var(--dark); }
.chain .on small { color: var(--dark); }
.chain .on .track { display: block; flex: none; height: 10px; margin-top: 6px; }
.chain .on .tunnel { top: 4px; background-image: linear-gradient(90deg, var(--dark) 0 14px, transparent 14px 28px); }
.chain .on .packet { top: -2px; background: var(--dark); }
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px 48px; padding-bottom: clamp(72px, 9vw, 128px); }
.steps > div, .steps > li { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--d-line); }
.steps .n { font-size: 96px; line-height: .8; font-weight: 800; font-stretch: 65%; color: var(--accent); }
.steps h3 { margin: 0; font-size: 23px; font-weight: 700; }
.steps p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--d-text); }
ol.steps { list-style: none; padding-left: 0; }

/* ─── Pakete ──────────────────────────────────────────────────────────── */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 40px; }
.sec-head .h2 { max-width: 780px; }
.sec-head p { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.5; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.plan { padding: 28px; background: var(--bg); display: flex; flex-direction: column; gap: 20px; }
.plan img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #E4E0D7; }
.plan-name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan h3 { margin: 0; font-size: 34px; font-weight: 800; font-stretch: 72%; }
.plan-name span { font-size: 16px; }
.plan .cost { margin: 0; font-size: 17px; line-height: 1.4; }
.plan .cost b { font-size: 48px; font-weight: 800; letter-spacing: -.03em; font-stretch: 80%; }
.plan .cost span { color: var(--muted); }
.plan dl { margin: 0; display: grid; grid-template-columns: auto 1fr; font-size: 15px; border-top: 1px solid var(--line); }
.plan dt { padding: 10px 16px 10px 0; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.plan dd { margin: 0; padding: 10px 0; text-align: right; border-bottom: 1px solid var(--line-soft); }
.plan dd.mono { font-size: 14px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.hl { background: var(--accent); color: var(--dark); }
.plan.hl .cost span, .plan.hl dt { color: inherit; }
.plan.hl dl { border-top-color: rgba(18, 18, 18, .4); }
.plan.hl dt, .plan.hl dd { border-bottom-color: rgba(18, 18, 18, .25); }
.plans-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 20px 0; border-bottom: 1.5px solid var(--ink); font-size: 16px; line-height: 1.5; }
.plans-foot a { font-weight: 700; text-underline-offset: 4px; }
.plans-foot .note { color: var(--muted); }

/* ─── Einsätze / verlinkte Zeilen ─────────────────────────────────────── */
.rows { border-top: 1.5px solid var(--ink); }
.row { display: flex; flex-wrap: wrap; gap: 8px 48px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; text-decoration: none; color: var(--ink); transition: background .2s, padding .2s; }
.row:last-child { border-bottom: 1.5px solid var(--ink); }
.row h3 { flex: 1 1 320px; margin: 0; font-size: clamp(24px, 2.8vw, 36px); font-weight: 800; font-stretch: 78%; letter-spacing: -.02em; }
.row p { flex: 2 1 420px; margin: 0; font-size: 17px; line-height: 1.5; }
.row .arr { font-size: 24px; font-weight: 700; opacity: 0; transform: translateX(-10px); transition: opacity .2s, transform .2s; }
.row:hover { background: var(--accent); padding-left: 20px; padding-right: 20px; opacity: 1; }
.row:hover .arr { opacity: 1; transform: none; }

/* ─── Über mich ───────────────────────────────────────────────────────── */
.about { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.about figure { flex: 1 1 360px; min-width: 0; margin: 0; position: relative; }
.about figure::before { content: ''; position: absolute; left: -14px; top: -14px; width: 45%; height: 45%; background: var(--accent); }
/* Platzhalter bis ein echtes Foto da ist – dann durch <img> ersetzen */
.portrait { position: relative; width: 100%; aspect-ratio: 4 / 5; background: var(--dark); color: var(--bg); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: clamp(20px, 3vw, 32px); }
.portrait b { font-size: clamp(44px, 6vw, 84px); line-height: .9; font-weight: 800; font-stretch: 70%; letter-spacing: -.04em; }
.portrait small { font-family: var(--mono); font-size: 12px; color: var(--d-muted); }
.portrait-img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; background: var(--ph); }
.about figcaption { padding-top: 10px; font-size: 14px; color: var(--muted); }
.about-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.about-text p { margin: 0; font-size: 19px; line-height: 1.6; }
.about-text .claim { font-size: 26px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
.ref { margin-top: 12px; padding: 24px; background: var(--dark); color: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.ref small { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.about-text .ref p { font-size: 17px; line-height: 1.55; }

/* ─── Fragen ──────────────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 0 56px; border-top: 1.5px solid var(--ink); }
.faq > div { padding: 24px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.faq h3 { margin: 0; font-size: 20px; font-weight: 700; }
.faq p { margin: 0; font-size: 17px; line-height: 1.55; }

/* ─── Kontakt ─────────────────────────────────────────────────────────── */
.contact { background: var(--accent); color: var(--dark); border-top: 1.5px solid var(--dark); margin-top: clamp(72px, 9vw, 128px); }
.contact .wrap { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); display: flex; flex-wrap: wrap; gap: 48px 72px; }
.contact-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-text h2 { margin: 0; font-size: clamp(40px, 5.6vw, 80px); line-height: .92; letter-spacing: -.04em; font-weight: 800; font-stretch: 70%; }
.contact-text p { margin: 0; font-size: 19px; line-height: 1.55; max-width: 560px; }
.contact-text .big-tel { font-size: clamp(34px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.02em; font-stretch: 78%; text-decoration: none; line-height: 1; }
.contact-text .alt { font-size: 17px; line-height: 1.6; }
.contact-text .alt a { font-weight: 700; text-underline-offset: 4px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.contact .btn-line { border-color: var(--dark); color: var(--dark); min-height: 56px; font-size: 17px; }
.form { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px 20px; align-content: start; padding: clamp(24px, 3vw, 36px); background: var(--dark); color: var(--bg); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea, .field select { min-height: 50px; padding: 0 14px; border: 1px solid #5A5A57; border-radius: 0; background: #1E1E1D; color: var(--bg); font: inherit; font-size: 16px; }
.field textarea { padding: 12px 14px; resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot span { font-size: 14px; line-height: 1.5; max-width: 320px; color: var(--d-text); }
.form button { min-height: 52px; padding: 0 28px; border: none; border-radius: 0; background: var(--accent); color: var(--dark); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; transition: transform .15s; }
.form button:hover { transform: translateY(-2px); }

/* Hinweis nach dem Absenden */
.hint { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; width: calc(100% - 32px); max-width: 460px; background: var(--dark); color: var(--bg); border: 2px solid var(--accent); padding: 18px 20px; font-size: 15px; line-height: 1.5; }
.hint div { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hint a { color: var(--accent); font-weight: 700; text-decoration: none; }
.hint button { margin-left: auto; background: none; border: 0; color: var(--d-muted); font: inherit; font-size: 14px; cursor: pointer; }

/* ─── Fußzeile ────────────────────────────────────────────────────────── */
footer { background: var(--dark); color: var(--d-text); }
footer .wrap { padding-top: 56px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 32px; font-size: 15px; line-height: 1.8; }
.foot-grid > * { display: flex; flex-direction: column; }
.foot-grid a { text-decoration: none; }
.foot-grid .t { font-weight: 700; margin-bottom: 4px; color: var(--bg); }
.foot-logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; font-stretch: 85%; margin-bottom: 8px; color: var(--bg); }
.foot-logo i { width: 11px; height: 11px; background: var(--accent); }
.wordmark { margin-top: 48px; font-size: clamp(80px, 18vw, 260px); line-height: .8; font-weight: 800; letter-spacing: -.05em; font-stretch: 70%; color: var(--bg); overflow: hidden; white-space: nowrap; }
.wordmark span { color: var(--accent); }
.copy { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--d-line); font-size: 14px; color: var(--d-muted); }

/* =====================================================================
   Unterseiten (seo-build/layout.js)
   ===================================================================== */

/* Hero der Unterseiten */
.lp-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.lp-hero.has-photo { padding-bottom: clamp(120px, 16vw, 220px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; padding-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--d-muted); }
.crumbs a { text-decoration: none; color: var(--d-text); }
.crumbs a:hover { color: var(--accent); opacity: 1; }
.lp-grid { display: flex; flex-wrap: wrap; gap: 28px 64px; padding: clamp(40px, 6vw, 80px) 0 0; align-items: flex-end; }
.lp-grid .label { flex-basis: 100%; margin: 0; font-family: var(--mono); font-size: 13px; color: var(--accent); }
.lp-hero h1 { flex: 3 1 560px; min-width: 0; margin: 0; font-size: clamp(44px, 7.2vw, 108px); line-height: .92; letter-spacing: -.04em; font-weight: 800; font-stretch: 70%; }
.lp-side { flex: 2 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-bottom: 8px; }
.lp-side p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--d-text); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 22px 0 0; border-top: 1px solid var(--d-line); list-style: none; font-size: 15px; color: var(--d-text); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ''; width: 8px; height: 8px; background: var(--accent); flex: none; }

/* Allgemeiner Abschnitt der Unterseiten */
.block { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.block.joined { padding-top: 0; }
.block.joined > .wrap { position: relative; padding-top: clamp(40px, 5vw, 64px); }
.block.joined > .wrap::before { content: ''; position: absolute; top: 0; left: clamp(16px, 4vw, 40px); right: clamp(16px, 4vw, 40px); border-top: 1.5px solid var(--ink); }
.block.alt { background: var(--bg-alt); }
.split-body ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.split-body li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; line-height: 1.5; }
.split-body li::before { content: ''; width: 8px; height: 8px; margin-top: 8px; background: var(--accent); flex: none; }
.split-body a, .faq a, .cells a, .answer a { color: var(--link); font-weight: 600; text-underline-offset: 3px; }
.note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Antwortblock mit Autor und Datum (GEO / E-E-A-T) */
.answer .split-body > p:first-of-type { font-size: 20px; line-height: 1.55; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.byline a { color: inherit; font-weight: 500; }

/* Kacheln */
/* Linien über Ränder statt Hintergrund – sonst bliebe bei unvollständigen Reihen eine schwarze Fläche */
.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.cells > div { padding: 28px 26px 32px; display: flex; flex-direction: column; gap: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.cells small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cells h3 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.05; font-weight: 800; font-stretch: 75%; letter-spacing: -.02em; }
.cells p { margin: 0; font-size: 16px; line-height: 1.55; }

/* Portal-Abschnitt (dunkel, mit Screenshot) */
.portal { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.portal-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.portal-text .label { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.portal-text h2 { margin: 0; font-size: clamp(32px, 3.8vw, 52px); line-height: .98; letter-spacing: -.03em; font-weight: 800; font-stretch: 72%; }
.portal-text > p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--d-text); }
.portal-text ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--d-line); }
.portal-text li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--d-line); font-size: 16px; line-height: 1.5; color: var(--d-text); }
.portal-text li::before { content: ''; width: 8px; height: 8px; margin-top: 7px; background: var(--accent); flex: none; }
.portal-text .demo { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--d-muted); }
.portal figure { flex: 1 1 480px; min-width: 0; margin: 0; }
.portal figure img { width: 100%; border: 2px solid var(--d-line); }
.portal figcaption { padding-top: 10px; font-size: 14px; color: var(--d-muted); }

/* Rechtstexte und Formularseite */
.doc { max-width: 820px; }
.doc h2 { margin: 48px 0 12px; font-size: 26px; line-height: 1.15; font-weight: 800; font-stretch: 80%; letter-spacing: -.01em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin: 28px 0 8px; font-size: 19px; font-weight: 700; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc a { color: var(--link); font-weight: 600; text-underline-offset: 3px; word-break: break-word; }
.doc .lead-note { margin: 0 0 40px; padding: 20px 24px; background: var(--dark); color: var(--bg); }
.page-form { max-width: 760px; }

/* =====================================================================
   Portal-Demo (seo-build/demo.js) – Vollbild-App, erfundene Daten, Handy zuerst
   ===================================================================== */
button.btn { font: inherit; cursor: pointer; border-radius: 0; }
button.btn-dark { border: 0; }
button.btn-line { background: transparent; }
button.btn:disabled { opacity: .4; cursor: default; transform: none; }
[hidden] { display: none !important; }

.pd-note { margin: 0; padding: 16px 20px; background: var(--dark); color: var(--bg); font-size: 15px; line-height: 1.55; }
.pd-note b { color: var(--accent); }
.pd-flag { padding: 3px 8px; border: 1px solid var(--accent); color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.pd-ghost { padding: 8px 14px; border: 1.5px solid var(--d-line); background: none; color: var(--d-text); font: inherit; font-size: 14px; cursor: pointer; }
.pd-ghost:hover { border-color: var(--bg); color: var(--bg); }
.pd-ghost.dark { border-color: var(--ink); color: var(--ink); }
.pd-ghost.dark:hover { background: var(--accent); border-color: var(--accent); }
.pd-link { padding: 0; border: 0; background: none; color: var(--link); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }

/* Login */
.pd-login { position: fixed; inset: 0; z-index: 50; overflow-y: auto; display: grid; place-items: center; padding: 16px; background: var(--bg); }
.pd-login-box { width: min(460px, 100%); display: flex; flex-direction: column; gap: 20px; }
.pd-back { font-size: 13px; color: var(--muted); text-decoration: none; }
.pd-wm { margin: 0; font-size: clamp(72px, 20vw, 120px); line-height: .8; font-weight: 800; font-stretch: 70%; letter-spacing: -.05em; }
.pd-wm span { color: var(--accent); }
.pd-login-h { margin: 0; font-size: 24px; font-weight: 800; font-stretch: 80%; }
.pd-login-h span { margin-left: 8px; padding: 2px 8px; background: var(--accent); font-family: var(--mono); font-size: 12px; font-weight: 500; vertical-align: middle; }
.pd-login .form { flex: none; padding: 22px; }
.pd-login-foot { margin: 0; font-size: 12px; color: var(--muted); }

/* Gerüst: Seitenleiste + Inhalt */
.pd-wrap { display: flex; min-height: 100dvh; }
.pd-side { position: fixed; inset: 0 auto 0 0; z-index: 40; width: 270px; display: flex; flex-direction: column; background: var(--dark); color: var(--d-text); transform: translateX(-100%); transition: transform .25s ease; }
.pd-side.open { transform: none; }
.pd-shade { position: fixed; inset: 0; z-index: 30; background: rgba(18, 18, 18, .55); }
.pd-side-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px; border-bottom: 1px solid var(--d-line); }
.pd-brand { display: flex; align-items: center; gap: 10px; color: var(--bg); font-size: 24px; font-weight: 800; font-stretch: 85%; letter-spacing: -.03em; }
.pd-brand i { width: 12px; height: 12px; background: var(--accent); }
.pd-nav { display: flex; flex-direction: column; padding: 16px 0; }
.pd-nav button { padding: 14px 20px; border: 0; border-left: 4px solid transparent; background: none; color: var(--d-text); font: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; transition: background .2s; }
.pd-nav button:hover { background: #1E1E1D; }
.pd-nav button[aria-current="page"] { background: #1E1E1D; border-left-color: var(--accent); color: var(--bg); }
.pd-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 18px; padding: 20px; border-top: 1px solid var(--d-line); }
.pd-side-foot .btn { min-height: 48px; justify-content: center; font-size: 15px; }
.pd-user { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-user span { display: flex; flex-direction: column; color: var(--bg); font-size: 14px; }
.pd-user small { color: var(--accent); font-size: 11px; }
@media (min-width: 1000px) {
  .pd-side { position: sticky; top: 0; height: 100dvh; flex: none; transform: none; transition: none; }
  .pd-menu, .pd-shade { display: none !important; }
}
.pd-main { flex: 1; min-width: 0; }
.pd-top { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px clamp(16px, 3vw, 32px); background: var(--bg); border-bottom: 2px solid var(--ink); }
.pd-menu { padding: 8px 14px; border: 1.5px solid var(--ink); background: none; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.pd-title { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 800; font-stretch: 75%; letter-spacing: -.02em; }
.pd-chip { display: flex; align-items: center; gap: 8px; padding: 4px 10px; border: 1.5px solid var(--ink); font-size: 12px; }
.pd-chip i, .pd-live i { width: 8px; height: 8px; background: var(--accent); animation: sb-blink 1.6s ease-in-out infinite; }
.pd-clock { margin-left: auto; font-size: 12px; color: var(--muted); }
@media (max-width: 559px) { .pd-clock { display: none; } }
.pd-view { padding: clamp(16px, 3vw, 32px); display: flex; flex-direction: column; gap: 24px; }

/* Kästen */
.pd-card { border: 2px solid var(--ink); background: var(--bg); min-width: 0; }
.pd-card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1.5px solid var(--ink); font-size: 15px; font-weight: 700; }
.pd-card-b { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.pd-card.dark { background: var(--dark); color: var(--bg); border-color: var(--dark); }
.pd-card.dark .pd-card-h { border-bottom-color: var(--d-line); }
.pd-card.dark p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--d-text); }
.pd-card.dark p b { color: var(--bg); }
.pd-card.dark .acc { color: var(--accent); }
.pd-card.dark .btn { min-height: 48px; font-size: 15px; justify-content: center; }
.pd-live { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--link); text-transform: uppercase; }

/* Kennzahlen */
.pd-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.pd-kpis > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.pd-kpis small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pd-kpis b { font-size: clamp(34px, 5vw, 56px); line-height: 1; font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pd-kpis b span { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pd-kpis.three > div:last-child { grid-column: 1 / -1; }
@media (min-width: 880px) {
  .pd-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pd-kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd-kpis.three > div:last-child { grid-column: auto; }
  .pd-kpis > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
}

/* Übersicht */
.pd-ov { display: grid; gap: 24px; }
.pd-ov-side { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 900px) { .pd-ov-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; } }
@media (min-width: 1600px) { .pd-ov { grid-template-columns: minmax(0, 2.4fr) minmax(340px, 1fr); align-items: start; } .pd-ov-side { display: flex; } }
.pd-alert { padding: 14px 18px; border-left: 6px solid var(--bad); background: var(--bg-alt); font-size: 15px; line-height: 1.55; }
.pd-alert b { display: block; margin-bottom: 2px; }

/* Standortliste: auf dem Handy als Block je Standort, ab 1000px als Tabelle */
.pd-head { display: none; }
.pd-sites { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.pd-site { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "state seen" "name name" "ip line" "strip strip"; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.pd-state { grid-area: state; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.pd-state i { width: 10px; height: 10px; flex: none; background: var(--accent); }
.is-online .pd-state i { animation: sb-blink 1.6s ease-in-out infinite; }
.is-backup .pd-state i { background: var(--warn); }
.is-off .pd-state i { background: var(--bad); }
.is-off .pd-state, .is-off .pd-seen { color: var(--bad); }
.pd-name { grid-area: name; display: flex; flex-direction: column; gap: 2px; }
.pd-name b { font-size: 17px; font-weight: 700; }
.pd-name em { margin-left: 6px; padding: 1px 6px; background: var(--bg-alt); font-family: var(--mono); font-size: 11px; font-style: normal; font-weight: 500; vertical-align: 2px; }
.pd-name small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pd-ip { grid-area: ip; font-size: 14px; }
.pd-line { grid-area: line; font-size: 15px; text-align: right; }
.pd-seen { grid-area: seen; font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.pd-strip { grid-area: strip; display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; height: 16px; }
.pd-strip i, .pd-legend i { background: var(--accent); }
.pd-strip i.warn, .pd-legend i.warn { background: var(--warn); }
.pd-strip i.bad, .pd-legend i.bad { background: var(--bad); }
@media (min-width: 1000px) {
  .pd-head, .pd-site { grid-template-columns: 120px minmax(0, 1.6fr) 120px minmax(0, 1fr) 90px 150px; grid-template-areas: "state name ip line seen strip"; gap: 14px; }
  .pd-head { display: grid; padding-bottom: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
  .pd-line, .pd-seen { text-align: left; }
}
.pd-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; font-size: 13px; color: var(--muted); }
.pd-legend span { display: flex; align-items: center; gap: 8px; }
.pd-legend i { width: 10px; height: 10px; }

/* Karte (SVG aus seo-build/map.js) */
.pd-map { display: block; width: 100%; height: auto; background: var(--bg); }
.pd-map .land path { fill: #E4E0D7; stroke: var(--line); stroke-width: .8; vector-effect: non-scaling-stroke; }
.pd-map .land path.de { fill: #D5D0C6; stroke: var(--ink); stroke-width: 1.2; }
.pd-map .dot { cursor: pointer; outline: none; }
.pd-map .dot rect { fill: var(--accent); stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pd-map .dot .halo { fill: var(--accent); stroke: none; opacity: .28; }
.pd-map .dot.is-online .halo { animation: sb-blink 1.6s ease-in-out infinite; }
.pd-map .dot.is-backup rect { fill: var(--warn); }
.pd-map .dot.is-off rect { fill: var(--bad); }
.pd-map .dot.is-backup .halo, .pd-map .dot.is-off .halo { opacity: 0; }
.pd-map .dot.sel .halo, .pd-map .dot:focus-visible .halo { opacity: 1; fill: none; stroke: var(--ink); stroke-width: 2; animation: none; }
#map-mini { cursor: pointer; max-height: 440px; }
.pd-mapview { display: grid; gap: 24px; }
@media (min-width: 1100px) { .pd-mapview { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.pd-mapside { display: flex; flex-direction: column; gap: 16px; }
.pd-info { display: grid; grid-template-columns: auto 1fr; margin: 0; padding: 4px 16px 12px; font-size: 15px; }
.pd-info dt { padding: 9px 16px 9px 0; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.pd-info dd { margin: 0; padding: 9px 0; text-align: right; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.pd-mlist { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.pd-mlist button { width: 100%; display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 12px; padding: 11px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.pd-mlist button:hover, .pd-mlist button[aria-pressed="true"] { background: var(--accent); }
.pd-mlist i { width: 10px; height: 10px; background: var(--accent); }
.pd-mlist button[aria-pressed="true"] i { outline: 2px solid var(--dark); }
.pd-mlist .is-backup i { background: var(--warn); }
.pd-mlist .is-off i { background: var(--bad); }
.pd-mlist small { font-size: 12px; color: var(--muted); }

/* Failover-Test */
.pd-fo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.pd-fo-head h3 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 38px); line-height: 1; font-weight: 800; font-stretch: 75%; letter-spacing: -.02em; }
.pd-fo-head p { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.55; }
.pd-fo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-diagram { display: grid; gap: 14px; padding: clamp(16px, 3vw, 28px); border: 2px solid var(--ink); }
@media (min-width: 900px) { .pd-diagram { grid-template-columns: auto minmax(0, 1.4fr) auto minmax(0, 1fr) auto; align-items: center; gap: 18px; } }
.pd-node { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border: 1.5px solid var(--ink); }
.pd-node small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pd-node b { font-size: 18px; }
.pd-node.acc { background: var(--accent); border-color: var(--accent); }
.pd-node.acc small { color: var(--dark); }
.pd-node.dark { background: var(--dark); border-color: var(--dark); color: var(--bg); }
.pd-node.dark small { color: var(--d-muted); }
.pd-wires { display: flex; flex-direction: column; gap: 12px; }
.pd-wires span { display: flex; align-items: center; gap: 10px; }
.pd-wires em { width: 76px; flex: none; font-size: 12px; font-style: normal; color: var(--muted); }
.pd-wire { flex: 1; height: 3px; background: var(--line-soft); }
.pd-wire.on { background-image: linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 28px); background-size: 28px 3px; animation: sb-dash 1.2s linear infinite; }
.pd-wire.dead { background: var(--bad); }
.pd-ipline { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-ipbadge, .pd-timer { padding: 10px 16px; border: 2px solid var(--ink); font-size: 14px; }
.pd-ipbadge b { margin-left: 10px; color: var(--link); }
.pd-ipbadge b.warn { color: var(--warn); }
.pd-timer { border-color: var(--warn); color: var(--warn); }
.pd-fo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px 40px; }
.pd-fo-grid h4 { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.pd-fo-grid h4 .mono { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.pd-spark { display: block; width: 100%; height: 150px; background: var(--bg-alt); border-top: 1.5px solid var(--ink); }
.pd-spark polyline, .pd-chart polyline { stroke: var(--link); }
.pd-log { max-height: 170px; overflow-y: auto; margin: 0; padding: 12px 14px; list-style: none; background: var(--dark); color: var(--d-text); font-size: 12.5px; line-height: 1.7; }
.pd-log li { white-space: pre-wrap; }
.pd-card.dark .pd-log { padding: 0; }
.pd-log .warn { color: #FDB022; }
.pd-log .ok { color: var(--accent); }

/* Berichte */
.pd-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.pd-chart { display: block; width: 100%; height: auto; }
.pd-chart rect.ok { fill: var(--accent); }
.pd-chart rect.warn { fill: var(--warn); }
.pd-chart text { font-family: var(--mono); font-size: 13px; fill: var(--muted); text-anchor: middle; }
.pd-chart .goal { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 8 5; }
.pd-goal { font-size: 12px; font-weight: 500; }
.compare th small { font-weight: 400; color: var(--muted); }

/* Hinweis unten */
.pd-toast { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 4px; max-width: 420px; margin-left: auto; padding: 16px 20px; background: var(--dark); color: var(--bg); border-left: 6px solid var(--accent); font-size: 15px; line-height: 1.5; visibility: hidden; transform: translateY(160%); transition: transform .3s ease, visibility .3s; }
.pd-toast.show { visibility: visible; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .is-online .pd-state i, .pd-chip i, .pd-live i, .pd-map .dot .halo, .pd-wire.on { animation: none; }
  .packet, .tunnel, .blink, .marquee div { animation: none; }
  html { scroll-behavior: auto; }
}
