@charset "UTF-8";
@import url('../assets/fonts/inter/inter.css');

/* ==========================================================================
   THE MACHINE V4: VLH FRANKFURT WESTEND - MASTER STYLESHEET
   Brand: Vereinigte Lohnsteuerhilfe e.V. (David Jeitner)
   Strict compliance with AGENTS.md, UI_COMPONENTS.md & WIREFRAMES.md
   ========================================================================== */

:root {
  --primary: #015697;
  --primary-hover: #004073;
  --primary-light: #e8f3fb;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  
  --bg-body: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0b1f36;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-dark: #1e293b;
  
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(1, 86, 151, 0.08);
  --shadow-lg: 0 12px 30px rgba(1, 86, 151, 0.12);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography Constraints strictly per AGENTS.md */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1.15rem;
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-width-md {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.max-width-sm {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.padding-y-lg {
  padding: 72px 0;
}

.padding-y-md {
  padding: 48px 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.bg-secondary { background-color: var(--bg-alt); }
.bg-light { background-color: #ffffff; }
.bg-dark { background-color: var(--bg-dark); color: #fff; }

/* Buttons */
.btn-premium, .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #ffffff !important;
  font-weight: 500;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-premium:hover, .btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--primary) !important;
  font-weight: 500;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-phone {
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   DOUBLE-DECKER SMART STICKY HEADER
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 1000;
}

/* 1. Top Bar (Persistent at the absolute top) */
.top-bar {
  background-color: var(--bg-dark);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar-station {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f1f5f9;
  font-weight: 500;
  font-size: 0.86rem;
}

.topbar-station i {
  color: var(--accent);
  font-size: 0.9rem;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-phone {
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  transition: var(--transition);
}

.btn-phone i {
  color: #38bdf8;
  font-size: 0.85rem;
}

.btn-phone:hover {
  color: #38bdf8;
}

.btn-topbar-cta {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.25);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-topbar-cta:hover {
  background-color: var(--primary-hover);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
}

.language-switcher a {
  color: #94a3b8;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--transition);
}

.language-switcher a:hover {
  color: #ffffff;
}

.language-switcher a.active {
  color: #ffffff;
  background-color: rgba(255,255,255,0.2);
}

.lang-divider {
  color: rgba(255,255,255,0.3);
}

/* 2. Main Navigation Deck (Sticky & Smart-Hiding) */
.sticky-header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: transform 0.3s ease-in-out;
  border-bottom: 1px solid var(--border-color);
}

.sticky-header.header-hidden {
  transform: translateY(-100%);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* Dropdown Navigation Menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.nav-item > a:hover,
.nav-item > a.active {
  color: var(--primary);
}

.nav-caret {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-caret {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Hover Protection & 180ms delay */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  list-style: none;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease-in-out;
  transition-delay: 0.18s; /* 180ms Close Delay */
  z-index: 1000;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s; /* Instant Open */
}

/* The 14px ::before Bridge */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
  background: transparent;
}

.dropdown-menu li a {
  display: block;
  padding: 9px 20px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 450;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  padding-left: 24px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-section {
  background: linear-gradient(145deg, #f0f7fd 0%, #ffffff 50%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 52px 0 60px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  min-height: clamp(480px, 68vh, 640px);
  align-items: center;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  min-height: clamp(480px, 68vh, 640px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-main);
}

.hero-content .lead {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.hero-checklist {
  list-style: none;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 450;
}

.hero-checklist svg {
  width: 18px;
  height: 18px;
  fill: #16a34a;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Right Column: Advisor Profile & Seals Card */
.advisor-hero-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(1, 86, 151, 0.09);
  padding: 32px 28px;
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.advisor-hero-avatar-wrap {
  width: 170px;
  height: 170px;
  margin: 0 auto 16px auto;
  position: relative;
}

.advisor-hero-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(1, 86, 151, 0.16);
  display: block;
}

.advisor-hero-name {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.advisor-hero-role {
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 16px;
}

.advisor-hero-divider {
  height: 1px;
  background: var(--border-color);
  margin: 16px 0;
}

.advisor-hero-seals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid #edf2f7;
}

.advisor-hero-seals img.seal-zvl {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.advisor-hero-seals img.seal-focus {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.advisor-hero-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.35;
}

/* Compact Hero for subpages */
.hero-compact {
  min-height: clamp(280px, 45vh, 460px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #ffffff;
}

.hero-compact.hero-gradient-fade::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(11,31,54,0.92) 0%, rgba(11,31,54,0.75) 40%, rgba(11,31,54,0.0) 65%);
}

.hero-compact .container {
  position: relative;
  z-index: 2;
}

.hero-compact h1, .hero-compact p {
  color: #ffffff;
}

/* Specialized Page Components */
.leistungen-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  margin-top: 28px;
}

.sidebar-image-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}

.sidebar-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.sidebar-image-card .card-caption {
  padding: 18px;
  background: #ffffff;
}

.sidebar-image-card .card-caption h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.sidebar-image-card .card-caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.team-profile-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: start;
  padding: 28px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.team-avatar {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(1, 86, 151, 0.12);
  display: block;
}

.badge-pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-right: 6px;
  margin-bottom: 8px;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin: 24px 0;
}

.fee-table th {
  background: var(--primary);
  color: #ffffff;
  font-weight: 500;
  padding: 13px 18px;
  text-align: left;
}

.fee-table td {
  padding: 11px 18px;
  border-bottom: 1px solid var(--border-color);
}

.fee-table tr:nth-child(even) td {
  background-color: var(--bg-alt);
}

.fee-table tr:hover td {
  background-color: #f0f7fd;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  color: var(--text-main);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.download-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-card-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-icon {
  font-size: 1.6rem;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
}

.download-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.referral-banner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
  border: 1px solid #fef3c7;
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.referral-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.step-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.step-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
}

.step-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  background-color: var(--primary);
  color: #ffffff;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.trust-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

/* ==========================================================================
   SERVICE CARDS GRID
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-card-img-wrapper {
  height: 190px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.service-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img-wrapper img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.service-card-body p {
  font-size: 0.93rem;
  flex-grow: 1;
  margin-bottom: 18px;
}

.service-card-body .card-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   WHY US COMPARISON SECTION
   ========================================================================== */
.comparison-chart {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.comparison-card {
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.competitor-card {
  background: #f8fafc;
}

.competitor-card h3 {
  color: #64748b;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.our-card {
  background: #ffffff;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
  position: relative;
}

.our-card h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.comparison-card ul {
  list-style: none;
}

.comparison-card li {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.icon-check {
  color: #16a34a;
  font-weight: bold;
}

.icon-cross {
  color: #dc2626;
  font-weight: bold;
}

/* ==========================================================================
   3-STEP PROCESS SECTION
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-item summary {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text-main);
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT FORM & MULTI-LAYER SPAM PROTECTION
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Contact Info List with Font Awesome */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.55;
}

.contact-info-text strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-card-box {
  background: #ffffff;
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Watermark Form Labels: Placeholders only per AGENTS.md */
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(1, 86, 151, 0.12);
}

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

/* Layer 1 Honeypot input (Invisible to humans) */
.form-hp {
  display: none !important;
  position: absolute !important;
  left: -9999px !important;
}

/* GDPR Checkbox */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ==========================================================================
   PRE-FOOTER SEO RATGEBER BLOCK (OTTO-STYLE)
   ========================================================================== */
.seo-footer-block {
  background-color: #f1f5f9;
  border-top: 1px solid var(--border-color);
  font-size: 0.88rem;
  color: #475569;
}

.seo-footer-block h2 {
  font-size: 1.35rem;
  color: #1e293b;
  margin-bottom: 1.25rem;
}

.seo-footer-block p {
  color: #64748b;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
}

.seo-footer-block a {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   GLOBAL FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 60px 0 24px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #94a3b8;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* ==========================================================================
   GDPR COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  width: calc(100vw - 48px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
  padding: 22px;
  z-index: 9999;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner p {
  font-size: 0.88rem;
  margin-bottom: 16px;
  color: var(--text-main);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.btn-cookie-accept {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-accept:hover {
  background: var(--primary-hover);
}

.btn-cookie-reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-reject:hover {
  background: var(--bg-alt);
  color: var(--text-main);
}

/* ==========================================================================
   BREADCRUMBS NAVIGATION
   ========================================================================== */
.breadcrumbs {
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 0.85rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "›";
  color: var(--text-muted);
  margin-right: 8px;
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: var(--text-main);
  font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-split, .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px 0;
  }
  .advisor-hero-card {
    max-width: 440px;
  }
  .leistungen-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sidebar-image-card {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }
  .team-profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .team-avatar {
    margin: 0 auto;
  }
  .referral-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .referral-img {
    margin: 0 auto;
    max-width: 260px;
  }
  .contact-section-grid, .comparison-chart, .process-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.55rem; }
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
  }
  .top-bar-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .top-bar-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .nav-links {
    display: none;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
  }
  .nav-links.active .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding-left: 16px;
    transform: none;
    border: none;
    display: block;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

