/* ==========================================================================
   WASSER HEINZ UG (haftungsbeschränkt) – Stylesheet
   Variante 2: helles, editoriales Premium-Design mit Bento-Grid
   Nur Systemschriften, keine externen Ressourcen.
   ========================================================================== */

/* ------------------------------------------------------------------
   1. Design-Tokens
   ------------------------------------------------------------------ */
:root {
  /* Farben */
  --bg:          #FAF7F2;   /* warmes Off-White */
  --bg-alt:      #F1EBE0;   /* wärmerer Abschnitt */
  --surface:     #FFFFFF;
  --ink:         #10222E;   /* tiefes Blauschwarz */
  --ink-soft:    #3D5260;   /* Sekundärtext */
  --ink-faint:   #6B7E8A;   /* tertiär, nur groß/dekorativ */
  --line:        #E3DACB;   /* Haarlinien */
  --accent:      #0E7C8C;   /* Aqua */
  --accent-ink:  #0B6B7A;   /* Aqua, dunkler – für Text (AA) */
  --accent-soft: #DDEFF2;   /* Aqua-Fläche */
  --deep:        #0F2B3A;   /* Tiefblau */
  --deep-2:      #143647;
  --on-deep:     #EDF6F8;
  --on-deep-soft:#B8D4DC;
  --aqua-bright: #4FC6D8;   /* nur dekorativ */

  /* Platzhalter-Markierung */
  --ph-bg:     #FBEFCF;
  --ph-border: #C9992E;
  --ph-ink:    #6E5310;

  /* Typografie */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;

  --fs-hero: clamp(2.5rem, 8vw + 0.5rem, 6.25rem);
  --fs-h2:   clamp(1.9rem, 4vw + 0.5rem, 3.5rem);
  --fs-h3:   clamp(1.2rem, 1vw + 0.9rem, 1.5rem);
  --fs-lead: clamp(1.1rem, 0.6vw + 1rem, 1.35rem);
  --fs-body: clamp(1rem, 0.2vw + 0.95rem, 1.0625rem);
  --fs-small: 0.875rem;

  /* Rhythmus */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-section: clamp(4rem, 10vw, 8.5rem);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 75rem; /* 1200px */
  --header-h: 4.5rem;

  --shadow-card: 0 1px 2px rgba(16, 34, 46, 0.05), 0 12px 32px -16px rgba(16, 34, 46, 0.18);
  --shadow-lift: 0 2px 4px rgba(16, 34, 46, 0.06), 0 20px 44px -18px rgba(16, 34, 46, 0.26);
}

/* ------------------------------------------------------------------
   2. Reset & 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-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* Feines Korn / Papier-Textur über der ganzen Seite */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 750;
  text-wrap: balance;
  -webkit-hyphens: auto;
  hyphens: auto;
}

@media (min-width: 640px) {
  h1, h2, h3, h4 {
    -webkit-hyphens: manual;
    hyphens: manual;
  }
}

p {
  margin: 0 0 1em;
}

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

ul {
  margin: 0;
  padding: 0;
}

a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

address {
  font-style: normal;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Sichtbarer Tastatur-Fokus */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Anker nicht unter dem Sticky-Header verstecken */
[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

/* ------------------------------------------------------------------
   3. Utilities
   ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7em 1.2em;
  background: var(--deep);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-300%);
}

.skip-link:focus-visible {
  transform: none;
  outline-color: var(--aqua-bright);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.section {
  padding-block: var(--space-section);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2,
.ueber-text h2 {
  font-size: var(--fs-h2);
}

.section-lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
}

h1 em,
h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
}

/* Platzhalter-Markierung – vor Livegang ersetzen! */
.platzhalter {
  display: inline-block;
  padding: 0.05em 0.45em;
  background: var(--ph-bg);
  border: 1px dashed var(--ph-border);
  border-radius: 6px;
  color: var(--ph-ink);
  font-weight: 600;
  font-size: 0.95em;
  overflow-wrap: anywhere; /* lange Platzhalter brechen auf schmalen Karten sauber um */
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--deep);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-ghost {
  color: var(--deep);
  border: 1.5px solid var(--line);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------
   4. Header & Navigation
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(16, 34, 46, 0.35);
}

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

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

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-4deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
}

.brand-form {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* Navigation – Desktop */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.4em 0.1em;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.1em;
  height: 2px;
  background: var(--accent);
  transition: right 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

/* Burger (Checkbox-Hack, funktioniert ohne JavaScript) */
.nav-toggle {
  position: absolute;
  top: 50%;
  right: clamp(1.25rem, 4vw, 3rem);
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.55rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  z-index: 1;
}

.nav-burger-line {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle:focus-visible ~ .nav-burger {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.nav-toggle:checked ~ .nav-burger .nav-burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked ~ .nav-burger .nav-burger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked ~ .nav-burger .nav-burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 861px) {
  .nav-toggle,
  .nav-burger {
    display: none;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(16, 34, 46, 0.35);
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem clamp(1.25rem, 4vw, 3rem) 1.25rem;
  }

  .site-nav li + li {
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    display: block;
    padding: 0.9em 0.2em;
    font-size: 1.1rem;
  }

  .site-nav a::after {
    display: none;
  }
}

/* ------------------------------------------------------------------
   5. Hero
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: clamp(4rem, 11vw, 9rem) 0;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.hero-title {
  font-size: var(--fs-hero);
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 12em;
  margin-bottom: 0.35em;
}

.hero-lead {
  max-width: 38rem;
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.hero-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  list-style: none;
  max-width: 44rem;
}

.hero-fields li {
  padding: 0.45em 1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-fields li:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-2px);
}

/* Dekorative Tropfen-Grafik */
.hero-art {
  position: absolute;
  top: 50%;
  right: max(-4rem, calc((100vw - var(--container)) / 2 - 8rem));
  transform: translateY(-56%);
  width: clamp(18rem, 36vw, 33rem);
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .hero-art {
    right: -30%;
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-drop-outline {
    animation: drop-breathe 7s ease-in-out infinite;
    transform-origin: 50% 60%;
  }

  .hero-drop-2 {
    animation-delay: -3.5s;
  }

  @keyframes drop-breathe {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.025); }
  }
}

.hero-wave {
  position: relative;
  z-index: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: clamp(28px, 5vw, 70px);
}

/* ------------------------------------------------------------------
   6. Leistungen – Bento-Grid
   ------------------------------------------------------------------ */
.section-leistungen {
  background: var(--bg-alt);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent);
}

.card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.35em;
}

.card p {
  color: var(--ink-soft);
  max-width: 42rem;
}

.card-num {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  opacity: 0.08;
  line-height: 1;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.card-icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.card:hover .card-icon {
  transform: translateY(-3px) rotate(-3deg);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin-top: auto;
  padding-top: 1.25rem;
}

.card-tags li {
  padding: 0.3em 0.85em;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* Feature-Karte (Getränkehandel) – dunkel */
.card-feature {
  background: linear-gradient(150deg, var(--deep) 0%, var(--deep-2) 70%, #16455C 100%);
  border-color: var(--deep);
  color: var(--on-deep);
}

.card-feature h3 {
  color: #fff;
}

.card-feature p {
  color: var(--on-deep-soft);
}

.card-feature .card-num {
  color: #fff;
  opacity: 0.12;
}

.card-feature .card-icon {
  background: rgba(79, 198, 216, 0.16);
  color: var(--aqua-bright);
}

.card-feature .card-tags li {
  background: rgba(79, 198, 216, 0.14);
  color: #A9E4EE;
}

.card-feature:hover {
  border-color: var(--aqua-bright);
}

/* Zeiger-Glow (Position --mx/--my setzt js/main.js, nur bei pointer:fine) */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
      240px circle at var(--mx, 50%) var(--my, 30%),
      rgba(79, 198, 216, 0.16),
      transparent 65%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
  }

  .card-feature:hover::before {
    opacity: 1;
  }
}

.card-feature-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 40px;
  color: var(--aqua-bright);
  pointer-events: none;
}

/* Bento-Spannen */
@media (min-width: 960px) {
  .card-feature { grid-column: span 7; min-height: 22rem; }
  .card:nth-child(2) { grid-column: span 5; }
  .card:nth-child(3) { grid-column: span 4; }
  .card:nth-child(4) { grid-column: span 4; }
  .card-wide { grid-column: span 4; }
}

@media (min-width: 640px) and (max-width: 959px) {
  .card { grid-column: span 6; }
  .card-feature,
  .card-wide { grid-column: span 12; }
}

@media (max-width: 639px) {
  .card { grid-column: span 12; }
}

/* ------------------------------------------------------------------
   7. Über uns
   ------------------------------------------------------------------ */
.ueber-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .ueber-grid {
    grid-template-columns: 1fr;
  }
}

.ueber-text p {
  color: var(--ink-soft);
  max-width: 40rem;
}

.ueber-fakten {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
  .ueber-fakten {
    position: static;
  }
}

.fakten-titel {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-ink);
  margin-bottom: 1.25rem;
}

.fakten-liste {
  margin: 0;
}

.fakten-liste > div {
  padding-block: 0.85rem;
}

.fakten-liste > div + div {
  border-top: 1px solid var(--line);
}

.fakten-liste dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 0.15rem;
}

.fakten-liste dd {
  margin: 0;
  font-weight: 600;
}

/* ------------------------------------------------------------------
   8. Kontakt
   ------------------------------------------------------------------ */
.section-kontakt {
  background: var(--bg-alt);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: var(--space-4);
}

@media (max-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
  }
}

.kontakt-karte {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kontakt-karte:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lift);
}

.kontakt-karte h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}

.kontakt-karte p {
  color: var(--ink-soft);
}

.kontakt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.kontakt-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.kontakt-hinweis {
  font-size: var(--fs-small);
  color: var(--ink-faint);
}

.kontakt-fussnote {
  max-width: 46rem;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------
   9. Footer
   ------------------------------------------------------------------ */
.site-footer {
  background: var(--deep);
  color: var(--on-deep-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.brand-invert {
  color: #fff;
}

.brand-invert .brand-form {
  color: var(--on-deep-soft);
}

.footer-claim {
  margin-top: 1.25rem;
  font-size: var(--fs-small);
  max-width: 26rem;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8FB4BF;
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-nav a,
.site-footer address {
  color: var(--on-deep);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--aqua-bright);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.site-footer :focus-visible {
  outline-color: var(--aqua-bright);
}

.footer-mail {
  margin-top: 0.75rem;
  font-size: var(--fs-small);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-small);
}

.footer-bottom p {
  margin: 0;
}

/* ------------------------------------------------------------------
   10. Rechtsseiten (Impressum, Datenschutz)
   ------------------------------------------------------------------ */
.legal-hero {
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.2em;
}

.legal-hero .legal-intro {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: 42rem;
}

.legal-body {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--space-section);
  max-width: 50rem;
}

.legal-body h2 {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  margin-top: 2.2em;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 1.15rem;
  margin-top: 1.8em;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
}

.legal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1em;
  display: grid;
  gap: 0.35rem;
}

.legal-block {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 1em;
}

.legal-block p {
  margin-bottom: 0.35em;
}

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

/* Hervorhebung Widerspruchsrecht (Art. 21 DSGVO) */
.hinweis-wichtig {
  padding: 1.4rem 1.6rem;
  border-left: 5px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 1.25em;
}

.hinweis-wichtig p {
  color: var(--ink);
  font-weight: 600;
}

.legal-stand {
  margin-top: 2.5em;
  font-size: var(--fs-small);
  color: var(--ink-faint);
}

/* ------------------------------------------------------------------
   11. Scroll-Reveal (nur mit JS und ohne Reduced Motion)
   Die Klasse "js" wird ausschließlich von js/main.js gesetzt.
   Lädt main.js nicht (Netzwerkfehler, Blocker), bleibt der gesamte
   Inhalt sichtbar – es gibt keinen Zustand "versteckt ohne Skript".
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .js .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;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------------
   12. Druck
   ------------------------------------------------------------------ */
@media print {
  .site-header,
  .skip-link,
  .nav-burger,
  .hero-art,
  .hero-wave,
  body::after {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .site-footer {
    background: #fff;
    color: #000;
  }

  .footer-nav a,
  .site-footer address {
    color: #000;
  }
}
