/*
 * TODO: Lokale Schriftart-Einbindung (Inter)
 * ─────────────────────────────────────────
 * Google Fonts wurde aus datenschutzrechtlichen Gründen entfernt.
 * Sobald die Font-Dateien vorliegen, bitte folgende Schritte durchführen:
 *
 * 1. Ordner „fonts/" im Website-Verzeichnis anlegen.
 * 2. Folgende WOFF2-Dateien der Schriftart Inter herunterladen (z. B. von
 *    https://fontsource.org/fonts/inter) und in „fonts/" ablegen:
 *      fonts/inter-400.woff2
 *      fonts/inter-600.woff2
 *      fonts/inter-700.woff2
 *      fonts/inter-800.woff2
 *      fonts/inter-900.woff2
 * 3. Die @font-face-Regeln hier einfügen, z. B.:
 *      @font-face {
 *        font-family: 'Inter';
 *        src: url('fonts/inter-400.woff2') format('woff2');
 *        font-weight: 400;
 *        font-display: swap;
 *      }
 *      (usw. für jede Gewichtungsstufe)
 * 4. Die TODO-Kommentare in den HTML-Dateien entfernen.
 *
 * Bis dahin greift der System-Font-Stack (ui-sans-serif, system-ui usw.).
 */

:root {
  --navy: #071a3a;
  --navy-2: #0a2558;
  --blue: #1167d8;
  --blue2: #2f86ff;
  --ink: #071326;
  --text: #26364d;
  --muted: #66758a;
  --line: #dbe5f1;
  --soft: #f3f7fb;
  --white: #ffffff;
  --green: #0ba36b;
  --shadow: 0 18px 45px rgba(7, 26, 58, .12);
  --shadow-lg: 0 28px 70px rgba(7, 26, 58, .16);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -.03em;
}

h3 {
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px;
}

p {
  margin: 0 0 16px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ──────────────────────────────────────────
   TOP BAR
────────────────────────────────────────── */

.topbar {
  background: var(--navy);
  color: #d9e8ff;
  font-size: 13px;
  font-weight: 600;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
}

/* ──────────────────────────────────────────
   HEADER / NAV
────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(7,26,58,.06);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  font-size: 20px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border: 2px solid #d7e6fa;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-weight: 900;
  font-size: 25px;
  position: relative;
  background: #f0f6ff;
}

.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #17233a;
}

.nav-links a {
  padding: 7px 12px;
  border-radius: 7px;
  transition: .15s;
}

.nav-links a:hover {
  color: var(--blue);
  background: #eaf3ff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────
   BUTTONS
────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: .2s ease;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
}

.btn.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 20px rgba(17, 103, 216, .28);
}

.btn.primary:hover {
  background: #0a55b9;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(17, 103, 216, .36);
}

.btn.secondary {
  background: #fff;
  color: var(--navy);
  border-color: #c2d1e4;
}

.btn.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #f5f9ff;
}

.btn:disabled,
.btn.locked {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: none;
}

.btn.unlocked {
  background: var(--green);
  box-shadow: 0 8px 22px rgba(11, 163, 107, .28);
  pointer-events: auto;
  opacity: 1;
}

.btn.unlocked:hover {
  background: #089a63;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 163, 107, .35);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 28px;
  color: var(--navy);
  cursor: pointer;
  padding: 4px;
}

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #061632 0%, #0a2558 58%, #0d5ab5 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .4;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 100px 0 96px;
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: #72b7ff;
  font-size: 12px;
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.04;
  margin: 0 0 22px;
  letter-spacing: -.04em;
  color: #fff;
}

.hero p {
  font-size: 19px;
  color: #d9e7f9;
  max-width: 580px;
  margin: 0 0 28px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #eaf4ff;
  font-weight: 650;
  font-size: 14px;
}

/* Trust badges in hero */
.trust-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 9px 14px;
  color: #eaf4ff;
  font-weight: 700;
  font-size: 13px;
}

.trust-badge-icon {
  font-size: 16px;
}

/* Hero visual / mockup wrapper */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ──────────────────────────────────────────
   CSS MOCKUP
────────────────────────────────────────── */

.mockup {
  background: #f9fbfe;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.22);
  overflow: hidden;
  width: 100%;
}

.screenshot-mockup {
  width: 100%;
  max-width: 760px;
  justify-self: end;
  padding: 0 !important;
  overflow: visible;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.screenshot-mockup img {
  width: 130%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.mockbar {
  height: 36px;
  background: #e5ecf4;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid #d2dcec;
}

.mockbar-title {
  margin-left: auto;
  font-size: 11px;
  color: #7a8da8;
  font-weight: 700;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b9c4d3;
}

.dot:nth-child(1) { background: #ff7070; }
.dot:nth-child(2) { background: #ffcc44; }
.dot:nth-child(3) { background: #44cc77; }

.screen {
  height: 380px;
  background: #fff;
  display: grid;
  grid-template-columns: 72px 1fr;
  overflow: hidden;
}

/* Solution section: product video (aligned with hero screenshot) */
.solution-video-crop {
  width: 130%;
  max-width: none;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
  background: #fff;
  line-height: 0;
}

.solution-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  vertical-align: top;
}

.toolbar {
  background: #101827;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool {
  height: 26px;
  border-radius: 6px;
  background: #23314a;
}

.plan {
  position: relative;
  background: #fff;
  padding: 28px;
}

.plan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#e7eef7 1px, transparent 1px),
    linear-gradient(90deg, #e7eef7 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .7;
}

.building {
  position: relative;
  height: 100%;
  border: 5px solid #1f2937;
  margin: 12px;
}

.building::before,
.building::after {
  content: "";
  position: absolute;
  background: #1f2937;
}

.building::before {
  height: 5px;
  left: 12%;
  right: 18%;
  top: 36%;
}

.building::after {
  width: 5px;
  top: 12%;
  bottom: 12%;
  left: 48%;
}

.measure {
  position: absolute;
  height: 2px;
  background: var(--blue);
  left: 10%;
  right: 10%;
}

.measure.one {
  top: 18%;
}

.measure.two {
  bottom: 18%;
}

.measure::before,
.measure::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
}

.measure::before {
  left: 0;
}

.measure::after {
  right: 0;
}

.measure span {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -22px);
  font-size: 12px;
  color: #0d4ea6;
  font-weight: 800;
  background: #fff;
  padding: 2px 8px;
  border: 1px solid #d9e7f6;
  border-radius: 999px;
  white-space: nowrap;
}

/* ──────────────────────────────────────────
   SECTIONS
────────────────────────────────────────── */

.section {
  padding: 88px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: var(--navy);
  color: #fff;
}

/* Typography in dark sections – overrides global h2/h3 ink color */
.section.dark h2 {
  color: #fff;
}

.section.dark .split > div:not(.card) p {
  color: #c6d4e7;
}

.section.dark .split > div:not(.card) .checklist li {
  color: #eaf4ff;
}

/* Price highlight card inside dark sections */
.section.dark .price-highlight-card {
  text-align: center;
  padding: 40px;
}

.section.dark .price-highlight-card .price-label {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.section.dark .price-highlight-card .price-amount {
  font-size: 68px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1;
}

.section.dark .price-highlight-card .price-period {
  color: rgba(255, 255, 255, .65);
  margin-bottom: 28px;
  font-size: 15px;
}

.section.dark .price-highlight-card .price-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.section-title {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -.03em;
}

.dark .section-title h2 {
  color: #fff;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.dark .section-title p {
  color: #c6d4e7;
}

/* ──────────────────────────────────────────
   GRIDS
────────────────────────────────────────── */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ──────────────────────────────────────────
   CARDS
────────────────────────────────────────── */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 4px 18px rgba(7,26,58,.06);
  transition: box-shadow .2s, transform .2s;
}

.card:hover {
  box-shadow: 0 12px 36px rgba(7,26,58,.12);
  transform: translateY(-2px);
}

.dark .card {
  background: #0e2248;
  border-color: #1a3d6e;
  color: #fff;
}

.dark .card:hover {
  background: #112855;
}

.card h3 {
  font-size: 21px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 10px;
}

.dark .card h3 {
  color: #fff;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.dark .card p {
  color: #c0d0e4;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e8f2ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ──────────────────────────────────────────
   CHECKLIST
────────────────────────────────────────── */

.checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 11px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
  line-height: 1.5;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcf7ed;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

/* ──────────────────────────────────────────
   STEPS
────────────────────────────────────────── */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: box-shadow .2s;
}

.step:hover {
  box-shadow: 0 10px 30px rgba(7,26,58,.1);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: .08em;
  font-size: 15px;
}

.step h3 {
  font-size: 19px;
  margin: 0 0 10px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* ──────────────────────────────────────────
   METRICS
────────────────────────────────────────── */

.metric {
  font-size: 46px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -.04em;
  margin-bottom: 6px;
  line-height: 1;
}

/* ──────────────────────────────────────────
   BADGE
────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0b5bc2;
  font-weight: 800;
  padding: 5px 13px;
  font-size: 12px;
  margin-bottom: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.dark .badge {
  background: rgba(255,255,255,.12);
  color: #a8d4ff;
}

/* ──────────────────────────────────────────
   FAQ
────────────────────────────────────────── */

.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow .15s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(7,26,58,.08);
}

.faq-item.open {
  border-color: #b8d4f8;
  box-shadow: 0 4px 20px rgba(17,103,216,.1);
}

.faq-q {
  width: 100%;
  background: #fff;
  border: 0;
  padding: 20px 24px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
  transition: color .15s;
}

.faq-item.open .faq-q {
  color: var(--blue);
}

.faq-q span {
  font-size: 20px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
  color: var(--blue);
}

.faq-a {
  display: none;
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.open .faq-a {
  display: block;
}

/* ──────────────────────────────────────────
   FORMS
────────────────────────────────────────── */

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0 6px;
  font-size: 14px;
}

.form label:first-child {
  margin-top: 0;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1.5px solid #c9d6e6;
  border-radius: 9px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  background: #fff;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(17,103,216,.12);
}

.form input.invalid,
.form select.invalid,
.form textarea.invalid {
  border-color: #e74c3c;
  background: #fff8f8;
}

.form input.valid,
.form select.valid,
.form textarea.valid {
  border-color: var(--green);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ──────────────────────────────────────────
   DEMO FORM STATES
────────────────────────────────────────── */

.demo-lock-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff9e8;
  border: 1px solid #f2d79b;
  border-radius: 10px;
  padding: 14px 16px;
  color: #7a5200;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0;
}

.demo-lock-notice.hidden {
  display: none;
}

.demo-success {
  display: none;
  background: linear-gradient(135deg, #edfaf4, #f0fdf7);
  border: 1px solid #a8e6c8;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  margin-top: 20px;
}

.demo-success.visible {
  display: block;
}

.demo-success h3 {
  color: #0a6640;
  margin: 0 0 8px;
  font-size: 22px;
}

.demo-success p {
  color: #1a7a52;
  margin: 0;
}

.demo-smartscreen-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f4f8ff;
  border: 1px solid #c7dcf8;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 16px;
  text-align: left;
  font-size: 13.5px;
  color: #2c4a7c;
  line-height: 1.6;
}

.demo-smartscreen-hint__icon {
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 1px;
  color: var(--blue);
  font-style: normal;
}

/* ──────────────────────────────────────────
   FORM SUCCESS / ERROR / PRIVACY
────────────────────────────────────────── */

.form-success,
.form-error {
  display: none;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  margin-top: 20px;
}

.form-success.visible {
  display: block;
  background: linear-gradient(135deg, #edfaf4, #f0fdf7);
  border: 1px solid #a8e6c8;
}

.form-success h3 {
  color: #0a6640;
  margin: 0 0 8px;
  font-size: 22px;
}

.form-success p {
  color: #1a7a52;
  margin: 0;
}

.form-error.visible {
  display: block;
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  color: #7a1010;
  font-size: 14px;
  line-height: 1.6;
}

.form-error a {
  color: #c0392b;
  font-weight: 600;
}

.privacy-checkbox-wrap {
  margin-top: 20px;
  margin-bottom: 2px;
}

.privacy-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
}

.privacy-checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 2px 0 0 0;
  border: 1.5px solid #c9d6e6;
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--blue);
}

.privacy-checkbox-label a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-checkbox-label a:hover {
  color: var(--navy);
}

.form-privacy-notice {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

.noscript-notice {
  background: #fff9e8;
  border: 1px solid #f2d79b;
  border-radius: 10px;
  padding: 14px 16px;
  color: #7a5200;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ── Angebot-Formular (zentriert, max-width) ── */
.angebot-form-wrap {
  max-width: 700px;
  margin: 32px auto 0;
}

/* ── Zweispaltiges Formular-Layout ── */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row-2 > div + div > label:first-child {
    margin-top: 16px;
  }
}

/* ──────────────────────────────────────────
   PAGE HERO
────────────────────────────────────────── */

.page-hero {
  background: linear-gradient(135deg, #f0f6ff 0%, #fff 60%);
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(36px, 4vw, 58px);
  max-width: 860px;
  letter-spacing: -.03em;
  line-height: 1.06;
}

.page-hero p {
  font-size: 18px;
  max-width: 700px;
  color: var(--muted);
  line-height: 1.7;
}

/* ──────────────────────────────────────────
   PRICE CARD
────────────────────────────────────────── */

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 860px;
  margin: 0 auto;
}

.price-head {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3270 100%);
  color: #fff;
  padding: 44px 48px;
  text-align: center;
}

.price-head h2 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 26px;
  letter-spacing: -.02em;
}

.price {
  font-size: 76px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #fff;
  line-height: 1;
  margin: 0 0 6px;
}

.price-sub {
  color: #a8c4e8;
  font-size: 16px;
  font-weight: 600;
}

.price-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.price-body > div {
  padding: 36px 44px;
}

.price-body > div + div {
  border-left: 1px solid var(--line);
}

.price-body h3 {
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 18px;
}

/* ──────────────────────────────────────────
   ROI CALCULATOR
────────────────────────────────────────── */

.roi-calc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}

.roi-calc-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -.02em;
}

.roi-calc-subtitle {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 32px;
}

.roi-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.roi-slider-group {
  display: flex;
  flex-direction: column;
}

.roi-slider-group label {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roi-value-badge {
  background: var(--blue);
  color: #fff;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 800;
  min-width: 54px;
  text-align: center;
}

.roi-slider-group input[type="range"] {
  width: 100%;
  height: 6px;
  accent-color: var(--blue);
  cursor: pointer;
}

.roi-slider-group .roi-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.roi-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 0 28px;
}

.roi-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.roi-result-item {
  text-align: center;
  padding: 20px 14px;
  background: var(--soft);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.roi-result-item .roi-val {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--blue);
  line-height: 1;
}

.roi-result-item .roi-lbl {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 6px;
}

.roi-conclusion {
  padding: 16px 20px;
  background: #edfaf4;
  border: 1px solid #b3e6d0;
  border-radius: 10px;
  color: #0a7a4f;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
}

/* ──────────────────────────────────────────
   PRICING TABLE
────────────────────────────────────────── */

.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(7,26,58,.06);
}

.table th,
.table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.table th {
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover td {
  background: var(--soft);
}

.table td:last-child {
  color: var(--green);
  font-weight: 700;
}

/* ──────────────────────────────────────────
   INDUSTRY GRID
────────────────────────────────────────── */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.industry-pill {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 20px 12px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: .2s ease;
  cursor: default;
}

.industry-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17,103,216,.12);
}

.industry-pill.primary {
  border-color: var(--blue);
  background: #eaf3ff;
  color: #0b5bc2;
}

.industry-pill .pill-icon {
  display: block;
  font-size: 26px;
  margin-bottom: 10px;
  line-height: 1;
}

/* ──────────────────────────────────────────
   CTA SECTION
────────────────────────────────────────── */

.cta-section {
  background: linear-gradient(135deg, #061632 0%, #0a2558 55%, #0d4ea6 100%);
  color: #fff;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-section h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -.035em;
  margin: 0 0 14px;
  color: #fff;
  position: relative;
}

.cta-section p {
  font-size: 18px;
  color: #c0d4ec;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ──────────────────────────────────────────
   HIGHLIGHT BAND
────────────────────────────────────────── */

.highlight-band {
  background: var(--blue);
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.highlight-band strong {
  font-weight: 900;
}

/* ──────────────────────────────────────────
   NOTICE / CALLOUT
────────────────────────────────────────── */

.notice {
  background: #fff9e8;
  border: 1px solid #f2d79b;
  border-radius: 12px;
  padding: 18px 20px;
  color: #6a4a0b;
  font-size: 14px;
}

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */

.site-footer {
  background: #071326;
  color: #c9d7ea;
  padding: 58px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 42px;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.site-footer p {
  color: #8fa3c0;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: #c9d7ea;
  font-size: 14px;
  transition: color .15s;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #6e87a4;
  font-size: 13px;
}

/* ──────────────────────────────────────────
   STEPS 4-COLUMN VARIANT
────────────────────────────────────────── */

.steps-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ──────────────────────────────────────────
   COMPARISON CARDS
────────────────────────────────────────── */

.compare-label {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.compare-label--featured {
  color: var(--blue);
  font-size: 17px;
}

.compare-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.55;
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}

.compare-list li {
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.compare-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #b8c6d6;
  font-weight: 700;
}

.compare-card--featured {
  border: 2px solid var(--blue);
  box-shadow: 0 10px 36px rgba(17, 103, 216, .16);
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ──────────────────────────────────────────
   ROI CALLOUT BOX
────────────────────────────────────────── */

.roi-callout {
  margin-top: 36px;
  background: #fff;
  border: 2px solid #c2d9f8;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.roi-callout-text .roi-callout-title {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 6px;
}

.roi-callout-text .roi-callout-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
}

/* ──────────────────────────────────────────
   RESPONSIVE – TABLET (≤ 940px)
────────────────────────────────────────── */

@media (max-width: 940px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav.open {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0 20px;
  }

  .nav.open .nav-links,
  .nav.open .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 4px;
  }

  .nav.open .nav-links a {
    font-size: 16px;
    padding: 10px 12px;
    width: 100%;
  }

  .nav.open .nav-actions {
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .nav.open .nav-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-layout,
  .split,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-layout {
    padding: 60px 0 56px;
  }

  .hero-visual {
    justify-content: center;
  }

  .screenshot-mockup {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .screenshot-mockup img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
  }

  .solution-video-crop {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  }

  .screen {
    height: 300px;
  }

  .grid-3,
  .steps,
  .steps-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .price-body {
    grid-template-columns: 1fr;
  }

  .price-body > div + div {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .roi-sliders {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .roi-results {
    grid-template-columns: 1fr 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ──────────────────────────────────────────
   ADDRESS GRID (PLZ + Ort)
────────────────────────────────────────── */

.address-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .address-row {
    grid-template-columns: 1fr;
  }
}

/* ──────────────────────────────────────────
   RESPONSIVE – MOBILE (≤ 620px)
────────────────────────────────────────── */

@media (max-width: 620px) {
  .container {
    width: calc(100% - 28px);
  }

  .topbar .container {
    flex-direction: column;
    gap: 4px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .brand span {
    font-size: 17px;
  }

  .roi-results {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-body > div {
    padding: 24px 24px;
  }

  .price-head {
    padding: 30px 24px;
  }

  .price {
    font-size: 58px;
  }

  .roi-calc {
    padding: 26px 20px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .table th,
  .table td {
    padding: 12px 16px;
    font-size: 14px;
  }

  .trust-badges {
    flex-direction: column;
    gap: 8px;
  }
}

/* ── INTRO OFFER ── */
.intro-offer-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.intro-offer-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 48px 52px;
  box-shadow: var(--shadow);
}

.intro-offer-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.intro-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eaf3ff;
  color: var(--blue);
  border: 1px solid #c2d9f8;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.intro-offer-deadline {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .01em;
}

.intro-offer-card h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -.025em;
  line-height: 1.25;
}

.intro-offer-lead {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 26px;
}

.intro-offer-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 0 26px;
}

.intro-offer-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.intro-offer-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.intro-offer-benefits .offer-check {
  color: var(--green);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  line-height: 1.6;
}

.intro-offer-benefits strong {
  color: var(--ink);
  font-weight: 700;
}

.intro-offer-note {
  background: var(--soft);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  border: 1px solid var(--line);
}

@media (max-width: 940px) {
  .intro-offer-card {
    padding: 38px 36px;
  }
}

@media (max-width: 620px) {
  .intro-offer-card {
    padding: 28px 22px;
  }

  .intro-offer-card h2 {
    font-size: 21px;
  }

  .intro-offer-lead {
    font-size: 15px;
  }
}
