/* =============================================
   gross::rechtsanwaelte – Stylesheet
   ============================================= */

/* Playfair Display – lokal gehostet (kein Google-Server-Kontakt) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/playfair-display-normal-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: 'Playfair Display';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/playfair-display-italic-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;
}

/* ----- Custom Properties ----- */
:root {
  --navy:       #002855;
  --navy-light: #0a3d7a;
  --navy-dark:  #001640;
  --red:        #8B0000;
  --red-hover:  #a52020;
  --white:      #ffffff;
  --off-white:  #f7f7f5;
  --gray-100:   #f2f2f0;
  --gray-200:   #e4e4e0;
  --gray-400:   #bbbbb0;
  --gray-500:   #888880;
  --text:       #1a1a1a;
  --text-muted: #555550;

  --ff-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-sans:  Verdana, Geneva, Tahoma, sans-serif;

  --max-w:  1200px;
  --nav-h:  80px;

  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow:    0 4px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.14);
  --radius:    6px;
  --radius-lg: 14px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img   { max-width: 100%; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
input, select, textarea { font-family: var(--ff-sans); }
button { font-family: var(--ff-sans); }

/* ----- Typography ----- */
h1, h2, h3, h4 { font-family: var(--ff-serif); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-muted); }

/* ----- Layout ----- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 0; }

/* =============================================
   SVG ICONS
   ============================================= */
.icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-lg {
  width: 2.4rem;
  height: 2.4rem;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.10);
  transition: box-shadow .3s var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
/* Logo */
.nav-logo {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1.12rem;
  letter-spacing: -.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo .g  { color: var(--navy); font-weight: 700; }
.nav-logo .cc { color: var(--red);  font-weight: 400; }
.nav-logo .r  { color: var(--red);  font-weight: 400; }

/* Nav links – Desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links > a,
.nav-item-drop > a {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .22s;
  line-height: 1;
}
.nav-links > a:hover,
.nav-item-drop > a:hover { color: var(--navy); }
.nav-links > a.active,
.nav-item-drop > a.active {
  color: var(--navy);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

/* :: prefix (matching Kanzlei-Brand) */
.nav-cc { color: var(--red); font-weight: 400; }
.nav-caret { font-size: .58rem; opacity: .5; margin-left: .18rem; }

/* Dropdown wrapper */
.nav-item-drop {
  position: relative;
  display: flex;
  align-items: center;
}
/* ::kanzlei trigger – not a link, just a label */
.nav-item-drop > a:not([href]) {
  cursor: default;
  user-select: none;
}

/* Dropdown menu – hidden by default */
.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: .6rem;   /* bridging gap so hover doesn't break */
  z-index: 500;
}
.nav-drop-menu-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.07);
  padding: .45rem 0;
  min-width: 158px;
  animation: navDropIn .18s ease both;
}
@keyframes navDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-item-drop:hover .nav-drop-menu,
.nav-item-drop:focus-within .nav-drop-menu {
  display: block;
}
.nav-drop-menu a {
  display: block;
  padding: .58rem 1.2rem;
  color: var(--text-muted);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav-drop-menu a:hover { color: var(--navy); background: rgba(0,40,85,.05); }
.nav-drop-menu a.active { color: var(--navy); }

/* CTA nav button */
.btn-nav {
  background: var(--red) !important;
  color: #ffffff !important;
  padding: .65rem 1.6rem !important;
  border-radius: var(--radius) !important;
  font-family: Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .06em;
  transition: background .25s var(--ease), transform .22s, box-shadow .25s !important;
}
.btn-nav:hover {
  background: var(--red-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(139,0,0,.38) !important;
  color: #fff !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.5rem;
  margin-left: auto;
  padding: .25rem;
  line-height: 1;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-size: .93rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s var(--ease);
  letter-spacing: .025em;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); animation: ctaPulse 2.4s ease-out infinite; }
.btn-primary:hover {
  background: var(--red-hover); border-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,0,0,.32);
  animation: none;
}
.btn-nav { animation: ctaPulse 2.4s ease-out infinite; }
.btn-nav:hover { animation: none; }

/* ── Language-Picker ── */
.lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  background: #fff;
  margin-left: .5rem;
}
.lang-picker button {
  background: transparent;
  border: none;
  padding: 4px 10px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 14px;
  line-height: 1;
  transition: background .15s, color .15s;
}
.lang-picker button[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}
.lang-picker button:hover:not([aria-pressed="true"]) {
  color: var(--navy);
  background: rgba(0,40,85,.06);
}
@media (max-width: 768px) {
  .lang-picker { margin: .75rem 0 0; width: fit-content; }
}
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0   rgba(196,30,42,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(196,30,42,0);  }
  100% { box-shadow: 0 0 0 0   rgba(196,30,42,0);  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-nav { animation: none; }
}
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover {
  background: var(--navy-dark); border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,40,85,.28);
}
.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }

/* =============================================
   HERO – Diashow (villa.jpg ⇄ Bundesverwg_licensed.jpg) mit dunklem Overlay
   ============================================= */
.hero {
  min-height: 100vh;
  background: #001025;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-slideshow {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroCrossfade3 12s infinite;
  will-change: opacity;
}
.hero-slide-a {
  /* Villa 1813 vorerst ausgeblendet — Bildrechte werden geklärt; Datei bleibt erhalten (assets/villa.jpg) */
  display: none;
}
.hero-slide-b {
  background-image: url('../assets/Bundesverwg_licensed.jpg');
  animation: heroCrossfade2 8s infinite;
  animation-delay: 0s;
}
@keyframes heroCrossfade {
  0%, 50%, 100% { opacity: 0; }
  10%, 40%      { opacity: 1; }
}
.hero-slide-c {
  background-image: url('../assets/bag-erfurt.jpg');
  animation: heroCrossfade2 8s infinite;
  animation-delay: 4s;
}
@keyframes heroCrossfade3 {
  0%            { opacity: 0; }
  4%, 29%       { opacity: 1; }
  33.333%, 100% { opacity: 0; }
}
@keyframes heroCrossfade2 {
  0%        { opacity: 0; }
  6%, 44%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.hero-captions { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-caption {
  position: absolute; right: 1.1rem; bottom: 1rem;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: .68rem; letter-spacing: .02em;
  color: rgba(255,255,255,.72); background: rgba(0,0,0,.30);
  padding: .25rem .6rem; border-radius: 3px;
  opacity: 0; animation: heroCrossfade3 12s infinite; will-change: opacity;
}
.hero-caption-a { display: none; }
.hero-caption-b { animation: heroCrossfade2 8s infinite; animation-delay: 0s; }
.hero-caption-c { animation: heroCrossfade2 8s infinite; animation-delay: 4s; }
@media (max-width: 640px) { .hero-caption { right: .6rem; bottom: .6rem; font-size: .58rem; padding: .2rem .5rem; max-width: 72%; } }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(0,16,37,.88) 0%, rgba(0,40,85,.78) 50%, rgba(30,0,0,.82) 100%),
    radial-gradient(circle at 20% 50%, rgba(139,0,0,.10) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(0,80,170,.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
/* ── Page-Hero mit Karte als Hintergrund (kanzlei.html) ── */
.page-hero.has-map {
  position: relative;
  overflow: hidden;
}
.page-hero.has-map .container {
  position: relative;
  z-index: 2;
}
.page-hero.has-map h1,
.page-hero.has-map p {
  max-width: 560px;
}
.page-hero-map {
  /* Karte nur in der rechten Hälfte des Hero, damit sie nicht mit dem Text konkurriert */
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  z-index: 1;
  pointer-events: none;
}
.hero-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Sanfter Links-Fade für weichen Übergang in den Navy-Hero */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 10%, #000 30%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.3) 10%, #000 30%, #000 100%);
}
/* iPhone / Smartphones: Karte komplett ausblenden */
@media (max-width: 767px) {
  .page-hero.has-map .page-hero-map { display: none; }
}
/* Tablets (iPad etc.): Karte bleibt sichtbar, aber schmaler */
@media (min-width: 768px) and (max-width: 900px) {
  .page-hero.has-map .page-hero-map { width: 60%; }
}
@media (max-width: 900px) {
  .hero::before {
    background:
      linear-gradient(135deg, rgba(0,16,37,.90) 0%, rgba(0,40,85,.80) 50%, rgba(30,0,0,.84) 100%),
      radial-gradient(circle at 20% 50%, rgba(139,0,0,.10) 0%, transparent 60%),
      radial-gradient(circle at 80% 20%, rgba(0,80,170,.15) 0%, transparent 50%);
  }
}
.europe-context path {
  fill: rgba(255,255,255,.02);
  stroke: rgba(255,255,255,.32);
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.hero-map-outline {
  fill: rgba(196, 30, 42, .09);        /* ganz leichter Rot-Schleier für Deutschland */
  stroke: rgba(255,255,255,.55);
  stroke-width: .35;
  stroke-linejoin: round;
  opacity: 0;
  vector-effect: non-scaling-stroke;
}
[data-line] {
  stroke: rgba(196, 30, 42, .6);
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-width: .9;
}
[data-city] {
  opacity: 0;
  transition: none;
}
[data-city] .city-ring {
  fill: none;
  stroke: rgba(196, 30, 42, .6);
  vector-effect: non-scaling-stroke;
  stroke-width: 1;
}
[data-city] .city-dot {
  fill: rgba(255,255,255,.95);
}
[data-city="leipzig"] .city-dot {
  fill: #c41e2a;
}
[data-city] .city-label {
  font-family: 'Verdana', sans-serif;
  font-weight: 600;
  fill: rgba(255,255,255,.9);
  stroke: none;
}
[data-city="leipzig"] .city-label {
  fill: #fff;
  font-weight: 700;
}
/* Hauptstädte der Nachbarländer – dezenter als DE-Städte, keine Verbindungslinien */
[data-city-type="capital"] .city-dot {
  fill: rgba(255,255,255,.5);
}
[data-city-type="capital"] .city-label {
  fill: rgba(255,255,255,.6);
  font-weight: 400;
}
@keyframes cityPulseR {
  0%, 100% { r: 1.0; fill: #c41e2a; }
  50%      { r: 1.35; fill: #ff5566; }
}
@keyframes cityRingR {
  0%   { r: 1.4; opacity: .95; stroke: rgba(255,120,130,.9); }
  100% { r: 4.8; opacity: 0;   stroke: rgba(196,30,42,.3);  }
}
[data-city="leipzig"] .city-dot  { animation: cityPulseR 2s ease-in-out infinite; }
[data-city="leipzig"] .city-ring { animation: cityRingR  2s ease-out     infinite; }
.hero-pattern {
  position: absolute; inset: 0; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='white' fill-rule='evenodd'%3E%3Ccircle cx='40' cy='40' r='1'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 2rem 6rem;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem; height: 1px;
  background: var(--red);
  flex-shrink: 0;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 720px;
  line-height: 1.1;
}
.hero h1 .accent { color: var(--red); font-style: italic; }
.hero-text {
  color: rgba(255,255,255,.65);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2.75rem;
  line-height: 1.8;
}
.hero-text strong {
  color: #fff;
  font-weight: 700;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.3);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  animation: scrollBounce 2.2s ease-in-out infinite;
  cursor: default;
}
.hero-scroll svg { width: 20px; height: 20px; opacity: .5; }
.hero-scroll { transition: opacity .3s ease; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header { margin-bottom: 3rem; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .8rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 1.75rem; height: 2px;
  background: var(--red); flex-shrink: 0;
}
.section-header h2  { color: var(--navy); }
.section-header > p { margin-top: .75rem; font-size: 1.05rem; max-width: 580px; color: var(--text-muted); line-height: 1.75; }
.section-header.centered  { text-align: center; }
.section-header.centered .section-label  { justify-content: center; }
.section-header.centered > p { margin-inline: auto; }
.section-divider { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; }
.section-divider .section-header { margin-bottom: 0; }

/* =============================================
   INTRO / ÜBER DIE KANZLEI (Index)
   ============================================= */
.intro-section { background: linear-gradient(135deg, #5a0000 0%, #8B0000 50%, #6b0a00 100%); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6rem; align-items: center;
}
.intro-text .section-label { color: rgba(255,255,255,.45); }
.intro-text .section-label::before { background: rgba(255,255,255,.25); }
.intro-text h2 { color: #fff; }
.intro-text p {
  color: rgba(255,255,255,.65);
  font-size: 1.02rem; line-height: 1.85;
  margin-top: 1rem;
}
.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.stat {
  padding-left: 1.25rem;
  border-left: 3px solid var(--red);
}
.stat-number {
  font-family: var(--ff-serif);
  font-size: 2.8rem; font-weight: 700;
  color: #fff; line-height: 1;
}
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  margin-top: .3rem; line-height: 1.4;
}

/* =============================================
   RECHTSGEBIETE
   ============================================= */
.rechtsgebiete-section { background: var(--off-white); }
.rg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.rg-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--gray-200);
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}
.rg-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.rg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.rg-card:hover::after { transform: scaleX(1); }
.rg-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: #fff;
}
.rg-card h3 { font-family: Verdana, Geneva, Tahoma, sans-serif; font-size: .95rem; color: var(--navy); margin-bottom: .5rem; }
.rg-card p  { font-size: .88rem; line-height: 1.7; }

/* =============================================
   TEAM (Index – Vorschau)
   ============================================= */
.team-section { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.team-card { text-align: center; }
.team-photo {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.team-photo .initials {
  font-family: var(--ff-serif);
  font-size: 2.8rem;
  color: rgba(255,255,255,.35);
  user-select: none;
}
.team-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: .25rem; }
.team-card .role {
  font-size: .76rem; font-weight: 700;
  color: var(--red); letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.team-card .bio { font-size: .84rem; line-height: 1.6; }

/* =============================================
   NEWS PREVIEW (Index)
   ============================================= */
.news-section { background: var(--off-white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
/* wrapper für Datum + Badge oberhalb der Karte */
.news-card-wrap { display: flex; flex-direction: column; }
.news-card-above {
  display: flex; align-items: center; justify-content: space-between; gap: .4rem;
  margin-bottom: .3rem;
}
.news-card-above-left { display: flex; align-items: center; gap: .4rem; }
.news-date-above {
  display: inline-flex; align-items: center;
  background: var(--red);
  color: #fff;
  font-size: .73rem; font-weight: 700;
  font-family: var(--ff-sans);
  letter-spacing: .03em;
  white-space: nowrap;
  padding: .35rem .9rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(139,0,0,.25);
}
.badge-neu {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #059669;
  color: #fff;
  font-size: .73rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(5,150,105,.3);
  animation: badgePulse 2.6s ease-in-out infinite;
}
.badge-neu::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: badgePulse 1.3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .65; }
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.news-card-top {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 1.75rem;
}
.news-tag {
  display: inline-flex; align-items: center;
  white-space: nowrap;
  background: #fff;
  color: var(--navy);
  font-size: .6rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.news-card-top h3 { font-size: 1.2rem; font-weight: 700; color: #fff; line-height: 1.35; }
.news-card-author { font-size: .75rem; color: rgba(255,255,255,.55); font-family: var(--ff-sans); margin-top: .4rem; }
.news-card-body { padding: 1.4rem 1.75rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: .76rem; color: var(--gray-500); margin-bottom: .65rem; display: none; }
.news-excerpt { font-size: .88rem; line-height: 1.68; flex: 1; margin-bottom: 1.25rem; }
.news-link {
  font-size: .83rem; font-weight: 600;
  color: var(--red);
  display: inline-flex; align-items: center; gap: .3rem;
  transition: gap .2s;
}
.news-link:hover { gap: .6rem; }
.news-cta { margin-top: 2.5rem; text-align: center; }

/* =============================================
   KONTAKT STRIP (Index)
   ============================================= */
.contact-strip { background: var(--navy); padding: 3.5rem 0; }
.contact-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.contact-strip h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.contact-strip p { color: rgba(255,255,255,.6); font-size: .95rem; margin-top: .35rem; }
.contact-strip-btns { display: flex; gap: 1rem; flex-shrink: 0; }
@media (max-width: 640px) {
  .contact-strip-inner { flex-direction: column; align-items: stretch; }
  .contact-strip-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .contact-strip-btns .btn { width: 100%; justify-content: center; }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-dark);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}
.footer-brand {
  font-size: 1.05rem;
  margin-bottom: 1rem; display: block;
}
.footer-brand .g  { color: #fff; font-family: Verdana, sans-serif; font-weight: 700; }
.footer-brand .cc { color: #fff; font-weight: 400; }
.footer-brand .r  { color: #fff; font-weight: 400; font-size: .9em; }
.footer-desc {
  font-size: .87rem; line-height: 1.75;
  color: rgba(255,255,255,.42);
  max-width: 290px;
}
.footer h4 {
  color: #fff; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.25rem; font-family: var(--ff-sans);
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  color: rgba(255,255,255,.48);
  font-size: .88rem;
  transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,.88); }
.contact-item {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .87rem; color: rgba(255,255,255,.55);
  margin-bottom: .4rem; line-height: 1.5;
}
.contact-icon { flex-shrink: 0; color: rgba(255,255,255,.7); display: flex; }
.contact-item a { color: rgba(255,255,255,.55); transition: color .2s; }
.contact-item a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.25);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.25); transition: color .2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.55); }

/* =============================================
   CHAT WIDGET
   ============================================= */
.chat-fab {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all .3s var(--ease);
  z-index: 500;
  font-size: 1.4rem;
}
.chat-fab:hover { background: var(--navy-light); transform: scale(1.08); }
.chat-fab.active { background: var(--red); }

.chat-panel {
  position: fixed; bottom: calc(2rem + 70px); right: 2rem;
  width: 360px; height: 520px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  z-index: 499;
  transform: translateY(16px) scale(.97);
  opacity: 0; pointer-events: none;
  transition: all .3s var(--ease);
}
.chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }

.chat-head {
  background: var(--navy); color: #fff;
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}
.chat-avatar {
  width: 36px; height: 36px;
  background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; flex-shrink: 0;
}
.chat-head-info h4 { font-size: .9rem; color: #fff; font-family: var(--ff-sans); font-weight: 600; margin-bottom: .1rem; }
.chat-head-info span { font-size: .74rem; color: rgba(255,255,255,.5); }
.chat-head-close {
  margin-left: auto; background: none; border: none;
  color: rgba(255,255,255,.5); font-size: 1.2rem; cursor: pointer;
  transition: color .2s; padding: .2rem;
}
.chat-head-close:hover { color: #fff; }

.chat-msgs {
  flex: 1; overflow-y: auto;
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--off-white);
}
.chat-msg {
  max-width: 88%;
  padding: .75rem 1rem;
  border-radius: 12px;
  font-size: .87rem; line-height: 1.5;
}
.chat-msg.bot  {
  background: #fff; color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}
.chat-msg.user {
  background: var(--navy); color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-typing {
  display: flex; gap: 4px; padding: .75rem 1rem;
  background: #fff; border-radius: 12px; border-bottom-left-radius: 4px;
  align-self: flex-start; box-shadow: var(--shadow-sm);
}
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gray-400);
  animation: typingDot 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot { 0%,80%,100% { transform: scale(1); opacity: .5; } 40% { transform: scale(1.2); opacity: 1; } }

.chat-input-row {
  padding: .9rem 1rem;
  background: #fff; border-top: 1px solid var(--gray-200);
  display: flex; gap: .5rem; align-items: center;
}
.chat-input {
  flex: 1; padding: .6rem .9rem;
  border: 1px solid var(--gray-200); border-radius: 20px;
  font-size: .87rem; outline: none;
  transition: border-color .2s;
  resize: none;
}
.chat-input:focus { border-color: var(--navy); }
.chat-send {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--navy); color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; transition: background .2s;
}
.chat-send:hover { background: var(--navy-light); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.62); font-size: 1.08rem; max-width: 560px; }
.breadcrumb {
  font-size: .78rem; color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .5rem;
}
.breadcrumb a { color: rgba(255,255,255,.4); transition: color .2s; }
.breadcrumb a:hover { color: rgba(255,255,255,.75); }
.breadcrumb .sep { opacity: .4; }

/* =============================================
   KANZLEI PAGE
   ============================================= */
.kanzlei-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem; align-items: start;
}
.kanzlei-text h3 { color: var(--navy); font-size: 1.3rem; margin: 2.5rem 0 .8rem; }
.kanzlei-text h3:first-child { margin-top: 0; }
.kanzlei-text p { font-size: .97rem; line-height: 1.85; margin-bottom: .9rem; }
.kanzlei-text ul { margin: .75rem 0 1rem 0; }
.kanzlei-text ul li {
  font-size: .95rem; color: var(--text-muted);
  padding: .4rem 0 .4rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.kanzlei-text ul li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--red); font-weight: 700;
}
.kanzlei-sidebar {
  position: sticky; top: calc(var(--nav-h) + 2rem);
}
.sidebar-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  border: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  color: var(--navy); font-size: .9rem;
  margin-bottom: 1.1rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.sidebar-card ul li {
  font-size: .88rem; color: var(--text-muted);
  padding: .45rem 0; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; gap: .55rem;
}
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li::before { content: '›'; color: var(--red); font-weight: 700; font-size: 1rem; }

/* =============================================
   ÜBER UNS PAGE
   ============================================= */
.person-block { margin-bottom: 5rem; }
.person-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 3rem; align-items: start;
}
.person-grid.reverse { grid-template-columns: 3fr 1fr; }
.person-grid.reverse .person-photo-wrap { order: 2; }
.person-grid.reverse .person-info { order: 1; }
.person-photo-wrap {
  min-height: 280px;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  box-shadow: var(--shadow-lg);
}
.person-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.person-photo-wrap .initials {
  font-family: var(--ff-serif); font-size: 6rem;
  color: rgba(255,255,255,.18); user-select: none; letter-spacing: .05em;
}
.person-photo-placeholder {
  position: absolute; bottom: 1.5rem; left: 0; right: 0;
  text-align: center; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.2);
}
.person-role-badge {
  display: inline-block;
  background: var(--red); color: #fff;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 4px;
  margin-bottom: 1.25rem;
}
.person-info h2 { margin-bottom: .6rem; }
.person-info p { font-size: .97rem; line-height: 1.85; margin-bottom: .9rem; }
.person-details { margin-top: 1.75rem; border-top: 1px solid var(--gray-200); padding-top: 1.5rem; }
.detail-row { display: flex; gap: 1rem; margin-bottom: .7rem; font-size: .9rem; }
.detail-label { font-weight: 600; color: var(--navy); width: 200px; flex-shrink: 0; }
.detail-value { color: var(--text-muted); }
@media (max-width: 640px) {
  .detail-row { flex-direction: column; gap: .15rem; }
  .detail-label { width: auto; }
}
.publications-list { margin-top: 1.5rem; }
.publications-list h4 { color: var(--navy); font-size: .95rem; margin-bottom: .75rem; font-family: var(--ff-serif); }
.pub-item {
  font-size: .87rem; color: var(--text-muted);
  padding: .45rem 0 .45rem 1.2rem;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.pub-item::before { content: '›'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.team-separator { border: none; border-top: 1px solid var(--gray-200); margin: 4rem 0; }

/* =============================================
   BLOG PAGE
   ============================================= */
.blog-section { background: var(--off-white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card-wrap { display: flex; flex-direction: column; }
.blog-card-above {
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: .3rem;
}
.blog-date-above {
  display: inline-flex; align-items: center;
  background: var(--red);
  color: #fff;
  font-size: .73rem; font-weight: 700;
  font-family: var(--ff-sans);
  letter-spacing: .03em;
  white-space: nowrap;
  padding: .35rem .9rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(139,0,0,.25);
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.blog-card-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 1.75rem;
}
.blog-card-banner h3 { font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1.35; }
.blog-card-banner .news-card-author { font-size: .75rem; color: rgba(255,255,255,.55); font-family: var(--ff-sans); margin-top: .4rem; }
.blog-card-body { padding: 1.25rem 1.75rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: none; }
.blog-excerpt { font-size: .88rem; line-height: 1.68; flex: 1; margin-bottom: 1.25rem; }
.blog-read-more {
  font-size: .82rem; font-weight: 600; color: var(--red);
  display: flex; align-items: center; gap: .3rem; transition: gap .2s;
}
.blog-read-more:hover { gap: .6rem; }
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  align-items: start;
}
.blog-main {}
.blog-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.blog-sidebar-box {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.blog-sidebar-box h4 {
  font-family: var(--ff-sans);
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--navy);
}
.month-list { list-style: none; padding: 0; margin: 0; }
.month-list li { border-bottom: 1px solid var(--gray-100); }
.month-list li:last-child { border-bottom: none; }
.month-btn {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: .55rem .25rem;
  font-family: var(--ff-sans); font-size: .85rem;
  color: var(--text-muted);
  display: flex; justify-content: space-between; align-items: center;
  transition: color .2s;
}
.month-btn:hover, .month-btn.active { color: var(--red); font-weight: 600; }
.month-btn .month-count {
  background: var(--gray-100); color: var(--gray-500);
  font-size: .7rem; font-weight: 700;
  padding: .1rem .45rem; border-radius: 10px;
}
.month-btn.active .month-count { background: var(--red); color: #fff; }

.blog-filters {
  display: flex; gap: .75rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border-radius: 20px; border: 1px solid var(--gray-200);
  background: #fff; font-size: .83rem; font-weight: 500;
  cursor: pointer; transition: all .22s; color: var(--text-muted);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
@media (max-width: 768px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}

/* Blog modal */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,20,50,.6);
  z-index: 200;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 2rem 1rem; overflow-y: auto;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg);
  max-width: 740px; width: 100%;
  padding: 3rem; position: relative; margin: auto;
  transform: translateY(24px); transition: transform .3s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: var(--gray-500); transition: color .2s;
  line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-box .news-tag {
  background: var(--navy);
  color: #fff;
  margin-bottom: .75rem;
}
.modal-box h2 { color: var(--navy); font-size: 1.65rem; margin-bottom: .5rem; }
.modal-meta { font-size: .8rem; color: var(--gray-500); margin-bottom: 2rem; }
.modal-content { font-size: .97rem; line-height: 1.85; color: var(--text-muted); }
.modal-content p  { margin-bottom: 1rem; }
.modal-content h3 { color: var(--navy); font-size: 1.15rem; margin: 1.75rem 0 .75rem; }
.modal-content ul { margin: .75rem 0 1rem 1rem; }
.modal-content ul li { list-style: disc; padding: .2rem 0; }

/* =============================================
   MANDANTENPORTAL
   ============================================= */
.portal-wrap {
  min-height: calc(100vh - var(--nav-h));
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 2rem) 2rem 4rem;
}
.portal-card {
  max-width: 600px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-lg);
  padding: 3.5rem; text-align: center;
  box-shadow: var(--shadow-lg);
}
.portal-icon {
  width: 72px; height: 72px;
  background: var(--navy); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.75rem;
  color: #fff;
}
.portal-card h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); margin-bottom: .75rem; }
.portal-card p { font-size: .97rem; line-height: 1.75; max-width: 420px; margin: 0 auto .9rem; }
.portal-card .btn { margin-top: 1.75rem; }

/* =============================================
   ANFRAGE / OMA FORM
   ============================================= */
.anfrage-section { background: var(--off-white); padding-bottom: 5rem; }
.anfrage-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3.5rem; align-items: start;
}
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-size: .9rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  background: #fff; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,40,85,.07);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-section-label {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--red);
  margin: 2rem 0 1rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--gray-200);
}
.form-section-label:first-child { margin-top: 0; }
.upload-zone {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius); padding: 2rem;
  text-align: center; cursor: pointer;
  transition: all .25s; position: relative;
}
.upload-zone:hover, .upload-zone.drag { border-color: var(--navy); background: rgba(0,40,85,.025); }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-icon { font-size: 2rem; margin-bottom: .5rem; }
.upload-text { font-size: .88rem; color: var(--text-muted); }
.upload-text strong { color: var(--navy); cursor: pointer; }
.file-list { margin-top: 1rem; }
.file-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem .75rem; background: var(--off-white);
  border-radius: var(--radius); font-size: .85rem; margin-bottom: .4rem;
}
.file-item-name { flex: 1; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-remove { background: none; border: none; cursor: pointer; color: var(--red); font-size: 1rem; line-height: 1; flex-shrink: 0; }
.consent-row {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .82rem; color: var(--text-muted); line-height: 1.6;
  margin: 1.5rem 0 1.25rem;
}
.consent-row input { margin-top: .2rem; flex-shrink: 0; cursor: pointer; accent-color: var(--navy); }
.submit-row { display: flex; justify-content: flex-end; gap: 1rem; align-items: center; }
.form-status {
  padding: .9rem 1.1rem; border-radius: var(--radius);
  font-size: .88rem; margin-top: 1rem; display: none;
}
.form-status.success { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; display: block; }
.form-status.error   { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; display: block; }
.anfrage-sidebar { position: sticky; top: calc(var(--nav-h) + 2rem); }
.info-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 1.75rem 2rem; border: 1px solid var(--gray-200);
  margin-bottom: 1.25rem;
}
.info-card h4 {
  color: var(--navy); font-size: .9rem;
  margin-bottom: .9rem; padding-bottom: .6rem;
  border-bottom: 2px solid var(--red); display: inline-block;
}
.info-card p { font-size: .87rem; line-height: 1.7; margin-bottom: .75rem; }
.info-card p:last-child { margin-bottom: 0; }
.contact-btn {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--gray-200); font-size: .88rem;
  color: var(--text); transition: all .25s; margin-bottom: .6rem;
  background: #fff;
}
.contact-btn:hover { border-color: var(--navy); color: var(--navy); background: var(--off-white); }
.contact-btn .cb-icon { font-size: 1rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .rg-grid       { grid-template-columns: repeat(2, 1fr); }
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
  .intro-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .kanzlei-grid  { grid-template-columns: 1fr; }
  .kanzlei-sidebar { position: static; }
  .anfrage-layout { grid-template-columns: 1fr; }
  .anfrage-sidebar { position: static; }
  .person-grid, .person-grid.reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .person-grid.reverse .person-photo-wrap,
  .person-grid.reverse .person-info { order: unset; }
  .person-photo-wrap { max-width: 340px; aspect-ratio: 3/4; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: .1rem;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #ffffff; padding: 1.2rem 2rem 1.8rem;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--gray-200);
    z-index: 999;
  }
  .nav-links.open > a,
  .nav-links.open .nav-item-drop > a { color: var(--text-muted); padding: .45rem 0; }
  .nav-links.open > a:hover,
  .nav-links.open .nav-item-drop > a:hover { color: var(--navy); }
  /* Dropdown mobile: flat, kein Popup */
  .nav-item-drop { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-drop-menu {
    display: block;
    position: static;
    transform: none;
    padding-top: 0;
    width: 100%;
    animation: none;
  }
  .nav-drop-menu-box {
    animation: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 .4rem .9rem;
    border-left: 2px solid var(--gray-200);
    border-radius: 0;
    min-width: auto;
  }
  .nav-drop-menu a { padding: .35rem 0; }
  .nav-toggle { display: block; }
  .rg-grid   { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .contact-strip-inner { flex-direction: column; }
  .intro-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .chat-panel { width: calc(100vw - 2rem); right: 1rem; }
  .modal-box { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
  .hero-inner { padding: calc(var(--nav-h) + 2.5rem) 1.25rem 5rem; }
  .form-card { padding: 1.75rem; }
}

/* =============================================
   OMA SUCCESS PANEL
   ============================================= */
.oma-success {
  text-align: center;
  padding: 3rem 2rem;
  background: #f1faf1;
  border: 1.5px solid #a5d6a7;
  border-radius: var(--radius-lg);
  animation: omaSuccessIn .4s var(--ease) both;
}
@keyframes omaSuccessIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.oma-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
}
.oma-success-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(46,125,50,.18));
}
.oma-success-title {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  color: #1b5e20;
  margin: 0 0 .75rem;
}
.oma-success-msg {
  font-size: .95rem;
  color: #2e7d32;
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto;
}

/* =============================================
   COOKIE BANNER
   ============================================= */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: min(400px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  padding: 1.5rem 1.5rem 1.25rem;
  font-family: var(--ff-sans);
  font-size: .85rem;
  color: var(--text);
  animation: cookieSlideIn .35s var(--ease) both;
}
#cookie-banner.hidden {
  display: none;
}
@keyframes cookieSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 .6rem;
}
.cookie-banner-text {
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1.1rem;
}
.cookie-banner-text a {
  color: var(--red);
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}
.cookie-btn-accept {
  flex: 1;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: .6rem 1rem;
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.cookie-btn-accept:hover { background: var(--navy-light); }
.cookie-btn-decline {
  flex: 1;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .6rem 1rem;
  font-family: var(--ff-sans);
  font-size: .82rem;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.cookie-btn-decline:hover { border-color: var(--gray-400); color: var(--text); }
@media (max-width: 480px) {
  #cookie-banner { bottom: 1rem; right: 1rem; }
  .cookie-banner-actions { flex-direction: column; }
}

/* =============================================
   FOOTER-KARTE (index.html, kanzlei.html)
   3-phasige Animation: HBF-Puls → Route → Ziel
   ============================================= */

/* Toggle-Button für Aufklappen/Einklappen */
.footer-map-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  padding: .35rem .7rem;
  border-radius: var(--radius-md);
  font-size: .76rem;
  font-family: Verdana, sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  margin: .75rem 0 .3rem;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.footer-map-toggle:hover,
.footer-map-toggle:focus-visible {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.4);
  color: #fff;
  outline: none;
}
.footer-map-toggle-icon {
  width: 11px; height: 11px;
  flex: none;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  transform: rotate(180deg);
}
.footer-map-toggle[aria-expanded="false"] .footer-map-toggle-icon {
  transform: rotate(0);
}

/* Modul: ausklappbar über max-height */
.footer-map-module {
  margin: .4rem 0 1.1rem;
  pointer-events: none;
  user-select: none;
  max-height: 720px;
  overflow: hidden;
  opacity: 1;
  transition:
    max-height .6s cubic-bezier(.4,0,.2,1),
    opacity .45s cubic-bezier(.4,0,.2,1),
    margin .5s cubic-bezier(.4,0,.2,1);
}
.footer-map-module[aria-hidden="true"] {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.footer-map-svg {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
}

/* Basis-Karte: dezent, aber Straßen erkennbar */
.footer-map-base { opacity: .65; }

/* ── Leipzig-Haupttitel (dekorativ, zentral) ── */
.footer-map-leipzig {
  font-family: Verdana, sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  fill: rgba(255,255,255,.92);
  opacity: 0;
  transition: opacity .9s cubic-bezier(.22,1,.36,1) .1s;
}
.footer-map-module.is-visible .footer-map-leipzig { opacity: 1; }

/* ── Phase 1: Hauptbahnhof erscheint ── */
.footer-map-outer-ring {
  fill: none;
  stroke: rgba(255,255,255,.55);
  stroke-width: 1.2;
  opacity: 0;
  transition: opacity .55s cubic-bezier(.22,1,.36,1) .35s;
}
.footer-map-module.is-visible .footer-map-outer-ring { opacity: 1; }
.footer-map-outer-ring-end {
  transition: opacity .55s cubic-bezier(.22,1,.36,1) 3.0s;
}

.footer-map-dot-start {
  fill: #c41e2a;
  stroke: rgba(255,255,255,.95);
  stroke-width: 2;
  opacity: 0;
  transition: opacity .55s cubic-bezier(.22,1,.36,1) .4s;
}
.footer-map-module.is-visible .footer-map-dot-start { opacity: 1; }

.footer-map-pulse-ring {
  fill: none;
  stroke: #c41e2a;
  stroke-width: 1.8;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.footer-map-module.is-visible .footer-map-pulse-ring {
  animation: fmapPulse 1.1s cubic-bezier(.25,.1,.25,1) .55s 2;
}
@keyframes fmapPulse {
  0%   { opacity: .85; transform: scale(1);   }
  100% { opacity: 0;   transform: scale(2.6); }
}

.footer-map-label {
  font-family: Verdana, sans-serif;
  font-weight: 700;
  fill: rgba(255,255,255,.95);
  paint-order: stroke fill;
  stroke: rgba(0,20,50,.9);
  stroke-width: 3;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity .55s cubic-bezier(.22,1,.36,1);
}
.footer-map-module.is-visible .footer-map-label-start { opacity: 1; transition-delay: .5s; }
.footer-map-module.is-visible .footer-map-label-end   { opacity: 1; transition-delay: 3.05s; }

/* ── Phase 2: Route zeichnet sich auf (ease-in-out, geschmeidig) ── */
.footer-map-route-shadow {
  fill: none;
  stroke: rgba(0,0,0,.4);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 567;
  stroke-dashoffset: 567;
  transition: stroke-dashoffset 2.1s cubic-bezier(.65,0,.35,1) 1.05s;
}
.footer-map-module.is-visible .footer-map-route-shadow { stroke-dashoffset: 0; }

.footer-map-route {
  fill: none;
  stroke: #c41e2a;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 567;
  stroke-dashoffset: 567;
  transition: stroke-dashoffset 2.1s cubic-bezier(.65,0,.35,1) 1.05s;
  filter: drop-shadow(0 0 3px rgba(196,30,42,.55));
}
.footer-map-module.is-visible .footer-map-route { stroke-dashoffset: 0; }

/* ── Phase 3: Zielpunkt ── */
.footer-map-dot-end {
  fill: #c41e2a;
  stroke: rgba(255,255,255,.95);
  stroke-width: 2.2;
  opacity: 0;
  transition: opacity .55s cubic-bezier(.22,1,.36,1) 3.0s;
}
.footer-map-module.is-visible .footer-map-dot-end { opacity: 1; }

/* ── Völkerschlachtdenkmal-Label (mit Zielpunkt) ── */
.footer-map-vdm { opacity: 0; transition: opacity .55s cubic-bezier(.22,1,.36,1) 3.05s; }
.footer-map-module.is-visible .footer-map-vdm { opacity: 1; }

/* ── Transit-Badges (kurz nach Ziel) ── */
.footer-map-transit { opacity: 0; transition: opacity .55s cubic-bezier(.22,1,.36,1) 3.25s; }
.footer-map-module.is-visible .footer-map-transit { opacity: 1; }

/* prefers-reduced-motion: sofort Endzustand */
@media (prefers-reduced-motion: reduce) {
  .footer-map-route,
  .footer-map-route-shadow           { stroke-dashoffset: 0; transition: none; }
  .footer-map-dot-start,
  .footer-map-dot-end,
  .footer-map-outer-ring             { opacity: 1; transition: none; }
  .footer-map-label                  { opacity: 1; transition: none; }
  .footer-map-leipzig                { opacity: 1; transition: none; }
  .footer-map-transit                { opacity: 1; transition: none; }
  .footer-map-vdm                    { opacity: 1; transition: none; }
  .footer-map-pulse-ring             { display: none; }
}

@media (max-width: 600px) {
  .footer-map-svg { max-width: 170px; }
}

/* =============================================
   ELECTRONIC WITHDRAWAL FUNCTION
   ============================================= */
.footer-withdrawal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: .58rem .9rem;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 4px;
  background: #a30812;
  color: #fff !important;
  font-family: var(--ff-sans);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.footer-withdrawal-button:hover,
.footer-withdrawal-button:focus-visible {
  background: #c41e2a;
  border-color: #fff;
  color: #fff !important;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.withdrawal-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--gray-100); }
.withdrawal-main { flex: 1; padding: calc(var(--nav-h) + 2.5rem) 1.5rem 4rem; }
.withdrawal-card { width: min(100%, 640px); margin: 0 auto; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-md); box-shadow: var(--shadow); overflow: hidden; }
.withdrawal-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--gray-200); }
.withdrawal-home { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.withdrawal-logo-gross { color: var(--navy); }
.withdrawal-logo-red { color: var(--red); font-weight: 400; }
.withdrawal-bar-label { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-500); white-space: nowrap; }
.withdrawal-hero { background: var(--navy); padding: clamp(1.6rem, 4vw, 2.1rem) clamp(1.5rem, 4vw, 2.5rem); }
.withdrawal-kicker { margin: 0; color: var(--red); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.withdrawal-hero .withdrawal-kicker { display: flex; align-items: center; gap: .8rem; margin: 0 0 .9rem; color: #94a9c4; }
.withdrawal-hero .withdrawal-kicker::before { content: ''; width: 2.5rem; height: 1px; background: var(--red); flex-shrink: 0; }
.withdrawal-hero h1 { margin: 0; color: #fff; font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.2; }
.withdrawal-content { padding: clamp(1.75rem, 4vw, 2.5rem); }
.withdrawal-intro { max-width: 58ch; color: var(--text-muted); line-height: 1.7; }
.withdrawal-form { margin-top: 1.75rem; }
.withdrawal-form .form-group { margin-bottom: 1.2rem; }
.withdrawal-form label { display: block; margin-bottom: .45rem; color: var(--navy); font-size: .92rem; font-weight: 700; }
.withdrawal-form input { width: 100%; min-height: 2.9rem; padding: .7rem .9rem; border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.withdrawal-form input:hover { border-color: var(--gray-400); }
.withdrawal-form input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(0,40,85,.10); }
.withdrawal-submit { min-height: 2.85rem; }
.withdrawal-required, .withdrawal-privacy, .withdrawal-note { margin-top: 1rem; color: var(--text-light); font-size: .84rem; line-height: 1.55; }
.withdrawal-privacy a, .withdrawal-link-button { color: var(--navy); font-size: inherit; font-weight: 700; text-decoration: underline; }
.withdrawal-alert { margin-top: 1.25rem; padding: .9rem 1rem; border-left: 4px solid #a30812; background: #fff1f1; color: #691014; }
.withdrawal-alert ul { margin: 0; padding-left: 1.2rem; }
.withdrawal-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.withdrawal-summary { margin: 2rem 0; border-top: 1px solid var(--gray-200); }
.withdrawal-summary div { display: grid; grid-template-columns: minmax(9rem, .7fr) 1.5fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--gray-200); }
.withdrawal-summary dt { color: var(--text-light); font-size: .85rem; }
.withdrawal-summary dd { margin: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.withdrawal-actions { margin-top: 1.5rem; }
.withdrawal-back { margin-top: 1rem; }
.withdrawal-link-button { border: 0; background: none; padding: 0; cursor: pointer; }
.withdrawal-footer { padding: 1.5rem 0; }
.withdrawal-footer .footer-bottom { border-top: 0; padding-top: 0; }
.privacy-withdrawal-notice { padding: 0 0 4rem; }
.privacy-withdrawal-notice .container { border-top: 1px solid var(--gray-200); padding-top: 2.5rem; }
.privacy-withdrawal-notice h2 { color: var(--navy); font-size: 1.35rem; margin-bottom: .8rem; }
.privacy-withdrawal-notice p { max-width: 78ch; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 768px) {
  .footer-withdrawal-button { width: 100%; }
  .withdrawal-main { padding: 2.25rem 1.25rem 3rem; }
  .withdrawal-summary div { grid-template-columns: 1fr; gap: .25rem; }
}

/* === Vertrag-widerrufen-Button: an Standard angeglichen (2026-06-19) === */
.footer-withdrawal-button{margin-left:auto;margin-right:1.25rem;min-height:0;padding:.6rem 1.4rem;border:none;border-radius:var(--radius);background:var(--red);font-weight:700;letter-spacing:.04em;box-shadow:0 4px 14px rgba(139,0,0,.25);}
.footer-withdrawal-button:hover,.footer-withdrawal-button:focus-visible{background:var(--red-hover);border:none;transform:translateY(-2px);box-shadow:0 6px 20px rgba(139,0,0,.32);outline:2px solid rgba(255,255,255,.5);outline-offset:2px;}
@media(max-width:640px){.footer-withdrawal-button{margin-left:0;margin-right:0;}}
