/* Tendalp — Website
   Marke: Tinte #060606, Creme #F9F6EE. Akzent nur für Notfälle (Rot). */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #060606;
  --paper: #f9f6ee;
  --paper-soft: #f1ede0;
  --sand: #d8d0b8;            /* dezenter Zweitton */
  --muted: #5a5850;           /* Text auf Creme, AA */
  --muted-ink: #bdb9ac;       /* Text auf Tinte, AA */
  --red: #b3261e;             /* Notfall auf Creme */
  --red-soft: #fbe9e6;
  --red-ink: #ff8074;         /* Notfall auf Tinte */
  --border: rgba(6, 6, 6, 0.14);
  --border-ink: rgba(249, 246, 238, 0.2);
  --radius: 14px;
  --max-width: 1120px;
  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid #1a5fd0;
  outline-offset: 3px;
  border-radius: 4px;
}
.sec-ink :focus-visible, .demo-frame :focus-visible { outline-color: #8fb8ff; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 246, 238, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 26px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a:not(.btn) {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:not(.btn):hover { border-bottom-color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.sec-ink .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.sec-ink .btn-outline { color: var(--paper); border-color: var(--paper); }
.sec-ink .btn-outline:hover { background: var(--paper); color: var(--ink); }

/* Buttons in hellen Karten auf dunklen Sektionen */
.sec-ink .demo-screen .btn-primary, .sec-ink .paket-card .btn-primary, .sec-ink .kontakt-form .btn-primary {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.sec-ink .demo-screen .btn-outline, .sec-ink .paket-card .btn-outline, .sec-ink .kontakt-form .btn-outline {
  color: var(--ink); border-color: var(--ink);
}
.sec-ink .paket-card .btn-outline:hover { background: var(--ink); color: var(--paper); }

/* ---------- Sektionen ---------- */

section { padding: 104px 0; position: relative; }
.sec-ink { background: var(--ink); color: var(--paper); }
.sec-cream { background: var(--paper); color: var(--ink); }
.sec-soft { background: var(--paper-soft); color: var(--ink); border-top: 1px solid var(--border); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}
.sec-ink .eyebrow { color: var(--muted-ink); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; margin-bottom: 18px; }
.section-head p { font-size: 18.5px; color: var(--muted); margin: 0; }
.sec-ink .section-head p { color: var(--muted-ink); }

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-ready .reveal.in { opacity: 1; transform: none; }

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

.hero { padding: 112px 0 104px; overflow: hidden; }
.hero-bg {
  position: absolute;
  right: -4%;
  bottom: -6%;
  width: min(760px, 90vw);
  height: auto;
  opacity: 0.16;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 {
  font-size: clamp(42px, 8vw, 92px);
  font-weight: 700;
  max-width: 13ch;
  margin-bottom: 28px;
  line-height: 1.02;
}
.hero .lead {
  font-size: clamp(18px, 2.4vw, 22px);
  max-width: 600px;
  color: var(--muted-ink);
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.pilot-pill {
  display: inline-block;
  border: 1px solid var(--border-ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14.5px;
  color: var(--muted-ink);
}
.pilot-pill strong { color: var(--paper); font-weight: 600; }

/* ---------- Problem ---------- */

.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scene {
  border-top: 3px solid var(--ink);
  padding-top: 20px;
}
.scene .time {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 10px;
}
.scene h3 { font-size: 24px; margin-bottom: 12px; }
.scene p { color: var(--muted); margin: 0; }
.problem-close {
  margin: 56px 0 0;
  font-family: var(--font-head);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 500;
  max-width: 24em;
  letter-spacing: -0.015em;
}

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

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.demo-frame {
  background: #1b1b1a;
  border: 1px solid #333;
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.demo-frame::before {
  content: "";
  display: block;
  width: 56px; height: 5px;
  border-radius: 3px;
  background: #3a3a38;
  margin: 2px auto 12px;
}
.demo-screen {
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  padding: 20px;
  min-height: 520px;
}

.demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 18px;
}
.demo-top h3 { font-size: 19px; font-weight: 700; }
.demo-top small { display: block; color: var(--muted); font-size: 13px; font-family: var(--font-body); font-weight: 400; letter-spacing: 0; }
.demo-badge {
  background: var(--sand);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi {
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.kpi .k-label { font-size: 12px; color: var(--muted); line-height: 1.3; margin-bottom: 4px; }
.kpi .k-value { font-family: var(--font-head); font-size: 24px; font-weight: 700; line-height: 1.1; }
.kpi.is-alert .k-value { color: var(--red); }
.kpi .k-value.small { font-size: 17px; padding-top: 5px; }

.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.filter-group { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.filter-btn {
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  min-height: 40px;
  cursor: pointer;
  color: var(--ink);
}
.filter-btn + .filter-btn { border-left: 1.5px solid var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.call-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.call {
  border: 1px solid var(--border);
  border-left: 5px solid var(--sand);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.call.is-emergency { border-left-color: var(--red); background: var(--red-soft); }
.call.is-done { opacity: 0.62; }
.call.is-new { animation: callIn 0.6s ease; }
@keyframes callIn {
  from { transform: translateY(-10px); opacity: 0; box-shadow: 0 0 0 3px var(--ink); }
  to { transform: none; opacity: 1; }
}
.call-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 14px;
  margin-bottom: 6px;
}
.call-num { font-weight: 600; font-variant-numeric: tabular-nums; }
.call-time { color: var(--muted); }
.tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}
.tag-red { background: var(--red); color: #fff; }
.tag-open { background: var(--ink); color: var(--paper); }
.tag-done { background: var(--sand); color: var(--ink); }
.call-text { margin: 0 0 10px; font-size: 15.5px; line-height: 1.45; }
.call-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-btn {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 12px;
  min-height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.mini-btn:hover { background: var(--ink); color: var(--paper); }
.mini-btn.solid { background: var(--ink); color: var(--paper); }
.mini-btn.solid:hover { background: #333; }
.empty-note { padding: 24px; text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: 10px; }

.demo-side { display: grid; gap: 20px; }
.email-panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  overflow: hidden;
}
.email-panel h3 { font-size: 15px; font-weight: 500; padding: 14px 18px 0; color: var(--muted); font-family: var(--font-body); letter-spacing: 0; }
.email-empty { padding: 18px 18px 26px; color: var(--muted); font-size: 15.5px; margin: 0; }
.email-banner {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  padding: 12px 18px;
  font-size: 17px;
}
.email-meta { padding: 14px 18px 0; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--border); }
.email-meta dl { margin: 0 0 12px; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
.email-meta dt { font-weight: 600; color: var(--ink); }
.email-meta dd { margin: 0; overflow-wrap: anywhere; }
.email-meta .subj { font-weight: 600; color: var(--ink); font-size: 15px; }
.email-body { padding: 16px 18px 20px; font-size: 15.5px; }
.email-body table { border-collapse: collapse; width: 100%; margin-bottom: 14px; }
.email-body th { text-align: left; font-weight: 600; width: 5.5em; padding: 4px 0; vertical-align: top; }
.email-body td { padding: 4px 0; }
.email-body blockquote { margin: 0 0 12px; padding: 10px 14px; background: var(--paper-soft); border-left: 4px solid var(--ink); border-radius: 4px; }
.email-body .why { font-size: 13px; color: var(--muted); margin: 0; }
.demo-hint { color: var(--muted-ink); font-size: 14.5px; margin: 0; }

/* ---------- Ablauf / Zeitleiste ---------- */

.timeline-wrap { position: relative; max-width: 780px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 40px; }
.timeline-wrap::before, .timeline-fill {
  content: "";
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-fill {
  background: var(--ink);
  bottom: auto;
  height: 0;
  transition: height 0.15s linear;
}
.t-step { position: relative; padding-bottom: 40px; }
.t-step:last-child { padding-bottom: 0; }
.t-step::before {
  content: attr(data-n);
  position: absolute;
  left: -40px; top: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.t-step.is-planned::before { border-style: dashed; }
.t-step h3 { font-size: 24px; margin-bottom: 8px; }
.t-step p { color: var(--muted); margin: 0 0 10px; }
.status {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
}
.status.built { background: var(--ink); color: var(--paper); }
.status.planned { border-style: dashed; background: transparent; }
.timeline-legend { margin-top: 44px; font-size: 15.5px; color: var(--muted); max-width: 780px; }
.timeline-legend strong { color: var(--ink); }

/* ---------- Pakete ---------- */

.pakete-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.paket-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.paket-card h3 { font-size: 24px; margin-bottom: 14px; }
.paket-price { font-family: var(--font-head); font-size: 34px; font-weight: 700; line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em; }
.paket-effort { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.paket-card ul { margin: 0 0 24px; padding-left: 20px; flex: 1; }
.paket-card li { margin-bottom: 6px; }
.paket-card .btn { align-self: flex-start; }

.paket-flagship {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px 48px;
  border: 3px solid var(--sand);
  padding: 36px 34px;
}
.flag-badge {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.paket-flagship h3 { font-size: clamp(28px, 4vw, 38px); }
.paket-flagship .pilot-note { font-weight: 600; margin-bottom: 20px; }
.paket-flagship h4 { font-size: 15px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin: 0 0 6px; }
.paket-flagship .soon { color: var(--muted); }
.wartung-note { margin-top: 28px; color: var(--muted-ink); }

/* ---------- Für wen ---------- */

.wen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.wen-item { border-top: 1px solid var(--border); padding: 22px 0 30px; }
.wen-item h3 { font-size: 22px; margin-bottom: 8px; }
.wen-item p { margin: 0; color: var(--muted); }

/* ---------- Zusammenarbeit ---------- */

.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.step4 { border-top: 1px solid var(--border-ink); padding-top: 18px; }
.step4 .num { font-family: var(--font-head); font-size: 14px; color: var(--muted-ink); margin-bottom: 10px; }
.step4 h3 { font-size: 22px; margin-bottom: 8px; }
.step4 p { color: var(--muted-ink); margin: 0; font-size: 16px; }
.terms { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.terms li { border: 1px solid var(--border-ink); border-radius: 999px; padding: 8px 18px; font-size: 15px; }

/* ---------- Über uns ---------- */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-grid h2 { font-size: clamp(32px, 5vw, 52px); }
.about-grid p { font-size: 18.5px; color: var(--muted); }
.about-grid p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--border); }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 680px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Kontakt ---------- */

.kontakt-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.kontakt-info h2 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 18px; }
.kontakt-info p { color: var(--muted-ink); font-size: 18px; }
.pilot-box {
  border: 1px solid var(--border-ink);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 26px 0;
  color: var(--paper);
  font-size: 16.5px;
}
.pilot-box strong { display: block; margin-bottom: 4px; }
.email-link { font-family: var(--font-head); font-size: 22px; font-weight: 500; color: var(--paper); }

.kontakt-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 18px;
}
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid #77746a;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: 14px; margin: 6px 0 0; font-weight: 600; }
.field-error:empty { display: none; }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.consent label { font-weight: 400; font-size: 15px; margin: 0; }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #14663a; }
.form-status.error { color: var(--red); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: 36px 0; font-size: 14.5px; background: var(--paper); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-brand img { width: 24px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { text-decoration: none; padding: 6px 0; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { color: var(--muted); }

/* ---------- Rechtsseiten ---------- */

.legal-page main { padding: 64px 0 96px; }
.legal-page h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { font-size: 20px; font-weight: 700; margin-top: 36px; margin-bottom: 10px; }
.legal-page p, .legal-page li { color: var(--ink); font-size: 16px; }
.legal-page ul { padding-left: 20px; }
.placeholder { background: #fde9d8; border: 1px dashed #8a4a12; padding: 2px 6px; border-radius: 4px; font-size: 0.95em; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .demo-grid { grid-template-columns: 1fr; }
  .pakete-grid { grid-template-columns: 1fr; }
  .paket-flagship { grid-template-columns: 1fr; }
  .scenes, .wen-grid { grid-template-columns: 1fr; }
  .wen-grid { gap: 0; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .about-grid, .kontakt-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
  .main-nav .btn { margin-top: 14px; }
}

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  section { padding: 72px 0; }
  .hero { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .wrap { padding: 0 18px; }
  .steps4 { grid-template-columns: 1fr; }
  .demo-frame { padding: 10px; border-radius: 22px; }
  .demo-screen { padding: 14px; }
  .kpis { gap: 6px; }
  .kpi { padding: 8px; }
  .kpi .k-value { font-size: 21px; }
  .kpi .k-value.small { font-size: 14px; }
  .kontakt-form { padding: 20px; }
  .paket-flagship { padding: 26px 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .pilot-pill { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

h1, h2 { text-wrap: balance; }

/* ---------- Hero: Notfall im Mittelpunkt ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 11ch; font-size: clamp(40px, 7vw, 84px); }
.alert-eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px;
  margin: 0 0 22px; font-size: 14.5px; color: var(--muted-ink);
}
.alert-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red-ink); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,128,116,.55); } 50% { box-shadow: 0 0 0 7px rgba(255,128,116,0); } }
.alert-label { color: var(--red-ink); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted-ink); font-size: 15px; }
.facts li { border-left: 2px solid var(--border-ink); padding-left: 12px; }
.facts strong { color: var(--paper); font-weight: 600; }
.hero-card {
  margin: 0; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 18px;
  display: grid; gap: 12px; box-shadow: 0 30px 70px rgba(0,0,0,.55); position: relative;
}
.hero-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.hc-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.hc-title small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); }
.hc-subject { margin: 0; font-size: 13px; font-weight: 600; color: var(--red); }
.hero-card .call-text { margin-bottom: 8px; }
.hero-card .call:last-child .call-text { margin-bottom: 0; }
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 13ch; }
}
