/* ============================================================
   Klaus Verwaltung GmbH — Shared Stylesheet
   Design: White · Navy · Elegant Gray
   Fonts: Outfit (display) + Plus Jakarta Sans (body)
   Powered by haus8 | haus-8.de
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

:root {
  /* ── Core Palette ── */
  --navy:        #1A2B4A;
  --navy-700:    #1E3258;
  --navy-500:    #2E4A80;
  --navy-200:    #C5D2E8;
  --navy-100:    #E4EAF4;
  --navy-50:     #F0F3F9;

  --gray-900:    #111827;
  --gray-700:    #374151;
  --gray-600:    #4B5563;
  --gray-500:    #6B7280;
  --gray-400:    #9CA3AF;
  --gray-300:    #D1D5DB;
  --gray-200:    #E5E7EB;
  --gray-100:    #F3F4F6;
  --gray-50:     #F9FAFB;
  --white:       #FFFFFF;

  /* Aliases for backward compatibility with tool JS */
  --primary: var(--navy);
  --gold: var(--navy-500);
  --off-white: var(--gray-50);
  --teal: var(--navy-500);
  /* ── Typography ── */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* ── Shapes ── */
  --radius:    4px;
  --radius-lg: 8px;
  --radius-xl: 16px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px rgba(17,24,39,0.05), 0 1px 2px rgba(17,24,39,0.03);
  --shadow-md: 0 4px 16px rgba(17,24,39,0.08), 0 2px 4px rgba(17,24,39,0.04);
  --shadow-lg: 0 12px 36px rgba(17,24,39,0.10);
  --shadow-xl: 0 20px 60px rgba(17,24,39,0.14);

  --transition: all 0.2s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { line-height: 1.78; color: var(--gray-600); }
a  { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--navy-500); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }

/* ── SECTION HEADER ── */
.section-header { max-width: 600px; margin: 0 0 52px; }
.section-header.centered { margin: 0 auto 52px; text-align: center; }
.section-header.centered p { margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy-500); margin-bottom: 12px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 1.5px;
  background: var(--navy-500); flex-shrink: 0;
}
.eyebrow-inv {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 12px;
}
.eyebrow-inv::before {
  content: ''; width: 22px; height: 1.5px;
  background: rgba(255,255,255,0.25); flex-shrink: 0;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p  { font-size: 1rem; color: var(--gray-600); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 0.875rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent;
  transition: var(--transition); white-space: nowrap;
  text-decoration: none; letter-spacing: 0.01em;
}
.btn svg { flex-shrink: 0; }
.btn-primary {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-700); border-color: var(--navy-700); color: var(--white);
  box-shadow: 0 4px 14px rgba(26,43,74,0.22);
}
.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--gray-300);
}
.btn-outline:hover {
  background: var(--gray-50); border-color: var(--navy); color: var(--navy);
}
.btn-white {
  background: var(--white); color: var(--navy); border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-50); border-color: var(--gray-100); color: var(--navy);
}
.btn-outline-inv {
  background: transparent; color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.25);
}
.btn-outline-inv:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); color: var(--white);
}
.btn-lg { padding: 15px 30px; font-size: 0.95rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1160px; margin: 0 auto; padding: 0 28px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo-mark {
  width: 34px; height: 34px; background: var(--navy);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--white);
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-name {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: var(--navy); display: block; letter-spacing: -0.01em;
}
.nav-logo-sub {
  font-size: 0.61rem; letter-spacing: 0.09em;
  color: var(--gray-400); text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 0; }
.nav-item  { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 4px;
  color: var(--gray-600); font-size: 0.83rem; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-lg);
  transition: var(--transition); white-space: nowrap;
}
.nav-item > a:hover,
.nav-item > a.active {
  color: var(--navy); background: var(--gray-50);
}
.nav-item > a svg { opacity: 0.5; transition: var(--transition); }
.nav-item:hover > a svg { opacity: 1; }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px; background: var(--white);
  border: 1px solid var(--gray-200); border-radius: 12px;
  box-shadow: var(--shadow-xl); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 100;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: var(--radius-lg);
  font-size: 0.83rem; font-weight: 500; color: var(--gray-700);
  transition: var(--transition); text-decoration: none;
}
.nav-dropdown a:hover { background: var(--navy-50); color: var(--navy); }
.nav-dropdown a svg { color: var(--gray-400); flex-shrink: 0; }
.nav-dropdown a:hover svg { color: var(--navy); }
.nav-dropdown-section {
  padding: 4px 14px 6px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray-400);
  font-family: var(--font-display);
}
.nav-dropdown-div { height: 1px; background: var(--gray-200); margin: 6px 8px; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-size: 0.8rem; color: var(--gray-500); }
.nav-phone a { color: var(--navy); font-weight: 700; }

/* Mobile hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; color: var(--navy);
  align-items: center; justify-content: center;
}
.nav-mobile-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.nav-mobile-overlay.open { opacity: 1; visibility: visible; }
.nav-mobile-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 320px; max-width: 88vw; z-index: 1001;
  background: var(--white); box-shadow: var(--shadow-xl);
  padding: 20px 0; overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-mobile-panel.open { transform: translateX(0); }
.nav-mobile-close {
  display: flex; justify-content: flex-end; padding: 0 20px; margin-bottom: 8px;
}
.nav-mobile-close button {
  background: none; border: none; cursor: pointer;
  color: var(--gray-500); padding: 10px; width: 44px; height: 44px;
}
.nav-mobile-phone {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; margin-bottom: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--navy);
}
.nav-mobile-phone svg { color: var(--navy); flex-shrink: 0; }
.nav-mobile-links { padding: 0 12px; }
.nav-mobile-links a {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px; border-radius: var(--radius-lg);
  font-size: 0.9rem; font-weight: 500; color: var(--gray-700);
  transition: var(--transition); text-decoration: none;
}
.nav-mobile-links a:hover,
.nav-mobile-links a:active { background: var(--navy-50); color: var(--navy); }
.nav-mobile-divider { height: 1px; background: var(--gray-200); margin: 6px 14px; }
/* Mobile accordion dropdowns */
.nav-mobile-group {}
.nav-mobile-group-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 14px; border: none; background: none;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  color: var(--gray-700); cursor: pointer; border-radius: var(--radius-lg);
  transition: var(--transition); text-align: left;
}
.nav-mobile-group-toggle:hover,
.nav-mobile-group-toggle:active { background: var(--navy-50); color: var(--navy); }
.nav-mobile-group-toggle svg {
  flex-shrink: 0; transition: transform 0.2s ease; color: var(--gray-400);
}
.nav-mobile-group.open .nav-mobile-group-toggle svg { transform: rotate(180deg); }
.nav-mobile-group.open .nav-mobile-group-toggle { color: var(--navy); font-weight: 600; }
.nav-mobile-sub {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.nav-mobile-group.open .nav-mobile-sub { max-height: 500px; }
.nav-mobile-sub a {
  padding: 11px 14px 11px 32px; font-size: 0.84rem; color: var(--gray-600);
}
.nav-mobile-sub a:hover { color: var(--navy); }
.nav-mobile-sub .nav-mobile-divider { margin: 4px 32px; }
.nav-mobile-section-label {
  padding: 8px 32px 4px; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-400);
  font-family: var(--font-display);
}
.nav-mobile-cta {
  padding: 16px 20px; margin-top: 12px;
  border-top: 1px solid var(--gray-200);
}
.nav-mobile-cta .btn { width: 100%; justify-content: center; }

/* ── HERO (Full-width overlay) ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 85vh; display: flex; align-items: center;
  padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,43,74,0.88) 0%, rgba(26,43,74,0.45) 60%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 580px; padding: 72px 0;
}
.hero h1 {
  color: var(--white); margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}
.hero h1 em {
  font-style: italic; color: rgba(255,255,255,0.7); font-weight: 300;
}
.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.62);
  margin-bottom: 34px; max-width: 440px; line-height: 1.8;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px;
  margin-top: 52px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--white); display: block; line-height: 1; margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.71rem; color: rgba(255,255,255,0.38); letter-spacing: 0.04em;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--gray-50); border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
}
.trust-items {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--gray-600); font-weight: 600;
}
.trust-item svg { color: var(--navy); opacity: 0.55; flex-shrink: 0; }

/* ── PAGE HEADER (Unterseiten) ── */
.page-header {
  padding: 116px 0 60px; background: var(--navy);
  position: relative; overflow: hidden;
  min-height: 280px; display: flex; align-items: center;
}
.page-header-bg {
  position: absolute; inset: 0; z-index: 0;
}
.page-header-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.35) saturate(0.5);
}
.page-header-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,43,74,0.75) 0%, rgba(26,43,74,0.4) 100%);
}
.page-header-content { position: relative; z-index: 1; }
.page-header-content h1 { color: var(--white); margin-bottom: 10px; }
.page-header-content p  { color: rgba(255,255,255,0.6); max-width: 520px; }

/* ── SECTION BACKGROUNDS ── */
.bg-white   { background: var(--white); }
.bg-light   { background: var(--gray-50); }
.bg-navy    { background: var(--navy); }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── LEISTUNGEN GRID (index) ── */
.leistungen-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden;
}
.leistung-col {
  padding: 36px 30px; border-right: 1px solid var(--gray-200);
  background: var(--white); transition: background 0.18s;
}
.leistung-col:last-child { border-right: none; }
.leistung-col:hover { background: var(--gray-50); }
.leistung-nr {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  color: var(--gray-200); line-height: 1; margin-bottom: 18px; letter-spacing: -0.04em;
}
.leistung-col h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.2rem; }
.leistung-col > p { font-size: 0.875rem; color: var(--gray-600); }
.leistung-list {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: 9px;
}
.leistung-list li {
  font-size: 0.82rem; color: var(--gray-600);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.leistung-list li svg { color: var(--navy-500); flex-shrink: 0; margin-top: 2px; }

/* ── WHY SPLIT ── */
.why-split {
  display: grid; grid-template-columns: 5fr 6fr;
  border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden;
}
.why-image-col { position: relative; overflow: hidden; min-height: 520px; }
.why-image-col img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.why-stat-overlay {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(26,43,74,0.88); backdrop-filter: blur(10px);
  border-radius: var(--radius-xl); padding: 18px 22px;
  display: flex; gap: 24px;
}
.why-stat .num {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  color: var(--white); line-height: 1;
}
.why-stat .lbl { font-size: 0.7rem; color: rgba(255,255,255,0.5); margin-top: 3px; }
.why-stat-div { width: 1px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
.why-content-col {
  padding: 48px 42px; background: var(--white);
  display: flex; flex-direction: column; justify-content: center;
}
.why-points { display: flex; flex-direction: column; margin-top: 28px; }
.why-point {
  display: flex; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}
.why-point:last-child { border-bottom: none; padding-bottom: 0; }
.why-point-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--navy-50); border: 1px solid var(--navy-100);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); margin-top: 1px;
}
.why-point h4 { color: var(--navy); margin-bottom: 3px; font-size: 0.95rem; }
.why-point p  { font-size: 0.84rem; color: var(--gray-600); }

/* ── OBJEKTE STRIP ── */
.objekte-strip {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden;
}
.objekt-item { position: relative; overflow: hidden; }
.objekt-item img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform 0.4s ease; filter: brightness(0.65) saturate(0.8);
}
.objekt-item:hover img { transform: scale(1.03); filter: brightness(0.55) saturate(0.7); }
.objekt-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 18px;
  background: linear-gradient(0deg, rgba(26,43,74,0.85) 0%, transparent 100%);
}
.objekt-overlay span {
  font-size: 0.84rem; color: var(--white); font-weight: 600;
  font-family: var(--font-display); display: block;
}
.objekt-overlay small { font-size: 0.7rem; color: rgba(255,255,255,0.55); }
.objekt-item-border { border-right: 1px solid var(--gray-200); }

/* ── STATS ROW ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden;
  margin-bottom: 72px;
}
.stat-cell {
  padding: 32px 24px; text-align: center;
  border-right: 1px solid var(--gray-200); background: var(--white);
}
.stat-cell:last-child { border-right: none; }
.stat-cell .num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 800;
  color: var(--navy); line-height: 1; display: block; margin-bottom: 7px;
}
.stat-cell .lbl { font-size: 0.75rem; color: var(--gray-500); }

/* ── TOOLS SPLIT ── */
.tools-split {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden;
}
.tools-content {
  padding: 48px 44px; background: var(--navy);
  display: flex; flex-direction: column; justify-content: center;
}
.tools-content h2 { color: var(--white); margin-bottom: 14px; }
.tools-content p  { color: rgba(255,255,255,0.6); margin-bottom: 28px; }
.tools-image-col { position: relative; overflow: hidden; min-height: 440px; }
.tools-image-col img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.4) saturate(0.5);
}
.tools-overlay {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3,1fr);
  gap: 1px; padding: 20px;
}
.tool-cell {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 16px 14px;
  display: flex; flex-direction: column; gap: 5px;
  backdrop-filter: blur(2px);
}
.tool-cell svg { color: rgba(255,255,255,0.6); }
.tool-cell .tc-name {
  font-size: 0.78rem; color: var(--white); font-weight: 600;
  font-family: var(--font-display); line-height: 1.3;
}
.tool-cell .tc-desc { font-size: 0.67rem; color: rgba(255,255,255,0.38); }

/* ── VIDEO SPLIT ── */
.video-split {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden;
}
.video-content {
  padding: 48px 44px; background: var(--gray-50);
  display: flex; flex-direction: column; justify-content: center;
}
.video-content h2 { margin-bottom: 12px; }
.video-content p  { color: var(--gray-600); margin-bottom: 24px; }
.video-thumb {
  position: relative; overflow: hidden; min-height: 320px;
  cursor: pointer; text-decoration: none; display: block;
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.5) saturate(0.65); transition: filter 0.3s;
}
.video-thumb:hover img { filter: brightness(0.4) saturate(0.55); }
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.play-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: var(--transition); backdrop-filter: blur(4px);
}
.video-thumb:hover .play-circle {
  background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.65);
}
.video-label {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(0,0,0,0.52); padding: 4px 11px; border-radius: 6px;
  color: rgba(255,255,255,0.8); font-size: 0.72rem;
}

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testimonial {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 28px; transition: box-shadow 0.2s;
}
.testimonial:hover { box-shadow: var(--shadow-md); }
.t-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.t-stars svg { color: var(--navy); opacity: 0.6; }
.t-text {
  font-size: 0.94rem; color: var(--gray-700);
  font-style: italic; line-height: 1.74; margin-bottom: 20px;
  font-family: var(--font-body); font-weight: 300;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-50); border: 1.5px solid var(--navy-100);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.75rem;
  font-weight: 700; color: var(--navy);
}
.t-name { font-size: 0.84rem; font-weight: 600; color: var(--navy); }
.t-role { font-size: 0.73rem; color: var(--gray-500); }

/* ── CTA SECTION ── */
.cta-section { background: var(--navy); padding: 88px 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,0.55); max-width: 480px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { background: var(--gray-50); border-top: 1px solid var(--gray-200); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-mark {
  width: 30px; height: 30px; background: var(--navy);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 800; color: var(--white);
}
.footer-logo-name {
  font-family: var(--font-display); font-size: 0.92rem;
  font-weight: 700; color: var(--navy);
}
.footer-desc { font-size: 0.84rem; color: var(--gray-500); line-height: 1.75; margin-bottom: 18px; }
.footer-contact { font-size: 0.82rem; color: var(--gray-500); line-height: 1.85; }
.footer-contact a { color: var(--navy); }
.footer h4 {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-500); margin-bottom: 14px;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 0.84rem; color: var(--gray-500); transition: var(--transition); }
.footer-links a:hover { color: var(--navy); }
.footer-bottom {
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.74rem; color: var(--gray-500);
}
.footer-haus8 { font-size: 0.71rem; color: var(--gray-400); }
.footer-haus8 a { color: var(--navy-500); font-weight: 600; }
.footer-haus8 a:hover { color: var(--navy); }

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}
.form-control {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg);
  font-family: var(--font-body); font-size: 0.875rem;
  color: var(--gray-900); background: var(--white); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,43,74,0.08);
}
.form-control::placeholder { color: var(--gray-400); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 96px; }

/* ── TABS (Underline style for Prüfleistungen) ── */
.tabs { display: flex; border-bottom: 2px solid var(--gray-200); margin-bottom: 28px; }
.tab-btn {
  padding: 10px 18px; border: none; background: transparent;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  cursor: pointer; font-family: var(--font-display); font-size: 0.83rem;
  font-weight: 600; color: var(--gray-500); transition: var(--transition);
}
.tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); }
.tab-btn:hover  { color: var(--navy); }

/* ── TOOL TABS (Pill style for tools.html) ── */
.tools-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tool-nav-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; background: var(--white);
  border: 1.5px solid var(--gray-200); border-radius: 100px;
  cursor: pointer; font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600; color: var(--gray-500);
  transition: var(--transition);
}
.tool-nav-btn:hover { border-color: var(--navy); color: var(--navy); }
.tool-nav-btn.active {
  background: var(--navy); border-color: var(--navy); color: var(--white);
}
.tool-panel { display: none; }
.tool-panel.active { display: block; }

/* ── TOOL WRAPPER ── */
.tool-wrapper {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm);
}
.tool-header {
  padding: 18px 24px; background: var(--navy);
  display: flex; align-items: center; gap: 12px;
}
.tool-header-icon {
  width: 36px; height: 36px; background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); flex-shrink: 0;
}
.tool-header-text h3 {
  color: var(--white); font-size: 0.95rem;
  font-family: var(--font-display); font-weight: 700; margin-bottom: 1px;
}
.tool-header-text p { font-size: 0.73rem; color: rgba(255,255,255,0.5); }
.tool-body { padding: 24px; background: var(--white); color: var(--gray-700); }

/* ── STEPS ── */
.steps { display: flex; align-items: center; margin-bottom: 28px; }
.step  { display: flex; align-items: center; gap: 8px; flex: 1; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.73rem; font-weight: 700; color: var(--gray-500);
  flex-shrink: 0; transition: var(--transition);
}
.step.active .step-num { background: var(--navy); border-color: var(--navy); color: var(--white); }
.step.done .step-num   { background: #15803D; border-color: #15803D; color: var(--white); }
.step-label { font-size: 0.73rem; color: var(--gray-500); }
.step.active .step-label { color: var(--navy); font-weight: 600; }
.step-line { flex: 1; height: 1px; background: var(--gray-200); margin: 0 8px; }

/* ── CHAT ── */
.chat-window {
  height: 290px; overflow-y: auto; padding: 16px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); margin-bottom: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg {
  max-width: 82%; padding: 10px 14px;
  border-radius: 10px; font-size: 0.84rem; line-height: 1.6;
}
.chat-msg.bot {
  background: var(--white); border: 1px solid var(--gray-200);
  color: var(--gray-700); align-self: flex-start;
  border-bottom-left-radius: 3px; box-shadow: var(--shadow-sm);
}
.chat-msg.user {
  background: var(--navy); color: var(--white);
  align-self: flex-end; border-bottom-right-radius: 3px;
}
.chat-quick-btns { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.chat-quick {
  padding: 5px 12px; background: var(--white);
  border: 1.5px solid var(--gray-200); border-radius: 100px;
  font-size: 0.73rem; cursor: pointer; font-family: var(--font-body);
  color: var(--gray-700); transition: var(--transition);
}
.chat-quick:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chat-input-row { display: flex; gap: 8px; }
.chat-input-row input { flex: 1; }

/* ── CALENDAR ── */
.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; margin-bottom: 12px; }
.cal-cell {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; border-radius: var(--radius-lg); cursor: pointer;
  transition: var(--transition); border: 1px solid transparent; color: var(--gray-700);
}
.cal-cell.header { cursor: default; font-weight: 700; font-size: 0.67rem; color: var(--gray-500); }
.cal-cell.empty  { cursor: default; }
.cal-cell.available:hover { background: var(--navy-50); border-color: var(--navy-200); color: var(--navy); }
.cal-cell.selected { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 700; }
.cal-cell.past { color: var(--gray-300); cursor: default; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-nav button {
  padding: 5px 12px; border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--gray-700);
  border-radius: var(--radius-lg); cursor: pointer;
  font-family: var(--font-body); font-size: 0.78rem; transition: var(--transition);
}
.cal-nav button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cal-month-name {
  font-weight: 700; color: var(--navy); font-size: 0.88rem;
  font-family: var(--font-display);
}
.time-slots { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin: 12px 0; }
.time-slot {
  padding: 9px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg);
  text-align: center; cursor: pointer; font-size: 0.78rem; font-weight: 600;
  transition: var(--transition); background: var(--white); color: var(--gray-700);
}
.time-slot:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-50); }
.time-slot.selected { background: var(--navy); border-color: var(--navy); color: var(--white); }
.time-slot.booked { background: var(--gray-100); color: var(--gray-400); cursor: not-allowed; text-decoration: line-through; }

/* ── AMPEL ── */
.ampel-light {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gray-200); transition: var(--transition); flex-shrink: 0;
}
.ampel-light.gruen.on { background: #16A34A; box-shadow: 0 0 10px rgba(22,163,74,0.25); }
.ampel-light.gelb.on  { background: #CA8A04; box-shadow: 0 0 10px rgba(202,138,4,0.25); }
.ampel-light.rot.on   { background: #DC2626; box-shadow: 0 0 10px rgba(220,38,38,0.25); }

/* ── RANGE ── */
input[type="range"] {
  width: 100%; -webkit-appearance: none;
  height: 3px; background: var(--gray-200); border-radius: 2px; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px;
  border-radius: 50%; background: var(--navy); cursor: pointer;
}

/* ── SCORE BAR ── */
.score-bar { background: var(--gray-200); height: 7px; border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.score-fill { height: 100%; border-radius: 4px; background: var(--navy); transition: width 0.5s ease; }

/* ── ALERTS ── */
.alert {
  padding: 12px 16px; border-radius: var(--radius-lg);
  font-size: 0.83rem; display: flex; align-items: flex-start; gap: 9px; border: 1px solid;
}
.alert-success { background: #F0FDF4; border-color: #BBF7D0; color: #15803D; }
.alert-info    { background: var(--navy-50); border-color: var(--navy-200); color: var(--navy); }
.alert-warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }

/* ── BADGE ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; }
.badge-navy { background: var(--navy-100); color: var(--navy); }
.badge-gray { background: var(--gray-100); color: var(--gray-700); }

/* ── PORTAL ── */
.portal-panel { display: none; }
.portal-panel.active { display: block; }
.doc-list { display: flex; flex-direction: column; gap: 6px; }
.doc-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 15px; background: var(--gray-50);
  border-radius: var(--radius-lg); border: 1px solid var(--gray-200);
  font-size: 0.84rem; cursor: pointer; transition: var(--transition);
}
.doc-item:hover { background: var(--white); border-color: var(--gray-300); box-shadow: var(--shadow-sm); }
.doc-name { display: flex; align-items: center; gap: 9px; color: var(--navy); font-weight: 600; }
.doc-date { font-size: 0.73rem; color: var(--gray-500); }

/* ── SPLIT LAYOUT (Leistungen-Seite) ── */
.content-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }
.content-split img { border-radius: var(--radius-xl); width: 100%; }
.content-split h3 { margin-bottom: 12px; }
.content-split p  { margin-bottom: 18px; }
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: var(--gray-600); line-height: 1.6;
}
.check-list li svg { color: var(--navy-500); flex-shrink: 0; margin-top: 3px; }

/* ── ACCORDION ── */
.accordion-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
  overflow: hidden; margin-bottom: 12px; background: var(--white);
}
.accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; gap: 16px;
  font-family: var(--font-display); font-size: 1rem;
  font-weight: 600; color: var(--navy); transition: var(--transition);
}
.accordion-header:hover { background: var(--gray-50); }
.accordion-header svg { flex-shrink: 0; transition: transform 0.2s; color: var(--gray-400); }
.accordion-item.open .accordion-header svg { transform: rotate(180deg); }
.accordion-body {
  padding: 0 24px 24px; display: none;
  font-size: 0.875rem; color: var(--gray-600); line-height: 1.75;
}
.accordion-item.open .accordion-body { display: block; }

/* ── HEADING ROW ── */
.heading-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px;
}
.heading-row .section-header { margin-bottom: 0; }

/* ── INFO BLOCK (Navy) ── */
.info-block {
  background: var(--navy); border-radius: var(--radius-xl);
  padding: 48px; color: var(--white);
}
.info-block h3 { color: var(--white); margin-bottom: 14px; }
.info-block p  { color: rgba(255,255,255,0.6); }

/* ── RATGEBER CARDS ── */
.ratgeber-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  text-decoration: none; display: block;
}
.ratgeber-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.ratgeber-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ratgeber-card-body { padding: 24px; }
.ratgeber-card-body h3 { margin-bottom: 8px; font-size: 1.1rem; }
.ratgeber-card-body p  { font-size: 0.84rem; color: var(--gray-600); }
.ratgeber-card-meta {
  display: flex; gap: 14px; margin-top: 14px;
  font-size: 0.73rem; color: var(--gray-400);
}

/* ── NEWSLETTER BOX ── */
.newsletter-box {
  background: var(--navy); border-radius: var(--radius-xl);
  padding: 40px; text-align: center;
}
.newsletter-box h3 { color: var(--white); margin-bottom: 10px; }
.newsletter-box p  { color: rgba(255,255,255,0.55); margin-bottom: 20px; font-size: 0.9rem; }
.newsletter-row { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.newsletter-row input {
  flex: 1; padding: 10px 14px; border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08); border-radius: var(--radius-lg);
  color: var(--white); font-family: var(--font-body); font-size: 0.85rem;
}
.newsletter-row input::placeholder { color: rgba(255,255,255,0.35); }

/* ── ARTICLE LAYOUT ── */
.article-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px;
  align-items: start;
}
.article-content { font-size: 0.95rem; line-height: 1.85; color: var(--gray-700); }
.article-content h2 { font-size: 1.5rem; margin: 36px 0 14px; }
.article-content h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.article-content p  { margin-bottom: 18px; }
.article-content ul { margin-bottom: 18px; padding-left: 0; }
.article-content ul li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 8px; font-size: 0.9rem; color: var(--gray-600);
}
.article-sidebar { position: sticky; top: 88px; }
.sidebar-box {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 24px; margin-bottom: 20px;
}
.sidebar-box h4 { margin-bottom: 14px; }
.toc-list li { margin-bottom: 8px; }
.toc-list a { font-size: 0.82rem; color: var(--gray-500); }
.toc-list a:hover { color: var(--navy); }

/* ── VIDEO / IMAGEVIDEO ── */
.video-player-wrapper {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; aspect-ratio: 16/9;
  background: var(--navy); border: 1px solid var(--gray-200);
}

/* ── KONTAKT LAYOUT ── */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.kontakt-info h3 { margin-bottom: 18px; }
.kontakt-detail {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px; font-size: 0.9rem; color: var(--gray-600);
}
.kontakt-detail svg { color: var(--navy); flex-shrink: 0; margin-top: 2px; }
.notfall-block {
  background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--radius-xl);
  padding: 24px; margin-top: 24px;
}
.notfall-block h4 { color: #991B1B; margin-bottom: 8px; }
.notfall-block p  { font-size: 0.84rem; color: #991B1B; }
.kontakt-form {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 36px;
  box-shadow: var(--shadow-md);
}

/* ── KARRIERE ── */
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.benefit-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 28px;
  transition: box-shadow 0.2s;
}
.benefit-card:hover { box-shadow: var(--shadow-md); }
.benefit-icon {
  width: 42px; height: 42px; background: var(--navy-50);
  border: 1px solid var(--navy-100); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); margin-bottom: 14px;
}
.benefit-card h4 { margin-bottom: 6px; }
.benefit-card p  { font-size: 0.84rem; color: var(--gray-600); }

/* ── ÜBER UNS ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--gray-200);
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy-200);
}
.timeline-year {
  font-family: var(--font-display); font-size: 0.78rem;
  font-weight: 700; color: var(--navy-500); margin-bottom: 4px;
}
.timeline-text { font-size: 0.88rem; color: var(--gray-600); }

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 32px; text-align: center;
}
.team-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem;
  font-weight: 700; color: var(--white);
}
.team-card h4 { margin-bottom: 2px; }
.team-card .role { font-size: 0.78rem; color: var(--navy-500); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: 0.84rem; color: var(--gray-600); }

.werte-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.wert-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 24px; text-align: center;
}
.wert-icon {
  width: 48px; height: 48px; background: var(--navy-50);
  border: 1px solid var(--navy-100); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); margin: 0 auto 14px;
}
.wert-card h4 { margin-bottom: 6px; }
.wert-card p  { font-size: 0.82rem; color: var(--gray-600); }

/* ── KUNDENSTIMMEN PAGE ── */
.video-testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.video-testimonial-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); overflow: hidden; transition: box-shadow 0.2s;
}
.video-testimonial-card:hover { box-shadow: var(--shadow-md); }
.video-testimonial-thumb {
  position: relative; aspect-ratio: 16/10; overflow: hidden; cursor: pointer;
}
.video-testimonial-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.45); transition: filter 0.3s;
}
.video-testimonial-card:hover .video-testimonial-thumb img { filter: brightness(0.35); }
.video-testimonial-thumb .play-circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.video-testimonial-body { padding: 20px; }
.video-testimonial-body .t-text { font-size: 0.86rem; margin-bottom: 14px; }

/* ── PRÜFLEISTUNGEN ── */
.pruef-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.pruef-table {
  background: var(--navy); border-radius: var(--radius-xl); padding: 28px;
  color: var(--white);
}
.pruef-table h4 { color: var(--white); margin-bottom: 14px; }
.pruef-table table { width: 100%; border-collapse: collapse; }
.pruef-table th,
.pruef-table td {
  padding: 10px 12px; text-align: left;
  font-size: 0.82rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pruef-table th { color: rgba(255,255,255,0.5); font-weight: 600; font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.08em; }
.pruef-table td { color: rgba(255,255,255,0.85); }

/* ── BEWERTUNGS SUMMARY ── */
.bewertung-summary {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden;
}
.bewertung-cell {
  padding: 32px; text-align: center; background: var(--white);
  border-right: 1px solid var(--gray-200);
}
.bewertung-cell:last-child { border-right: none; }
.bewertung-cell .num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  color: var(--navy); line-height: 1; display: block; margin-bottom: 6px;
}
.bewertung-cell .lbl { font-size: 0.78rem; color: var(--gray-500); }

/* ── OBJEKTE PAGE ── */
.objekte-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.objekt-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--gray-200); cursor: pointer;
}
.objekt-card img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform 0.4s; filter: brightness(0.7);
}
.objekt-card:hover img { transform: scale(1.03); filter: brightness(0.55); }
.objekt-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
  background: linear-gradient(0deg, rgba(26,43,74,0.9) 0%, transparent 100%);
}
.objekt-card-overlay h4 { color: var(--white); margin-bottom: 4px; font-size: 1rem; }
.objekt-card-overlay p  { color: rgba(255,255,255,0.6); font-size: 0.78rem; }
.objekt-360-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 100px;
  padding: 5px 12px; font-size: 0.7rem; font-weight: 600; color: var(--white);
}

/* ── SHOWCASE PAGE ── */
.showcase-nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1160px; margin: 0 auto; padding: 0 28px;
}
.showcase-feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.showcase-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.86rem; color: var(--gray-700); line-height: 1.5;
}
.showcase-feature svg { color: var(--navy-500); flex-shrink: 0; margin-top: 2px; }

/* ── CATEGORY BUTTONS (Mängelmelder etc.) ── */
.category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 20px 0; }
.category-btn {
  padding: 16px 12px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); background: var(--white);
  cursor: pointer; text-align: center; font-family: var(--font-body);
  font-size: 0.82rem; color: var(--gray-600); transition: var(--transition);
}
.category-btn:hover { border-color: var(--navy-200); background: var(--navy-50); }
.category-btn.selected { border-color: var(--navy); background: rgba(26,43,74,0.06); color: var(--navy); font-weight: 600; }
.category-btn .cat-icon { font-size: 1.3rem; display: block; margin-bottom: 6px; }
.urgency-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.urgency-btn {
  padding: 10px 20px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); background: var(--white);
  cursor: pointer; font-family: var(--font-body); font-size: 0.85rem;
  color: var(--gray-600); transition: var(--transition);
}
.urgency-btn:hover { border-color: var(--navy); }
.urgency-btn.selected { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ── MAENGEL STEPS ── */
.maengel-step { display: none; }
.maengel-step.active { display: block; }

/* ── RESULT CARDS ── */
.result-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 20px; margin-top: 16px;
}
.result-card h4 { margin-bottom: 8px; }
.result-card p  { font-size: 0.84rem; color: var(--gray-600); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .why-split { grid-template-columns: 1fr; }
  .why-image-col { min-height: 300px; }
  .tools-split { grid-template-columns: 1fr; }
  .tools-image-col { min-height: 300px; }
  .video-split { grid-template-columns: 1fr; }
  .content-split { grid-template-columns: 1fr; gap: 32px; }
  .content-split.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .objekte-strip { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .pruef-split { grid-template-columns: 1fr; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .leistung-col { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .leistung-col:last-child { border-bottom: none; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .werte-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .video-testimonial-grid { grid-template-columns: repeat(2,1fr); }
  .bewertung-summary { grid-template-columns: 1fr; }
  .bewertung-cell { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .bewertung-cell:last-child { border-bottom: none; }
  .objekte-grid { grid-template-columns: repeat(2,1fr); }
  .benefit-grid { grid-template-columns: repeat(2,1fr); }
  .showcase-feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .trust-items { gap: 16px; justify-content: flex-start; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-content { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .stats-row { grid-template-columns: 1fr; }
  .heading-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .info-block { padding: 32px 24px; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .time-slots { grid-template-columns: repeat(3,1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .werte-grid { grid-template-columns: 1fr; }
  .video-testimonial-grid { grid-template-columns: 1fr; }
  .objekte-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .page-header { padding: 100px 0 40px; min-height: 220px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Additional aliases for tool JS backward compat ── */
:root {
  --gold-pale: var(--navy-50);
  --gold-light: rgba(255,255,255,0.9);
}

/* ── Tool-specific styles (tools.html) ── */
.photo-upload-area {
  border: 2px dashed var(--gray-200); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; cursor: pointer;
  transition: var(--transition); background: var(--gray-50); margin: 16px 0;
}
.photo-upload-area:hover { border-color: var(--navy-200); }
.photo-upload-area .icon { font-size: 2rem; margin-bottom: 8px; }
.photo-upload-area p { font-size: 0.85rem; color: var(--gray-400); }

.ticket-success { text-align: center; padding: 24px; }
.ticket-nr {
  display: inline-block; font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; color: var(--navy);
  background: var(--navy-50); padding: 10px 28px;
  border-radius: var(--radius-lg); margin: 16px 0; letter-spacing: 0.05em;
}

.login-card { max-width: 420px; margin: 0 auto; }

.check-question { display: none; animation: fadeIn 0.2s ease; }
.check-question.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.check-options { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.check-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); cursor: pointer;
  font-size: 0.88rem; transition: var(--transition); background: var(--white);
}
.check-option:hover { border-color: var(--navy); background: rgba(26,43,74,0.03); }
.check-option.selected { border-color: var(--navy); background: rgba(26,43,74,0.06); font-weight: 600; }
.check-option input[type="radio"] { accent-color: var(--navy); width: 16px; height: 16px; }
.check-progress-bar { margin-bottom: 24px; }
.check-result { text-align: center; padding: 12px 0; }
.result-score-circle {
  width: 100px; height: 100px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; border: 4px solid;
}

.service-types { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 16px 0; }
.service-type-btn {
  padding: 12px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); background: var(--white);
  cursor: pointer; text-align: center; font-size: 0.82rem;
  font-family: var(--font-body); transition: var(--transition);
}
.service-type-btn:hover { border-color: var(--navy-200); }
.service-type-btn.selected { border-color: var(--navy); background: var(--navy-50); color: var(--navy); font-weight: 600; }

.kalk-result-card {
  background: var(--navy); border-radius: var(--radius-xl);
  padding: 24px; color: var(--white); margin-top: 20px;
}
.kalk-breakdown { margin-top: 16px; }
.kalk-line {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.87rem; color: rgba(255,255,255,0.7);
}
.kalk-line:last-child { border-bottom: none; font-weight: 600; color: rgba(255,255,255,0.9); font-size: 1rem; }

.badge-gold { background: var(--navy-100); color: var(--navy); }

/* ====== Demo-Banner (haus8 Designvorschläge) ====== */
.demo-banner-h8 {
  background: #1A2B4A;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  text-align: center;
  padding: 9px 24px;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.demo-banner-h8 strong { color: #D9A441; font-weight: 600; }
.demo-banner-h8 a { color: #D9A441; text-decoration: underline; text-underline-offset: 2px; font-weight: 500; margin-left: 4px; }
