/* ==========================================================================
   Alexander Schnauber – Website
   Markenfarben und Schrift laut Markenleitfaden (ClaudeMarketing.md)
   ========================================================================== */

@font-face { font-family: "Montserrat"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-Regular.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-Medium.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-Bold.ttf") format("truetype"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/Montserrat-ExtraBold.ttf") format("truetype"); }

:root {
  /* Marke */
  --navy: #115385;
  --blue: #0062AE;
  --violet: #25368C;
  --cyan: #3DB8F0;

  /* Abgeleitet */
  --ink: #0D3B61;          /* Überschriften */
  --text: #34485E;         /* Fließtext */
  --muted: #5A6B7E;
  --line: #D3DCE6;
  --line-soft: #E3E9F0;
  --bg: #FFFFFF;
  --bg-soft: #EEF2F7;
  --dark: #0B2A47;
  --dark-raised: #143A5E;
  --dark-line: #285680;
  --dark-text: #C5D2E0;
  --dark-muted: #9FB3C8;

  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(13, 59, 97, .06), 0 8px 24px rgba(13, 59, 97, .06);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid currentColor; border-radius: 999px;
  padding: 6px 14px; color: var(--navy);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font: inherit; font-weight: 700; font-size: 1rem;
  border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-soft); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; }
.brand img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav .btn { min-height: 42px; padding: 8px 18px; font-size: .95rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav .btn { margin-top: 16px; min-height: 48px; }
  .brand img { height: 32px; }
}

/* Sections --------------------------------------------------------------- */

section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 14px; }
.section-head p { font-size: 1.1rem; font-weight: 500; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Hero ------------------------------------------------------------------- */

.hero { padding-top: clamp(48px, 7vw, 88px); background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .pill { justify-self: start; }
.hero h1 { font-size: clamp(2.1rem, 3.9vw, 3.1rem); }
.hero-copy .lead { font-size: 1.2rem; font-weight: 500; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 560px; }
.hero-pillars li { display: flex; gap: 14px; align-items: flex-start; }
.hero-pillars strong { display: block; color: var(--ink); font-weight: 700; }
.hero-pillars span:not(.hero-pillar-icon) { font-size: .97rem; font-weight: 500; }
.hero-pillar-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.hero-pillar-icon svg { width: 22px; height: 22px; }

/* Rechte Hero-Spalte: Beratung oben, Entwicklung (Workflow-Karte) darunter */
.hero-visual { display: grid; gap: 10px; min-width: 0; }
.hero-tag {
  font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue);
}
.hero-tag:not(:first-child) { margin-top: 10px; }
.consult-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
}
.consult-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: var(--bg-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.consult-icon svg { width: 22px; height: 22px; }
.consult-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.consult-chips span {
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
  font-size: .85rem; font-weight: 600; color: var(--ink); background: var(--bg-soft);
}

.facts {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.fact { padding: 24px 24px 0 0; display: grid; gap: 2px; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact strong { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; }
.fact span { font-weight: 600; color: var(--text); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
}

/* Workflow-Karte (aus der Werbegrafik AS-Workflow) ------------------------ */

.wf-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow);
  display: grid; gap: 22px;
  container-type: inline-size;
  min-width: 0;
}
.wf-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.wf-doc { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); min-width: 0; }
.wf-doc svg { width: 22px; height: 22px; flex-shrink: 0; stroke: var(--navy); }
.wf-step-count { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
/* Vier Spalten nur, wenn die Karte breit genug ist, sonst 2 × 2 */
.wf-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
@container (min-width: 620px) {
  .wf-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}
.wf-step { display: grid; gap: 8px; align-content: start; min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.wf-bar { height: 6px; border-radius: 3px; background: var(--line); }
.wf-step.done .wf-bar { background: var(--blue); }
.wf-step.open .wf-bar { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.wf-state { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.wf-state svg { width: 16px; height: 16px; flex-shrink: 0; }
.wf-step.done .wf-state { color: var(--blue); }
.wf-step.open .wf-state { color: var(--ink); }
.wf-title { font-weight: 700; color: var(--ink); font-size: .98rem; line-height: 1.25; }
.wf-step.next .wf-title { color: var(--muted); }
.wf-who { font-size: .85rem; font-weight: 500; color: var(--text); line-height: 1.35; }
.wf-foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line-soft); padding-top: 16px; color: var(--blue); font-weight: 600; font-size: .92rem; }
.wf-foot svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Probleme --------------------------------------------------------------- */

.problems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .problems { grid-template-columns: 1fr; } }
.problem {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; font-weight: 500;
}
.problem svg { width: 24px; height: 24px; flex-shrink: 0; stroke: var(--violet); margin-top: 1px; }
.problem.answer { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; font-size: 1.05rem; }
.problem.answer svg { stroke: var(--cyan); }

/* Module ----------------------------------------------------------------- */

.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .modules { grid-template-columns: 1fr; } }

.module {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .15s, box-shadow .15s;
}
.module:hover { border-color: #B6C6D8; box-shadow: var(--shadow); }
.module-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--blue);
}
.module-icon svg { width: 26px; height: 26px; }
.module-icon img { width: 44px; height: 44px; object-fit: contain; }
.module-icon.is-logo { background: #fff; border: 1px solid var(--line); }
.module .benefit { font-weight: 600; color: var(--ink); }
.module ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.module li { display: flex; gap: 10px; align-items: flex-start; }
.module li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0; margin-top: .62em;
}
.module .more {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  background: none; border: 0; padding-left: 0; color: var(--blue); cursor: pointer; font-family: inherit;
  min-height: 44px; align-self: flex-start;
}
.module .more:hover { color: var(--navy); }
.module .more svg { width: 18px; height: 18px; }

/* Modul-Kacheln: AS-Workflow + E-POST + Stempel mit Plus verbunden, Wiedervorlage daneben.
   Darunter die Kombination der Postmodule (Spalten 2-3) und der Rahmen für alle drei (Spalten 1-3). */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile-as { grid-area: 1 / 1; }
.tile-epost { grid-area: 1 / 2; }
.tile-stamp { grid-area: 1 / 3; }
.tile-wv { grid-area: 1 / 4; }
.tile-plus-1 { grid-area: 1 / 1 / 2 / 3; }
.tile-plus-2 { grid-area: 1 / 2 / 2 / 4; }
.tile-combo { grid-area: 2 / 2 / 3 / 4; }
.tile-all { grid-area: 3 / 1 / 4 / 4; }
@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-wv { grid-area: 4 / 1 / 5 / 4; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .tile-as, .tile-wv, .tile-epost, .tile-stamp, .tile-plus-1, .tile-plus-2, .tile-combo, .tile-all { grid-area: auto; }
  .tile-plus { margin: -24px 0; }
}

.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; color: var(--text); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
a.tile:hover { border-color: #B6C6D8; box-shadow: var(--shadow); color: var(--text); }
.tile h3 { font-size: 1.1rem; }
.tile p { font-size: .93rem; font-weight: 500; }
.tile-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--blue);
}
.tile-icon svg { width: 24px; height: 24px; }
.tile-icon img { width: 40px; height: 40px; object-fit: contain; }
.tile-icon.is-logo { background: #fff; border: 1px solid var(--line); }
.tile-chip {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--navy); background: var(--bg-soft); border-radius: 999px; padding: 4px 9px;
}
.tile-more {
  margin-top: auto; padding: 6px 0 0; min-height: 36px;
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-family: inherit; font-weight: 700; font-size: .9rem; color: var(--blue);
  background: none; border: 0; cursor: pointer;
}
.tile-more svg { width: 16px; height: 16px; }
a.tile:hover .tile-more, .tile-more:hover { color: var(--navy); }

.tile-plus {
  justify-self: center; align-self: center; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; border: 4px solid var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.tile-plus svg { width: 18px; height: 18px; }

.tile-combo {
  display: flex; align-items: center; gap: 14px;
  background: var(--navy); color: #D6E4F2; border-radius: var(--radius);
  padding: 14px 18px; text-decoration: none; transition: background .15s;
}
.tile-combo:hover { background: #0D466F; color: #D6E4F2; }
.tile-combo-eq {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan); color: var(--navy); font-weight: 800; font-size: 1.1rem;
}
.tile-combo-text { flex: 1; display: grid; gap: 2px; }
.tile-combo-text strong { color: #fff; font-size: 1rem; }
.tile-combo-text span { font-size: .88rem; font-weight: 500; }
.tile-combo > svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--cyan); }

.tile-all {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  background: #fff; border: 2px solid var(--blue); border-radius: var(--radius);
  padding: 16px 20px; color: var(--text); text-decoration: none;
  transition: box-shadow .15s;
}
.tile-all:hover { box-shadow: var(--shadow); color: var(--text); }
.tile-all-icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--blue); }
.tile-all-text { flex: 1 1 260px; display: grid; gap: 2px; }
.tile-all-text strong { color: var(--ink); font-size: 1rem; }
.tile-all-text span { font-size: .92rem; font-weight: 500; }
.tile-all-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--blue); }
.tile-all-more svg { width: 16px; height: 16px; }
.tile-all:hover .tile-all-more { color: var(--navy); }

/* Spotlights ------------------------------------------------------------- */

.spotlight-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .spotlight-grid { grid-template-columns: 1fr; } }

.spotlight-copy { display: grid; gap: 20px; }
.spotlight-copy .lead { font-size: 1.12rem; font-weight: 500; }
.spotlight-brand { display: flex; align-items: center; gap: 16px; }
.spotlight-brand .logo-tile {
  width: 64px; height: 64px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.spotlight-brand .logo-tile img { width: 56px; height: 56px; object-fit: contain; }
.spotlight-brand strong { font-size: 1.6rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }

.checklist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 24px; height: 24px; flex-shrink: 0; stroke: var(--blue); margin-top: 2px; }
.checklist strong { display: block; color: var(--ink); font-weight: 700; }
.checklist span { font-size: .93rem; font-weight: 500; }

/* Dunkle Variante (E-POST mit Postausgangsstempel) */
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark h2, .section-dark h3, .section-dark .checklist strong { color: #fff; }
.section-dark .eyebrow { color: var(--cyan); }
.section-dark .pill { color: #fff; }
.section-dark .checklist svg { stroke: var(--cyan); }
.section-dark .note { color: var(--dark-muted); font-size: .92rem; }

.dark-title { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; }

.steps-inline { display: grid; gap: 14px; }
.steps-inline div { display: flex; align-items: center; gap: 14px; font-weight: 600; color: #fff; font-size: 1.05rem; }
.steps-inline svg { width: 24px; height: 24px; flex-shrink: 0; stroke: var(--cyan); }

.letter-wrap { display: grid; gap: 16px; justify-items: start; max-width: 420px; width: 100%; margin: 0 auto; }
.status-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--dark-raised); border: 1px solid var(--dark-line); border-radius: 999px;
  padding: 8px 16px 8px 12px; font-size: .9rem; font-weight: 600; color: #fff;
}
.status-chip svg { width: 20px; height: 20px; stroke: var(--cyan); }
.letter {
  width: 100%; aspect-ratio: 1 / 1.25; background: #fff; border-radius: 10px;
  padding: 9% 8%; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .25);
}
.letter .lines { display: grid; gap: 10px; }
.letter .l { height: 8px; border-radius: 2px; background: #E2E8EE; }
.letter .l.addr { background: #C9D3DE; height: 9px; }
.letter .l.subject { background: #8E9FB2; height: 12px; width: 62%; margin-bottom: 4px; }
.stamp {
  align-self: flex-end; transform: rotate(-3deg);
  border: 2.5px solid var(--blue); border-radius: 6px; padding: 10px 14px;
  font-family: var(--mono); font-size: .85rem; line-height: 1.45; color: var(--blue); font-weight: 600;
}

/* Zusammenspiel: Ablaufdiagramm ------------------------------------------ */


/* Äußerer Rahmen = AS-Workflow, dunkle Gruppe = ein Workflow-Schritt (E-POST + Stempel) */
.flow {
  position: relative; background: #fff; border: 2px solid var(--blue); border-radius: var(--radius-lg);
  padding: 48px clamp(16px, 2.5vw, 28px) clamp(20px, 2.5vw, 28px);
}
.flow-frame-label {
  position: absolute; top: -18px; left: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #fff; border-radius: 999px; padding: 4px 16px 4px 4px;
  font-weight: 700; font-size: .9rem;
}
.flow-frame-label img { width: 28px; height: 28px; border-radius: 50%; background: #fff; padding: 2px; }

.flow-track, .flow-group-track { display: flex; align-items: stretch; gap: 8px; }
.flow-node {
  flex: 1 1 0; min-width: 0; display: grid; gap: 6px; align-content: start;
  padding: 18px 16px; border-radius: var(--radius); background: var(--bg-soft);
}
.flow-icon {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.flow-icon svg { width: 22px; height: 22px; }
.flow-chip {
  font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--blue); overflow-wrap: anywhere;
}
.flow-node strong { color: var(--ink); font-size: 1.05rem; }
.flow-text { font-size: .88rem; line-height: 1.45; }
.flow-node-end .flow-icon { background: var(--blue); color: #fff; }

.flow-arrow { flex: 0 0 24px; align-self: center; color: var(--blue); display: flex; justify-content: center; }
.flow-arrow svg { width: 24px; height: 24px; }

.flow-group {
  flex: 2.5 1 0; min-width: 0; display: grid; gap: 10px; align-content: start;
  background: var(--navy); border-radius: var(--radius); padding: 12px;
}
.flow-group-label {
  font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--cyan); padding: 2px 4px 0;
}
.flow-group .flow-node { background: rgba(255, 255, 255, .08); }
.flow-group .flow-icon { background: var(--cyan); color: var(--dark); }
.flow-group .flow-chip { color: var(--cyan); }
.flow-group .flow-node strong { color: #fff; }
.flow-group .flow-text { color: #D6E4F2; }
.flow-group .flow-arrow { color: var(--cyan); }

/* Unterhalb dieser Breite läuft der Ablauf senkrecht */
@media (max-width: 1080px) {
  .flow-track, .flow-group-track { flex-direction: column; }
  .flow-arrow { align-self: flex-start; margin-left: 26px; transform: rotate(90deg); }
  .flow-node { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .flow-node .flow-icon { grid-row: 1 / span 3; margin-bottom: 0; }
}

/* Einrichtung: IT can be that simple ------------------------------------- */

.simple-head { display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 32px); }
.simple-head img { width: clamp(56px, 7vw, 84px); height: auto; flex-shrink: 0; margin-top: 4px; }
.tagline-title { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--navy); }
@media (max-width: 600px) { .simple-head { flex-direction: column; gap: 16px; } }

.simple-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
@media (max-width: 900px) { .simple-steps { grid-template-columns: 1fr; } }
.simple-steps li {
  display: grid; gap: 10px; align-content: start;
  background: var(--bg-soft); border-radius: var(--radius-lg); padding: 28px;
}
.simple-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.simple-role {
  font-family: var(--mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
}
.simple-steps p { font-size: .97rem; }

/* Vorteile --------------------------------------------------------------- */

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }
.benefit-item { padding: 28px 28px 28px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--line); }
.benefit-item svg { width: 28px; height: 28px; stroke: var(--blue); }
.benefit-item p { font-size: .97rem; }

/* Über mich -------------------------------------------------------------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy { display: grid; gap: 18px; }
.about-copy p { font-size: 1.05rem; }
.about-sign { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.about-sign img { width: 56px; height: 56px; object-fit: contain; }
.about-sign strong { display: block; color: var(--ink); font-weight: 700; }
.about-sign span { font-size: .92rem; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 36px 64px; display: grid; gap: 4px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline .dot {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.timeline .dot svg { width: 20px; height: 20px; }
.timeline .year { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--blue); font-weight: 600; padding-top: 2px; }
.timeline h3 { font-size: 1.15rem; }
.timeline p { font-size: .97rem; }

/* Demo / Formular -------------------------------------------------------- */

.demo-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-copy { display: grid; gap: 20px; }
.demo-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.demo-steps li { display: flex; gap: 14px; align-items: flex-start; counter-increment: s; }
.demo-steps li::before {
  content: counter(s); width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.demo-steps strong { display: block; color: var(--ink); }
.demo-steps span { font-size: .95rem; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 98, 174, .15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #B42318; }

fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 10px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .choices { grid-template-columns: 1fr; } }
.choice {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; min-height: 48px;
  font-weight: 500; font-size: .95rem; color: var(--ink);
  transition: border-color .15s, background-color .15s;
}
.choice:hover { border-color: #B6C6D8; }
.choice input { width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; margin: 0; }
.choice:has(input:checked) { border-color: var(--blue); background: #F2F7FC; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--blue); margin: 2px 0 0; flex-shrink: 0; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }

.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status.is-success { display: block; background: #ECF7F0; color: #0F5132; border: 1px solid #B7E1C6; }
.form-status.is-error { display: block; background: #FDF0EF; color: #8A1C12; border: 1px solid #F3C3BE; }

/* CTA-Band --------------------------------------------------------------- */

.cta-band { background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 72px) 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: #D6E4F2; font-weight: 500; margin-top: 8px; }

/* Footer: Logo immer auf weißem Grund ------------------------------------ */

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: .92rem; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-top img { height: 44px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--ink); font-weight: 600; text-decoration: none; padding: 10px 0; }
.footer-nav a:hover { color: var(--blue); }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }

/* Unterseiten: Header-Button weicht auf schmalen Bildschirmen dem Logo */
@media (max-width: 560px) {
  .site-header .container > .btn { display: none; }
}

/* Rechtstexte ------------------------------------------------------------ */

.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 32px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 22px; }
.todo { background: #FFF4D6; color: #6B4E00; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* Danke-Seite */
.thanks { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.thanks .container { display: grid; gap: 20px; justify-items: center; max-width: 640px; }
.thanks svg { width: 64px; height: 64px; stroke: var(--blue); }

/* Einstiegsseite schnauber.net: zwei Geschäftsbereiche ---------------------- */
.landing { background: var(--bg-soft); padding: clamp(40px, 7vw, 88px) 0; min-height: calc(100vh - 160px); }
.landing-head { display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 32px); max-width: 860px; margin-bottom: clamp(32px, 5vw, 48px); }
.landing-head img { width: clamp(56px, 7vw, 84px); height: auto; flex-shrink: 0; margin-top: 6px; }
.landing-head .lead { margin-top: 14px; font-size: 1.15rem; font-weight: 500; }
.gateway { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .gateway { grid-template-columns: 1fr; } }
.gate {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); color: var(--text); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.gate:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); }
.gate h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.gate p { font-weight: 500; }
.gate-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.gate-more svg { width: 18px; height: 18px; }
.gate:hover .gate-more { color: var(--navy); }
.landing-contact { margin-top: 32px; font-weight: 500; }
.landing-contact a { white-space: nowrap; }

/* Produktvideos (vom eigenen Server, siehe videos/README.md) ------------------ */
[hidden] { display: none !important; }
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }
.video-card { margin: 0; display: grid; gap: 12px; align-content: start; }
.video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--dark); border-radius: var(--radius-lg); }
.video-card figcaption { display: grid; gap: 2px; }
.video-card figcaption strong { color: var(--ink); font-size: 1.05rem; }
.video-card figcaption span { font-size: .93rem; font-weight: 500; }
