/* TauSense / hoferLand.digital – Web CI (Pantone 295: #003871) */

@font-face {
  font-family: 'Panton';
  src: url('fonts/Panton-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Panton';
  src: url('fonts/Panton-SemiBold.ttf') format('truetype');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #003871;
  --brand-dark: #002a57;
  --brand-light: #e8f0f8;
  --brand-muted: #4a6d8f;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --text: #1a2332;
  --text-muted: #5c6b7a;
  --border: #d8e2ec;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 8px 32px rgba(0, 56, 113, 0.08);
  --shadow-hover: 0 14px 40px rgba(0, 56, 113, 0.14);
  --font: 'Panton', 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1120px;
  --gap-section: 6.5rem;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface-alt);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-partner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  color: var(--brand);
}

.site-partner__logo {
  display: block;
  flex: none;
  height: 46px;
  width: auto;
}

.site-partner__label {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-partner:hover {
  color: var(--brand-dark);
}

.site-partner:focus-visible {
  outline: 3px solid var(--brand-muted);
  outline-offset: 4px;
  border-radius: 6px;
}

@media (max-width: 480px) {
  .site-partner__label {
    font-size: 1rem;
  }
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.site-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:hover {
  color: var(--brand);
  background: var(--brand-light);
}

.site-nav a.is-active {
  color: var(--brand);
  background: var(--brand-light);
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--brand-light);
  color: var(--brand);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.25rem;
}

/* Hero (product page) */
.hero {
  background: linear-gradient(145deg, var(--brand-dark) 0%, var(--brand) 45%, #0056a8 100%);
  color: #fff;
  padding: 3rem 1.25rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.hero h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  /* Panton hat nur SemiBold; der feine Rand macht die Schrift etwas kräftiger */
  -webkit-text-stroke: 0.025em currentColor;
  paint-order: stroke fill;
}

.hero p.lead {
  margin: 0;
  font-size: 1.125rem;
  max-width: 36rem;
  opacity: 0.92;
  line-height: 1.75;
}

.hero__logo {
  width: clamp(100px, 18vw, 140px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.2));
}

/* Main layout */
.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--gap-section) - 1.5rem) 1.25rem 3.5rem;
}

.section-title {
  font-size: 1.5rem;
  color: var(--brand);
  margin: 0 0 1.6rem;
  letter-spacing: -0.02em;
}

/* Feature cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  color: var(--brand-dark);
}

.feature-card p,
.feature-card ul {
  margin: 0;
  font-size: 0.9875rem;
  color: var(--text-muted);
}

.feature-card ul {
  padding-left: 1.15rem;
}

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

/* Warning legend */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--text);
}

.legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend .c-green { background: #2e7d32; }
.legend .c-yellow { background: #f9a825; }
.legend .c-orange { background: #e65100; }
.legend .c-red { background: #c62828; }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow);
}

.panel h2 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--brand);
}

.panel--accent {
  border-left: 4px solid var(--brand);
}

/* Buttons */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  width: 13rem;
  max-width: 100%;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.btn {
  /* Panton hat nur SemiBold; der feine Rand macht die Beschriftung etwas kräftiger */
  -webkit-text-stroke: 0.03em currentColor;
  paint-order: stroke fill;
}

.btn small {
  -webkit-text-stroke: 0;
  font-weight: 400;
  font-size: 0.8125rem;
  opacity: 0.85;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--light {
  background: #fff;
  color: var(--brand);
}

.btn--light:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.btn--brand {
  background: var(--brand);
  color: #fff;
}

.btn--brand:hover {
  background: var(--brand-dark);
  color: #fff;
}

.lead__cta {
  display: block;
  white-space: nowrap;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 2.5rem;
}

/* Seitenteile: App / Technik und Hintergrund */
.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-muted);
}

.band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.75rem 1.25rem 2rem;
}

.band__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin: 0 0 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.logos__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 72px;
}

.logos__img--kfw {
  height: 56px;
}

.logos__img--bmwsb {
  height: 140px;
}

@media (max-width: 560px) {
  .logos {
    justify-content: center;
  }

  .logos__img {
    height: 56px;
  }

  .logos__img--kfw {
    height: 44px;
  }

  .logos__img--bmwsb {
    height: 120px;
  }
}
/* Intro */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  grid-template-areas:
    "eyebrow ."
    "text media";
  gap: 0 3rem;
  margin-bottom: var(--gap-section);
}

.intro__eyebrow {
  grid-area: eyebrow;
}

.intro__text {
  grid-area: text;
  max-width: 40rem;
}

.intro__text .section-title {
  margin-top: 0;
}

.intro p {
  margin: 0 0 0.9rem;
}

.intro__text p:last-child {
  margin-bottom: 0;
}

.intro__media {
  grid-area: media;
  position: relative;
  min-height: 280px;
}

.intro__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 26px rgba(0, 56, 113, 0.28)) drop-shadow(0 4px 8px rgba(0, 56, 113, 0.14));
}

@media (max-width: 860px) {
  .intro {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "eyebrow"
      "text"
      "media";
    gap: 1.5rem 0;
  }

  .intro__media {
    position: static;
    min-height: 0;
  }

  .intro__img {
    position: static;
    display: block;
    height: auto;
    max-width: 330px;
    margin: 0 auto;
  }
}

/* Function tiles */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.35rem;
  margin-bottom: 3rem;
}

.tile {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem 1.25rem;
  min-height: 10rem;
  box-shadow: 0 16px 36px rgba(0, 56, 113, 0.17), 0 3px 10px rgba(0, 56, 113, 0.09);
}

.tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.tile h3 {
  min-width: 0;
  overflow-wrap: break-word;
  hyphens: auto;
  margin: 0.9rem 0 0.25rem;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--brand-dark);
}

.tile p {
  overflow-wrap: break-word;
  hyphens: auto;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Screenshot-Bereich (eigener Block, alle Bilder sichtbar, ohne Slider) */
.showcase {
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem 2.5rem;
  margin: var(--gap-section) 0;
  text-align: center;
}

.showcase__title {
  margin: 0 0 1.75rem;
  font-size: 1.5rem;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.shots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  max-width: 860px;
  margin: 0 auto 2.75rem;
}

.shot {
  flex: 0 1 calc((100% - 4.8rem) / 4);
  max-width: 190px;
  margin: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 32px rgba(0, 56, 113, 0.3), 0 4px 10px rgba(0, 56, 113, 0.18);
}

@media (max-width: 960px) {
  .tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tile-grid .tile:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  :root {
    --gap-section: 4rem;
  }

  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile-grid .tile:last-child {
    grid-column: auto;
  }

  .tile {
    min-height: 0;
    padding: 1rem 0.9rem;
  }

  .tile h3 {
    font-size: 1rem;
  }

  .tile p {
    font-size: 0.9rem;
  }

  .showcase {
    padding: 1.75rem 1rem 2rem;
  }

  .tech {
    padding: 1.5rem 1rem 1.25rem;
  }

  .band {
    padding: 2rem 1rem 1rem;
  }

  .acc summary {
    padding: 1rem;
  }

  .acc__body {
    padding: 1rem;
  }

  .shot {
    flex-basis: calc((100% - 1.6rem) / 2);
  }
}

/* Download */
.download__title {
  margin: 0 0 1rem;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--brand-dark);
}

.download__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Accordion */
.tech {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.25rem 2rem 2rem;
  margin: 0 0 calc(var(--gap-section) - 3.5rem);
}

.tech__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.tech__lead {
  margin: 0 0 2rem;
  max-width: 46rem;
  color: var(--text-muted);
}

.acc {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.acc:last-child {
  margin-bottom: 0;
}

.acc:hover {
  border-color: var(--brand-muted);
}

.acc[open] {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(0, 56, 113, 0.1);
}

.acc summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--brand-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.acc[open] summary {
  background: var(--brand-light);
  border-bottom: 1px solid var(--border);
}

.acc summary:focus-visible {
  outline: 3px solid var(--brand-muted);
  outline-offset: -3px;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc summary::after {
  content: '+';
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 400;
}

.acc[open] summary::after {
  content: '–';
}

.acc__body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.acc__body p {
  margin: 0 0 0.75rem;
}

.level {
  border-left: 6px solid var(--lvl, var(--border));
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem 0.5rem;
  margin: 1.6rem 0 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.level h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--brand-dark);
}

.level h3 i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lvl);
  flex: none;
}

.level__clear {
  color: var(--text-muted);
}

.level__clear strong {
  font-weight: 400;
}

.level--green { --lvl: #2e7d32; }
.level--yellow { --lvl: #f9a825; }
.level--orange { --lvl: #e65100; }
.level--red { --lvl: #c62828; }

/* Project section */
.project {
  margin-bottom: 1.5rem;
}

.project h3,
.project h4 {
  color: var(--brand-dark);
}

.project .panel h3 {
  margin-top: 0;
}

.sensor {
  margin: 1.5rem 0 0.25rem;
}

.detail {
  max-width: 760px;
  margin: 2.5rem auto 0;
}

.detail__title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1.125rem;
  color: var(--brand);
}

.detail__stage {
  position: relative;
  aspect-ratio: 760 / 400;
}

.detail__halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-light) 0%, rgba(232, 240, 248, 0) 68%);
}

.detail__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail__fig {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  aspect-ratio: 360 / 654;
  transform: translateX(-50%);
}

.detail__photo {
  display: block;
  width: 100%;
  height: 100%;
}

.detail__label {
  position: absolute;
  width: 29%;
  transform: translateY(-50%);
}

.detail__label--r {
  left: 71.5%;
}

.detail__label--l {
  left: 0;
  text-align: right;
}

.detail__label h5 {
  margin: 0 0 0.15rem;
  font-size: 1.0625rem;
  color: var(--brand-dark);
}

.detail__label p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text-muted);
}

@media (max-width: 760px) {
  .detail__stage {
    aspect-ratio: auto;
    display: grid;
    gap: 1.1rem;
    justify-items: center;
  }

  .detail__halo,
  .detail__lines {
    display: none;
  }

  .detail__fig {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    height: 260px;
    order: -1;
  }

  .detail__label {
    position: relative;
    left: auto;
    top: auto !important;
    width: 100%;
    max-width: 24rem;
    transform: none;
    text-align: left;
  }
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.35rem;
}

.steps li {
  display: flex;
  flex-direction: column;
  counter-increment: step;
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  color: var(--text-muted);
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.steps strong {
  display: block;
  margin-top: 1.1rem;
  color: var(--brand-dark);
  margin-bottom: 0.25rem;
}

/* Privacy layout */
.page-privacy .privacy-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.page-privacy .privacy-layout--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--max);
}

.legal-sidebar {
  min-width: 0;
}

.toc-details {
  min-width: 0;
}

.toc-details__summary {
  display: none;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
}

.toc-details__summary::-webkit-details-marker {
  display: none;
}

.toc-details__summary::before {
  content: '▸ ';
  display: inline-block;
  transition: transform 0.15s ease;
}

.toc-details[open] .toc-details__summary::before {
  transform: rotate(90deg);
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow);
  max-height: calc(100vh - var(--header-h) - 2rem);
  overflow-y: auto;
}

.toc__title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li {
  margin: 0;
}

.toc a {
  display: block;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  color: var(--text-muted);
  line-height: 1.35;
}

.toc a:hover {
  background: var(--brand-light);
  color: var(--brand);
}

.toc .toc-sub a {
  padding-left: 1rem;
  font-size: 0.8125rem;
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-content a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal-content h1 {
  margin-top: 0;
  color: var(--brand-dark);
  font-size: 1.85rem;
  letter-spacing: -0.02em;
}

.legal-content h2 {
  margin-top: 2.25rem;
  padding-top: 0.5rem;
  font-size: 1.2rem;
  color: var(--brand);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.legal-content h3 {
  font-size: 1.05rem;
  color: var(--brand-dark);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.legal-content h4 {
  font-size: 1rem;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  color: var(--text);
}

.legal-content code {
  font-size: 0.9em;
  background: var(--brand-light);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  font-size: 0.9375rem;
}

.site-footer__logos {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 2.25rem 1.25rem;
}

.site-footer .logos {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  border-bottom: 0;
}

.site-footer__bar {
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 1.5rem 1.25rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: center;
}

.site-footer a {
  color: #b8d4ef;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer strong {
  color: #fff;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__logo {
    margin: 0 auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .page-privacy .privacy-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1rem;
  }

  .toc-details__summary {
    display: block;
  }

  .toc-details:not([open]) .toc {
    display: none;
  }

  .toc {
    position: static;
    max-height: none;
    margin-top: 0.65rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .legal-content {
    padding: 1.35rem 1.15rem;
  }
}

/* Lightbox (Vorschaubild) */
.intro__img { cursor: zoom-in; }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(0, 28, 58, 0.82); }
.lightbox__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1200px);
  max-height: calc(100vh - 7rem);
  object-fit: contain;
}
.lightbox__bar { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.lightbox__btn {
  font: inherit;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #fff;
  color: var(--brand);
  text-decoration: none;
  cursor: pointer;
}
.lightbox__btn--ghost { background: transparent; color: #fff; }
.lightbox__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
