/*
 * eauCenter Website — nach dem Apex-Theme der eauCenter-App (theme-apex.css)
 * Palette:  Schwarz #1A1A1A · Rot #DD0000 · Gold #F5B800 · Weiß
 * Regeln:   Schwarz trägt Text, Navigation und dunkle Flächen. Gold markiert Akzente und die Hauptaktion.
 *           Rot erscheint nur im Logo und im Dreifarb-Streifen.
 * Schrift:  Montserrat (variabel), lokal ausgeliefert
 */

@font-face {
  font-family: "Montserrat Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/montserrat/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/montserrat/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand-ink: #1a1a1a;
  --brand-ink-deep: #111111;
  --brand-ink-soft: #3a3a3a;
  --brand-red: #dd0000;
  --brand-gold: #f5b800;
  --brand-gold-strong: #dba400;
  --brand-gold-soft: #fff6d6;
  --brand-green: #1a7f50;

  --bg: #ffffff;
  --bg-muted: #f4f5f6;
  --surface: #ffffff;
  --border: #e3e5e8;
  --border-strong: #c9cdd1;
  --text: var(--brand-ink);
  --text-muted: #5b6168;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.68);
  --line-on-dark: rgba(255, 255, 255, 0.12);

  --brand-stripe: linear-gradient(90deg, var(--brand-ink) 0 33.34%, var(--brand-red) 33.34% 66.67%, var(--brand-gold) 66.67%);
  --focus-ring: 0 0 0 3px rgba(245, 184, 0, 0.6);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 1px 2px rgba(26, 26, 26, 0.04), 0 8px 24px rgba(26, 26, 26, 0.06);

  --font: "Montserrat Variable", "Montserrat", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
}

/* Grundlagen */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

/* FocusOnNavigate setzt den Fokus auf h1, dort soll kein Rahmen erscheinen. */
h1:focus,
h1:focus-visible {
  outline: none;
  box-shadow: none;
}

::selection {
  background: var(--brand-gold);
  color: var(--brand-ink);
}

h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
  hyphens: auto;
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand-ink);
  color: #fff;
  border-radius: var(--radius-md);
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--brand-stripe);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 44rem;
}

.accent {
  color: var(--brand-gold);
}

.mark {
  background: linear-gradient(transparent 62%, var(--brand-gold-soft) 62%);
}

.brand-stripe {
  height: 4px;
  background: var(--brand-stripe);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--brand-gold);
  color: var(--brand-ink);
}

.btn-primary:hover {
  background: var(--brand-gold-strong);
}

.btn-dark {
  background: var(--brand-ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
}

.btn-outline {
  border-color: var(--border-strong);
  color: var(--brand-ink);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--brand-ink);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  border-color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--brand-gold);
  padding-bottom: 2px;
}

.text-link .icon {
  width: 16px;
  height: 16px;
}

/* Hinweisleiste */

.notice-bar {
  padding: 8px var(--gutter);
  background: var(--brand-gold-soft);
  border-bottom: 1px solid #f1df9c;
  font-size: 0.8125rem;
  text-align: center;
  color: #5c4500;
}

.notice-bar strong {
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.notice-bar a {
  margin-left: 8px;
  font-weight: 600;
}

/* Kopfzeile */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand img {
  width: 172px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav > a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9063rem;
  font-weight: 500;
  color: var(--brand-ink-soft);
  text-decoration: none;
  position: relative;
}

.site-nav > a:hover {
  color: var(--brand-ink);
}

.site-nav > a.active {
  color: var(--brand-ink);
  font-weight: 600;
}

.site-nav > a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: var(--brand-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.9063rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-login .icon {
  width: 18px;
  height: 18px;
}

.nav-toggle,
.nav-burger {
  display: none;
}

@media (max-width: 1080px) {
  .nav-burger {
    display: grid;
    gap: 6px;
    place-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
  }

  .nav-burger span {
    width: 20px;
    height: 2px;
    background: var(--brand-ink);
    transition: transform 0.2s ease;
  }

  .nav-toggle:checked + .nav-burger span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-burger span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 32px rgba(26, 26, 26, 0.08);
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .site-nav > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .site-nav > a.active::after {
    display: none;
  }

  .nav-actions {
    margin: 16px 0 0;
    padding: 0;
    border: 0;
    justify-content: space-between;
  }
}

/* Abschnitte */

.section {
  padding: var(--section-y) 0;
}

.section-muted {
  background: var(--bg-muted);
}

.section-dark {
  background: var(--brand-ink);
  color: var(--text-on-dark);
}

.section-dark .lead,
.section-dark p {
  color: var(--text-on-dark-muted);
}

.section-dark .eyebrow {
  color: var(--text-on-dark-muted);
}

.section-flush-top {
  padding-top: 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Startseite: Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-ink);
  color: #fff;
  padding: clamp(72px, 10vw, 128px) 0 clamp(80px, 10vw, 136px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(221, 0, 0, 0.16), transparent 40%),
    radial-gradient(circle at 100% 60%, rgba(245, 184, 0, 0.1), transparent 45%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-on-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-grid > *,
.split > *,
.contact-grid > *,
.price-grid > * {
  min-width: 0;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero .lead {
  color: var(--text-on-dark-muted);
  margin-bottom: 36px;
}

.hero .eyebrow {
  color: var(--text-on-dark-muted);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts .icon {
  width: 18px;
  height: 18px;
  color: var(--brand-gold);
}

/* Hero-Grafik: Ablauf einer eAU als Karte */

.flow-card {
  position: relative;
  background: #fff;
  color: var(--brand-ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.flow-card::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--brand-stripe);
}

.flow-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.flow-card-head strong {
  font-size: 0.9375rem;
}

.flow-card-head span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.flow-steps {
  margin: 0;
  padding: 8px 22px 6px;
  list-style: none;
}

.flow-steps li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.flow-steps li:last-child {
  border-bottom: 0;
}

.flow-steps .dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-ink);
  color: #fff;
}

.flow-steps .dot .icon {
  width: 16px;
  height: 16px;
}

.flow-steps li.is-pending .dot {
  background: var(--brand-gold-soft);
  color: var(--brand-gold-strong);
  box-shadow: inset 0 0 0 1.5px var(--brand-gold);
}

.flow-steps b {
  display: block;
  font-weight: 600;
}

.flow-steps small {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.flow-steps time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.flow-card-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--bg-muted);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.flow-card-foot .icon {
  width: 18px;
  height: 18px;
  color: var(--brand-green);
}

/* Unterseiten: Hero */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
  background: var(--brand-ink);
  color: #fff;
}

.page-hero .eyebrow,
.page-hero .lead {
  color: var(--text-on-dark-muted);
}

.page-hero h1 {
  max-width: 52rem;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .btn-row {
  margin-top: 32px;
}

.ring-mark {
  pointer-events: none;
}

.page-hero-ring {
  position: absolute;
  right: -120px;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translateY(-50%);
  opacity: 0.18;
}

@media (max-width: 760px) {
  .page-hero-ring {
    width: 340px;
    height: 340px;
    right: -150px;
    opacity: 0.12;
  }
}

/* Karten und Raster */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9688rem;
}

.card > :last-child {
  margin-bottom: 0;
}

a.card {
  text-decoration: none;
}

a.card:hover {
  border-color: var(--brand-ink);
  box-shadow: var(--shadow-card);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: var(--brand-ink);
  color: var(--brand-gold);
}

.card-icon .icon {
  width: 24px;
  height: 24px;
}

.card-link {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--brand-ink);
}

.card-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

a.card:hover .card-link .icon {
  transform: translateX(3px);
}

/* Zielgruppen-Einstieg */

.audience-card {
  padding: clamp(28px, 4vw, 44px);
  min-height: 100%;
}

.audience-card h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
}

.audience-card ul {
  margin: 8px 0 0;
}

.audience-card.is-dark {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #fff;
}

.audience-card.is-dark p,
.audience-card.is-dark .check-list li {
  color: var(--text-on-dark-muted);
}

.audience-card.is-dark .card-link {
  color: #fff;
}

.audience-card.is-dark .card-icon {
  background: var(--brand-gold);
  color: var(--brand-ink);
}

/* Liste mit Haken */

.check-list {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 6px 0 6px 30px;
  color: var(--text-muted);
  font-size: 0.9688rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
  box-shadow: inset 0 0 0 1px var(--brand-gold);
}

.check-list li strong {
  color: var(--brand-ink);
}

.section-dark .check-list li {
  color: var(--text-on-dark-muted);
}

.section-dark .check-list li strong {
  color: #fff;
}

/* Schritte */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 32px 32px 8px 0;
}

.steps li + li {
  padding-left: 32px;
  border-left: 1px solid var(--border);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-gold-strong);
}

.steps li::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--brand-ink);
}

.steps li + li::after {
  left: 32px;
}

.steps p {
  color: var(--text-muted);
  font-size: 0.9688rem;
}

/* Zweispaltige Abschnitte */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.split.top {
  align-items: start;
}

/* Kennzahlen und Fakten */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-on-dark);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fact {
  padding: 28px;
  background: var(--brand-ink);
}

.fact .icon {
  width: 24px;
  height: 24px;
  margin-bottom: 16px;
  color: var(--brand-gold);
}

.fact h3 {
  color: #fff;
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.fact p {
  margin: 0;
  font-size: 0.9063rem;
}

/* Konnektoren */

.connector-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.connector {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
}

.connector-logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-ink);
}

.connector h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.connector .meta {
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.connector p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status-available {
  color: var(--brand-green);
  border-color: rgba(26, 127, 80, 0.35);
  background: rgba(26, 127, 80, 0.06);
}

.status-inprogress {
  color: #8a6500;
  border-color: var(--brand-gold);
  background: var(--brand-gold-soft);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.logo-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Code-Beispiel */

.code-card {
  border-radius: var(--radius-lg);
  background: var(--brand-ink-deep);
  border: 1px solid #2a2a2a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.code-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #2a2a2a;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.code-card-head i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3a3a;
}

.code-card-head span {
  margin-left: 8px;
}

.code-card pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #e9e9e9;
}

.code-card .k {
  color: var(--brand-gold);
}

.code-card .s {
  color: #9fd6b6;
}

.code-card .c {
  color: rgba(255, 255, 255, 0.4);
}

/* Preise */

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  padding: clamp(28px, 4vw, 44px);
}

.price-card.is-featured {
  border: 2px solid var(--brand-ink);
}

.price-tag {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 8px 0 20px;
}

.price-tag strong {
  font-size: clamp(2.25rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-tag span {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.price-plus {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.price-plus div {
  flex: 1;
}

.price-plus small {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.price-plus b {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.calc {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--brand-ink);
  color: #fff;
}

.calc h3 {
  color: #fff;
}

.calc p {
  color: var(--text-on-dark-muted);
  font-size: 0.9375rem;
}

.calc label {
  display: block;
  margin: 24px 0 10px;
  font-size: 0.875rem;
  font-weight: 600;
}

.calc-input {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calc input[type="range"] {
  flex: 1;
  accent-color: var(--brand-gold);
}

.calc input[type="number"] {
  width: 96px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-align: right;
}

.calc-result {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-dark);
}

.calc-result small {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 0.8125rem;
}

.calc-result strong {
  display: block;
  margin: 6px 0;
  font-size: clamp(2.25rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--brand-gold);
  font-variant-numeric: tabular-nums;
}

.calc-note {
  margin: 0;
  font-size: 0.8125rem !important;
}

/* Tabelle */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table th,
.table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.table thead th {
  background: var(--bg-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table td:first-child {
  font-weight: 600;
}

/* FAQ */

.faq {
  max-width: 52rem;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 22px;
  color: var(--text-muted);
  max-width: 44rem;
}

.faq-answer > :last-child {
  margin-bottom: 0;
}

/* Abschluss-Band */

.cta-band {
  padding: var(--section-y) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(36px, 5vw, 56px) !important;
  max-width: var(--container);
  background: var(--brand-ink);
  color: #fff;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-ink-soft) 0 33.34%, var(--brand-red) 33.34% 66.67%, var(--brand-gold) 66.67%);
}

.cta-inner h2 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.cta-inner p {
  margin: 0;
  color: var(--text-on-dark-muted);
  max-width: 36rem;
}

/* Formulare */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.form-panel {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.form {
  display: grid;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 14px no-repeat;
  padding-right: 40px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-ink);
  box-shadow: var(--focus-ring);
}

.field input.invalid,
.field textarea.invalid {
  border-color: var(--brand-red);
}

.validation-message,
.form-error {
  color: #b80000;
  font-size: 0.8125rem;
  margin: 0;
}

.field-check {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
}

.field-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brand-ink);
}

.field-check label {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.field-check .validation-message {
  grid-column: 2;
}

.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  text-align: left;
}

.contact-aside {
  display: grid;
  gap: 20px;
}

.contact-aside .card {
  padding: 24px;
}

.contact-aside .card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}

.contact-aside .card-icon .icon {
  width: 20px;
  height: 20px;
}

/* Rechtstexte */

.prose {
  max-width: 48rem;
}

.prose h2 {
  margin-top: 2em;
  font-size: 1.375rem;
}

.prose address {
  font-style: normal;
  margin-bottom: 1em;
}

.prose a {
  text-decoration-color: var(--brand-gold);
  text-underline-offset: 3px;
}

/* Fußzeile */

.site-footer {
  background: var(--brand-ink);
  color: var(--text-on-dark-muted);
  font-size: 0.9063rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 48px;
}

.footer-brand img {
  width: 190px;
  height: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 22rem;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer h2 {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer nav a {
  text-decoration: none;
}

.site-footer nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.8125rem;
}

/* Ankündigungsseite im Wartungsmodus */

.soon {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--brand-ink);
  color: #fff;
}

.soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(221, 0, 0, 0.18), transparent 42%),
    radial-gradient(circle at 100% 70%, rgba(245, 184, 0, 0.12), transparent 45%);
}

.soon > * {
  position: relative;
  z-index: 1;
}

.soon-ring {
  position: absolute !important;
  z-index: 0 !important;
  right: -160px;
  bottom: -160px;
  width: 640px;
  height: 640px;
  opacity: 0.22;
}

.soon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
}

.soon-header img {
  width: 180px;
  height: auto;
}

.soon-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.soon-main .eyebrow,
.soon-main .lead {
  color: var(--text-on-dark-muted);
}

.soon-form {
  margin-top: 40px;
  max-width: 34rem;
}

.soon-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 600;
}

.soon-form-row {
  display: flex;
  gap: 10px;
}

.soon-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.soon-form input:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: var(--focus-ring);
}

.soon-form input.invalid {
  border-color: var(--brand-red);
}

.soon-error {
  margin-top: 10px;
  color: #ff8a8a;
  font-size: 0.875rem;
}

.soon-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
}

.soon-footer nav {
  display: flex;
  gap: 20px;
}

.soon-footer a {
  text-decoration: none;
}

/* Einblenden beim Scrollen (nur mit JavaScript) */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsiv */

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .price-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li + li {
    padding: 28px 0 8px;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }

  .steps li + li::after {
    left: 0;
  }

  .connector-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .field-row,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btn-row .btn {
    flex: 1 1 100%;
  }

  .soon-form-row {
    flex-direction: column;
  }

  .price-plus {
    flex-direction: column;
    gap: 12px;
  }
}

/* Auf dunklem Grund wäre das schwarze Drittel unsichtbar. */
.site-footer .brand-stripe {
  background: linear-gradient(90deg, var(--brand-ink-soft) 0 33.34%, var(--brand-red) 33.34% 66.67%, var(--brand-gold) 66.67%);
}

/* Anmeldeseite: Kürzel mit fester Domain davor und dahinter */

.tenant-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.tenant-input:focus-within {
  border-color: var(--brand-ink);
  box-shadow: var(--focus-ring);
}

.tenant-input span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 0.9375rem;
  white-space: nowrap;
}

.field .tenant-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  font-weight: 600;
}

.field .tenant-input input:focus {
  box-shadow: none;
}

@media (max-width: 640px) {
  .tenant-input span:first-child {
    display: none;
  }
}
