/* ═══════════════════════════════════════════════════
   VILICUS Property Consulting GmbH
   Stylesheet — Relaunch 2026
   Fonts: Cormorant Garamond (Überschriften) · Raleway (Fließtext)
   Basis: Altes Onepager-Design, erweitert für Multipage-Struktur
═══════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════
   1. TOKENS & RESET
═══════════════════════════════════════════════════ */
:root {
  /* Primärfarben */
  --vilicus-purple:  #372a7c;
  --purple-dark:     #2a2060;
  --purple-deep:     #1e1648;
  --stone-gray:      #605d6d;

  /* Bronze-Akzent */
  --bronze-dark:     #775925;
  --bronze-mid:      #a8883a;
  --bronze-light:    #ccb275;
  --bronze-gradient: linear-gradient(135deg, #775925 0%, #a8883a 45%, #ccb275 100%);
  --bronze-h:        linear-gradient(90deg, #775925 0%, #a8883a 50%, #ccb275 100%);

  /* Neutralfarben */
  --text-dark:       #3a3a3a;
  --warm-white:      #f5f4f1;
  --off-white:       #faf9f7;
  --border:          #e8e5de;

  /* Typografie */
  --font-heading:    'Cormorant Garamond', Georgia, serif;
  --font-display:    'Trajan Pro', 'Cormorant Garamond', Georgia, serif;
  --font-body:       'Raleway', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --nav-height:      88px;
  --max-w:           1280px;
  --pad:             clamp(24px, 5vw, 80px);
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--vilicus-purple);
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 300; letter-spacing: .06em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 400; letter-spacing: .04em; }
h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: .02em; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1.2em; }

a { color: inherit; text-decoration: none; transition: color .25s ease; }

/* Externer-Link-Pfeil automatisch bei allen target="_blank" */
a[target="_blank"]::after { content: ' \2197'; font-size: 0.8em; }
/* Ausnahmen: Social-Icons, Service-Cards, Footer-Buttons (eigene Pfeil-Logik) */
.social-links a[target="_blank"]::after,
a.service-card[target="_blank"]::after,
.footer__btn[target="_blank"]::after,
.quality-item a[target="_blank"]::after,
.btn[target="_blank"]::after { content: none; }

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

ul, ol { margin: 0; padding: 0; list-style: none; }


/* ═══════════════════════════════════════════════════
   2. UTILITY
═══════════════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Bronze-Akzentlinie */


/* Goldene Caps-Labels (Trajan Pro = Logo-Schrift) mit Bronze-Strich */
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-mid);
  -webkit-text-stroke: 0.3px currentColor;
  margin-bottom: 16px;
}
/* Strich links (Standard) */
.label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
/* Strich rechts (nur bei zentrierten Labels, nicht bei --left) */
.label--centered::after,
.section-header:not(.section-header--left) .label::after,
.intro-band__item .label::after,
.mobile-nav .label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* Sektions-Abstände */
.section { padding: clamp(60px, 8vw, 120px) 0; }
.section + .section,
.image-band + .section { padding-top: clamp(40px, 5vw, 60px); }
.section--warm { background: var(--warm-white); }
.section--dark {
  background: var(--purple-dark);
  color: rgba(255, 255, 255, .85);
}
.section--dark h2,
.section--dark h3,
.section--dark .section-header h2 { color: #fff; }
.section--dark .label { color: var(--bronze-light); }
.section--dark .section-header p { color: rgba(255, 255, 255, .55); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1;
}
.btn--primary {
  background: var(--vilicus-purple);
  color: #fff;
}
.btn--primary:hover {
  background: var(--purple-dark);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--vilicus-purple);
  border-color: var(--vilicus-purple);
}
.btn--outline:hover {
  background: var(--vilicus-purple);
  color: #fff;
}
.btn--outline-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
}
.btn--outline-dark:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .8);
  color: #fff;
}
.btn--bronze {
  background: var(--bronze-gradient);
  color: #fff;
  border: none;
}
.btn--bronze:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(119, 89, 37, .35);
  color: #fff;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Visually Hidden */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ═══════════════════════════════════════════════════
   3. SCROLL-REVEAL & ANIMATIONEN
═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-stagger > .reveal:nth-child(2) { transition-delay: .1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: .2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: .3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: .4s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll-line, .hero__bg::after, .hero__grid, .hero__accent-line, .hero__bg-letter, .page-hero__letter { animation: none; }
}


/* ═══════════════════════════════════════════════════
   4. NAVIGATION
═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(42, 32, 96, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(204, 178, 117, .18);
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(26, 19, 72, 0.99);
  box-shadow: 0 4px 32px rgba(0, 0, 0, .25);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.nav__logo { flex-shrink: 0; }
.nav__logo img {
  height: 68px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Hauptmenü */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav__menu > li { position: relative; }
.nav__menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  padding: 0 18px;
  height: var(--nav-height);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__menu > li > a:hover,
.nav__menu > li > a.active { color: var(--bronze-light); }
.nav__menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 2px;
  background: var(--bronze-h);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav__menu > li > a:hover::after,
.nav__menu > li > a.active::after { transform: scaleX(1); }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 260px;
  background: var(--purple-deep);
  border-top: 2px solid;
  border-image: var(--bronze-h) 1;
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
}
.nav__menu li:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__dropdown li a {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, .75);
  padding: 14px 24px;
  transition: all 0.2s;
}
.nav__dropdown li a:hover {
  color: var(--bronze-light);
  background: rgba(255, 255, 255, .04);
  padding-left: 30px;
}

/* Nav CTA */
.nav__cta { flex-shrink: 0; }
.nav__cta .btn { padding: 12px 26px; font-size: 13px; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, .8);
  transition: all 0.3s;
  border-radius: 1px;
}
.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ═══════════════════════════════════════════════════
   5. MOBILE NAV OVERLAY
═══════════════════════════════════════════════════ */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1001;
  background: var(--purple-deep);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { opacity: 1; visibility: visible; }

/* Schliessen-Button */
.mobile-nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .25s ease;
  z-index: 1;
}
.mobile-nav__close:hover { color: #fff; }

/* Content-Container */
.mobile-nav__content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 80px 32px 40px;
}

/* Label: nur linker Strich */
.mobile-nav .label {
  font-size: .75rem;
  color: var(--bronze-light);
  margin-bottom: 16px;
  justify-content: flex-start;
}
.mobile-nav .label::after { display: none; }

/* Link-Bereich */
.mobile-nav__links {
  display: block;
}

/* Hauptlinks */
.mobile-nav__link {
  display: block;
  width: 100%;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: .04em;
  padding: 14px 0;
  min-height: 44px;
  transition: color .25s ease;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav__link:hover { color: var(--bronze-light); }
.mobile-nav__link.active {
  color: var(--bronze-light);
  border-bottom-color: rgba(168,136,58,.3);
}

/* Unternavigation */
.mobile-nav__sub {
  display: block;
  padding-left: 16px;
  margin-bottom: 8px;
  border-left: 2px solid rgba(168,136,58,.25);
  margin-left: 4px;
}
.mobile-nav__sublink {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  color: rgba(255,255,255,.6);
  padding: 10px 0 10px 12px;
  min-height: 44px;
  letter-spacing: .02em;
  transition: color .25s ease;
}
.mobile-nav__sublink:hover { color: #fff; }
.mobile-nav__sublink.active { color: var(--bronze-light); }

/* Footer-Bereich */
.mobile-nav__footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.mobile-nav__portal {
  display: block;
  width: 100%;
  text-align: center;
}
.mobile-nav__contact {
  text-align: center;
  margin-top: 8px;
}
.mobile-nav__contact a {
  font-family: var(--font-body);
  font-size: .9375rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  transition: color .25s ease;
}
.mobile-nav__contact a:hover { color: #fff; }


/* ═══════════════════════════════════════════════════
   6. HERO — STARTSEITE
═══════════════════════════════════════════════════ */
.hero {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--purple-deep);
}

/* Mehrstufiger Gradient-Hintergrund mit sanfter Bewegung */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(55, 42, 124, .6) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(119, 89, 37, .15) 0%, transparent 50%),
    linear-gradient(160deg, #1e1648 0%, #2a2060 40%, #372a7c 70%, #2a2060 100%);
}

/* Wandernder Lichtschimmer */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(204, 178, 117, .08) 0%, transparent 70%);
  animation: heroShimmer 12s ease-in-out infinite alternate;
}
@keyframes heroShimmer {
  0%   { transform: translate(-20%, -10%) scale(1); }
  50%  { transform: translate(20%, 10%) scale(1.2); }
  100% { transform: translate(-10%, 20%) scale(0.9); }
}

/* Kariertes Gitter-Muster mit langsamem Drift */
.hero__grid {
  position: absolute;
  inset: -10px;
  background-image:
    linear-gradient(rgba(204, 178, 117, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 178, 117, .04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

/* Vertikale Bronze-Akzentlinie mit sanftem Puls */
.hero__accent-line {
  position: absolute;
  right: 12%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, rgba(168, 136, 58, .4) 20%, rgba(204, 178, 117, .6) 50%, rgba(168, 136, 58, .4) 80%, transparent 100%);
  animation: accentPulse 4s ease-in-out infinite alternate;
}
@keyframes accentPulse {
  0%   { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Großes "V" im Hintergrund — Branding-Element (Trajan Pro) */
.hero__bg-letter,
.page-hero__letter {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(300px, 35vw, 520px);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(204, 178, 117, .18);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  animation: vFloat 20s ease-in-out infinite alternate;
}
/* Kleineres V auf Unterseiten-Heros, rechts + untere Hälfte */
.page-hero__letter {
  font-size: clamp(140px, 22vw, 260px);
  z-index: 1;
  top: calc(50% + var(--nav-height));
  bottom: auto;
  left: auto;
  right: 8%;
  transform: translateY(-50%);
  animation: vFloatSub 15s ease-in-out infinite alternate;
}
@keyframes vFloatSub {
  0%   { transform: translateY(-50%) scale(1); -webkit-text-stroke-color: rgba(204, 178, 117, .1); }
  50%  { transform: translateY(-50%) scale(1.04); -webkit-text-stroke-color: rgba(204, 178, 117, .28); }
  100% { transform: translateY(-50%) scale(1); -webkit-text-stroke-color: rgba(204, 178, 117, .1); }
}
@keyframes vFloat {
  0%   { transform: translateY(-50%) rotate(0deg) scale(1); }
  50%  { transform: translateY(-48%) rotate(1.5deg) scale(1.03); }
  100% { transform: translateY(-52%) rotate(-1deg) scale(0.98); }
}

/* Content-Grid: Links Text, Rechts Stats */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 60px) var(--pad) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

/* Eyebrow */
.hero__eyebrow {
  margin-bottom: 32px;
}

/* Titel: Cormorant Garamond Light - eng gesetzt fuer elegante Wirkung */
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 66px);
  font-weight: 300;
  line-height: 1.06;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero__title em {
  font-style: italic;
  font-size: 0.65em;
  display: block;
  margin-top: 8px;
  background: var(--bronze-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, .65);
  max-width: 480px;
  margin-bottom: 44px;
}

.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Rechte Spalte: Stat-Cards */
.hero__right { display: flex; flex-direction: column; gap: 24px; }
.hero__stat-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(204, 178, 117, .15);
  border-radius: 4px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(4px);
  transition: border-color 0.3s;
}
.hero__stat-card:hover { border-color: rgba(204, 178, 117, .35); }
.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  background: var(--bronze-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  min-width: 120px;
  text-align: right;
}
.hero__stat-text strong {
  display: block;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 4px;
}
.hero__stat-text span {
  font-size: .9375rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.5;
}

/* Scroll-Indikator */
.hero__scroll {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero__scroll span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(168, 136, 58, .8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }


/* ═══════════════════════════════════════════════════
   7. BILD-BAND (Foto-Trenner zwischen Sektionen)
═══════════════════════════════════════════════════ */
.image-band {
  position: relative;
  height: clamp(200px, 25vw, 360px);
  overflow: hidden;
}
.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.2);
  transition: filter 0.6s ease;
}
/* Dunkles Overlay mit Bronze-Akzent */
.image-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(30, 22, 72, .75) 0%,
    rgba(55, 42, 124, .55) 50%,
    rgba(30, 22, 72, .75) 100%
  );
  transition: opacity 0.6s ease;
}
/* Hover: Bild farbig, Overlay verschwindet */
.image-band:hover img {
  filter: saturate(1);
}
.image-band:hover::after {
  opacity: 0.15;
}
/* Bronze-Linie oben und unten */
.image-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--bronze-h);
  z-index: 2;
}
/* Optionaler Text-Overlay */
.image-band__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad);
  transition: opacity 0.6s ease;
}
.image-band:hover .image-band__content {
  opacity: 0;
}
/* Zitat mit Avatar */
.image-band__quote {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
  text-align: left;
  max-width: 800px;
}
.image-band__avatar {
  flex-shrink: 0;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(204, 178, 117, .5);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}
.image-band__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-band__content blockquote {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, .85);
  line-height: 1.45;
  margin-bottom: 12px;
}
.image-band__author {
  margin: 0;
}
.image-band__author strong {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}
.image-band__author span {
  font-size: 13px;
  color: var(--bronze-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.image-band__content .label {
  color: var(--bronze-light);
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .image-band { height: 420px; }
  .image-band__quote { flex-direction: column; text-align: center; }
  .image-band__avatar { width: 96px; height: 96px; }
  .image-band__content blockquote { font-size: 17px; }
}
@media (max-width: 480px) {
  .image-band { height: 380px; }
  .image-band + .section { padding-top: 40px; }
}


/* ═══════════════════════════════════════════════════
   8. PAGE HERO — UNTERSEITEN
═══════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: linear-gradient(160deg, var(--purple-dark) 0%, var(--vilicus-purple) 100%);
  overflow: hidden;
}
/* Hintergrundbild (optional per Inline-Style oder Modifier) */
.page-hero--image {
  background-size: cover;
  background-position: center;
}
.page-hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(30, 22, 72, .85) 0%,
    rgba(55, 42, 124, .75) 100%
  );
}
.page-hero--image .container { position: relative; z-index: 2; }
/* Dezentes Gitter-Muster */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204, 178, 117, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 178, 117, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .label { color: var(--bronze-light); }
.page-hero h1 { color: #fff; margin-bottom: .25em; }
.page-hero p {
  color: rgba(255, 255, 255, .65);
  font-size: 1.125rem;
  max-width: 640px;
}


/* ═══════════════════════════════════════════════════
   8. INTRO BAND
═══════════════════════════════════════════════════ */
.intro-band {
  background: var(--warm-white);
  padding: 56px 0;
  border-top: 3px solid;
  border-image: var(--bronze-h) 1;
}
.intro-band__inner {
  display: grid;
  grid-template-columns: 1fr 2px 1fr 2px 1fr 2px 1fr;
  gap: 40px;
  align-items: center;
}
.intro-band__divider {
  background: var(--bronze-h);
  height: 60px;
}
.intro-band__item { text-align: center; }
.intro-band__item .label { justify-content: center; margin-bottom: 8px; }
.intro-band__item .label::before,
.intro-band__item .label::after { display: none; }
.intro-band__item p {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--vilicus-purple);
  letter-spacing: 0.02em;
  margin: 0;
}
.intro-band__item p a { color: var(--vilicus-purple); }
.intro-band__item p a:hover { color: var(--bronze-mid); }


/* ═══════════════════════════════════════════════════
   9. SECTION HEADERS
═══════════════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header .label { justify-content: center; margin-bottom: 16px; }
.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  color: var(--vilicus-purple);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.section-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--stone-gray);
}
.section-header--left { text-align: left; margin-left: 0; }
.section-header--left p { margin-left: 0; }


/* ═══════════════════════════════════════════════════
   10. SERVICES GRID
═══════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: #fff;
  padding: 52px 40px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.3s;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--bronze-h);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--off-white); }

.service-card__icon { width: 52px; height: 52px; margin-bottom: 28px; flex-shrink: 0; }
.service-card__icon svg { width: 52px; height: 52px; stroke: var(--vilicus-purple); stroke-width: 1.5; fill: none; }
.service-card__num {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  position: absolute;
  right: 28px; top: 28px;
  pointer-events: none;
  transition: color 0.3s;
}
.service-card:hover .service-card__num { color: rgba(55, 42, 124, .06); }
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--vilicus-purple);
  margin-bottom: 16px;
  line-height: 1.2;
}
.service-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone-gray);
  flex: 1;
  margin-bottom: 32px;
}
.service-card__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.service-card__link:hover { gap: 14px; }
.service-card__link:not(.service-card__link--extern)::after { content: '→'; font-size: 14px; }
.service-card__link--extern::after { content: '↗'; font-size: 14px; }


/* ═══════════════════════════════════════════════════
   11. SERVICE DETAIL SECTIONS
═══════════════════════════════════════════════════ */

/* Variante A: Sektions-Wrapper (für eingebettete Detail-Sektionen) */
/* Variante B: Einfacher Detail-Grid (für Unterseiten wie ueber-uns.php) */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

/* Inner Grid (innerhalb einer Sektion) */
.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.service-detail__inner.reverse { direction: rtl; }
.service-detail__inner.reverse > * { direction: ltr; }

/* Visual-Spalte */
.service-detail__visual {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}
/* Zitat */
.service-detail__quote {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--vilicus-purple);
  padding-left: 24px;
  border-left: 3px solid;
  border-image: var(--bronze-gradient) 1;
  margin-bottom: 48px;
}

/* Features-Grid */
.service-detail__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.feature-item {
  background: #fff;
  padding: 24px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: background 0.2s;
}
.bg-warm .feature-item { background: var(--warm-white); }
.section--warm .feature-item { background: var(--warm-white); }
.feature-item:hover { background: rgba(55, 42, 124, .04) !important; }
.feature-item__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bronze-mid);
  flex-shrink: 0;
  margin-top: 7px;
}
.feature-item p { font-size: .9375rem; line-height: 1.65; color: var(--stone-gray); margin: 0; }
.feature-item strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--text-dark); margin-bottom: 3px; }

/* Text-Spalte */
.service-detail__content h2,
.service-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  color: var(--vilicus-purple);
  line-height: 1.1;
  margin: 0 0 24px;
}
.service-detail__content p,
.service-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--stone-gray);
  margin-bottom: 20px;
}

/* Feature-Liste (Unterseiten, vertikal) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}
.feature-item__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 16px;
}
.feature-item__line {
  width: 1px;
  flex: 1;
  background: var(--border);
  margin-top: 8px;
}
.feature-item:last-child .feature-item__line { display: none; }
.feature-item__text h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .25em;
}
.feature-item__text p {
  color: var(--stone-gray);
  font-size: .9375rem;
  line-height: 1.65;
  margin: 0;
}


/* ═══════════════════════════════════════════════════
   12. ÜBER UNS — DUNKLE SEKTION (Startseite-Teaser)
═══════════════════════════════════════════════════ */
.ueber-uns {
  padding: 120px 0;
  background: var(--purple-deep);
  position: relative;
  overflow: hidden;
}
/* Hintergrundbild (Treppe) */
.ueber-uns__bg {
  position: absolute;
  inset: 0;
}
.ueber-uns__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
  filter: saturate(0.3);
}
/* Gradient-Overlay */
.ueber-uns::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(119, 89, 37, .15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80% at 80% 30%, rgba(55, 42, 124, .3) 0%, transparent 50%),
    linear-gradient(160deg, rgba(30, 22, 72, .6) 0%, rgba(42, 32, 96, .4) 100%);
  z-index: 1;
}
.ueber-uns .container { position: relative; z-index: 2; }

.ueber-uns__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.ueber-uns__left .label { color: var(--bronze-light); }
.ueber-uns__left h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin: 16px 0 28px;
  letter-spacing: 0.02em;
}
.ueber-uns__left h2 em {
  font-style: italic;
  background: var(--bronze-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ueber-uns__left p {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 20px;
}

.ueber-uns__right { display: flex; flex-direction: column; gap: 3px; }

.ueber-uns .value-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 32px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .05);
  transition: background 0.3s, border-color 0.3s;
}
.ueber-uns .value-row:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(204, 178, 117, .2);
}
.ueber-uns .value-row__num {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--bronze-light);
  flex-shrink: 0;
  margin-top: 3px;
  min-width: 24px;
}
.ueber-uns .value-row h4 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.ueber-uns .value-row p {
  font-size: .9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  margin: 0;
}


/* ═══════════════════════════════════════════════════
   13. TEAM TEASER (Startseite)
═══════════════════════════════════════════════════ */
.team-teaser {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.team-teaser__text .label { margin-bottom: 16px; }
.team-teaser__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  color: var(--vilicus-purple);
  line-height: 1.1;
  margin-bottom: 24px;
}
.team-teaser__text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--stone-gray);
  margin-bottom: 16px;
}
.team-teaser__image {
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.team-teaser__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .team-teaser { grid-template-columns: 1fr; }
  .team-teaser__image { order: -1; }
}


/* ═══════════════════════════════════════════════════
   14. VALUE ROWS — MARKENWERTE (Unterseiten)
═══════════════════════════════════════════════════ */
.value-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}
.value-row {
  display: flex;
  gap: 24px;
}
.value-row__numeral {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--bronze-light);
  line-height: 1;
  flex-shrink: 0;
  min-width: 56px;
}
.value-row__content h3 { font-family: var(--font-heading); font-size: 24px; font-weight: 600; margin-bottom: .5em; }
.value-row__content p { color: var(--stone-gray); font-size: 1rem; line-height: 1.7; margin: 0; }


/* ═══════════════════════════════════════════════════
   14. TEAM
═══════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: var(--border);
}
.team-card {
  background: #fff;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
}
.team-card:hover { background: var(--off-white); }

.team-card__avatar {
  width: 100%;
  aspect-ratio: 5 / 4;
  height: auto;
  border-radius: 2px;
  background: var(--vilicus-purple);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
/* Avatar ohne Foto: kompakter */
.team-card__avatar--placeholder {
  width: 80px;
  height: 80px;
  aspect-ratio: auto;
}
.team-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team-card__initials,
.team-card__initialen {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  letter-spacing: 0.04em;
}

.team-card__name,
.team-card h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--vilicus-purple);
  margin-bottom: 5px;
}
.team-card__position {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone-gray);
  margin-bottom: 16px;
}
.team-card .label { font-size: 13px; margin-bottom: 16px; color: var(--stone-gray); }
.team-card__text,
.team-card > p:last-child {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--stone-gray);
  flex: 1;
  margin: 0;
}


/* ═══════════════════════════════════════════════════
   15. QUALITY BAND
═══════════════════════════════════════════════════ */
.section--warm .quality-band { padding: 0; }

.quality-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  padding: 80px 0;
}
.quality-item {
  background: #fff;
  padding: 40px 28px;
  text-align: center;
  position: relative;
  transition: background 0.3s;
  overflow: hidden;
}
/* Bronze-Akzentlinie oben bei Hover */
.quality-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--bronze-h);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.quality-item:hover::before { transform: scaleX(1); }
.quality-item:hover { background: var(--off-white); }

.quality-item__icon {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
  background: rgba(55, 42, 124, .06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.quality-item:hover .quality-item__icon {
  background: var(--vilicus-purple);
}
.quality-item__icon svg {
  width: 28px; height: 28px;
  stroke: var(--bronze-mid);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s;
}
.quality-item:hover .quality-item__icon svg {
  stroke: var(--bronze-light);
}
.quality-item h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--vilicus-purple);
  margin-bottom: 8px;
}
.quality-item p {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--stone-gray);
  margin: 0;
}


/* ═══════════════════════════════════════════════════
   16. KARRIERE
═══════════════════════════════════════════════════ */
.job-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}
.job-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 40px 36px;
  transition: box-shadow .3s ease;
}
.job-card:hover { box-shadow: 0 8px 32px rgba(55, 42, 124, .06); }
.job-card__tag {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vilicus-purple);
  background: rgba(55, 42, 124, .06);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.job-card h3 { font-size: 1.35rem; margin-bottom: .75em; }
.job-card__requirements { margin-bottom: 24px; }
.job-card__requirements li {
  position: relative;
  padding-left: 20px;
  font-size: .9375rem;
  color: var(--stone-gray);
  line-height: 1.65;
  margin-bottom: 8px;
}
.job-card__requirements li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bronze-mid);
}
.job-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.benefit-item { display: flex; gap: 16px; align-items: flex-start; }
.benefit-item__icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--vilicus-purple);
  margin-top: 2px;
}
.benefit-item__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.benefit-item h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: .25em; }
.benefit-item p { color: var(--stone-gray); font-size: .9375rem; line-height: 1.6; margin: 0; }


/* ═══════════════════════════════════════════════════
   17. KONTAKT & FORMULARE
═══════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-info-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 40px 36px;
}
.contact-info-card h3 { margin-bottom: 1.5em; }

/* Kontakt-Zeilen */
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row__icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--bronze-mid);
  margin-top: 2px;
}
.contact-row__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.contact-row__label {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--stone-gray);
  margin-bottom: 2px;
}
.contact-row__value { font-size: 1rem; color: var(--text-dark); line-height: 1.5; }
.contact-row__value a { color: var(--vilicus-purple); font-weight: 500; }

/* Kontaktformular */
.contact-form {
  background: var(--warm-white);
  padding: 48px;
  border-top: 3px solid;
  border-image: var(--bronze-h) 1;
  max-width: 100%;
}
.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--vilicus-purple);
  margin-bottom: 8px;
}
.contact-form > p {
  font-size: 1rem;
  color: var(--stone-gray);
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-gray);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--vilicus-purple);
  box-shadow: 0 0 0 3px rgba(55, 42, 124, .08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23605d6d' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--vilicus-purple);
  -webkit-appearance: checkbox;
  appearance: checkbox;
}
.form-checkbox span { font-size: .9375rem; color: var(--stone-gray); line-height: 1.5; }
.form-checkbox a {
  color: var(--vilicus-purple);
  text-decoration: underline;
  text-decoration-color: rgba(55, 42, 124, .3);
  text-underline-offset: 2px;
}

/* Fehlerzustand */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #c0392b; }
.form-group .form-error { font-size: .8125rem; color: #c0392b; margin-top: 6px; }

/* Erfolgs-/Fehlermeldung */
.form-message { padding: 16px 20px; border-radius: 2px; font-size: .9375rem; margin-bottom: 24px; }
.form-message--success {
  background: rgba(39, 174, 96, .08);
  color: #1e8449;
  border: 1px solid rgba(39, 174, 96, .2);
}
.form-message--error {
  background: rgba(192, 57, 43, .08);
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, .2);
}

/* Lade-Zustand */
.btn.is-loading { pointer-events: none; opacity: .7; position: relative; }
.btn.is-loading::after {
  content: '';
  width: 16px; height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: btnSpin .6s linear infinite;
  margin-left: 8px;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* Honeypot */
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Rubrik-Auswahl (Karten-Grid) */
.rubrik-auswahl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.rubrik-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  min-height: 120px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
  text-align: center;
  font-family: var(--font-body);
  font-size: inherit;
  color: var(--text-dark);
}
.rubrik-card:hover {
  border-color: var(--vilicus-purple);
  background: rgba(55, 42, 124, .03);
}
.rubrik-card.is-active {
  border-color: var(--vilicus-purple);
  background: rgba(55, 42, 124, .06);
  box-shadow: 0 2px 12px rgba(55, 42, 124, .1);
}
.rubrik-card__icon {
  width: 36px;
  height: 36px;
  color: var(--bronze-mid);
  transition: color 0.25s;
}
.rubrik-card.is-active .rubrik-card__icon { color: var(--vilicus-purple); }
.rubrik-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rubrik-card__label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--stone-gray);
  transition: color 0.25s;
}
.rubrik-card.is-active .rubrik-card__label { color: var(--vilicus-purple); }

/* Rubrik-Panel (Mieter-Info) */
.rubrik-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--vilicus-purple);
  border-radius: 2px;
  padding: 40px;
  text-align: center;
  animation: fadeIn .3s ease;
}
.rubrik-panel__icon {
  width: 48px;
  height: 48px;
  color: var(--vilicus-purple);
  margin: 0 auto 20px;
}
.rubrik-panel__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rubrik-panel h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--vilicus-purple);
  margin-bottom: 12px;
}
.rubrik-panel > p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--stone-gray);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.rubrik-panel .btn {
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
}
.rubrik-panel__hinweis {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(55, 42, 124, .04);
  border: 1px solid rgba(55, 42, 124, .12);
  border-radius: 4px;
  padding: 16px 20px;
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
}
.rubrik-panel__hinweis svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--vilicus-purple);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}
.rubrik-panel__hinweis p {
  font-size: .875rem;
  color: var(--stone-gray);
  line-height: 1.5;
  margin: 0;
}
.rubrik-panel__hinweis a {
  color: var(--vilicus-purple);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(55, 42, 124, .3);
  text-underline-offset: 2px;
}

/* Rubrik-Hinweis (im Formular, z. B. Eigentuemer) */
.rubrik-hinweis {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 24px;
  animation: fadeIn .3s ease;
}
.rubrik-hinweis svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}
.rubrik-hinweis p {
  font-size: .9375rem;
  line-height: 1.5;
  margin: 0;
}
.rubrik-hinweis a {
  color: var(--vilicus-purple);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(55, 42, 124, .3);
  text-underline-offset: 2px;
}
.rubrik-hinweis--info {
  background: rgba(55, 42, 124, .04);
  border: 1px solid rgba(55, 42, 124, .12);
  color: var(--vilicus-purple);
}
.rubrik-hinweis--info p { color: var(--text-dark); }

/* Kontakt-Intro */
.kontakt-intro {
  max-width: 640px;
  margin-bottom: 48px;
}
.kontakt-intro .label { margin-bottom: 16px; }
.kontakt-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: .02em;
  color: var(--vilicus-purple);
  margin-bottom: 16px;
}
.kontakt-intro p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--stone-gray);
}

/* Kontaktwege (3-Spalten-Grid) */
.kontakt-wege {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 16px;
}
.kontakt-weg {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: box-shadow 0.3s;
}
.kontakt-weg:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}
.kontakt-weg__icon {
  width: 40px;
  height: 40px;
  color: var(--bronze-mid);
  margin: 0 auto 16px;
}
.kontakt-weg__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kontakt-weg h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--vilicus-purple);
  margin-bottom: 8px;
}
.kontakt-weg p {
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--stone-gray);
}

/* Anfahrt (zweispaltig) */
.anfahrt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-top: 8px;
}
.anfahrt-spalte {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 36px 32px;
}
.anfahrt-spalte__icon {
  width: 32px;
  height: 32px;
  color: var(--bronze-mid);
  margin-bottom: 16px;
}
.anfahrt-spalte__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.anfahrt-spalte h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--vilicus-purple);
  margin-bottom: 20px;
}
.anfahrt-liste {
  list-style: none;
  padding: 0;
  margin: 0;
}
.anfahrt-liste li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--stone-gray);
}
.anfahrt-liste li:last-child { border-bottom: none; }
.anfahrt-liste li strong {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}


/* ═══════════════════════════════════════════════════
   18. FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--purple-deep);
  color: rgba(255, 255, 255, .65);
  padding: 5rem 0 2rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--bronze-h);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* Marken-Spalte */
.footer__brand img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-left: -3px;
}
.footer__brand p { font-size: .95rem; line-height: 1.7; margin-top: 1rem; max-width: 320px; }
.footer__seo-text { color: rgba(255, 255, 255, .45); }
.footer-tagline {
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: italic;
  color: rgba(255, 255, 255, .25);
  margin-top: 8px;
  font-weight: 300;
}

/* Spalten */
.footer__col h4 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 1.25rem;
  -webkit-text-stroke: 0.3px currentColor;
  border: none;
  padding: 0;
}
.footer__col h4::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.footer__col a {
  display: block;
  font-size: .95rem;
  color: rgba(255, 255, 255, .6);
  padding: .35rem 0;
  padding-left: 0;
  transition: color 0.2s, padding-left 0.3s ease;
}
.footer__col a:hover { color: #fff; padding-left: .5rem; }
.footer__col p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
}

/* Kontakt-Zeile mit Icon */
.footer__contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: .75rem;
}
.footer__contact-icon {
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, .07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer__contact-icon svg {
  width: 20px; height: 20px;
  stroke: var(--bronze-light);
  stroke-width: 1.5;
  fill: none;
}
.footer__contact-text { font-size: .95rem; color: rgba(255, 255, 255, .6); line-height: 1.6; }
.footer__contact-text a { display: inline; padding: 0; color: rgba(255, 255, 255, .6); }
.footer__contact-text a:hover { color: #fff; padding-left: 0; }

/* Footer Buttons */
.footer__btn {
  display: inline-block;
  text-align: center;
  padding: .6rem 1.5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7) !important;
  background: transparent;
  transition: all 0.3s;
  line-height: 1;
}
.footer__btn:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff !important;
  background: rgba(255,255,255,.05);
  padding-left: 1.25rem;
}
.footer__btn--accent {
  margin-top: 1.75rem;
  border-color: rgba(168,136,58,.4);
  color: var(--bronze-light) !important;
}
.footer__btn--accent:hover {
  border-color: var(--bronze-mid);
  color: #fff !important;
  background: rgba(168,136,58,.1);
}
.footer__btn--primary {
  margin-top: .75rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}
.social-links a {
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, .07);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  transition: all 0.3s;
  padding: 0;
}
.social-links a:hover,
.social-link:hover {
  background: var(--vilicus-purple);
  color: #fff;
  transform: translateY(-2px);
}
.social-links svg,
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* Footer Bottom */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 2rem;
}
.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-size: .9rem; color: rgba(255, 255, 255, .5); margin: 0; }
.footer__bottom-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.footer__bottom-links a {
  font-size: .9rem;
  color: rgba(255, 255, 255, .5);
  transition: color 0.2s;
}
.footer__bottom-links a:hover { color: #fff; }
.footer__made-by { color: rgba(255, 255, 255, .25); font-size: .9rem; }
.footer__made-by a { color: rgba(255, 255, 255, .35); font-size: .9rem; }
.footer__made-by a:hover { color: #fff; }


/* Google Maps Container */
.maps-wrap {
  width: 100%;
  aspect-ratio: 21/9;
  max-height: 500px;
  overflow: hidden;
  margin-top: 48px;
}

/* ═══════════════════════════════════════════════════
   19. CONSENT-PLATZHALTER
═══════════════════════════════════════════════════ */
.consent-platzhalter {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.consent-platzhalter__icon { width: 48px; height: 48px; color: var(--stone-gray); margin-bottom: 16px; }
.consent-platzhalter__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.consent-platzhalter h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: .5em; }
.consent-platzhalter p { font-size: .9375rem; color: var(--stone-gray); max-width: 420px; margin-bottom: 1.5em; }
.consent-platzhalter .btn { font-size: .8125rem; }
.consent-platzhalter__btn { cursor: pointer; }


/* ═══════════════════════════════════════════════════
   20. BREADCRUMBS
═══════════════════════════════════════════════════ */
.breadcrumbs {
  padding: 14px 0;
  font-size: .8125rem;
  color: var(--stone-gray);
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0; margin: 0;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-right: 1.5px solid var(--stone-gray);
  border-top: 1.5px solid var(--stone-gray);
  transform: rotate(45deg);
  opacity: .4;
}
.breadcrumbs a { color: var(--stone-gray); transition: color .2s ease; }
.breadcrumbs a:hover { color: var(--vilicus-purple); }
.breadcrumbs .current { color: var(--vilicus-purple); font-weight: 600; }

/* Einheitlicher Abstand nach Breadcrumbs auf allen Unterseiten */
.breadcrumbs + .section,
.breadcrumbs + .section--warm,
.breadcrumbs + section { padding-top: clamp(40px, 5vw, 56px); }


/* ═══════════════════════════════════════════════════
   21. LEGAL CONTENT
═══════════════════════════════════════════════════ */
.legal-content { max-width: 800px; padding: 0 0 clamp(40px, 6vw, 80px); }
.legal-content h2 { font-size: 1.75rem; margin-top: 2em; margin-bottom: .75em; }
.legal-content h2:first-child,
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.25rem; margin-top: 1.5em; margin-bottom: .5em; }
.legal-content p,
.legal-content li { color: var(--stone-gray); font-size: 1rem; line-height: 1.8; }
.legal-content ul,
.legal-content ol { padding-left: 24px; margin-bottom: 1.5em; }
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: .5em; }
.legal-content a {
  color: var(--vilicus-purple);
  text-decoration: underline;
  text-decoration-color: rgba(55, 42, 124, .3);
  text-underline-offset: 2px;
}
.legal-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.legal-content th,
.legal-content td { text-align: left; padding: 12px 16px; font-size: .9375rem; border-bottom: 1px solid var(--border); }
.legal-content th { font-weight: 600; color: var(--text-dark); }
.legal-content td { color: var(--stone-gray); }


/* ═══════════════════════════════════════════════════
   22. 404-FEHLERSEITE
═══════════════════════════════════════════════════ */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--pad);
}
.error-page__code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: .5em; }
.error-page p { color: var(--stone-gray); font-size: 1rem; max-width: 480px; margin-bottom: 2em; }


/* ═══════════════════════════════════════════════════
   23. FAQ AKKORDEON
═══════════════════════════════════════════════════ */
.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  justify-content: center;
}
.faq-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-gray);
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.2s;
}
.faq-nav a:hover,
.faq-nav a.active {
  background: var(--vilicus-purple);
  color: #fff;
  border-color: var(--vilicus-purple);
}

/* Hero-Variante: linksbündig, helle Buttons */
.faq-nav--hero {
  justify-content: flex-start;
  margin-top: 32px;
  margin-bottom: 0;
}
.faq-nav--hero a {
  color: rgba(255, 255, 255, .7);
  border-color: rgba(255, 255, 255, .25);
  background: transparent;
  padding: 8px 18px;
  font-size: 13px;
}
.faq-nav--hero a:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}
.faq-nav--hero a:active {
  background: var(--bronze-gradient);
  border-color: transparent;
  color: #fff;
}

/* Zweispaltiges FAQ-Grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.faq-kategorie { margin-bottom: 64px; }
.faq-kategorie__titel {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 300;
  color: var(--vilicus-purple);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item__frage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color 0.2s;
}
.faq-item__frage:hover { color: var(--vilicus-purple); }
.faq-item__frage::after {
  content: '+';
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 300;
  color: var(--bronze-mid);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-item__frage::after {
  content: '−';
}
.faq-item__antwort {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-item__antwort {
  max-height: 600px;
  padding-bottom: 24px;
}
.faq-item__antwort p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone-gray);
  margin-bottom: .75em;
}
.faq-item__antwort p:last-child { margin-bottom: 0; }

/* Begriffslexikon */
.lexikon {
  columns: 3;
  column-gap: 40px;
}
@media (max-width: 900px) {
  .lexikon { columns: 2; }
}
@media (max-width: 600px) {
  .lexikon { columns: 1; }
}

.lexikon-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-bottom: 48px;
}
.lexikon-nav a,
.lexikon-nav span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  border-radius: 2px;
  transition: all 0.2s;
}
.lexikon-nav a {
  color: var(--vilicus-purple);
  border: 1px solid var(--border);
  cursor: pointer;
}
.lexikon-nav a:hover {
  background: var(--vilicus-purple);
  color: #fff;
  border-color: var(--vilicus-purple);
}
.lexikon-nav span {
  color: var(--border);
  border: 1px solid transparent;
  cursor: default;
}

.lexikon__buchstabe {
  break-after: avoid;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 300;
  color: var(--vilicus-purple);
  padding: 24px 0 8px;
  border-bottom: 2px solid;
  border-image: var(--bronze-h) 1;
  margin-bottom: 12px;
}
.lexikon__buchstabe:first-child { padding-top: 0; }

.lexikon__eintrag {
  break-inside: avoid;
  padding: 16px 0 16px 20px;
  border-left: 2px solid var(--border);
  margin-bottom: 4px;
  transition: border-color 0.2s;
}
.lexikon__eintrag:hover {
  border-left-color: var(--bronze-mid);
}
.lexikon__eintrag h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.lexikon__eintrag p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--stone-gray);
  margin: 0;
}

/* Timeline (vertikal) */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline__step {
  position: relative;
  padding-bottom: 40px;
  padding-left: 24px;
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step:last-child::after {
  content: '';
  position: absolute;
  left: -28px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: #fff;
  z-index: 1;
}
.section--warm .timeline__step:last-child::after { background: var(--warm-white); }
.timeline__icon {
  position: absolute;
  left: -48px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s;
}
.timeline__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--bronze-mid);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s;
}
.timeline__step:hover .timeline__icon {
  background: var(--vilicus-purple);
  border-color: var(--vilicus-purple);
}
.timeline__step:hover .timeline__icon svg {
  stroke: #fff;
}
.timeline__num {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--bronze-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline__content h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.timeline__content p {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--stone-gray);
  margin: 0;
}

@media (max-width: 600px) {
  .timeline { padding-left: 40px; }
  .timeline::before { left: 16px; }
  .timeline__icon { left: -40px; width: 32px; height: 32px; }
  .timeline__icon svg { width: 14px; height: 14px; }
}

/* Externer Link Hinweis */
.team-card__extern {
  font-size: 13px;
  color: var(--stone-gray);
  margin-top: 8px;
}
.team-card__extern a {
  color: var(--bronze-mid);
  font-weight: 600;
  transition: color 0.2s;
}
.team-card__extern a:hover {
  color: var(--bronze-dark);
}


/* ═══════════════════════════════════════════════════
   24. ERGÄNZENDE KLASSEN
═══════════════════════════════════════════════════ */

/* Content-Block (Leistungsübersicht) */


/* Detail-Liste (Leistungs-Checkpoints) */
.detail-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.detail-list li {
  position: relative;
  padding: 14px 16px 14px 40px;
  line-height: 1.55;
  font-size: .9375rem;
  color: var(--text-dark);
  background: var(--warm-white);
  border-radius: 2px;
  transition: background 0.2s;
}
.detail-list li:hover { background: var(--off-white); }
.detail-list li::before {
  content: '\2713';
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--bronze-mid);
  font-weight: 700;
  font-size: 14px;
}
@media (max-width: 700px) {
  .detail-list { grid-template-columns: 1fr; }
}

/* Dynamische Formulargruppen */
.dynamic-group { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }


/* ═══════════════════════════════════════════════════
   23b. COOKIE-CONSENT-BANNER
═══════════════════════════════════════════════════ */
.cookie-banner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.cookie-banner-overlay.is-visible { opacity: 1; visibility: visible; }

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--purple-deep);
  color: rgba(255, 255, 255, .75);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .3);
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 40px;
}
.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 12px;
  -webkit-text-stroke: 0.3px currentColor;
}
.cookie-banner__text {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 24px;
}
.cookie-banner__text a { color: var(--bronze-light); text-decoration: underline; text-underline-offset: 2px; }

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner__btn-accept {
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bronze-gradient);
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s;
}
.cookie-banner__btn-accept:hover { opacity: .9; transform: translateY(-1px); }

.cookie-banner__btn-reject {
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s;
}
.cookie-banner__btn-reject:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }

.cookie-banner__btn-settings {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .45);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.cookie-banner__btn-settings:hover { color: rgba(255, 255, 255, .8); }

/* Detail-Panel */
.cookie-banner__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, margin .4s ease;
}
.cookie-banner__details.is-open {
  max-height: 400px;
  margin-top: 24px;
}
.cookie-banner__categories {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category__info { flex: 1; }
.cookie-category__name {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 2px;
}
.cookie-category__desc {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .4);
  margin: 0;
}

/* Toggle-Switch */
.cookie-toggle { position: relative; display: inline-block; width: 48px; height: 26px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle__track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .15);
  border-radius: 13px;
  cursor: pointer;
  transition: background .3s;
}
.cookie-toggle__track::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .3s;
}
.cookie-toggle input:checked + .cookie-toggle__track { background: var(--bronze-mid); }
.cookie-toggle input:checked + .cookie-toggle__track::after { transform: translateX(22px); }
.cookie-toggle input:disabled + .cookie-toggle__track { opacity: .5; cursor: not-allowed; }

.cookie-banner__btn-save {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--vilicus-purple);
  color: #fff;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s;
}
.cookie-banner__btn-save:hover { background: var(--purple-dark); }

@media (max-width: 700px) {
  .cookie-banner__inner { padding: 24px 20px; }
  .cookie-banner__actions { flex-direction: column; }
  .cookie-banner__btn-accept,
  .cookie-banner__btn-reject { width: 100%; text-align: center; }
}


/* ═══════════════════════════════════════════════════
   24. RESPONSIVE
═══════════════════════════════════════════════════ */

/* Tablet groß (1100px) */
@media (max-width: 1100px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__right { display: none; }
  .hero__bg-letter {
    display: block;
    font-size: clamp(200px, 55vw, 350px);
    right: -5%;
    top: calc(var(--nav-height) + 80px);
    bottom: auto;
    transform: none;
    opacity: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(204, 178, 117, .12);
    overflow: visible;
  }
  .hero__accent-line { display: none; }
  .page-hero__letter { font-size: clamp(100px, 30vw, 160px); right: 4%; }
  .intro-band__inner { grid-template-columns: 1fr 1fr; }
  .intro-band__divider { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet (900px) */
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
  .service-detail__inner { grid-template-columns: 1fr; gap: 40px; }
  .service-detail__inner.reverse { direction: ltr; }
  .service-detail__visual { position: static; }
  .ueber-uns__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .rubrik-auswahl { grid-template-columns: repeat(2, 1fr); }
  .kontakt-wege { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .anfahrt-grid { grid-template-columns: 1fr; }
  .quality-band { grid-template-columns: 1fr 1fr; }
  .value-rows { grid-template-columns: 1fr; gap: 32px; }
}

/* Mobil (700px) */
@media (max-width: 700px) {
  :root { --pad: 20px; }
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .intro-band { padding: 32px 0; }
  .intro-band__inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .rubrik-auswahl { grid-template-columns: 1fr 1fr; }
  .rubrik-card { padding: 18px 12px; }
  .rubrik-panel { padding: 28px 20px; }
  .kontakt-wege { grid-template-columns: 1fr; gap: 16px; }
  .kontakt-weg { padding: 24px 20px; }
  .anfahrt-spalte { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .job-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .service-detail__features { grid-template-columns: 1fr; }
  .quality-band { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }

  .btn { padding: 12px 24px; font-size: .8125rem; }

  /* Footer Bottom: zentriert, 3 Zeilen */
  .footer__bottom .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
  .footer__bottom-links { flex-direction: row; gap: 1.5rem; }
  .footer__made-by { margin-top: 4px; }

  /* Footer-Buttons: zentriert, prominent */
  .footer__btn {
    display: block !important;
    width: 100%;
    max-width: 300px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 16px 32px !important;
    font-size: .875rem;
    text-align: center;
    border-radius: 4px;
  }
  .footer__btn--accent { margin-top: 1.5rem !important; }
  .footer__btn--primary { margin-top: .75rem !important; }
  .footer__btn:hover { padding-left: 32px !important; }

  /* Touch-Targets */
  .nav__hamburger { padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; }
  .footer__col a { padding: .75rem 0; min-height: 44px; display: flex; align-items: center; }

  /* Schriftgroessen: Boxtexte auf 16px anheben */
  .service-card p,
  .quality-item p,
  .feature-item p,
  .feature-item strong,
  .benefit-item p,
  .kontakt-weg p,
  .contact-row .contact-row__value,
  .value-row p,
  .timeline__content p,
  .rubrik-panel p,
  .anfahrt-liste li { font-size: 1rem; }

  /* Hero: Unverbindlich anfragen ausblenden, Kursiv groesser */
  .hero__cta-secondary { display: none; }
  .hero__title em { font-size: 0.85em; }

  /* CTA-Buttons: gleiche Breite, gestapelt */
  .section--dark .reveal[style*="display: flex"] {
    flex-direction: column !important;
    align-items: center !important;
  }
  .section--dark .reveal[style*="display: flex"] .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }
  .hero__scroll { bottom: 8px; }
  .hero__scroll-line { height: 32px; }

  /* Abstände reduzieren */
  .ueber-uns { padding: 60px 0; }
  .service-card { padding: 36px 24px 32px; }
  .faq-kategorie { margin-bottom: 40px; }
  .contact-info-card { padding: 28px 24px; }

  /* Karte: 1:1 auf Mobile */
  .maps-wrap { aspect-ratio: 1/1; max-height: none; }

  /* Tabellen scrollbar */
  .legal-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Verstärkungskarte: span 2 auf 1 Spalte */
  .team-grid > [style*="grid-column"] { grid-column: span 1 !important; }
}

/* Smartphone (480px) */
@media (max-width: 480px) {
  :root { --nav-height: 72px; }
  body { font-size: 1rem; }

  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  .intro-band__item p { font-size: 16px; }
  .intro-band__item .label { font-size: .625rem; margin-bottom: 4px; }

  /* Abstände und Padding reduzieren */
  .ueber-uns { padding: 48px 0; }
  .ueber-uns .value-row { padding: 20px; }
  .contact-form { padding: 28px 20px; }
  .consent-platzhalter { padding: 32px 20px; min-height: 240px; }

  /* Rubrik-Karten: einspaltig ab 480px */
  .rubrik-auswahl { grid-template-columns: 1fr; gap: 8px; }
  .rubrik-card { padding: 16px 10px; min-height: auto; }

  /* Mobile-Nav: weniger Padding */
  .mobile-nav__content { padding: 72px 20px 32px; }

  /* Hero: Subtitle kompakter */
  .hero__subtitle { font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .7); }

  /* Label-Striche auf Mobile ausblenden (außer Mobile-Nav) */
  .label::before,
  .label::after { display: none; }
  .mobile-nav .label::before { display: block; }
}


/* Große Bildschirme */
@media (min-width: 1440px) {
  :root { --max-w: 1360px; }
}
