/* ============================================================
   ra-moranz.de — Shared Design System 2026
   Alle Seiten inkludieren diese Datei.
   Palette: Garrigues-inspiriert · Dunkelblau + Weiß + Gold
   Fonts: Playfair Display (Display) · DM Sans (Body)
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Palette */
  --navy:           #0b1d35;
  --navy-deep:      #071427;
  --navy-mid:       #102848;
  --blue-dark:      #1a3a6b;
  --blue:           #1d5fa8;
  --blue-light:     #2d78c8;
  --blue-pale:      #ddeaf8;
  --blue-ghost:     #f0f5fb;
  --gold:           #c8a84b;
  --gold-light:     #e8d68a;

  /* Surfaces */
  --bg:             #f8fafd;
  --surface:        #ffffff;
  --surface-2:      #f3f7fc;
  --border:         #d1dff0;
  --divider:        #e2ecf7;

  /* Text */
  --text:           #0b1d35;
  --text-muted:     #4e6280;
  --text-faint:     #93a8c0;
  --text-inv:       #f0f5fb;

  /* Accent (CTA) */
  --primary:        #1a3a6b;
  --primary-h:      #102848;
  --accent:         #2d78c8;
  --accent-h:       #1d5fa8;

  /* Fonts */
  --font-d: 'Playfair Display', Georgia, serif;
  --font-b: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Type scale */
  --tx-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --tx-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --tx-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --tx-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --tx-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --tx-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --tx-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --s1:0.25rem; --s2:0.5rem; --s3:0.75rem; --s4:1rem; --s5:1.25rem;
  --s6:1.5rem;  --s8:2rem;   --s10:2.5rem; --s12:3rem; --s16:4rem;
  --s20:5rem;   --s24:6rem;  --s32:8rem;

  /* Radii */
  --r-sm:0.25rem; --r-md:0.5rem; --r-lg:0.75rem; --r-xl:1rem; --r-full:9999px;

  /* Shadows */
  --sh-sm: 0 1px 3px  rgba(11,29,53,.08);
  --sh-md: 0 4px 16px rgba(11,29,53,.10);
  --sh-lg: 0 12px 40px rgba(11,29,53,.16);
  --sh-xl: 0 24px 64px rgba(11,29,53,.22);

  /* Easing */
  --ease: cubic-bezier(0.16,1,0.3,1);
  --t-f: 180ms var(--ease);
  --t-m: 320ms var(--ease);

  /* Layout */
  --max-w: 1100px;
  --max-w-wide: 1280px;

  /* Header heights */
  --h-logo-band: 72px;   /* weißes Logo-Band (Garrigues-Stil) */
  --h-nav-bar:   52px;   /* dunkle Navigationsleiste darunter */
  --h-header:    124px;  /* Summe beider Bänder */
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: var(--h-header);
}

body {
  min-height: 100dvh;
  font-family: var(--font-b);
  font-size: var(--tx-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img, picture, video { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.18; }
p, li { text-wrap: pretty; max-width: 72ch; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; transition: color var(--t-f); }

::selection { background: var(--blue-pale); color: var(--navy); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }

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

/* ---------- LAYOUT ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding-inline: clamp(var(--s5), 4vw, var(--s12)); }
.container-wide { max-width: var(--max-w-wide); margin: 0 auto; padding-inline: clamp(var(--s5), 4vw, var(--s12)); }

/* ---------- SECTION LABELS + HEADERS ---------- */
.section-label {
  font-family: var(--font-b);
  font-size: var(--tx-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--s3);
}
.section-label--light { color: rgba(240,245,251,0.7); }

.section-header { text-align: center; margin-bottom: clamp(var(--s10), 5vw, var(--s16)); }
.section-header h2 {
  font-family: var(--font-d);
  font-size: var(--tx-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--s4);
}
.section-header--light h2 { color: #fff; }
.section-intro { font-size: var(--tx-base); color: var(--text-muted); max-width: 52ch; margin: 0 auto; }
.section-intro--light { color: rgba(240,245,251,0.75); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-b);
  font-size: var(--tx-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.5rem;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background var(--t-f), transform 120ms var(--ease), box-shadow var(--t-f), border-color var(--t-f), color var(--t-f);
  cursor: pointer;
}

/* In the contact card the button label can be long — allow wrapping */
.hero-contact-card .btn {
  white-space: normal;
  text-align: center;
  justify-content: center;
  width: 100%;
  line-height: 1.35;
  padding: 0.65rem 1rem;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-solid {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-solid:hover { background: var(--primary-h); border-color: var(--primary-h); box-shadow: var(--sh-md); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-h); border-color: var(--accent-h); box-shadow: 0 6px 24px rgba(45,120,200,0.35); }

.btn-ghost-dark {
  background: transparent;
  color: rgba(240,245,251,0.8);
  border-color: rgba(240,245,251,0.3);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(240,245,251,0.6); color: #fff; }

/* =====================================================================
   HEADER — zwei Bänder wie Garrigues
   Band 1: Weißes Logo-Band (--h-logo-band)
   Band 2: Dunkle Navigationsleiste (--h-nav-bar)
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(11,29,53,0.12);
}

/* --- Band 1: Weißes Logo-Band --- */
.header-logo-band {
  background: #ffffff;
  height: var(--h-logo-band);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.header-logo-band-inner {
  max-width: var(--max-w-wide);
  width: 100%;
  margin: 0 auto;
  padding-inline: clamp(var(--s5), 4vw, var(--s12));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.header-logo-right {
  display: flex;
  align-items: center;
  gap: var(--s5);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-b);
  font-size: var(--tx-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.lang-switch a { color: var(--text-muted); padding: 0.1rem 0.2rem; transition: color var(--t-f); }
.lang-switch a:hover, .lang-switch a.active { color: var(--primary); font-weight: 600; }
.lang-switch .sep { color: var(--border); }

/* --- Band 2: Dunkle Navigationsleiste --- */
.header-nav-band {
  background: var(--navy);
  height: var(--h-nav-bar);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-nav-band-inner {
  max-width: var(--max-w-wide);
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding-inline: clamp(var(--s5), 4vw, var(--s12));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s8);
}

.main-nav ul {
  display: flex;
  gap: var(--s6);
  list-style: none;
}
.main-nav a {
  font-family: var(--font-b);
  font-size: var(--tx-sm);
  font-weight: 400;
  color: rgba(240,245,251,0.78);
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--t-f);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right var(--t-m);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { right: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: var(--s1);
  color: rgba(240,245,251,0.85);
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-m), opacity var(--t-f);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--h-header); left: 0; right: 0;
  background: rgba(7,20,39,0.98);
  backdrop-filter: blur(14px);
  padding: var(--s6) clamp(var(--s5), 4vw, var(--s12)) var(--s8);
  z-index: 99;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-direction: column;
  gap: var(--s4);
}
.mobile-nav-drawer.open { display: flex; }
.mobile-nav-drawer ul { display: flex; flex-direction: column; gap: var(--s3); list-style: none; }
.mobile-nav-drawer a {
  font-size: var(--tx-base);
  color: rgba(240,245,251,0.8);
  padding: var(--s2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: block;
  transition: color var(--t-f);
}
.mobile-nav-drawer a:hover { color: #fff; }
.mobile-nav-drawer .mobile-cta { border-bottom: none !important; margin-top: var(--s3); }
.mobile-lang {
  display: flex; gap: var(--s3);
  font-size: var(--tx-xs); letter-spacing: 0.1em;
  color: rgba(240,245,251,0.4);
}
.mobile-lang a { color: rgba(240,245,251,0.4); }
.mobile-lang a:hover, .mobile-lang a.active { color: #fff; }

/* =====================================================================
   HERO — Vollbild Sturmsee
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--h-header);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center 55%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(7,20,39,0.78) 0%,
    rgba(11,29,53,0.45) 40%,
    rgba(7,20,39,0.82) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w-wide); width: 100%; margin: 0 auto;
  padding: 0 clamp(var(--s5), 5vw, var(--s12)) clamp(var(--s16), 8vw, var(--s32));
}
.hero-eyebrow {
  font-family: var(--font-b);
  font-size: var(--tx-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--s5);
}
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 1rem + 4.5vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--s8);
  max-width: 16ch;
}
.hero-actions { display: flex; gap: var(--s4); flex-wrap: wrap; }

.hero-contact-card {
  position: absolute;
  right: clamp(var(--s5), 5vw, var(--s12));
  bottom: clamp(var(--s12), 6vw, var(--s24));
  z-index: 3;
  background: rgba(11,29,53,0.82);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  border-radius: var(--r-lg);
  padding: var(--s6) var(--s6);
  width: clamp(260px, 22vw, 320px);
}
.hero-contact-card h2 {
  font-family: var(--font-d);
  font-size: var(--tx-base);
  font-weight: 600; color: #fff;
  margin-bottom: var(--s4);
}
.hcc-list { list-style: none; display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s4); }
.hcc-list li {
  display: flex; align-items: flex-start; gap: var(--s2);
  font-size: var(--tx-xs); color: var(--blue-pale); line-height: 1.4;
}
.hcc-list svg { flex-shrink: 0; margin-top: 1px; color: var(--gold); }
.hcc-note { font-size: var(--tx-xs); color: rgba(240,245,251,0.5); margin-bottom: var(--s5); line-height: 1.5; }

.hero-scroll {
  position: absolute; bottom: var(--s6); left: 50%;
  transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,0.35);
}

/* =====================================================================
   INTRO
   ===================================================================== */
.section-intro-block {
  padding-block: clamp(var(--s16), 7vw, var(--s32));
  background: var(--bg);
  border-top: 3px solid var(--primary);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: clamp(var(--s10), 5vw, var(--s20));
  align-items: start;
}
.intro-text { display: flex; flex-direction: column; gap: var(--s5); }
.intro-text p { font-size: var(--tx-base); color: var(--text-muted); line-height: 1.75; max-width: 68ch; }

.intro-stats {
  display: flex; flex-direction: column; gap: var(--s6);
  padding: var(--s8);
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}
.stat-item { display: flex; flex-direction: column; gap: var(--s1); }
.stat-num { font-family: var(--font-d); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 700; color: var(--primary); line-height: 1; }
.stat-lbl { font-size: var(--tx-xs); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.stat-item + .stat-item { padding-top: var(--s6); border-top: 1px solid var(--divider); }

/* =====================================================================
   LEISTUNGEN
   ===================================================================== */
.section-leistungen {
  padding-block: clamp(var(--s16), 7vw, var(--s32));
  background: var(--surface-2);
}
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
.leistung-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s8) var(--s6);
  display: flex; flex-direction: column; gap: var(--s4);
  position: relative; overflow: hidden;
  transition: transform var(--t-m), box-shadow var(--t-m), border-color var(--t-m);
}
.leistung-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-m);
}
.leistung-card:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); border-color: var(--blue-pale); }
.leistung-card:hover::before { transform: scaleX(1); }

.leistung-card.featured {
  background: var(--primary); border-color: var(--primary); color: #fff;
}
.leistung-card.featured::before { background: var(--gold); transform: scaleX(1); }
.leistung-card.featured h3 { color: #fff; }
.leistung-card.featured p { color: rgba(240,245,251,0.82); }
.leistung-card.featured .l-icon { background: rgba(255,255,255,0.12); color: var(--gold); }
.leistung-card.featured .l-link { color: var(--gold); }
.leistung-card.featured .l-link:hover { color: #fff; }

.l-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--blue-ghost); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.leistung-card h3 { font-family: var(--font-d); font-size: var(--tx-lg); font-weight: 600; color: var(--navy); line-height: 1.25; }
.leistung-card p { font-size: var(--tx-sm); color: var(--text-muted); line-height: 1.7; flex: 1; }
.l-link {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--tx-sm); font-weight: 500; color: var(--accent);
  margin-top: auto; transition: gap var(--t-f), color var(--t-f);
}
.l-link:hover { gap: var(--s3); color: var(--primary); }

/* =====================================================================
   ZUR PERSON
   ===================================================================== */
.section-person {
  padding-block: clamp(var(--s16), 7vw, var(--s32));
  background: var(--primary); position: relative; overflow: hidden;
}
.section-person::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: rgba(255,255,255,0.04); pointer-events: none;
}
.person-grid {
  display: grid; grid-template-columns: 260px 1fr;
  gap: clamp(var(--s12), 6vw, var(--s24)); align-items: start;
  position: relative; z-index: 1;
}
.person-photo-col { display: flex; flex-direction: column; gap: var(--s5); }
.person-photo {
  border-radius: var(--r-lg); overflow: hidden;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.person-photo img { width: 100%; height: auto; display: block; }
.person-creds { display: flex; flex-direction: column; gap: var(--s2); }
.person-creds span {
  font-size: var(--tx-xs); font-weight: 500; color: var(--gold);
  letter-spacing: 0.05em; padding: var(--s2) var(--s3);
  background: rgba(200,168,75,0.12); border-radius: var(--r-sm);
  border: 1px solid rgba(200,168,75,0.22);
}
.person-bio { display: flex; flex-direction: column; gap: var(--s8); }
.bio-block { display: flex; flex-direction: column; gap: var(--s4); }
.bio-block h3 { font-family: var(--font-d); font-size: var(--tx-lg); font-weight: 600; color: #fff; }
.bio-block p { font-size: var(--tx-sm); color: rgba(240,245,251,0.78); line-height: 1.75; }
.bio-tags { display: flex; flex-wrap: wrap; gap: var(--s2); }
.bio-tag {
  font-size: var(--tx-xs); font-weight: 500; color: var(--blue-pale);
  padding: var(--s2) var(--s4); border: 1px solid rgba(240,245,251,0.18);
  border-radius: var(--r-full); letter-spacing: 0.04em;
  transition: background var(--t-f), border-color var(--t-f);
}
.bio-tag:hover { background: rgba(240,245,251,0.1); border-color: rgba(240,245,251,0.35); }

/* =====================================================================
   KANZLEI
   ===================================================================== */
.section-kanzlei {
  padding-block: clamp(var(--s16), 7vw, var(--s32));
  background: var(--bg);
}
.kanzlei-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); }
.pillar {
  padding: var(--s8) var(--s6); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: var(--s4);
  transition: transform var(--t-m), box-shadow var(--t-m);
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.pillar-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: var(--blue-ghost); border-radius: var(--r-md); color: var(--primary);
}
.pillar h3 { font-family: var(--font-d); font-size: var(--tx-lg); font-weight: 600; color: var(--navy); }
.pillar p { font-size: var(--tx-sm); color: var(--text-muted); line-height: 1.7; }

/* =====================================================================
   VOLLMACHTEN
   ===================================================================== */
.section-vollmachten {
  padding-block: clamp(var(--s12), 5vw, var(--s24));
  background: var(--surface-2); border-top: 1px solid var(--divider);
}
.accordion-box {
  max-width: 640px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface); box-shadow: var(--sh-sm);
}
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: var(--s5) var(--s6);
  font-family: var(--font-b); font-size: var(--tx-sm); font-weight: 500; color: var(--navy);
  background: transparent; border: none; cursor: pointer; gap: var(--s4);
  transition: background var(--t-f);
}
.accordion-trigger:hover { background: var(--blue-ghost); }
.acc-icon { flex-shrink: 0; color: var(--text-muted); transition: transform var(--t-m); }
.accordion-trigger[aria-expanded="true"] .acc-icon { transform: rotate(180deg); }
.accordion-body {
  display: none; padding: var(--s4) var(--s6) var(--s6);
  border-top: 1px solid var(--divider);
  flex-direction: column; gap: var(--s4);
}
.accordion-body.open { display: flex; }
.acc-intro { font-size: var(--tx-sm); color: var(--text-muted); }
.download-list { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }
.download-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s3) var(--s4);
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--blue-ghost);
  font-size: var(--tx-sm); color: var(--navy);
  transition: background var(--t-f), border-color var(--t-f), box-shadow var(--t-f);
  gap: var(--s3);
}
.download-list a:hover { background: var(--blue-pale); border-color: var(--accent); box-shadow: var(--sh-sm); }
.dl-label { display: flex; align-items: center; gap: var(--s3); }
.dl-label svg { flex-shrink: 0; color: var(--accent); }
.dl-badge {
  font-size: var(--tx-xs); font-weight: 500; color: var(--text-faint);
  letter-spacing: 0.06em; white-space: nowrap;
}

/* =====================================================================
   KONTAKT
   ===================================================================== */
.section-kontakt {
  padding-block: clamp(var(--s16), 7vw, var(--s32));
  background: var(--navy-deep);
}
.kontakt-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(var(--s10), 6vw, var(--s20)); align-items: start; }
.kontakt-info h3 { font-family: var(--font-d); font-size: var(--tx-lg); font-weight: 600; color: #fff; margin-bottom: var(--s6); }
.kontakt-list { list-style: none; display: flex; flex-direction: column; gap: var(--s5); }
.kontakt-list li { display: flex; align-items: flex-start; gap: var(--s3); font-size: var(--tx-sm); color: rgba(240,245,251,0.75); line-height: 1.6; }
.kontakt-list svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.kontakt-list a { color: rgba(240,245,251,0.75); transition: color var(--t-f); }
.kontakt-list a:hover { color: #fff; }

.kontakt-form { display: flex; flex-direction: column; gap: var(--s5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.form-group { display: flex; flex-direction: column; gap: var(--s2); }
.form-group label {
  font-size: var(--tx-xs); font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(240,245,251,0.55);
}
.form-group label .req { color: var(--gold); }
.form-group input, .form-group textarea {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-md); padding: var(--s3) var(--s4);
  font-size: var(--tx-sm); color: #fff;
  transition: border-color var(--t-f), background var(--t-f); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); background: rgba(255,255,255,0.09); }
.form-group textarea { resize: vertical; min-height: 140px; line-height: 1.65; }

.form-check { flex-direction: row; align-items: flex-start; gap: var(--s3); }
.checkbox-label { display: flex; align-items: flex-start; gap: var(--s3); cursor: pointer; }
.checkbox-label input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--accent); cursor: pointer; padding: 0;
}
.checkbox-label span {
  font-size: var(--tx-xs); color: rgba(240,245,251,0.5);
  line-height: 1.55; text-transform: none; letter-spacing: 0; font-weight: 400;
}
.checkbox-label a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.btn-submit { align-self: flex-start; }

/* =====================================================================
   FOOTER — zweistufig: weißes Infoband + navy Abschlussleiste
   ===================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 3px solid var(--navy);
}

/* Obere Zone: Logo · Adresse · Links */
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s6) var(--s8);
  padding-block: var(--s8);
}

/* footer-brand enthält Logo + Adresse nebeneinander — 
   Im Grid nimmt es die erste Spalte ein */
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--s5);
  flex-wrap: nowrap;
}
.footer-brand p {
  font-size: var(--tx-xs);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: none !important; /* Reset überschreiben (p { max-width: 72ch }) */
  white-space: nowrap;
  border-left: 1px solid var(--border);
  padding-left: var(--s5);
}

/* Logo */
.footer-logo-img {
  height: 26px;
  width: auto;
  opacity: 1;
  flex-shrink: 0;
  transition: opacity var(--t-f);
  display: block;
}
.footer-logo-img:hover { opacity: 0.65; }

/* Navigationslinks — rechtsbündig */
.footer-nav ul {
  display: flex;
  gap: var(--s5);
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-nav a {
  font-size: var(--tx-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 500;
  transition: color var(--t-f);
  position: relative;
  padding-bottom: 2px;
}
.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right var(--t-m);
}
.footer-nav a:hover { color: var(--accent); }
.footer-nav a:hover::after { right: 0; }

/* Untere Abschlussleiste — navy, volle Breite (direkt in footer, außerhalb des Grids) */
.footer-copy {
  display: block;
  background: var(--navy);
  color: rgba(240,245,251,0.38);
  font-size: var(--tx-xs);
  letter-spacing: 0.06em;
  text-align: center;
  padding: var(--s3) var(--s6);
  width: 100%;
  max-width: none;
}

/* =====================================================================
   SUBPAGES (Impressum, Datenschutz, Mandatsbedingungen)
   ===================================================================== */
.subpage-hero {
  padding-top: var(--h-header);
  background: var(--primary);
  padding-bottom: clamp(var(--s12), 5vw, var(--s20));
}
.subpage-hero h1 {
  font-family: var(--font-d); font-size: var(--tx-2xl); font-weight: 700;
  color: #fff; margin-top: clamp(var(--s10), 5vw, var(--s16));
}
.subpage-content {
  padding-block: clamp(var(--s12), 5vw, var(--s24));
  background: var(--bg);
}
.subpage-content h2 {
  font-family: var(--font-d); font-size: var(--tx-xl); font-weight: 700;
  color: var(--navy); margin-bottom: var(--s4); margin-top: var(--s10);
}
.subpage-content h2:first-child { margin-top: 0; }
.subpage-content h3 {
  font-family: var(--font-d); font-size: var(--tx-lg); font-weight: 600;
  color: var(--blue-dark); margin-bottom: var(--s3); margin-top: var(--s8);
}
.subpage-content p { font-size: var(--tx-base); color: var(--text-muted); line-height: 1.75; margin-bottom: var(--s4); max-width: 72ch; }
.subpage-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.subpage-content ul, .subpage-content ol { margin-left: var(--s6); margin-bottom: var(--s4); color: var(--text-muted); font-size: var(--tx-base); }
.subpage-content li { margin-bottom: var(--s2); line-height: 1.7; }
.subpage-back { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--tx-sm); color: rgba(240,245,251,0.7); margin-top: clamp(var(--s8), 4vw, var(--s12)); transition: color var(--t-f); }
.subpage-back:hover { color: #fff; }
.subpage-subtitle { font-size: var(--tx-base); color: rgba(240,245,251,0.65); margin-top: var(--s3); max-width: 60ch; }
.sp-heading { font-family: var(--font-d); font-size: var(--tx-xl); font-weight: 700; color: var(--navy); margin-bottom: var(--s4); margin-top: var(--s10); }
.sp-heading:first-child { margin-top: 0; }

/* =====================================================================
   FADE-IN ON SCROLL
   ===================================================================== */
.fade-in {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-logo-right .btn { display: none; }

  .leistungen-grid { grid-template-columns: repeat(2,1fr); }
  .person-grid { grid-template-columns: 200px 1fr; gap: var(--s10); }
  .kanzlei-pillars { grid-template-columns: repeat(2,1fr); }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-item + .stat-item { padding-top: 0; border-top: none; padding-left: var(--s6); border-left: 1px solid var(--divider); }
}

@media (max-width: 768px) {
  :root { --h-logo-band: 60px; --h-nav-bar: 44px; --h-header: 104px; }
  .hero-contact-card { display: none; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .leistungen-grid { grid-template-columns: 1fr; }
  .kanzlei-pillars { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .person-grid { grid-template-columns: 1fr; }
  .person-photo { max-width: 200px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .intro-stats { flex-direction: column; }
  .stat-item + .stat-item { padding-left: 0; border-left: none; padding-top: var(--s4); border-top: 1px solid var(--divider); }
}
