/* ==========================================================================
   Kanzlei Arnold – arnold-recht.de Nachbau
   Design-Tokens 1:1 aus dem Original extrahiert (Wix-Theme-Variablen)
   Breakpoints wie Original: 1023px (Tablet), 767px (Mobil)
   ========================================================================== */

:root {
  /* Farben – exakt aus dem Original (--color_N der Wix-Theme-Variablen) */
  --c-bg: #0B0B0C;        /* Seitenhintergrund / Header / Footer */
  --c-surface: #1A1A1C;   /* dunkle Sektionen / Karten */
  --c-card: #2A2A2E;      /* hellere Karten (FAQ Opfervertretung u.a.) */
  --c-line: #323235;      /* Trennlinien / Ränder */
  --c-muted: #BFBFBF;     /* Fließtext auf dunklem Grund */
  --c-white: #FFFFFF;
  --c-red: #DC0000;       /* Akzent / CTA */
  --c-input: #5F6360;     /* Formularfelder (Kontakt) */
  --c-green: #1E7A46;      /* seriöses, gedämpftes Grün – Call-Button */
  --c-green-dark: #176036; /* Hover-Zustand Call-Button */

  /* Typografie
     TODO: Original nutzt "Wix Madefor Display Bold" (Headings) und
     "Wix Madefor Text" / "Helvetica Neue W01/W02 45 Light" (Fließtext).
     Beide sind lizenzpflichtig und dürfen nicht gebundelt werden.
     System-Fallback: 'Helvetica Neue' (macOS/iOS nahezu identisch), sonst Arial. */
  --f-head: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Schriftgrößen – Original: --font_0..--font_10 (skalieren mit spx-Ratio) */
  --fs-h1: clamp(40px, 5vw, 72px);      /* --font_0: 72px/1.2 */
  --fs-h2: clamp(30px, 3vw, 42px);      /* --font_2: 42px/1.3 */
  --fs-h3: clamp(26px, 2.6vw, 38px);    /* --font_3: 38px/1.3 */
  --fs-h4: clamp(24px, 2.4vw, 34px);    /* --font_4: 34px/1.3 */
  --fs-h5: clamp(22px, 2vw, 28px);      /* --font_5: 28px/1.3 */
  --fs-h6: clamp(18px, 1.6vw, 22px);    /* --font_6: 22px/1.4 */
  --fs-body-l: 18px;                    /* --font_7: 18px/1.6 */
  --fs-body: 16px;                      /* --font_8: 16px/1.6 */
  --fs-small: 14px;                     /* --font_9: 14px/1.6 */

  --header-h: 100px;
  --page-pad: clamp(20px, 5vw, 80px);
  --max-w: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-muted);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: var(--fs-body-l);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.25;
}

h1 { font-size: var(--fs-h1); line-height: 1.2; }
h2 { font-size: var(--fs-h2); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

section { padding: clamp(48px, 7vw, 100px) 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120; /* über dem Menü-Overlay (110), damit der Toggle-Button stets klickbar bleibt */
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}

.site-header .header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 2.5vw, 36px);
  gap: 16px;
}

.site-header .logo img { height: 72px; width: auto; }

.header-contact {
  display: flex;
  gap: clamp(24px, 12vw, 180px);
  font-size: var(--fs-body-l);
}

.header-contact a {
  color: var(--c-white);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s ease;
}

.header-contact a:hover { color: var(--c-red); }

/* Hamburger / Schließen-Icon (Inline-SVG, Umschaltung über body.menu-open) */
.menu-toggle {
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  color: #757575;
  z-index: 102;
}

.menu-toggle:hover { color: var(--c-white); }

.menu-toggle svg { display: block; }
.menu-toggle .icon-close { display: none; }

body.menu-open .menu-toggle .icon-menu { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }

/* Menü-Overlay
   TODO: Exaktes Aussehen des geöffneten Wix-Menüs (Panel vs. Fullscreen,
   Einblend-Richtung) konnte headless nicht erfasst werden – Annäherung
   als Fullscreen-Overlay mit den Original-Menüpunkten. */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(11, 11, 12, .98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--header-h) 20px 40px; /* Platz für das darüberliegende Header-Band */
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

body.menu-open .menu-overlay { opacity: 1; visibility: visible; }

.menu-overlay ul { list-style: none; text-align: center; }

.menu-overlay li { margin: 10px 0; }

.menu-overlay a {
  color: var(--c-white);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  text-decoration: none;
  transition: color .2s ease;
}

.menu-overlay a:hover,
.menu-overlay a[aria-current="page"] { color: var(--c-red); }

.menu-overlay .menu-cta {
  margin-top: 28px;
  font-size: var(--fs-body);
}

main { padding-top: var(--header-h); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--c-red);
  color: var(--c-white);
  font-family: var(--f-head);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 16px 32px;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.btn:hover { background: #B00000; }

.btn--dark-text { color: #0B0B0C; } /* Variante auf heller Fläche (Mietrecht-CTA) */

/* --------------------------------------------------------------------------
   Sticky Call-Button ("Jetzt anrufen") – auf allen Seiten eingebunden
   Desktop: abgerundeter Button unten rechts.
   Mobil (<768px): durchgehender Balken am unteren Rand (min. 56px Tap-Höhe).
   -------------------------------------------------------------------------- */
/* Container der beiden Sticky-Buttons.
   Desktop: unten rechts nebeneinander – WhatsApp (runder FAB) LINKS neben
   dem "Jetzt anrufen"-Button (Pille). */
.call-fab {
  --fab: desktop;   /* von JS gelesen; im Mobil-Breakpoint auf "mobile" gesetzt */
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

/* Safari 26 (iOS 26) ignoriert theme-color und tönt seine untere Toolbar in der
   Hintergrundfarbe des randnächsten fixed-Elements. Dieses flache, dunkle Element
   liegt ganz unten mit höherem z-index als .call-fab (90) und wird deshalb
   abgetastet – hält die Leiste in der Seitenfarbe statt im Grün des Call-Buttons.
   background-color MUSS explizit gesetzt sein (kein Shorthand, nicht transparent). */
.safari-tint {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -8px;              /* liegt am/leicht unter dem unteren Rand */
  width: 100%;
  height: 12px;
  background-color: #0B0B0C; /* Seitenfarbe (var(--c-bg)) */
  z-index: 100;              /* höher als .call-fab (90) → randnächstes Element */
  pointer-events: none;      /* verdeckt nichts Bedienbares */
}

/* "Jetzt anrufen" – Pille, Optik/Funktion unverändert */
.call-fab__call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-green);
  color: var(--c-white);
  font-family: var(--f-head);
  font-size: var(--fs-body);
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.call-fab__call:hover {
  background: var(--c-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

/* WhatsApp – runder FAB im WhatsApp-Grün */
.call-fab__wa {
  /* Desktop: WhatsApp-FAB ausgeblendet – im Mobil-Breakpoint wieder eingeblendet */
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--c-green);
  color: var(--c-white);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.call-fab__wa:hover {
  background: var(--c-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

.call-fab__call:focus-visible,
.call-fab__wa:focus-visible { outline: 3px solid var(--c-white); outline-offset: 2px; }

.call-fab__icon,
.call-fab__wa-icon { flex: 0 0 auto; }

/* Zwei-Klick "Jetzt anrufen" (Desktop-Verhalten via JS):
   Standard zeigt "Jetzt anrufen", nach dem 1. Klick die Nummer. */
.call-fab__label--num { display: none; }
.call-fab.is-revealed .call-fab__label--call { display: none; }
.call-fab.is-revealed .call-fab__label--num { display: inline; }

/* Dezente Flip-Animation der Anruf-Pille beim ersten Klick (~0.4s). */
.call-fab.is-flipping .call-fab__call { animation: callFabFlip .4s ease; }
@keyframes callFabFlip {
  0%   { transform: perspective(800px) rotateY(0deg); }
  50%  { transform: perspective(800px) rotateY(90deg); }
  100% { transform: perspective(800px) rotateY(0deg); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
/* Original (Wix) nutzt feste Sektionshöhen statt vh – Hero-Inhalt sitzt
   direkt unter dem Header, Gesamthöhe ca. 650-750px */
.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  text-align: center;
  padding: clamp(48px, 6vw, 90px) 0;
}

.hero .container { max-width: 1100px; }

.hero h1 { margin-bottom: 28px; }

.hero--home h1 { text-transform: uppercase; letter-spacing: .01em; }

.hero p {
  max-width: 720px;
  margin: 0 auto 40px;
  color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   Foto-Hero der Unterseiten (Strafverteidigung, Opfervertretung, Familien-,
   Mietrecht, Kontakt) – SCHRITT 1: statischer, layer-basierter Hero.
   Drei klar getrennte Layer, damit SCHRITT 2 Blur (Bild-Layer), Overlay-
   Deckkraft und Text-Deckkraft per Scroll animieren kann:
     .subhero__media   – Foto, bekommt den Blur
     .subhero__overlay – dunkle Fläche, bekommt die Deckkraft
     .subhero__content – Überschrift/Intro/Button, blendet später aus
   Der Block scrollt normal (kein fixed/sticky). Der Home-Hero (.hero) bleibt
   unberührt. Kein JavaScript in Schritt 1.
   -------------------------------------------------------------------------- */
/* Sticky-Scroll-Container: seine Extra-Höhe (padding-bottom) = Pin-/Übergangs-
   distanz. Feste px-Distanz -> unabhängig von der (mobil variablen) Viewporthöhe.
   Das Bild klebt, bis der Container durchgescrollt ist; dann scrollt alles normal. */
.subhero-scroll {
  position: relative;
  height: 180vh;                 /* Gesamt-Scrollstrecke des Effekts */
}
.subhero {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));  /* füllt sichtbaren Bereich, feste Höhe */
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  isolation: isolate;
}

/* Bild-Layer – etwas präsenter als das Startseiten-Porträt, auf das Gesicht
   zentriert. Bekommt in Schritt 2 den animierten Blur (Start: 8px). */
.subhero__media {
  position: absolute;
  inset: -20px;                      /* über den Rand hinaus -> weiche Blur-Ränder außerhalb */
  z-index: 0;
  background-image: url('/assets/portrait-alexander-arnold.webp');
  background-size: cover;
  background-position: center 30%;   /* Kopf UND Oberkörper (Ausschnitt weiter gefasst) */
  background-repeat: no-repeat;
  filter: blur(8px);
}

/* Overlay-Layer – bekommt in Schritt 2 die animierte Deckkraft (Start: 0.75). */
.subhero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #0B0B0C;
  opacity: 0.75;
}

/* Text-Layer – Überschrift, Intro, Button. Blendet in Schritt 2 aus. */
.subhero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: clamp(32px, 5vw, 60px) 0;
}

.subhero__content .container { max-width: 1100px; }

.subhero h1 { margin-bottom: 20px; text-shadow: 0 2px 12px rgba(0, 0, 0, .85); }

.subhero p {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: var(--fs-body);         /* etwas kleiner (16px) -> passt in die feste Höhe */
  color: var(--c-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .85);
}

/* SCHRITT 2 (Scroll-Übergang, js/main.js): diese Layer werden per JS animiert.
   will-change als Performance-Hinweis. */
.subhero__media   { will-change: filter; }
.subhero__overlay { will-change: opacity; }
.subhero__content { will-change: opacity, transform; }

/* Reduced Motion: KEIN sticky-Pinning, kein Scroll-Effekt. Der Container
   kollabiert, das Bild scrollt normal. JS setzt zusätzlich den statischen
   Mittelzustand (Overlay 0.45, kein Blur, Text sichtbar). */
@media (prefers-reduced-motion: reduce) {
  .subhero-scroll { height: auto; }
  .subhero { position: static; height: auto; min-height: 0; }
}

/* --------------------------------------------------------------------------
   Home – Mein Weg
   -------------------------------------------------------------------------- */
.about { background: var(--c-bg); }

.about .container {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.about img { width: 100%; height: auto; }

.about h2 { font-size: var(--fs-h2); margin-bottom: 20px; }

.about .about-name {
  color: var(--c-white);
  font-weight: 500;
  font-size: var(--fs-body);
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Karten-Layouts (Expertise, Ablauf, Warum, Bereiche …)
   -------------------------------------------------------------------------- */
.section-head { margin-bottom: clamp(28px, 4vw, 56px); }
.section-head p { max-width: 760px; margin-top: 18px; }
.section-head--center { text-align: center; }
.section-head--center p { margin-left: auto; margin-right: auto; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: var(--c-surface);
  padding: clamp(24px, 3vw, 40px);
}

.card h3, .card h4 {
  font-size: var(--fs-h6);
  margin-bottom: 14px;
}

.card p { font-size: var(--fs-body); }

.card--outline {
  background: #111112;
  border: 1px solid var(--c-line);
}

.card--underline { border-bottom: 2px solid var(--c-red); }

.card .card-kicker {
  color: var(--c-red);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Expertise-Karten (Home) */
.expertise-card h3 { text-transform: uppercase; letter-spacing: .04em; }

.expertise-card .card-links { margin-top: 28px; display: grid; gap: 22px; }

.link-red {
  color: var(--c-red);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: var(--fs-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px solid var(--c-red);
  padding-bottom: 6px;
  transition: color .2s ease, border-color .2s ease;
}

.link-red:hover { color: var(--c-white); border-color: var(--c-white); }

.link-sub {
  display: block;
  color: var(--c-muted);
  font-size: var(--fs-small);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 8px;
}

.link-sub:hover { color: var(--c-white); }

/* Mietrecht-Teaser (Home) */
.mietrecht-teaser {
  background: var(--c-surface);
  padding: clamp(24px, 3vw, 40px);
  margin-top: 24px;
  display: flow-root; /* schließt den nach rechts gefloateten "Mehr erfahren"-Button ein */
}

.mietrecht-teaser .more {
  display: inline-block;
  color: var(--c-white);
  font-size: var(--fs-small);
  text-decoration: none;
  border-bottom: 1px solid var(--c-white);
  padding-bottom: 4px;
  float: right;
  transition: color .2s ease, border-color .2s ease;
}

.mietrecht-teaser .more:hover { color: var(--c-red); border-color: var(--c-red); }

/* --------------------------------------------------------------------------
   Testimonials (Home)
   -------------------------------------------------------------------------- */
.testimonial-card .stars {
  color: var(--c-red);
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.testimonial-card blockquote { font-size: var(--fs-body); margin-bottom: 22px; }

.testimonial-card .t-name {
  font-size: var(--fs-body-l);
  margin-bottom: 4px;
}

.testimonial-card .t-name a { color: var(--c-white); text-decoration: none; }
.testimonial-card .t-name a:hover { color: var(--c-red); }

.testimonial-card .t-source { font-size: var(--fs-small); color: #757575; }

/* --------------------------------------------------------------------------
   Kanzlei / Anfahrt (Home)
   -------------------------------------------------------------------------- */
.kanzlei h2 { margin-bottom: 40px; }

.kanzlei h3 {
  font-size: var(--fs-h6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}

.kanzlei address {
  font-style: normal;
  color: var(--c-white);
  margin-bottom: 18px;
}

.kanzlei .oepnv { color: var(--c-muted); }

/* Anfahrt: zweispaltig (links Anschrift, rechts Karte), vertikal zentriert */
.anfahrt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* Datenschutzkonformer statischer Kartenausschnitt + Route-Button */
.anfahrt-map {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--c-line);
}

/* Sekundär-Button – bewusst dezent, klar untergeordnet gegenüber dem Call-Button */
.btn-route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 20px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  color: var(--c-white);
  font-family: var(--f-head);
  font-size: var(--fs-small);
  letter-spacing: .04em;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}

.btn-route:hover { border-color: var(--c-white); background: rgba(255, 255, 255, .06); }

.btn-route__icon { flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Marquee-Laufband (Home, über dem Footer)
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 14px 0;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  /* 120s = 15s x 8 Blöcke -> gleiche Scroll-Geschwindigkeit wie zuvor (30s x 2 Blöcke) */
  animation: marquee-left 120s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  color: var(--c-white);
  font-size: var(--fs-small);
  letter-spacing: .18em;
  text-transform: uppercase;
  padding-right: 12px;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Nummerierte Prozess-Liste (Strafverteidigung: "Wie ich Sie im Verfahren begleite")
   -------------------------------------------------------------------------- */
.process { background: var(--c-surface); }

.process .container {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.2fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.process .process-intro h2 { margin-bottom: 24px; }

.process ol { list-style: none; }

.process li {
  border-top: 1px solid var(--c-line);
  padding: 28px 0;
}

.process li:last-child { border-bottom: 1px solid var(--c-line); }

.process .step-no {
  color: #757575;
  font-size: var(--fs-small);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 10px;
}

.process h3 { font-size: var(--fs-h5); margin-bottom: 12px; }

.process p { font-size: var(--fs-body); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
/* Variante A: helle Sektion (Strafverteidigung) */
.faq--light { background: var(--c-muted); }

.faq--light h2 { color: #0B0B0C; }

.faq--light .faq-item {
  border-bottom: 1px solid #D9D9D9;
  padding: 28px 0;
}

.faq--light .faq-item h3 {
  color: #0B0B0C;
  font-size: var(--fs-h6);
  margin-bottom: 12px;
}

.faq--light .faq-item p { color: #323235; font-size: var(--fs-body); }

/* Variante B: dunkle Karten (Opfervertretung) */
.faq--dark .faq-item {
  background: var(--c-card);
  padding: 28px 32px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.faq--dark .faq-item h3 { font-size: var(--fs-h6); margin-bottom: 10px; }
.faq--dark .faq-item p { font-size: var(--fs-body); }

/* Variante C: offene Liste auf dunklem Grund (Familienrecht) */
.faq--plain .faq-item { padding: 28px 0; }
.faq--plain .faq-item h3 { font-size: var(--fs-h6); margin-bottom: 12px; }
.faq--plain .faq-item p { font-size: var(--fs-body); }

/* --------------------------------------------------------------------------
   Info-Karten mit Icon (Opfervertretung)
   -------------------------------------------------------------------------- */
.icon-card { text-align: left; }

.icon-card .icon {
  font-size: 34px;
  color: var(--c-white);
  margin-bottom: 16px;
  display: block;
}

/* Drei Spalten mit roter Unterstreichung (Opfervertretung "stütze") */
.support-col h3 {
  font-size: var(--fs-h6);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--c-red);
  margin-bottom: 16px;
}

.support-col p { font-size: var(--fs-body); }

/* --------------------------------------------------------------------------
   CTA-Sektionen
   -------------------------------------------------------------------------- */
.cta { text-align: center; }

.cta h2 { margin-bottom: 20px; }

.cta p { max-width: 720px; margin: 0 auto 36px; }

.cta--light { background: var(--c-muted); } /* Mietrecht: helle CTA-Fläche */

.cta--light h2 { color: #0B0B0C; }
.cta--light p { color: #1A1A1C; }

/* --------------------------------------------------------------------------
   Formulare (Kontakt + Strafverteidigung)
   -------------------------------------------------------------------------- */
/* Versand über eigenen Endpoint /kontakt.php (POST) inkl. Honeypot,
   Datenschutz-Einwilligung und serverseitiger Validierung. */
.form-box {
  border: 1px solid var(--c-white);
  border-radius: 10px;
  padding: clamp(20px, 3vw, 36px);
}

.form-box .form-title {
  color: var(--c-white);
  font-size: var(--fs-h6);
  font-weight: 700;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin-bottom: 18px;
}

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field--full { grid-column: 1 / -1; }

.form-field label {
  color: var(--c-white);
  font-size: var(--fs-small);
}

.form-field input,
.form-field textarea {
  background: var(--c-input);
  border: 0;
  border-radius: 4px;
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  padding: 12px 14px;
}

.form-field textarea { min-height: 120px; resize: vertical; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: #C9C9C9; }

.form-field input:focus,
.form-field textarea:focus { outline: 2px solid var(--c-white); }

.btn-send {
  width: 100%;
  background: var(--c-white);
  color: #0B0B0C;
  border: 0;
  border-radius: 4px;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  padding: 13px;
  cursor: pointer;
  transition: background .2s ease;
}

.btn-send:hover { background: var(--c-muted); }

/* Honeypot-Feld: für Menschen unsichtbar, für Bots ausfüllbar */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Datenschutz-Einwilligung (DSGVO) */
.form-consent label {
  flex-direction: row;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--c-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--c-red);
  cursor: pointer;
}

.form-consent a { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }
.form-consent a:hover { color: var(--c-red); }

/* Status-/Fehlermeldung über dem Formular */
.form-status {
  font-size: var(--fs-body);
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  background: rgba(220, 0, 0, .12);
  border: 1px solid var(--c-red);
  color: var(--c-white);
}

/* Kontaktseite: Kopf über dem Formular */
.contact-hero { padding-bottom: 24px; }
.contact-hero h1 { margin-bottom: 14px; }

/* Strafverteidigung: zweispaltige Abschluss-Sektion mit Formular */
.contact-split .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.contact-split h2 { margin-bottom: 20px; }

/* --------------------------------------------------------------------------
   Rechtstexte (Impressum, Datenschutzerklärung)
   -------------------------------------------------------------------------- */
.legal h1 { margin-bottom: clamp(28px, 4vw, 56px); }

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  margin-bottom: clamp(28px, 4vw, 64px);
}

.legal h5, .legal h6 {
  font-size: var(--fs-h6);
  margin-bottom: 14px;
}

.legal p { font-size: var(--fs-body); margin-bottom: 16px; }

.legal .legal-block { margin-bottom: 32px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--c-line);
  padding: clamp(32px, 4vw, 56px) 0;
}

.site-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.site-footer .footer-left img { height: 64px; width: auto; margin-bottom: 18px; }

.site-footer .footer-left .footer-claim {
  color: var(--c-white);
  font-size: var(--fs-body);
  margin-bottom: 28px;
}

.site-footer .copyright { font-size: 12px; color: #757575; }

.site-footer .footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  text-align: right;
}

.site-footer .footer-right .contact-link {
  color: var(--c-white);
  font-size: var(--fs-body);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer .footer-right .contact-link:hover { color: var(--c-red); }

.site-footer .small-link {
  color: var(--c-muted);
  font-size: 12px;
  text-decoration: underline;
}

.site-footer .small-link:hover { color: var(--c-white); }

/* Rechtslinks (Datenschutz | Impressum) unter der Copyright-Zeile, linksbündig */
.site-footer .footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.site-footer .footer-legal-sep { color: var(--c-line); font-size: 12px; }

/* --------------------------------------------------------------------------
   Scroll-Entrance-Animationen
   Original: Wix "motion-fadeIn" / "motion-slideIn" / "motion-blurIn".
   TODO: Exakte Easing-Kurven/Delays der Wix-Engine sind nicht öffentlich –
   Annäherung über IntersectionObserver + CSS-Transition.
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal--blur {
  transform: none;
  filter: blur(8px);
  transition: opacity .8s ease, filter .8s ease;
}

.reveal--blur.is-visible { filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--blur { opacity: 1; transform: none; filter: none; transition: none; }
  .marquee-track { animation: none; }
}

/* --------------------------------------------------------------------------
   Responsive – Original-Breakpoints: 1023px und 767px
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1023px) {
  .header-contact { gap: 32px; font-size: var(--fs-body); }

  .grid-3 { grid-template-columns: 1fr 1fr; }

  .about .container,
  .process .container,
  .contact-split .container { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root {
    --header-h: 80px;
    /* Original (Wix) skaliert Schriften mobil über die spx-Ratio deutlich herunter */
    --fs-h1: 34px;
    --fs-h2: 27px;
    --fs-h3: 25px;
    --fs-h4: 23px;
    --fs-h5: 21px;
    --fs-h6: 19px;
  }

  body { overflow-x: hidden; }

  .site-header .logo img { height: 56px; }

  .header-contact { display: none; } /* Original blendet Kontaktzeile mobil aus */

  .grid-2, .grid-3, .legal-grid, .form-grid, .anfahrt-grid { grid-template-columns: 1fr; }

  .hero { min-height: 420px; }

  /* Foto-Hero der Unterseiten – mobil flacher; Schriftgrößen skalieren via clamp */
  .subhero-scroll { height: 170vh; }
  .subhero { height: calc(100vh - var(--header-h)); min-height: 0; }
  .subhero__content { padding: 40px 0; }
  .subhero__media { background-position: center 26%; }

  .site-footer .footer-inner { flex-direction: column; }

  .site-footer .footer-right { align-items: flex-start; text-align: left; }

  /* Kontakt-Leiste als durchgehender Balken unten:
     links WhatsApp (25%), rechts Anruf (75%). */
  .call-fab {
    --fab: mobile;   /* schaltet das Zwei-Klick-Flip-Verhalten im JS ab */
    right: 0;
    left: 0;
    bottom: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .35);
  }

  /* WhatsApp – linkes Viertel (25%) */
  .call-fab__wa {
    display: inline-flex;  /* im Balken wieder sichtbar (Desktop: display:none) */
    flex: 0 0 25%;
    width: auto;           /* Desktop-Kreisgröße zurücksetzen */
    height: auto;
    min-height: 56px;
    border-radius: 0;      /* kein Kreis im Balken */
    box-shadow: none;      /* Desktop-Schatten zurücksetzen */
  }

  /* Anruf – rechte drei Viertel (75%), unverändert grün/zentriert */
  .call-fab__call {
    flex: 1;
    min-height: 56px;
    padding: 16px;
    border-radius: 0;      /* keine Pille im Balken */
    box-shadow: none;
    justify-content: center;
    border-left: 1px solid rgba(11, 11, 12, .35);  /* feine Trennlinie */
  }

  .call-fab__wa:hover,
  .call-fab__call:hover { transform: none; }

  /* Verhindert, dass der fixe Balken Seiteninhalt (Footer) verdeckt */
  body { padding-bottom: 56px; }
}
