/* =====================================================================
   CSS VARIABLES & RESET
   ===================================================================== */
:root {
  --blue-dark:    #0D1B2E;
  --blue-mid:     #152844;
  --blue-light:   #1E3A5F;
  --blue-accent:  #2563A8;
  --orange:       #E8820C;
  --orange-light: #F5A53A;
  --yellow:       #FBD04C;
  --bg-light:     #F5F7FA;
  --bg-white:     #FFFFFF;
  --text-dark:    #1A1A2E;
  --text-mid:     #3D4555;
  --text-light:   #6B7280;
  --white:        #FFFFFF;
  --border:       #E2E8F0;
  --shadow-sm:    0 2px 8px  rgba(13,27,46,0.07);
  --shadow-md:    0 4px 20px rgba(13,27,46,0.12);
  --shadow-lg:    0 8px 40px rgba(13,27,46,0.18);
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   0.3s ease;
  --header-h:     72px;
  --topbar-h:     40px;
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: calc(var(--topbar-h) + var(--header-h));
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.2; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* =====================================================================
   TOPBAR
   ===================================================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--blue-dark);
  color: rgba(255,255,255,.82);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}
.topbar.hidden {
  height: 0;
  opacity: 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.topbar-item a {
  color: rgba(255,255,255,.82);
  transition: color var(--transition);
}
.topbar-item a:hover { color: var(--orange-light); }
.topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,.22); }

/* =====================================================================
   HEADER / NAVIGATION
   ===================================================================== */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: top 0.3s ease, box-shadow var(--transition), background var(--transition), backdrop-filter var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
}
.topbar.hidden ~ .site-header {
  top: 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo img { height: 46px; width: auto; }
.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-dark);
}
.logo-text span { color: var(--orange); }

#header-logo-text { display: none; }

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--orange);
  background: rgba(232,130,12,.06);
}
.nav-arrow {
  font-size: .65rem;
  transition: transform var(--transition);
  display: inline-block;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 265px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  border: 1px solid var(--border);
  z-index: 200;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-link {
  display: block;
  padding: 10px 14px;
  font-size: .875rem;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.dropdown-link:hover { background: rgba(232,130,12,.08); color: var(--orange); }

/* Version Toggle */
.version-toggle {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.version-toggle-btn {
  padding: 6px 12px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-light);
  background: transparent;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.version-toggle-btn.active {
  background: var(--orange);
  color: var(--white);
}
.version-toggle-btn:not(.active):hover {
  background: var(--bg-light);
  color: var(--text-dark);
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-cta-mobile-header { display: none; }

.btn-cta:hover {
  background: #D4730A;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,130,12,.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--bg-light); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--topbar-h) + var(--header-h));
  left: 0; right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px 24px;
  z-index: 999;
  max-height: calc(100vh - var(--topbar-h) - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav-link {
  display: block;
  padding: 11px 14px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover { background: var(--bg-light); color: var(--orange); }
.mobile-submenu {
  padding-left: 14px;
  border-left: 2px solid var(--orange-light);
  margin: 2px 0 4px 14px;
}
.mobile-submenu .mobile-nav-link {
  font-size: .875rem;
  color: var(--text-mid);
  padding: 8px 12px;
}
.mobile-nav-section {
  padding: 10px 14px 2px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-light);
}
.mobile-nav-cta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.mobile-nav-cta .btn-cta { width: 100%; justify-content: center; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
}
.hero-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(13,27,46,.90) 0%,
    rgba(13,27,46,.76) 55%,
    rgba(21,40,68,.50) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  width: 100%;
}
.hero-content { max-width: 1000px; }
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  font-weight: 800;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,130,12,.18);
  border: 1px solid rgba(232,130,12,.4);
  color: var(--orange-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange-light);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.82);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: .03em;
}
.hero-sub span { color: var(--orange-light); margin: 0 6px; }

.hero-message {
  background: rgba(255,255,255,.08);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 22px;
  margin-bottom: 38px;
  backdrop-filter: blur(6px);
}
.hero-message p {
  color: rgba(255,255,255,.92);
  font-size: 1rem;
  line-height: 1.65;
}
.hero-message strong { color: var(--white); font-weight: 600; }

/* GEÄNDERT: Buttons + Stats in einer Zeile, vertikal zentriert, nowrap erzwungen */
.hero-buttons { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px 20px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--orange);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: all var(--transition);
}
.btn-primary:hover {
  background: #D4730A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,130,12,.40);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  flex-shrink: 0;
  white-space: nowrap;
  background: transparent;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,.48);
  transition: all var(--transition);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.10);
  transform: translateY(-2px);
}

/* GEÄNDERT: Stats jetzt inline in hero-buttons – Border-left als Trennlinie */
.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  border-left: 1px solid rgba(255,255,255,0.3);
  padding-left: 20px;
  margin-left: 4px;
}
/* Sep-Div nicht mehr nötig – Trennlinie sitzt direkt auf .hero-stats */
.hero-stats-sep { display: none; }
.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem; /* VORHER: 2.1rem – kompakter für inline-Verwendung */
  font-weight: 800;
  color: var(--orange-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: .7rem; /* VORHER: .78rem */
  color: rgba(255,255,255,.65);
  margin-top: 4px;
}

/* =====================================================================
   SHARED SECTION HELPERS
   ===================================================================== */
section { padding: 88px 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-tag::before,
.section-tag::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.72;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .20s; }
.reveal-delay-3 { transition-delay: .30s; }
.reveal-delay-4 { transition-delay: .40s; }
.reveal-delay-5 { transition-delay: .50s; }
.reveal-delay-6 { transition-delay: .60s; }

/* =====================================================================
   LEISTUNGEN
   ===================================================================== */
.leistungen { background: var(--bg-light); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.service-card-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.service-card-desc {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.68;
  margin-bottom: 22px;
  flex: 1;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: .875rem;
  transition: gap var(--transition);
}
.service-card-link:hover { gap: 10px; }

/* =====================================================================
   PARTNER NETWORK
   ===================================================================== */
.partner-network { background: var(--bg-white); }

.partner-intro {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  margin-bottom: 60px;
  display: flex;
  gap: 36px;
  align-items: center;
}
.partner-intro-icon { font-size: 3.2rem; flex-shrink: 0; }
.partner-intro-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.partner-intro-text p {
  color: rgba(255,255,255,.78);
  line-height: 1.72;
  font-size: .95rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.partner-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partner-card:hover {
  border-color: var(--orange);
  background: rgba(232,130,12,.04);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.partner-card-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.partner-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.partner-card-desc {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.58;
  flex: 1;
}
.partner-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  color: var(--orange);
  font-size: .8rem;
  font-weight: 600;
  transition: gap var(--transition);
}
.partner-card:hover .partner-card-link { gap: 8px; }

/* =====================================================================
   REFERENZEN
   ===================================================================== */
.referenzen { background: var(--bg-light); }

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.ref-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.ref-card:hover { box-shadow: var(--shadow-lg); }
.ref-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.ref-card:hover img { transform: scale(1.07); }

.ref-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,27,46,.90) 0%,
    rgba(13,27,46,.22) 55%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.ref-card:hover .ref-overlay { opacity: 1; }
.ref-card-cat {
  font-size: .72rem;
  color: var(--orange-light);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ref-overlay .ref-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.ref-cta { text-align: center; }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--blue-dark);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  transition: all var(--transition);
}
.btn-dark:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,27,46,.30);
}

/* =====================================================================
   HERO RATING STAT
   ===================================================================== */
.hero-stat-stars {
  font-size: 1.05rem;
  color: var(--yellow);
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.hero-stat-of {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
}

/* =====================================================================
   BEWERTUNGEN
   ===================================================================== */
.bewertungen { background: var(--bg-white); }

/* Rating summary bar */
.rating-bar {
  display: flex;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  margin-bottom: 52px;
}
.rating-bar-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 160px;
}
.rating-bar-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.rating-bar-stars {
  font-size: 1.5rem;
  color: var(--yellow);
  letter-spacing: 2px;
  margin: 6px 0;
}
.rating-bar-meta {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.rating-bar-meta strong { color: rgba(255,255,255,.9); }
.rating-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--orange-light);
  transition: color var(--transition);
}
.rating-bar-link:hover { color: var(--white); }

.rating-bar-breakdown {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
}
.rating-row span:first-child { min-width: 32px; text-align: right; color: var(--yellow); }
.rating-row span:last-child  { min-width: 30px; color: rgba(255,255,255,.55); }
.rating-bar-track {
  flex: 1;
  height: 7px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 10px;
  transition: width .8s ease;
}

/* Review Cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-accent);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-dark);
}
.review-stars {
  font-size: .85rem;
  color: var(--yellow);
  letter-spacing: 1px;
}
.review-google-icon {
  margin-left: auto;
  flex-shrink: 0;
}
.review-text {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.68;
  flex: 1;
}
.review-date {
  font-size: .75rem;
  color: var(--text-light);
}

/* =====================================================================
   KONTAKT
   ===================================================================== */
.kontakt { background: var(--bg-white); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: start;
}

.kontakt-info-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.kontakt-info-sub {
  color: var(--text-light);
  font-size: .92rem;
  margin-bottom: 28px;
}

.kontakt-items { display: flex; flex-direction: column; gap: 12px; }

.kontakt-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
a.kontakt-item:hover {
  border-color: var(--orange);
  background: rgba(232,130,12,.04);
  transform: translateX(5px);
}
.kontakt-item-icon {
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  background: rgba(232,130,12,.10);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kontakt-item-label {
  font-size: .72rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.kontakt-item-value {
  font-size: .97rem;
  font-weight: 600;
  color: var(--blue-dark);
}

/* Contact Form */
.form-box {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}
.form-box-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}
.form-box-sub {
  color: var(--text-light);
  font-size: .875rem;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.form-group label {
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-mid);
}
.form-group input,
.form-group textarea {
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,130,12,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .97rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: all var(--transition);
}
.form-submit:hover {
  background: #D4730A;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,130,12,.35);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,.70);
  padding: 70px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.footer-logo img { height: 42px; width: auto; margin-bottom: 16px; }
.footer-desc {
  font-size: .875rem;
  line-height: 1.72;
  color: rgba(255,255,255,.60);
  margin-bottom: 20px;
}
.footer-contact-links { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-links a {
  font-size: .84rem;
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color var(--transition);
}
.footer-contact-links a:hover { color: var(--orange-light); }

/* =====================================================================
   INTERNES PROJEKTMANAGEMENT
   ===================================================================== */
.pm-page {
  background: var(--bg-light);
}

.pm-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 62%, var(--blue-light) 100%);
  color: var(--white);
  padding: 82px 0 58px;
}

.pm-hero-content {
  max-width: 880px;
}

.pm-hero h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 14px;
}

.pm-hero-sub {
  color: var(--orange-light);
  font-family: 'Outfit', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pm-hero-text {
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  max-width: 760px;
  margin-bottom: 28px;
}

.pm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pm-dashboard {
  padding: 56px 0 88px;
}

.pm-alert {
  background: #FFF7ED;
  border: 1px solid rgba(232,130,12,.35);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  padding: 16px 18px;
  margin-bottom: 44px;
  box-shadow: var(--shadow-sm);
}

.pm-alert strong {
  color: var(--blue-dark);
}

.pm-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.pm-metric-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.pm-metric-label,
.pm-metric-note {
  display: block;
  color: var(--text-light);
  font-size: .84rem;
}

.pm-metric-value {
  display: block;
  color: var(--blue-dark);
  font-family: 'Outfit', sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  margin: 10px 0 8px;
}

.pm-table-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  margin-bottom: 28px;
}

.pm-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: .9rem;
}

.pm-table caption {
  color: var(--text-light);
  font-size: .84rem;
  padding: 16px 18px 0;
  text-align: left;
}

.pm-table th,
.pm-table td {
  border-bottom: 1px solid var(--border);
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
}

.pm-table th {
  background: var(--blue-dark);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  font-weight: 700;
}

.pm-table th:first-child,
.pm-table td:first-child {
  white-space: nowrap;
}

.pm-table tbody tr:hover {
  background: rgba(232,130,12,.04);
}

.pm-table tbody tr:last-child td {
  border-bottom: none;
}

.pm-status {
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  font-size: .74rem;
  font-weight: 700;
  padding: 5px 10px;
  white-space: nowrap;
}

.pm-status-new {
  background: rgba(232,130,12,.14);
  color: #9A4F05;
}

.pm-status-visit {
  background: rgba(37,99,168,.13);
  color: var(--blue-accent);
}

.pm-status-offer {
  background: rgba(251,208,76,.28);
  color: #7A5600;
}

.pm-status-follow {
  background: rgba(190,18,60,.11);
  color: #9F1239;
}

.pm-muted {
  color: var(--text-light);
}

.pm-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pm-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.pm-info-card h3 {
  color: var(--blue-dark);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pm-info-card p {
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.68;
}

.pm-info-card code {
  color: var(--blue-dark);
  font-weight: 600;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: .84rem;
  color: rgba(255,255,255,.60);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a::before {
  content: '›';
  color: var(--orange);
  font-size: 1rem;
  line-height: 1;
}
.footer-links a:hover {
  color: rgba(255,255,255,.92);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copyright { font-size: .8rem; color: rgba(255,255,255,.38); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a {
  font-size: .8rem;
  color: rgba(255,255,255,.38);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,.75); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .cards-grid    { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid  { grid-template-columns: repeat(2, 1fr); }
  .partner-grid  { grid-template-columns: repeat(2, 1fr); }
  .ref-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Topbar: only show right part */
  .topbar-left { display: none; }
  .topbar-center { display: none; }
  .topbar-right { margin: 0 auto; }

  .main-nav, .btn-cta, .version-toggle { display: none; }
  .hamburger { display: flex; }
  .btn-cta.btn-cta-mobile-header {
    display: inline-flex;
    font-size: .76rem;
    padding: 7px 12px;
  }

  .hero { min-height: 88vh; }
  /* Tablet: Buttons + Stats umbrechen in zwei Zeilen */
  .hero-buttons { flex-wrap: wrap; }
  .hero-stats { flex-basis: 100%; border-left: none; padding-left: 0; margin-left: 0; gap: 20px; }

  .partner-intro {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
    gap: 18px;
  }
  .cards-grid     { grid-template-columns: 1fr; }
  .ref-grid       { grid-template-columns: 1fr; }
  .kontakt-grid   { grid-template-columns: 1fr; gap: 36px; }
  .reviews-grid   { grid-template-columns: 1fr; }
  .rating-bar     { flex-direction: column; gap: 24px; padding: 28px 22px; text-align: center; }
  .rating-bar-score { min-width: unset; }
  .rating-row span:first-child { min-width: 28px; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-top     { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .portfolio-hero-content h1 {
    font-size: 1.72rem;
    line-height: 1.18;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .portfolio-hero-sub {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .partner-grid { grid-template-columns: 1fr; }
  .portfolio-hero-content h1 { font-size: 1.52rem; }
  /* Mobile: Buttons gestapelt, Stats 2×2 Grid */
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; flex-basis: auto; border-left: none; padding-left: 0; margin-left: 0; }
}

/* =====================================================================
   ÜBER UNS
   ===================================================================== */
.ueber-uns { padding: 80px 0; background: var(--bg-white); }
.ueber-uns-text p { max-width: 780px; margin: 0 auto 1.2rem; color: var(--text-mid); line-height: 1.8; font-size: 1.05rem; }
.ueber-uns-stats { display: flex; gap: 2rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.ueber-stat { text-align: center; }
.ueber-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--blue-dark); }
.ueber-stat span { font-size: 0.9rem; color: var(--text-mid); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { padding: 80px 0; background: var(--bg-light); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.faq-question { font-weight: 600; font-size: 1.05rem; cursor: pointer; color: var(--blue-dark); list-style: none; display: flex; justify-content: space-between; }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--orange); }
details[open] .faq-question::after { content: '−'; }
.faq-answer { margin-top: 0.8rem; color: var(--text-mid); line-height: 1.75; }

/* =====================================================================
   SANIERUNG PAGE – NEUE KLASSEN
   ===================================================================== */

/* ── Vertrauen-Leiste ── */
.trust-bar {
  background: var(--bg-light);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* ── Einleitungstext ── */
.san-einleitung { background: var(--bg-white); }
.san-einleitung-text {
  max-width: 780px;
  margin: 0 auto;
}
.san-einleitung-text p {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

/* ── Über uns (Sanierung) ── */
.ueber-uns-san { padding: 80px 0; background: var(--bg-light); }
.ueber-uns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .ueber-uns-grid { grid-template-columns: 1fr; }
}
.ueber-uns-text p { color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }

/* Kontaktbox dunkel */
.kontakt-box-dark {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.82);
  font-size: 0.95rem;
}
.kd-item a { color: rgba(255,255,255,.9); transition: color var(--transition); }
.kd-item a:hover { color: var(--orange-light); }

/* ── Vorher-Nachher ── */
.vorher-nachher { padding: 80px 0; background: var(--bg-light); }
.vn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .vn-grid { grid-template-columns: 1fr; }
}
.vn-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.vn-image { position: relative; }
.vn-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.vn-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.vn-label.vorher { background: #666; color: #fff; }
.vn-label.nachher { background: var(--orange); color: #fff; }
.vn-caption {
  text-align: center;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-mid);
  grid-column: 1 / -1;
}

/* ── Leistungsliste 2 Spalten ── */
.san-liste-section { padding: 60px 0; background: var(--bg-white); }
.leistung-liste {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
  margin: 1.5rem auto;
  max-width: 700px;
}
.leistung-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mid);
  font-size: 0.97rem;
}
@media (max-width: 480px) {
  .leistung-liste { grid-template-columns: 1fr; }
}

/* ── Bewertungen (dunkel, Sanierungsseite) ── */
.san-bewertungen { padding: 80px 0; background: var(--blue-dark); color: var(--white); }
.san-bewertungen .section-tag { color: var(--orange); }
.san-bewertungen .section-title { color: var(--white); }
.san-bewertungen .section-desc { color: rgba(255,255,255,.70); }

.rating-overall { text-align: center; margin-bottom: 2.5rem; }
.rating-stars-lg { font-size: 2rem; color: var(--orange); margin-bottom: 0.4rem; }
.rating-number-lg {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  margin: 0.4rem 0;
}
.rating-meta-text { color: rgba(255,255,255,.65); margin-bottom: 0.6rem; font-size: 0.9rem; }
.rating-link-orange {
  color: var(--orange);
  text-decoration: underline;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition);
}
.rating-link-orange:hover { color: var(--orange-light); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 1024px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .review-grid { grid-template-columns: 1fr; } }

.san-review-card {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.san-review-stars {
  color: var(--orange);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.san-review-text {
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.san-review-author {
  color: var(--orange-light);
  font-weight: 600;
  font-size: 0.88rem;
}
.review-disclaimer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
}

/* ── BEG Förderung ────────────────────────────────────────────────────── */
.foerderung { padding: 80px 0; background: #fff8ee; }
.foerderung .section-title { color: var(--blue-dark); }
.foerderung-intro { max-width: 700px; margin: 0 auto 2.5rem;
  text-align: center; color: var(--text-mid); line-height: 1.8; }
.foerderung-grid { display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-bottom: 2.5rem; }
@media (max-width: 768px) {
  .foerderung-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .foerderung-grid { grid-template-columns: 1fr; } }
.foerderung-box { background: var(--bg-white);
  border-radius: var(--radius-md); padding: 1.5rem;
  text-align: center; border: 2px solid var(--orange); }
.foerderung-box-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.foerderung-box-title { font-weight: 800; color: var(--orange);
  font-size: 1.1rem; margin-bottom: 0.5rem; }
.foerderung-box-text { font-size: 0.9rem; color: var(--text-mid);
  line-height: 1.6; }
.foerderung-cta { text-align: center; }

/* ── Netzwerk – Drei Säulen (Modell) ─────────────────────────────────── */
.netzwerk-modell { padding: 80px 0; background: var(--bg-light); }
.modell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (max-width: 768px) { .modell-grid { grid-template-columns: 1fr; } }
.modell-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 4px solid var(--orange);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.modell-card-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.modell-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 0.8rem;
}
.modell-card-text { color: var(--text-mid); line-height: 1.7; font-size: 0.97rem; }

/* ── Netzwerk – Warum wir ─────────────────────────────────────────────── */
.netzwerk-warum {
  padding: 80px 0;
  background: var(--blue-dark);
  color: #fff;
}
.netzwerk-warum .section-tag { color: var(--orange); }
.netzwerk-warum .section-title { color: #fff; }
.warum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px)  { .warum-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .warum-grid { grid-template-columns: 1fr; } }
.warum-item { text-align: center; }
.warum-item-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.warum-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.6rem;
}
.warum-item-text { color: rgba(255,255,255,.75); line-height: 1.7; font-size: 0.93rem; }

/* ── Referenzen – Filter ──────────────────────────────────────────────── */
.ref-filter {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.ref-filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text-mid);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.ref-filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}
.ref-filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 15px rgba(232,136,32,0.35);
}

/* ── Referenzen – Vollkarten-Grid ────────────────────────────────────── */
.ref-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) { .ref-grid-full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .ref-grid-full { grid-template-columns: 1fr; } }
.ref-card-full {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ref-card-full:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ref-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.ref-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ref-card-full:hover .ref-card-img img { transform: scale(1.05); }
.ref-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ref-card-body { padding: 1.4rem; }
.ref-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.ref-card-teaser {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.ref-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}
.ref-card-link:hover { text-decoration: underline; }

/* ── Referenzen – Fakten (Zahlen) ────────────────────────────────────── */
.ref-fakten { padding: 80px 0; background: var(--blue-dark); }
.ref-fakten .section-tag { color: var(--orange); }
.ref-fakten .section-title { color: #fff; }
.fakten-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  text-align: center;
}
@media (max-width: 768px) { .fakten-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fakten-grid { grid-template-columns: 1fr; } }
.fakten-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.fakten-label { color: rgba(255,255,255,.75); font-size: 0.95rem; }

/* ── Referenzen – CTA-Section ────────────────────────────────────────── */
.ref-cta-section {
  padding: 80px 0;
  background: var(--orange);
  text-align: center;
}
.ref-cta-section .section-title { color: #fff; }
.ref-cta-section p {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}
.ref-cta-section .btn-white {
  background: #fff;
  color: var(--orange);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  margin: 0.5rem;
  display: inline-block;
  transition: opacity 0.2s;
}
.ref-cta-section .btn-white:hover { opacity: 0.9; }
.ref-cta-section .btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  margin: 0.5rem;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.ref-cta-section .btn-outline-white:hover { background: #fff; color: var(--orange); }

/* ── Legal Pages (Impressum, Datenschutz) ────────────────────────────── */
.legal-page {
  padding: 72px 0 100px;
  background: var(--bg-light);
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Seitenheader */
.legal-header {
  background: var(--blue-dark);
  padding: 60px 0 48px;
  margin-bottom: 0;
}
.legal-header .container { max-width: 800px; }
.legal-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
  line-height: 1.1;
}
.legal-subtitle {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0.5rem;
}

/* Blöcke als Karten */
.legal-block {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem 2.2rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--orange);
}
.legal-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.legal-block h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 1.6rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}
.legal-block h3:first-child { margin-top: 0; }
.legal-block p {
  color: var(--text-mid);
  line-height: 1.85;
  font-size: 0.93rem;
}
.legal-block p + p {
  margin-top: 0.9rem;
}
.legal-block ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-top: 0.6rem;
}
.legal-block ul li {
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.legal-block a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
}
.legal-block a:hover {
  text-decoration: underline;
}

/* Zurück-Link */
.legal-back {
  margin-top: 2rem;
  text-align: center;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.btn-back:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ══════════════════════════════════════════════════════════════
   PORTFOLIO / REFERENZ-UNTERSEITEN
   (gilt für alle portfolio/*/index.html)
   ══════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  background: var(--bg-light);
  border-bottom: 1px solid rgba(0,0,0,.15);
  padding: 16px 0;
}
.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.875rem;
}
.breadcrumb-list li:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: var(--text-light);
}
.breadcrumb-list a {
  color: var(--orange);
  text-decoration: none;
}
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list li:last-child { color: var(--text-mid); }

/* ── Kompakter Hero ─────────────────────────────────────────── */
.portfolio-hero {
  position: relative;
  height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.portfolio-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.portfolio-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,27,46,0.85) 0%,
    rgba(13,27,46,0.30) 60%,
    transparent 100%
  );
}
.portfolio-hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0;
  width: 100%;
}
.portfolio-hero-content .hero-badge { margin-bottom: 1rem; }
.portfolio-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.portfolio-hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.portfolio-hero-date {
  color: var(--orange-light);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Projekt-Info-Leiste ────────────────────────────────────── */
.projekt-info-bar {
  background: var(--blue-dark);
  padding: 1.2rem 0;
}
.projekt-info-bar-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.projekt-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.projekt-info-item strong { color: #fff; }

/* ── Projekt-Beschreibung ───────────────────────────────────── */
.projekt-content {
  padding: 60px 0;
  background: var(--bg-white);
}
.projekt-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .projekt-grid { grid-template-columns: 1fr; }
}
.projekt-text h2 {
  font-size: 1.6rem;
  color: var(--blue-dark);
  margin-bottom: 1.2rem;
}
.projekt-text h3 {
  font-size: 1.1rem;
  color: var(--blue-dark);
  margin: 1.8rem 0 0.8rem;
}
.projekt-text p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.projekt-text ul {
  list-style: none;
  margin-bottom: 1rem;
}
.projekt-text ul li {
  color: var(--text-mid);
  padding: 0.3rem 0;
  line-height: 1.65;
}

/* ── Sidebar-Card ───────────────────────────────────────────── */
.projekt-sidebar-card {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  color: #fff;
  position: sticky;
  top: 100px;
}
.projekt-sidebar-card h3 {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.projekt-sidebar-item {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  gap: 1rem;
}
.projekt-sidebar-item:last-of-type { border-bottom: none; }
.projekt-sidebar-label { color: rgba(255,255,255,0.55); }
.projekt-sidebar-value { color: #fff; font-weight: 600; text-align: right; }
.projekt-sidebar-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 1.2rem 0 1rem;
}
.projekt-sidebar-cta-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}
.projekt-sidebar-btn {
  display: block;
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}
.projekt-sidebar-btn:hover { opacity: 0.88; }

/* ── Bildergalerie ──────────────────────────────────────────── */
.projekt-galerie {
  padding: 60px 0;
  background: var(--bg-light);
}
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 2.5rem;
}
@media (max-width: 1024px) {
  .galerie-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
}
.galerie-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  background: var(--blue-mid);
}
.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}
.galerie-item:hover img { transform: scale(1.07); }
.galerie-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,27,46,0.45);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 1.6rem;
}
.galerie-item:hover::after { opacity: 1; }

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  background: rgba(255,255,255,0.12);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  background: rgba(0,0,0,0.4);
  padding: 4px 14px;
  border-radius: 20px;
}

/* ── Projekt-Navigation ─────────────────────────────────────── */
.projekt-nav-wrap {
  padding: 40px 0;
  background: var(--bg-light);
}
.projekt-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.projekt-nav a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.projekt-nav a:hover { text-decoration: underline; }
.projekt-nav-ref {
  color: var(--text-mid);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  transition: border-color 0.2s, color 0.2s;
}
.projekt-nav-ref:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ── Qualitätsstufen-Cards (Trockenbau) ─────────────────────── */
.qualitaet-section {
  padding: 60px 0;
  background: var(--bg-light);
}
.qualitaet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .qualitaet-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .qualitaet-grid { grid-template-columns: 1fr; }
}
.qualitaet-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border-left: 4px solid var(--orange);
  box-shadow: var(--shadow-sm);
}
.qualitaet-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}
.qualitaet-text {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.qualitaet-hint {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  text-align: center;
}

/* ── Galerie-Variante: 4/3 Seitenverhältnis ─────────────────── */
.galerie-grid.galerie-wide .galerie-item {
  aspect-ratio: 4 / 3;
}

/* ── Zweilspaltige Leistungs-Liste ──────────────────────────── */
.leistung-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 2rem;
  margin-bottom: 1rem;
}
.leistung-2col li { color: var(--text-mid); font-size: 0.93rem; line-height: 1.6; }
@media (max-width: 600px) { .leistung-2col { grid-template-columns: 1fr; } }

/* ── Galerie-Einleitung + Hinweis ───────────────────────────── */
.galerie-intro {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 1rem 0 1.5rem;
}
.galerie-hint {
  margin-top: 1.2rem;
  font-size: 0.875rem;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
}

/* ── Sidebar extra Button ───────────────────────────────────── */
.projekt-sidebar-btn-ghost {
  display: block;
  background: transparent;
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.25);
  margin-top: 0.75rem;
  transition: background 0.2s, color 0.2s;
}
.projekt-sidebar-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ── Förder-Highlight-Box ───────────────────────────────────── */
.foerder-highlight {
  background: linear-gradient(135deg, var(--orange) 0%, #f59e0b 100%);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  color: #fff;
}
.foerder-highlight-icon { font-size: 2.5rem; flex-shrink: 0; }
.foerder-highlight-text { flex: 1; min-width: 200px; }
.foerder-highlight-text strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.4rem;
}
.foerder-highlight-text p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.5;
}
.foerder-highlight-btn {
  background: #fff;
  color: var(--orange);
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.foerder-highlight-btn:hover { opacity: 0.88; }

/* ── Portfolio FAQ (Accordion) ──────────────────────────────── */
.portfolio-faq {
  padding: 60px 0;
  background: var(--bg-white);
}
.portfolio-faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.portfolio-faq summary {
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--blue-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.portfolio-faq summary::-webkit-details-marker { display: none; }
.portfolio-faq summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.portfolio-faq details[open] summary::after { content: '−'; }
.portfolio-faq details[open] { border-color: var(--orange); }
.portfolio-faq .faq-body {
  padding: 0 1.4rem 1.2rem;
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ── Gewerke-Übersicht ──────────────────────────────────────── */
.gewerke-section {
  padding: 60px 0;
  background: var(--bg-light);
}
.gewerke-intro {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 1rem 0 0;
}
.gewerke-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 2.5rem;
  margin-top: 1.8rem;
  max-width: 780px;
}
@media (max-width: 640px) {
  .gewerke-grid { grid-template-columns: 1fr; }
}
.gewerke-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-mid);
  font-size: 0.93rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

/* ── Ablauf-Timeline ────────────────────────────────────────── */
.ablauf-section {
  padding: 60px 0;
  background: var(--bg-white);
}
.timeline {
  position: relative;
  padding-left: 3rem;
  margin-top: 2.5rem;
  max-width: 680px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.2rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--orange);
}
.timeline-step {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
  font-family: 'Outfit', sans-serif;
}
.timeline-text {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── Vorteile-Grid (Altbausanierung) ────────────────────────────── */
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .vorteile-grid { grid-template-columns: 1fr; }
}
.vorteil-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--orange);
}
.vorteil-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.vorteil-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 0.6rem;
}
.vorteil-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── vn-section Intro & Galerie-Wide ────────────────────────────── */
.vn-section { padding: 60px 0; }
.vn-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.7;
}
.galerie-item--wide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ── Zustand-Box (Ausgangszustand / Schäden) ────────────────────── */
.zustand-box {
  background: #fff8f0;
  border-left: 5px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 0 0 2rem;
}
.zustand-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}
.zustand-box ul {
  list-style: none;
  margin-bottom: 1rem;
}
.zustand-box ul li {
  color: var(--text-mid);
  padding: 0.25rem 0 0.25rem 1.2rem;
  position: relative;
  font-size: 0.95rem;
}
.zustand-box ul li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #e53e3e;
  font-weight: 700;
}
.zustand-box p {
  font-size: 0.875rem;
  color: var(--text-mid);
  font-style: italic;
  margin: 0;
}

/* ── Galerie 2×2 Grid ───────────────────────────────────────────── */
.galerie-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 640px) {
  .galerie-grid-2x2 { grid-template-columns: 1fr; }
}
.galerie-grid-2x2 .galerie-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* ── Info-Highlight-Box blau ────────────────────────────────────── */
.info-highlight-blue {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  color: #fff;
}
.info-highlight-blue h3 {
  color: var(--orange);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.info-highlight-blue ul {
  list-style: none;
  margin-bottom: 1.2rem;
}
.info-highlight-blue li {
  color: rgba(255,255,255,0.9);
  padding: 0.3rem 0;
  font-size: 0.9rem;
}

/* ── Planungs-Grid (3 Spalten) ──────────────────────────────────── */
.planung-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .planung-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .planung-grid { grid-template-columns: 1fr; }
}

/* ── Galerie 5-Spalten Grid ─────────────────────────────────────── */
.galerie-grid-5col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 1024px) {
  .galerie-grid-5col { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .galerie-grid-5col { grid-template-columns: repeat(2, 1fr); }
}
.galerie-grid-5col .galerie-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

/* ── Galerie 3-Spalten Modifier ─────────────────────────────────── */
.galerie-grid.galerie-grid-3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .galerie-grid.galerie-grid-3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .galerie-grid.galerie-grid-3col { grid-template-columns: 1fr; }
}

/* ── Galerie 4-Spalten Grid ─────────────────────────────────────── */
.galerie-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 1.5rem;
}
@media (max-width: 1024px) {
  .galerie-grid-4col { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .galerie-grid-4col { grid-template-columns: repeat(2, 1fr); }
}
.galerie-grid-4col .galerie-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

/* ── CTA Section Dark ───────────────────────────────────────────── */
.cta-section-dark {
  background: var(--blue-dark);
  padding: 4rem 2rem;
  text-align: center;
}

/* ── CTA Buttons Row ────────────────────────────────────────────── */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CTA Outline Button ─────────────────────────────────────────── */
.btn-cta-outline {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 2px solid #fff;
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-cta-outline:hover {
  background: #fff;
  color: var(--blue-dark);
}

/* ── Klaro Cookie Consent – Orange Theme ────────────────────────────────── */
.klaro .cm-btn-success,
.klaro .cm-btn-accept-all,
.klaro .cm-btn-accept {
  background-color: #e36c09 !important;
  border-color: #e36c09 !important;
}
.klaro .cm-btn-success:hover,
.klaro .cm-btn-accept-all:hover,
.klaro .cm-btn-accept:hover {
  background-color: #c45c07 !important;
  border-color: #c45c07 !important;
}
.klaro .cookie-notice {
  bottom: 0 !important;
  top: auto !important;
}
@media (max-width: 768px) {
  .klaro .cookie-notice {
    bottom: 80px !important;
  }
}

/* ── WhatsApp Sticky Button ─────────────────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #fff;
  color: #111;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #fff;
}
.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
}
@media (max-width: 768px) {
  .whatsapp-btn {
    width: 55px;
    height: 55px;
    right: 15px;
    bottom: 15px;
  }
}

@media (max-width: 1024px) {
  .pm-metric-grid,
  .pm-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pm-hero {
    padding: 58px 0 42px;
  }

  .pm-hero h1 {
    font-size: 2.25rem;
  }

  .pm-dashboard {
    padding: 44px 0 64px;
  }

  .pm-metric-grid,
  .pm-info-grid {
    grid-template-columns: 1fr;
  }

  .pm-table th,
  .pm-table td {
    padding: 13px 14px;
  }
}
