/* ==========================================================================
   Lenhard IT – Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Design-Tokens (hell = Standard)
   -------------------------------------------------------------------------- */
:root {
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg: #f5f7fb;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --card-alt: #f5f7fb;
  --text: #0d1b2e;
  --text-muted: #4f6078;
  --border: #dce4ee;
  --border-strong: #c3cfdf;

  --primary: #1d5bb0;
  --primary-hover: #164b93;
  --primary-contrast: #ffffff;
  --primary-soft: #e4eefb;
  --primary-soft-text: #174e99;
  --grad-a: #1d5bb0;
  --grad-b: #5f8cc8;
  --success: #15803d;
  --success-soft: #dcf4e3;

  --band-bg: linear-gradient(135deg, #0e2b55 0%, #184f9c 100%);
  --band-border: transparent;
  --header-bg: rgba(245, 247, 251, 0.8);
  --grid-line: rgba(13, 27, 46, 0.055);
  --glow-1: rgba(29, 91, 176, 0.16);
  --glow-2: rgba(95, 140, 200, 0.22);

  --shadow-sm: 0 1px 2px rgba(13, 27, 46, 0.06), 0 1px 3px rgba(13, 27, 46, 0.05);
  --shadow-md: 0 4px 12px rgba(13, 27, 46, 0.05), 0 14px 34px rgba(13, 27, 46, 0.08);
  --shadow-lg: 0 10px 24px rgba(13, 27, 46, 0.06), 0 30px 70px rgba(13, 27, 46, 0.14);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --card: var(--surface);
  color-scheme: light;
}

/* Dunkles Design – per Umschalter */
:root[data-theme="dark"] {
  --bg: #0a1220;
  --bg-elev: #0d1728;
  --surface: #111c2f;
  --surface-2: #17243b;
  --card-alt: #131f34;
  --text: #e6edf7;
  --text-muted: #a2b1c6;
  --border: #22324c;
  --border-strong: #31466a;

  --primary: #6ea8ff;
  --primary-hover: #94bfff;
  --primary-contrast: #06101f;
  --primary-soft: rgba(110, 168, 255, 0.13);
  --primary-soft-text: #a5c9ff;
  --grad-a: #6ea8ff;
  --grad-b: #b4cdf0;
  --success: #4ade80;
  --success-soft: rgba(74, 222, 128, 0.13);

  --band-bg: linear-gradient(135deg, #10203b 0%, #1a3766 100%);
  --band-border: #2b4168;
  --header-bg: rgba(10, 18, 32, 0.74);
  --grid-line: rgba(230, 237, 247, 0.05);
  --glow-1: rgba(110, 168, 255, 0.16);
  --glow-2: rgba(60, 100, 170, 0.3);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25), 0 14px 34px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.3), 0 30px 70px rgba(0, 0, 0, 0.45);

  color-scheme: dark;
}

/* Dunkles Design – ohne JavaScript nach Systemeinstellung */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0a1220;
    --bg-elev: #0d1728;
    --surface: #111c2f;
    --surface-2: #17243b;
    --card-alt: #131f34;
    --text: #e6edf7;
    --text-muted: #a2b1c6;
    --border: #22324c;
    --border-strong: #31466a;
    --primary: #6ea8ff;
    --primary-hover: #94bfff;
    --primary-contrast: #06101f;
    --primary-soft: rgba(110, 168, 255, 0.13);
    --primary-soft-text: #a5c9ff;
    --grad-a: #6ea8ff;
    --grad-b: #b4cdf0;
    --success: #4ade80;
    --success-soft: rgba(74, 222, 128, 0.13);
    --band-bg: linear-gradient(135deg, #10203b 0%, #1a3766 100%);
    --band-border: #2b4168;
    --header-bg: rgba(10, 18, 32, 0.74);
    --grid-line: rgba(230, 237, 247, 0.05);
    --glow-1: rgba(110, 168, 255, 0.16);
    --glow-2: rgba(60, 100, 170, 0.3);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25), 0 14px 34px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.3), 0 30px 70px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-hover);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

::selection {
  background: var(--primary);
  color: var(--primary-contrast);
}

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--primary-contrast);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--primary-contrast);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Sanfter Wechsel zwischen hell und dunkel */
.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
  transition-property: background-color, border-color, color, fill, stroke, box-shadow, opacity, transform !important;
  transition-duration: 0.35s !important;
  transition-timing-function: ease !important;
  transition-delay: 0s !important;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 75%, transparent);
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: var(--primary-contrast);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.btn--light {
  background: #ffffff;
  color: #0e2b55;
}

.btn--light:hover {
  background: #e8f0fc;
  color: #0e2b55;
  transform: translateY(-1px);
}

.btn--lg {
  min-height: 52px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--primary);
}

.icon-btn .icon {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand__logo {
  display: block;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 7px;
  box-shadow: 0 6px 16px -8px rgba(52, 60, 143, 0.45);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand__name b {
  color: var(--primary);
  font-weight: 800;
}

.brand__claim {
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.nav a[aria-current] {
  color: var(--primary-soft-text);
  background: var(--primary-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Theme-Umschalter: Mond im hellen, Sonne im dunklen Design */
.theme-toggle {
  overflow: hidden;
}

.theme-toggle .icon {
  position: absolute;
  inset: 0;
  margin: auto;
  transition: transform 0.5s var(--ease), opacity 0.3s;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}

html:not([data-theme]) .theme-toggle {
  display: none;
}

.nav-toggle {
  display: none;
}

.nav-toggle .icon {
  position: absolute;
  inset: 0;
  margin: auto;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle .icon-close {
  opacity: 0;
  transform: rotate(-45deg);
}

.nav-open .nav-toggle .icon-menu {
  opacity: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle .icon-close {
  opacity: 1;
  transform: none;
}

@media (max-width: 899.98px) {
  .nav-toggle {
    display: inline-grid;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 6px);
    left: var(--gutter);
    right: var(--gutter);
    margin: 0;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s, transform 0.25s var(--ease);
  }

  .nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
  }

  .brand__logo {
    width: 46px;
    height: 46px;
    border-radius: 6px;
  }

  .header-call {
    width: 44px;
    padding: 0;
  }

  .header-call__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .header-call .icon {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 370px) {
  .brand__claim {
    display: none;
  }

  .header-actions {
    gap: 0.375rem;
  }
}

@media (max-width: 340px) {
  .header-call {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(72px, 10vw, 120px);
}

.section--flush-top {
  padding-top: 0;
}

.section--alt {
  --card: var(--card-alt);
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.08;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
}

.gradient-text {
  background: linear-gradient(100deg, var(--grad-a) 15%, var(--grad-b) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(48px, 8vw, 100px) clamp(56px, 8vw, 96px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 25%, transparent 75%);
}

.hero::after {
  background:
    radial-gradient(640px circle at 82% 18%, var(--glow-1), transparent 62%),
    radial-gradient(520px circle at 8% 85%, var(--glow-2), transparent 62%);
}

.hero-grid {
  display: grid;
  gap: clamp(48px, 7vw, 80px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.9rem 0.35rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 550;
}

.eyebrow__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}

.eyebrow__icon .icon {
  width: 14px;
  height: 14px;
}

.hero-title {
  margin: 1.4rem 0 1.4rem;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 36rem;
  color: var(--text-muted);
  font-size: clamp(1.06rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 480px) {
  .hide-sm {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

.hero-call {
  margin: 1.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-call a {
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
}

.hero-call a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Hero-Illustration */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  padding-block: 28px;
}

.status-card {
  position: relative;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.status-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 650;
}

.status-card__dots {
  display: inline-flex;
  gap: 5px;
}

.status-card__dots i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--border-strong);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 650;
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: currentColor;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}

.status-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: var(--surface-2);
}

.status-list strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.3;
}

.status-list small {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.status-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}

.status-ico .icon {
  width: 20px;
  height: 20px;
}

.status-ok {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
}

.status-ok .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
}

.status-card__foot {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.meter__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 550;
}

.meter__label b {
  color: var(--text);
}

.meter__track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-2);
}

.meter__bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--grad-a), var(--success));
  transform-origin: left;
  animation: meter 1.6s var(--ease) 0.4s both;
}

@keyframes meter {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: 0.83rem;
  font-weight: 650;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite alternate;
}

.float-chip .icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.float-chip--a {
  top: 0;
  left: -28px;
}

.float-chip--b {
  right: -20px;
  bottom: 0;
  animation-delay: -3s;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@media (max-width: 600px) {
  .float-chip--a { left: 8px; }
  .float-chip--b { right: 8px; }
}

/* Kennzahlen */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: clamp(56px, 8vw, 88px) 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 820px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fact {
  margin: 0;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
}

.fact dt {
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.fact dd {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Motto & Zielgruppen
   -------------------------------------------------------------------------- */
.audience-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 820px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.audience-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.audience-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--glow-1), transparent 70%);
  pointer-events: none;
}

.audience-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--primary) 80%, transparent);
}

.audience-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.45rem;
  font-weight: 750;
}

.audience-card > p {
  color: var(--text-muted);
}

.ticks {
  display: grid;
  gap: 0.6rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
}

.ticks .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--primary);
  stroke-width: 2.4;
}

.motto-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(36px, 5vw, 56px);
  text-align: center;
}

.motto-cta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.motto-cta strong {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Leistungen
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  transition: background-color 0.3s, color 0.3s;
}

.service-card:hover .service-card__icon {
  background: var(--primary);
  color: var(--primary-contrast);
}

.service-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-card--cta {
  justify-content: space-between;
  gap: 1.25rem;
  border-color: transparent;
  background: var(--band-bg);
  color: #ffffff;
}

.service-card--cta h3 {
  font-size: 1.2rem;
}

.service-card--cta p {
  color: rgba(255, 255, 255, 0.8);
}

.service-card--cta .btn {
  align-self: flex-start;
}

/* Detail-Tabs */
.detail {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.detail__head h3 {
  font-size: 1.3rem;
  font-weight: 750;
}

.tablist {
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  scrollbar-width: none;
}

.tablist::-webkit-scrollbar {
  display: none;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.93rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.tab .icon {
  width: 17px;
  height: 17px;
}

.tab:hover {
  color: var(--text);
}

.tab[aria-selected="true"] {
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--primary) 80%, transparent);
}

@media (max-width: 560px) {
  .tablist {
    display: flex;
    width: 100%;
  }

  .tab {
    flex: 1;
    justify-content: center;
    padding-inline: 0.5rem;
  }

  .tab .icon {
    display: none;
  }
}

.tabpanel {
  display: grid;
  gap: 1.5rem 2.5rem;
  margin-top: 1.75rem;
  animation: fade-in 0.4s var(--ease);
}

.tabpanel[hidden] {
  display: none;
}

@media (min-width: 1120px) {
  .tabpanel {
    grid-template-columns: 0.7fr 1.3fr;
    align-items: start;
  }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.tabpanel__intro h4 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  font-weight: 750;
}

.tabpanel__intro p {
  margin: 0;
  color: var(--text-muted);
}

.checklist {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 620px) {
  .checklist {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 0.94rem;
  line-height: 1.5;
}

.checklist .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--primary);
  stroke-width: 2.4;
}

.checklist strong {
  font-weight: 650;
}

/* --------------------------------------------------------------------------
   Ablauf
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-contrast);
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--primary-soft);
}

.step h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (min-width: 1000px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(1.5rem + 21px);
    left: calc(1.5rem + 60px);
    right: -17px;
    height: 2px;
    background-image: linear-gradient(90deg, var(--border-strong) 55%, transparent 0);
    background-size: 9px 2px;
  }
}

/* --------------------------------------------------------------------------
   Über uns
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}

@media (min-width: 960px) {
  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.about-text > p {
  color: var(--text-muted);
  font-size: 1.06rem;
}

.values {
  display: grid;
  gap: 12px;
  margin-top: 2rem;
}

@media (min-width: 560px) {
  .values {
    grid-template-columns: 1fr 1fr;
  }
}

.value {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.value__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}

.value__icon .icon {
  width: 21px;
  height: 21px;
}

.value h3 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
  font-weight: 700;
}

.value p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.founder {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

@media (min-width: 960px) {
  .founder {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.founder::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 84px;
  background: var(--band-bg);
}

.founder__top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 24px;
}

.avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 4px solid var(--surface);
  border-radius: 999px;
  background: linear-gradient(135deg, #3a7bd5, #123e7c);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.founder__name h3 {
  font-size: 1.25rem;
  font-weight: 750;
}

.founder__name p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.founder__stats {
  display: grid;
  gap: 0;
  margin: 1.5rem 0;
}

.founder__stats div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.founder__stats div:first-child {
  border-top: 1px solid var(--border);
}

.founder__stats dt {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.founder__stats dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.founder__actions {
  display: grid;
  gap: 0.6rem;
}

/* --------------------------------------------------------------------------
   Fernwartung
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.75rem, 5vw, 4rem);
  border: 1px solid var(--band-border);
  border-radius: var(--radius-lg);
  background: var(--band-bg);
  color: #ffffff;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000 10%, transparent 70%);
}

.band__shield {
  position: absolute;
  right: -40px;
  bottom: -60px;
  z-index: -1;
  width: 320px;
  height: 320px;
  color: rgba(255, 255, 255, 0.07);
  stroke-width: 1.2;
}

.band-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

@media (min-width: 960px) {
  .band-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.band .kicker {
  color: #a9cbff;
}

.band .section-title {
  color: #ffffff;
}

.band__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Etwas dunklere Variante von .btn--light, z. B. für „Kunden-Modul starten“ */
.btn--light-tint {
  background: #c9dcf7;
}

.btn--light-tint:hover {
  background: #b5cff3;
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #ffffff;
}

.btn--outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.notice {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.5;
}

.notice .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #a9cbff;
}

.notice strong {
  color: #ffffff;
}

.remote-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: remote;
}

.remote-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.remote-steps__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.remote-steps__icon::after {
  counter-increment: remote;
  content: counter(remote);
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #0e2b55;
  font-size: 0.75rem;
  font-weight: 800;
}

.remote-steps h3 {
  margin: 0.1rem 0 0.25rem;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.remote-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.remote-steps a {
  color: #ffffff;
  font-weight: 650;
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 1000px) {
  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

.contact-cards {
  display: grid;
  gap: 12px;
}

@media (min-width: 560px) {
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

a.contact-card:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}

.contact-card__icon .icon {
  width: 21px;
  height: 21px;
}

.contact-card__label {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-card__value {
  font-style: normal;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-card__link .icon {
  width: 15px;
  height: 15px;
}

.contact-hint {
  margin: 1.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.form-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.3rem;
  font-weight: 750;
}

.form-card__intro {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.field legend {
  margin-bottom: 0.4rem;
}

.field .optional {
  color: var(--text-muted);
  font-weight: 450;
}

.input {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.input::placeholder {
  color: color-mix(in srgb, var(--text-muted) 75%, transparent);
}

.input:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border-strong));
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

textarea.input {
  min-height: 130px;
  resize: vertical;
}

.select {
  position: relative;
}

.select select {
  padding-right: 2.5rem;
  appearance: none;
  cursor: pointer;
}

.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--bg);
}

.segmented label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.5rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.93rem;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.segmented span .icon {
  width: 17px;
  height: 17px;
}

.segmented input:checked + span {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .segmented input:checked + span {
  background: var(--surface-2);
}

.segmented input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.form-note {
  display: flex;
  gap: 0.55rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.form-note .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
}

.form-status {
  margin: 0;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: clamp(48px, 6vw, 72px) 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  }
}

.footer-logo {
  display: inline-block;
  border-radius: 14px;
}

.footer-logo img {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.footer-about p {
  max-width: 22rem;
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.footer-col h2 {
  margin-bottom: 0.9rem;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a,
.footer-col address {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-style: normal;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-col a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0;
}

/* Nach oben */
.to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s linear 0.25s, color 0.2s, border-color 0.2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s, transform 0.25s var(--ease), color 0.2s, border-color 0.2s;
}

/* --------------------------------------------------------------------------
   Rechtstexte (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */
.legal {
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.back-link .icon {
  width: 17px;
  height: 17px;
  transform: rotate(180deg);
}

.back-link:hover {
  color: var(--primary);
}

.prose {
  max-width: 780px;
}

.prose h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.prose-lead {
  margin-bottom: 2.25rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.prose h2 {
  margin: 2.75rem 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 750;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.prose h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.prose strong {
  color: var(--text);
}

.prose address {
  margin: 0 0 1rem;
  color: var(--text);
  font-style: normal;
}

.info-card {
  display: grid;
  gap: 1.25rem 2rem;
  margin: 0 0 1rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

@media (min-width: 600px) {
  .info-card {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card dl {
  margin: 0;
}

.info-card dt {
  margin-bottom: 0.2rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-card dd {
  margin: 0 0 1rem;
  color: var(--text);
  font-weight: 550;
}

.info-card dd:last-child {
  margin-bottom: 0;
}

.toc {
  margin: 0 0 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.toc h2 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 0.35rem 2rem;
  margin: 0;
  padding-left: 1.25rem;
}

@media (min-width: 640px) {
  .toc ol {
    grid-template-columns: 1fr 1fr;
  }
}

.toc li + li {
  margin-top: 0;
}

.toc a {
  color: var(--text-muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--primary);
}

.prose .stand {
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Scroll-Animationen
   -------------------------------------------------------------------------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .to-top,
  .hero-visual,
  .form-card {
    display: none !important;
  }
}
