/* Gebra-Tech One-Pager
   Tokens und Modul-Rezepte 1:1 aus dem Claude-Design (Design-System „Gebra-Tech“).
   Klassen-Portierung übernommen aus dem früheren WordPress-Plugin „Gebra-Tech Widgets“ (Netigo, 08/2026). */

/* ---------- Schriften (lokal gehostet, SIL Open Font License, latin-Subset) ---------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-var-latin.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-var-latin.woff2') format('woff2');
  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;
}

/* ---------- Design-Tokens ---------- */
:root {
  color-scheme: light;

  /* Stufe 1: Basispalette */
  --gebra-ink-900: #0D1220;
  --gebra-ink-700: #222B40;
  --gebra-ink-500: #47536D;
  --gebra-ink-300: #939DB4;
  --gebra-neutral-000: #FFFFFF;
  --gebra-neutral-050: #F5F7FB;
  --gebra-neutral-100: #ECEFF6;
  --gebra-neutral-200: #DCE1EC;
  --gebra-neutral-400: #AEB7C9;
  --gebra-neutral-600: #6B7690;
  --gebra-violet-050: #F1EFFF;
  --gebra-violet-100: #E3DFFF;
  --gebra-violet-300: #A89DFF;
  --gebra-violet-500: #5B4DF5;
  --gebra-violet-600: #4B3CE0;
  --gebra-violet-700: #3D2FC2;

  /* Stufe 2: semantische Aliases (zeigen nur auf die Basispalette) */
  --bg-page: var(--gebra-neutral-050);
  --surface-card: var(--gebra-neutral-000);
  --surface-sunken: var(--gebra-neutral-100);
  --surface-invert: var(--gebra-ink-900);
  --text-heading: var(--gebra-ink-900);
  --text-body: var(--gebra-ink-700);
  --text-muted: var(--gebra-ink-500);
  --text-invert: var(--gebra-neutral-050);
  --text-on-accent: var(--gebra-neutral-000);
  --accent-primary: var(--gebra-violet-500);
  --accent-primary-hover: var(--gebra-violet-600);
  --accent-primary-press: var(--gebra-violet-700);
  --accent-soft: var(--gebra-violet-050);
  --accent-ring: var(--gebra-violet-300);
  --border-hairline: var(--gebra-neutral-200);
  --border-strong: var(--gebra-neutral-400);
  --border-invert: rgba(245, 247, 251, 0.18);
  --border-invert-soft: rgba(245, 247, 251, 0.12);

  /* Typografie */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --display-weight: 600;
  --display-weight-strong: 700;
  --display-tracking: -0.02em;
  --display-leading: 1.06;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --body-weight: 400;
  --body-leading: 1.55;
  --text-hero: 4rem;
  --text-h1: 2.75rem;
  --text-h2: 2rem;
  --text-h3: 1.375rem;
  --text-lead: 1.125rem;
  --text-base: 1rem;
  --text-small: 0.875rem;
  --text-micro: 0.75rem;
  --tracking-caps: 0.08em;

  /* Spacing, Radien, Layout */
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --max-content: 1160px;
  --wrap-x: var(--space-xl);
  --section-y: calc(var(--space-3xl) + var(--space-xl)); /* 96px */
  --header-h: 72px;
  --consent-h: 0px; /* wird von main.js gesetzt, solange der Hinweis sichtbar ist */

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 360ms;
  --lift-hover: translateY(-2px);
  --scale-press: scale(0.97);

  /* Elevation: in der Akzentfarbe getönt, nie neutrales Schwarz */
  --shadow-xs: 0 1px 2px rgba(61, 47, 194, 0.08);
  --shadow-sm: 0 2px 8px -2px rgba(61, 47, 194, 0.12);
  --shadow-md: 0 8px 20px -6px rgba(61, 47, 194, 0.16);
  --shadow-lg: 0 20px 48px -12px rgba(61, 47, 194, 0.24);
  --shadow-focus: 0 0 0 3px rgba(91, 77, 245, 0.25);
}

@media (max-width: 767px) {
  :root { --wrap-x: var(--space-lg); --section-y: var(--space-3xl); }
}
@media (max-width: 420px) {
  :root { --wrap-x: var(--space-md); }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--body-weight);
  font-size: var(--text-base);
  line-height: var(--body-leading);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
  color: var(--text-heading);
  margin: 0;
}
a { color: var(--accent-primary); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
button { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--gebra-violet-100); }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }

.gebra-skip {
  position: absolute; left: -9999px; top: var(--space-md); z-index: 100;
  background: var(--surface-card); color: var(--text-heading); font-weight: 600;
  padding: var(--space-sm) var(--space-md); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
}
.gebra-skip:focus { left: var(--space-md); }

/* Design rechnet content-box (1160px Inhalt + Padding) */
.gebra-wrap { max-width: calc(var(--max-content) + 2 * var(--wrap-x)); margin: 0 auto; padding: 0 var(--wrap-x); }

/* Anker springen unter dem Sticky-Header hindurch */
[id] { scroll-margin-top: var(--header-h); }

/* ---------- Kicker (Caps-Label über Headlines) ---------- */
.gebra-kicker {
  font-size: var(--text-micro); font-weight: 600; letter-spacing: var(--tracking-caps);
  text-transform: uppercase; color: var(--accent-primary);
}

/* ---------- Buttons (Rezept aus dem Design-System) ---------- */
.gebra-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  font-family: var(--font-body); font-weight: 600;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; user-select: none; white-space: nowrap; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.gebra-btn svg { flex: none; }
.gebra-btn--md { height: 40px; padding: 0 18px; font-size: var(--text-small); }
.gebra-btn--lg { height: 48px; padding: 0 24px; font-size: var(--text-base); }
.gebra-btn--primary { background: var(--accent-primary); color: var(--text-on-accent); box-shadow: var(--shadow-sm); }
.gebra-btn--primary:active { background: var(--accent-primary-press); transform: var(--scale-press); }
.gebra-btn--outline { background: var(--surface-card); color: var(--text-heading); border-color: var(--border-hairline); box-shadow: var(--shadow-xs); }
.gebra-btn--outline:active { transform: var(--scale-press); }
.gebra-btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* ---------- Medienflächen ---------- */
.gebra-media { overflow: hidden; background: var(--surface-sunken); }
.gebra-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Modul 1: Sticky Header ---------- */
.gebra-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface-card); border-bottom: 1px solid var(--border-hairline);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.gebra-header.is-scrolled { box-shadow: var(--shadow-sm); }
.gebra-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.gebra-header__brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  letter-spacing: var(--display-tracking); color: var(--text-heading); white-space: nowrap;
}
.gebra-header__brand:hover { color: var(--text-heading); }
.gebra-header__nav { display: flex; align-items: center; gap: var(--space-xl); }
.gebra-header__nav a { color: var(--text-body); font-size: var(--text-small); font-weight: 500; }
.gebra-header__nav-legal { display: none; }
.gebra-header__actions { display: flex; align-items: center; gap: var(--space-sm); }
.gebra-header__burger {
  display: none; appearance: none; background: transparent; border: 0; padding: var(--space-2xs);
  cursor: pointer; color: var(--text-heading); border-radius: var(--radius-sm); line-height: 0;
}
.gebra-header__burger:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.gebra-header__burger-close { display: none; }
.gebra-header__burger[aria-expanded='true'] .gebra-header__burger-open { display: none; }
.gebra-header__burger[aria-expanded='true'] .gebra-header__burger-close { display: inline; }

@media (max-width: 767px) {
  .gebra-header__burger { display: inline-flex; }
  .gebra-header__nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-card); border-bottom: 1px solid var(--border-hairline);
    box-shadow: var(--shadow-md); padding: var(--space-xs) var(--wrap-x) var(--space-lg);
  }
  .gebra-header__nav.is-open { display: flex; }
  .gebra-header__nav > a { padding: var(--space-sm) 0; font-size: var(--text-base); border-bottom: 1px solid var(--border-hairline); }
  .gebra-header__nav > a:last-of-type { border-bottom: 0; }
  .gebra-header__nav-legal { display: flex; gap: var(--space-lg); padding-top: var(--space-sm); margin-top: var(--space-xs); border-top: 1px solid var(--border-hairline); }
  .gebra-header__nav-legal a { font-size: var(--text-small); color: var(--text-muted); font-weight: 500; }
}
/* Schmale Screens: Header-Buttons nur als Icon, Label bleibt für Screenreader */
@media (max-width: 520px) {
  .gebra-header__wa .gebra-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gebra-header__wa.gebra-btn--md { width: 40px; padding: 0; }
}
@media (max-width: 380px) {
  .gebra-header__back .gebra-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gebra-header__back.gebra-btn--md { width: 40px; padding: 0; }
}

/* ---------- Modul 2: Hero ---------- */
.gebra-hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center; padding: var(--space-2xl) 0; background: var(--bg-page);
}
.gebra-hero__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: var(--space-3xl); align-items: center; width: 100%;
}
.gebra-hero__content { display: flex; flex-direction: column; gap: var(--space-lg); }
.gebra-hero__title { font-size: clamp(2.75rem, 5.2vw, 4rem); font-weight: var(--display-weight-strong); text-wrap: balance; }
.gebra-hero__lead { font-size: var(--text-lead); color: var(--text-muted); max-width: 34rem; margin: 0; text-wrap: pretty; }
.gebra-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-md); align-items: center; }
.gebra-hero__note { font-size: var(--text-small); color: var(--text-muted); }
.gebra-hero__media { height: min(540px, 62vh); min-height: 380px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 767px) {
  .gebra-hero { min-height: 0; }
  .gebra-hero__grid { gap: var(--space-2xl); }
  .gebra-hero__media { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .gebra-hero__title { font-size: clamp(2.25rem, 10vw, 2.75rem); }
}

/* ---------- Modul 3: Leistungen ---------- */
.gebra-leistungen { padding: var(--section-y) 0; background: var(--bg-page); }
.gebra-leistungen__inner { display: flex; flex-direction: column; gap: var(--space-2xl); }
.gebra-leistungen__head { display: flex; flex-direction: column; gap: var(--space-sm); max-width: 40rem; }
.gebra-leistungen__title { font-size: var(--text-h2); }
.gebra-leistungen__intro { color: var(--text-muted); margin: 0; text-wrap: pretty; }
.gebra-leistungen__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr)); gap: var(--space-lg); }

/* Card-Rezept aus dem Design-System */
.gebra-card {
  background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg);
  padding: var(--space-lg); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.gebra-card__body { display: flex; flex-direction: column; gap: var(--space-md); }
.gebra-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--accent-soft); color: var(--accent-primary);
  display: flex; align-items: center; justify-content: center;
}
.gebra-card__title { font-size: var(--text-h3); }
.gebra-card__text { font-size: var(--text-small); color: var(--text-muted); margin: 0; text-wrap: pretty; }

/* ---------- Modul 4: Über uns ---------- */
.gebra-ueberuns { padding: var(--section-y) 0; background: var(--bg-page); }
.gebra-ueberuns__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: var(--space-3xl); align-items: center;
}
.gebra-ueberuns__media { height: 440px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.gebra-ueberuns__content { display: flex; flex-direction: column; gap: var(--space-lg); }
.gebra-ueberuns__title { font-size: var(--text-h2); }
.gebra-ueberuns__body { color: var(--text-body); margin: 0; text-wrap: pretty; }
.gebra-ueberuns__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-sm); }
.gebra-ueberuns__list li { display: flex; align-items: center; gap: var(--space-sm); color: var(--text-body); }
.gebra-ueberuns__check {
  flex: none; width: 22px; height: 22px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent-primary);
  display: flex; align-items: center; justify-content: center;
}
.gebra-ueberuns__note {
  background: var(--accent-soft); border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg); font-size: var(--text-small); color: var(--text-body);
}
@media (max-width: 767px) {
  .gebra-ueberuns__grid { gap: var(--space-2xl); }
  .gebra-ueberuns__media { height: auto; aspect-ratio: 4 / 3; order: 2; }
  .gebra-ueberuns__list li { align-items: flex-start; }
  .gebra-ueberuns__check { margin-top: 2px; }
}

/* ---------- Modul 5: Conversion (invertiert) ---------- */
.gebra-conversion { background: var(--surface-invert); padding: var(--section-y) 0; }
.gebra-conversion__inner {
  max-width: calc(720px + 2 * var(--wrap-x));
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-lg);
}
.gebra-conversion__kicker { color: var(--gebra-violet-300); }
.gebra-conversion__title { font-size: clamp(2rem, 6vw, var(--text-h1)); color: var(--text-invert); text-wrap: balance; }
.gebra-conversion__lead { color: var(--gebra-ink-300); margin: 0; font-size: var(--text-lead); text-wrap: pretty; }
.gebra-conversion__cta { margin-top: var(--space-xs); }
.gebra-conversion__channels { display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: center; margin-top: var(--space-md); }
.gebra-conversion__channel {
  display: flex; align-items: center; gap: var(--space-sm);
  border: 1px solid var(--border-invert); border-radius: var(--radius-md); padding: var(--space-md) var(--space-lg);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.gebra-conversion__channel-icon { color: var(--gebra-violet-300); display: flex; }
.gebra-conversion__channel-info { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3xs); text-align: left; }
.gebra-conversion__channel-label { font-size: var(--text-micro); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--gebra-ink-300); }
.gebra-conversion__channel-value { color: var(--text-invert); font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Modul 6: Footer ---------- */
.gebra-footer { background: var(--surface-invert); border-top: 1px solid var(--border-invert-soft); }
.gebra-footer__inner { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); display: flex; flex-direction: column; gap: var(--space-2xl); }
.gebra-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--space-2xl); }
.gebra-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.gebra-footer__brand { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: var(--display-tracking); color: var(--text-invert); }
.gebra-footer__desc { font-size: var(--text-small); color: var(--gebra-ink-300); text-wrap: pretty; }
.gebra-footer__heading { font-size: var(--text-micro); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--gebra-ink-300); }
.gebra-footer__link { color: var(--text-invert); font-size: var(--text-small); }
.gebra-footer__bottom { border-top: 1px solid var(--border-invert-soft); padding-top: var(--space-lg); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); }
.gebra-footer__copy { font-size: var(--text-micro); color: var(--gebra-ink-300); }
.gebra-footer__legal { display: flex; gap: var(--space-lg); }
.gebra-footer__legal a { color: var(--gebra-ink-300); font-size: var(--text-micro); }
/* Footer der Rechtsseiten: kompakt, mit Links zurück auf die Startseite */
.gebra-footer--simple .gebra-footer__inner { padding-top: var(--space-xl); padding-bottom: var(--space-xl); gap: var(--space-lg); }
.gebra-footer__nav { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); }

/* ---------- Floating WhatsApp-Button ---------- */
.gebra-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: var(--radius-pill);
  background: var(--accent-primary); color: var(--text-on-accent);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), bottom var(--dur-base) var(--ease-out);
}
.gebra-fab:active { transform: var(--scale-press); }
.gebra-fab:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-pill); }

/* ---------- Datenschutz-Hinweis (nur Startseite, rein informativ) ---------- */
.gebra-consent {
  position: fixed; left: var(--space-md); bottom: var(--space-md); z-index: 70;
  max-width: 560px; background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg); padding: var(--space-md) var(--space-lg); box-shadow: var(--shadow-lg);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg);
}
.gebra-consent[hidden] { display: none; }
.gebra-consent p { margin: 0; flex: 1 1 280px; font-size: var(--text-small); line-height: 1.55; color: var(--text-body); }
.gebra-consent strong { color: var(--text-heading); }
.gebra-consent a { text-decoration: underline; text-underline-offset: 2px; }
.gebra-consent .gebra-btn { border: 0; }
@media (max-width: 767px) {
  .gebra-consent { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  body.has-consent .gebra-fab { bottom: calc(var(--consent-h) + 10px + 16px); }
}

/* ---------- Scroll-Reveal (main.js setzt .gebra-reveal nur unterhalb des Folds) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .gebra-reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
  .gebra-reveal.is-visible { opacity: 1; transform: none; }
  .gebra-consent:not([hidden]) { animation: gebraFadeUp var(--dur-slow) var(--ease-out) both; }
}
@keyframes gebraFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Hover nur auf Geräten mit echtem Hover ---------- */
@media (hover: hover) and (pointer: fine) {
  .gebra-header__nav a:hover { color: var(--accent-primary); }
  .gebra-btn--primary:hover { background: var(--accent-primary-hover); color: var(--text-on-accent); box-shadow: var(--shadow-md); transform: var(--lift-hover); }
  .gebra-btn--outline:hover { background: var(--surface-sunken); color: var(--text-heading); transform: var(--lift-hover); }
  .gebra-card--interactive:hover { transform: var(--lift-hover); box-shadow: var(--shadow-md); }
  .gebra-conversion__channel:hover { border-color: var(--gebra-violet-300); transform: var(--lift-hover); }
  .gebra-footer__link:hover { color: var(--gebra-violet-300); }
  .gebra-footer__legal a:hover { color: var(--text-invert); }
  .gebra-fab:hover { background: var(--accent-primary-hover); color: var(--text-on-accent); transform: var(--lift-hover); }
  .gebra-legal a:hover { color: var(--accent-primary-hover); }
}

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

/* ---------- Rechtstexte (impressum.html, datenschutz.html) ---------- */
.gebra-legal {
  max-width: calc(760px + 2 * var(--wrap-x)); margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--wrap-x) clamp(64px, 8vw, 96px);
  color: var(--text-body); font-size: var(--text-base); line-height: 1.7;
}
.gebra-legal h1 { margin: var(--space-xs) 0 var(--space-lg); font-size: clamp(2rem, 7vw, var(--text-h1)); font-weight: var(--display-weight-strong); hyphens: auto; overflow-wrap: anywhere; }
.gebra-legal h2 { margin: var(--space-2xl) 0 var(--space-sm); font-size: var(--text-h3); }
.gebra-legal h3 { margin: var(--space-lg) 0 var(--space-xs); font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; letter-spacing: 0; line-height: var(--body-leading); }
.gebra-legal p, .gebra-legal ul { margin: 0 0 14px; }
.gebra-legal ul { padding-left: 20px; }
.gebra-legal li { margin-bottom: 4px; }
.gebra-legal a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.gebra-legal address { font-style: normal; }
.gebra-legal strong { color: var(--text-heading); font-weight: 600; }
.gebra-legal .gebra-kicker { display: block; }
.gebra-legal .gebra-legal__meta { color: var(--text-muted); font-size: var(--text-small); margin-top: calc(-1 * var(--space-sm)); }
.gebra-legal .gebra-legal__hint { background: var(--accent-soft); border-radius: var(--radius-md); padding: var(--space-md) var(--space-lg); font-size: var(--text-small); }
