/* =============================================
   BÖHLE HAUSHALTSTECHNIK – MAIN STYLESHEET
   ============================================= */

:root {
  --blue: #1a1a7e;
  --blue-dark: #1e3a8a;
  --blue-light: #3333cc;
  --dark: #0d1b3e;
  --dark-2: #152a5a;
  --dark-3: #1e3a8a;
  --mid: #4a5568;
  --light: #f0f4f8;
  --lighter: #f8fafc;
  --white: #ffffff;
  --text: #2d3748;
  --text-light: #6b7280;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

/* ── Global list reset ── */
ul, ol { list-style: none; margin: 0; padding: 0; }



body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

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

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

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: white;
  z-index: 9999;
  padding: 1rem 1.5rem;
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(100%); }
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.cookie-content p { font-size: 0.9rem; }
.cookie-content a { color: var(--blue-light); }
.btn-cookie {
  background: var(--blue);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
}
.btn-cookie:hover { background: var(--blue-dark); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  
  -webkit-
  border-bottom: 2px solid #1a1a7e;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(26,26,126,0.1); }
.site-header { box-shadow: 0 1px 4px rgba(0,0,0,0.06); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  height: 90px;
}

/* Nav-Links rechts, Logo links */
.header-inner .main-nav {
  margin-left: auto;
}
.header-inner .logo {
  order: 0;
  margin-left: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--dark) !important;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
  padding-left: 0;
}
.logo em { color: var(--blue); font-style: normal; }

/* Logo image */
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-left: 0;
}


.main-nav { display: flex; align-items: center; gap: 0.5rem; }
.main-nav ul { display: flex; list-style: none; gap: 0.25rem; }
.main-nav ul li { position: relative; }
.main-nav ul li a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: #1a1a2e;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--blue);
  background: rgba(26,26,126,0.08);
}

/* Dropdown – CSS-only hover with smooth fade/slide */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(26,26,126,0.13);
  min-width: 220px;
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0.5rem;
  z-index: 200;
  /* hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* Small triangle pointer */
.dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 18px;
  width: 12px;
  height: 6px;
  background: white;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-top: 1px solid var(--border);
}
.dropdown li a {
  display: block;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.88rem !important;
  border-radius: 8px;
  color: var(--text) !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.dropdown li a:hover {
  background: rgba(26,26,126,0.07);
  color: var(--blue) !important;
}
/* Add subtle chevron indicator to Leistungen link */
.has-dropdown > a::after {
  content: " ▾";
  font-size: 0.7em;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.has-dropdown:hover > a::after {
  opacity: 1;
}

.nav-notdienst-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue) !important;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  margin-left: 0.75rem;
  padding: 0.5rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.nav-notdienst-link:hover {
  color: var(--blue-dark) !important;
  border-bottom-color: var(--blue);
}

/* Instagram icon in nav */
.nav-instagram-link {
  display: flex;
  align-items: center;
  color: var(--blue);
  margin-left: 0.5rem;
  padding: 0.4rem;
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
}
.nav-instagram-link:hover {
  color: #e1306c;
  background: rgba(225,48,108,0.08);
  transform: scale(1.1);
}
/* Mobile */
@media (max-width: 768px) {
  .nav-instagram-link {
    margin-left: 0;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a7e;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,126,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: white;
}

.btn-full { width: 100%; justify-content: center; }

/* =============================================
   HERO BANNER (Kletti-style)
   ============================================= */
.hero-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 72px;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Video-Hintergrund */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Fallback-Foto wenn Video nicht abspielbar */
.hero-slide-fallback {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(5, 15, 40, 0.72) 0%,
    rgba(5, 15, 40, 0.45) 55%,
    rgba(5, 15, 40, 0.30) 100%
  );
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 1.5rem 40px;
  width: 100%;
  gap: 3rem;
}

.hero-banner-text {
  max-width: 680px;
  animation: fadeUp 0.8s ease both;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-banner-text h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.0;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-banner-text h1 span {
  color: #60a5fa;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.7);
}

/* Hero Tiles */
.hero-tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  animation: fadeUp 0.9s ease 0.2s both;
}

.hero-tile {
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  text-align: center;
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.hero-tile::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--clr-accent, #e63124);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 0;
}

.hero-tile:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  color: white;
}

.hero-tile:hover::before {
  transform: scaleX(1);
}

.hero-tile--wide {
  grid-column: span 1;
}

.tile-icon { display: none; }
.tile-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.35;
  text-align: center;
  width: 100%;
}
.tile-arrow {
  font-size: 0.7rem;
  color: #60a5fa;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}
.hero-tile:hover .tile-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Notdienst bar */
.hero-notdienst-bar {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.hero-notdienst-bar strong { color: white; }
.hero-notdienst-bar a {
  color: #60a5fa;
  font-weight: 800;
  font-size: 1.05rem;
}

/* =============================================
   WELCOME SECTION
   ============================================= */
.welcome-section { background: var(--lighter); padding: 130px 0; }

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.welcome-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.welcome-text p {
  color: var(--text-light);
  line-height: 1.75;
}

.welcome-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pillar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.pillar-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.pillar-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.pillar-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.pillar-card p { font-size: 0.85rem; color: var(--text-light); }

/* =============================================
   LEISTUNGEN KACHELN
   ============================================= */
.kacheln-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.kachel {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.kachel::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--blue);
  transform: scaleY(0);
  transition: transform 0.25s ease;
  border-radius: 0 4px 4px 0;
}

.kachel:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(26,26,126,0.12);
  transform: translateY(-4px);
  color: var(--text);
}
.kachel:hover::after { transform: scaleY(1); }

.kachel--accent {
  background: var(--dark);
  border-color: var(--blue);
}
.kachel--accent .kachel-body h3 { color: white; }
.kachel--accent .kachel-body p { color: rgba(255,255,255,0.6); }
.kachel--accent .kachel-link { color: #60a5fa; }

.kachel--wide {
  grid-column: span 3;
}

.kachel-icon-wrap {
  font-size: 2.5rem;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(26,26,126,0.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kachel--accent .kachel-icon-wrap {
  background: rgba(255,255,255,0.1);
}

.kachel-body h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.kachel-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.kachel-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  display: inline-block;
}
.kachel:hover .kachel-link { text-decoration: underline; }

/* =============================================
   NOTDIENST BANNER
   ============================================= */
.notdienst-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 90px 0;
}

.ndb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.ndb-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: white;
  margin-bottom: 0.4rem;
}
.ndb-text p { color: rgba(255,255,255,0.75); font-size: 1rem; }
.ndb-text strong { color: white; }

.ndb-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ndb-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  transition: all var(--transition);
}
.ndb-phone:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.ndb-phone-icon { font-size: 1.5rem; }
.ndb-phone small { display: block; font-size: 0.75rem; color: var(--text-light); }
.ndb-phone strong { display: block; font-size: 1.2rem; font-weight: 800; color: var(--blue); }

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.4);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: white;
}

/* =============================================
   ÜBER UNS TEASER
   ============================================= */
.ueber-teaser { background: var(--lighter); padding: 130px 0; }

.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: center;
}

.ueber-stats-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.ustat {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.ustat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.ustat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ueber-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin: 0.75rem 0 1rem;
  letter-spacing: -0.01em;
}
.ueber-content p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.75; }

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--blue);
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--blue);
  text-decoration: none;
  transition: all var(--transition);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: white;
}

/* =============================================
   REFERENZEN STRIP
   ============================================= */
.referenzen-strip {
  background: linear-gradient(135deg, #0d1b3e 0%, var(--blue) 100%);
  padding: 100px 0;
}

.ref-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 0.5rem;
}

.ref-strip-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.ref-strip-item:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.ref-strip-item p {
  text-decoration: none !important;
}
.ref-strip-item span { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.ref-strip-item p { font-size: 0.8rem; color: rgba(255,255,255,0.75); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin: 0; }

/* =============================================
   LEISTUNGEN GRID
   ============================================= */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.leistung-card {
  display: block;
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--text);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.leistung-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--blue);
  border-radius: 0 0 4px 0;
  transition: height 0.3s ease;
}
.leistung-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--text);
}
.leistung-card:hover::before { height: 100%; }
.lk-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.leistung-card h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.leistung-card p { font-size: 0.9rem; color: var(--text-light); }
.lk-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  color: var(--blue);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
}
.leistung-card:hover .lk-arrow { opacity: 1; transform: translateX(0); }

.lk-highlight {
  background: var(--blue-dark);
  border-color: var(--blue);
}
.lk-highlight h3 { color: white; }
.lk-highlight p { color: rgba(255,255,255,0.6); }

/* =============================================
   KONTAKT SECTION
   ============================================= */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.kontakt-form-wrap h3,
.kontakt-info-wrap h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,26,126,0.1);
}
.form-group textarea { resize: vertical; }

.form-check { flex-direction: row !important; align-items: flex-start; gap: 0.75rem; }
.form-check input { width: auto; flex-shrink: 0; margin-top: 0.2rem; }
.form-check label { font-weight: 400; font-size: 0.85rem; color: var(--text-light); }

.form-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #16a34a;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
}
.form-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
}

/* Contact Details */
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.cd-item { display: flex; gap: 1rem; align-items: flex-start; }
.cd-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(26,26,126,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cd-item strong { display: block; font-size: 0.88rem; color: var(--text-light); margin-bottom: 0.2rem; }
.cd-item div { font-size: 0.92rem; }
.cd-item a { color: var(--blue); font-weight: 600; }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 90px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-name { color: white; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; color: rgba(255,255,255,0.65); }
.footer-notdienst {
  display: inline-block;
  background: var(--blue);
  color: white !important;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}
.footer-links h4 { color: white; font-family: var(--font-head); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links ul li a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color var(--transition); }
.footer-links ul li a:hover { color: var(--blue-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.82rem;
}


/* =============================================
   PAGE HERO
   ============================================= */
.page-hero {
  background: #1a1a7e;
  padding: 155px 0 60px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 560px; }
/* =============================================
   LEISTUNGEN QUICKNAV
   ============================================= */
.leistungen-quicknav {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 90px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(26,26,126,0.06);
}
.leistungen-quicknav .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.leistungen-quicknav .container::-webkit-scrollbar { display: none; }
.leistungen-quicknav a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}
.leistungen-quicknav a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: rgba(26,26,126,0.03);
}

/* =============================================
   LEISTUNG DETAIL ROWS
   ============================================= */
.ld-section {
  padding: 110px 0;
}
.ld-section--alt {
  background: var(--lighter);
}

.ld-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.ld-row--reverse {
  direction: rtl;
}
.ld-row--reverse > * {
  direction: ltr;
}

/* Image side */
.ld-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.ld-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-color: #111;
}
.ld-img-box:hover {
  transform: scale(1.02);
  box-shadow: 0 28px 72px rgba(0,0,0,0.30);
}
.ld-img-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
  background-image: inherit;
}
.ld-img-heizung  {
  background-image: url('img-heizung.jpg');
  background-size: cover;
  background-position: center;
}
.ld-img-heizung  {
  background-image: url('img-heizung.jpg');
  background-size: cover;
  background-position: center top;
}
.ld-img-lueftung {
  background-image: url('img-lueftung.jpg');
  background-size: cover;
  background-position: center;
}
.ld-img-sanitaer {
  background-image: url('img-sanitaer.jpg');
  background-size: cover;
  background-position: center;
}
.ld-img-klima {
  background-image: url('img-klima.jpg');
  background-size: cover;
  background-position: center;
}
.ld-img-elektro {
  background-image: url('img-elektro.jpg');
  background-size: cover;
  background-position: center;
}
.ld-img-erneuerbar {
  background-image: url('img-erneuerbar.jpg');
  background-size: cover;
  background-position: right center;
}

/* Subheadings within leistungen content */
.ld-subheading {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-accent, #e63124);
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

/* Dark overlay for readability */
.ld-img-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.20) 60%,
    rgba(0,0,0,0.45) 100%
  );
  z-index: 1;
}

/* Label badge bottom-left */
.ld-img-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
}

/* Hide emoji icons */
.ld-img-icon {
  display: none;
}

/* Content side */
.ld-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ld-number {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(26,26,126,0.08);
  line-height: 1;
  margin-bottom: -0.5rem;
}
.ld-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.ld-content p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.ld-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2rem;
}
.ld-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text);
}
.ld-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* Single full-width image gallery */
.ref-gallery-single {
  width: 100%;
  height: 100%;
  overflow: hidden;
  min-height: 320px;
}
.ref-gallery-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.ref-projekt-card:hover .ref-gallery-single img {
  transform: scale(1.03);
}

/* Duo gallery (2 equal images side by side) */
.ref-projekt-gallery--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.ref-duo-img {
  overflow: hidden;
  position: relative;
}
.ref-duo-img:first-child {
  border-right: 1px solid var(--border);
}
.ref-duo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  min-height: 320px;
}
.ref-duo-img:hover img {
  transform: scale(1.04);
}

/* Responsive */
@media (max-width: 900px) {
  .ld-row, .ld-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
  .ld-img-box { aspect-ratio: 16/7; }
  .ld-number { font-size: 2.5rem; }
}

/* =============================================
   REFERENZEN – KATEGORIE + PROJEKT
   ============================================= */
.ref-kategorie-section {
  background: var(--lighter);
  padding: 110px 0;
  overflow: hidden;
}
.ref-kategorie-section + section {
  padding-top: 0 !important;
}

.ref-kategorie-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid var(--border);
}
.ref-kat-icon {
  font-size: 3rem;
  width: 72px;
  height: 72px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.ref-kategorie-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.ref-kategorie-header p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Project card */
.ref-projekt-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  margin-top: 1rem;
}

.ref-projekt-info {
  padding: 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--dark);
}

.ref-projekt-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  width: fit-content;
}

.ref-projekt-info h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.25;
}

.ref-projekt-meta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
}

.ref-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.ref-meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.45);
}
.ref-meta-item span:last-child {
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
}

/* Gallery side */
.ref-projekt-gallery {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ref-gallery-main {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 320px;
}
.ref-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.3s ease;
}

.ref-gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.ref-thumb {
  overflow: hidden;
  aspect-ratio: 16/7;
  cursor: pointer;
  position: relative;
}
.ref-thumb:first-child {
  border-right: 1px solid var(--border);
}
.ref-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.75;
}
.ref-thumb:hover img {
  transform: scale(1.06);
  opacity: 1;
}
.ref-thumb::after {
  content: '↑ Ansicht';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.ref-thumb:hover::after { opacity: 1; }


/* Trio gallery: large main image + 2 thumbs below */
.ref-projekt-gallery--trio {
  display: flex;
  flex-direction: column;
}
.ref-trio-main {
  flex: 1;
  overflow: hidden;
  min-height: 280px;
}
.ref-trio-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.3s ease;
}
.ref-trio-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
}
.ref-trio-thumbs .ref-thumb:first-child {
  border-right: 1px solid var(--border);
}

/* Single gallery variant */
.ref-projekt-gallery--single {
  display: flex;
}
.ref-projekt-gallery--single .ref-gallery-single {
  flex: 1;
  min-height: 320px;
}

/* Responsive */
@media (max-width: 900px) {
  .ref-projekt-card {
    grid-template-columns: 1fr;
  }
  .ref-projekt-info {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .ref-gallery-main { min-height: 240px; }
}

/* =============================================
   ÜBER UNS PAGE – TEAM
   ============================================= */

/* Section label row */
.team-section { background: var(--lighter); padding: 90px 0 130px; }

/* Team Table Styles */
.team-table-wrapper { margin-top: 2.5rem; }

.team-table-group {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 2.5rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--blue);
}
.team-table-group:first-child { margin-top: 0; }

.team-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.25rem;
  table-layout: fixed;
}
.team-table .team-name  { width: 20%; }
.team-table .team-role  { width: 35%; }
.team-table .team-phone { width: 20%; }
.team-table .team-email { width: 25%; }
.team-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: background 0.18s;
}
.team-table tr:hover { background: rgba(0,90,170,0.04); }
.team-table td {
  padding: 0.75rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-table .team-name {
  font-weight: 600;
  color: var(--dark);
}
.team-table .team-role {
  color: #555;
}
.team-table .team-phone a,
.team-table .team-email a {
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.team-table .team-phone a:hover,
.team-table .team-email a:hover {
  text-decoration: underline;
  color: var(--blue-dark);
}
@media (max-width: 700px) {
  .team-table,
  .team-table tbody,
  .team-table tr,
  .team-table td { display: block; width: 100%; }
  .team-table tr { padding: 0.6rem 0; border-bottom: 1px solid rgba(0,0,0,0.1); }
  .team-table td { padding: 0.15rem 0.5rem; }
  .team-table .team-name { font-size: 1rem; }
}

.team-gf-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.team-gf-label span {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(26,26,126,0.07);
  border: 1px solid rgba(26,26,126,0.15);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  white-space: nowrap;
}
.team-gf-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Geschäftsführer cards with photos */
.team-gf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 1rem;
}
.team-gf-grid--three {
  grid-template-columns: 1fr 1fr 1fr;
}

.team-gf-card {
  background: #f8f9fb;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}
.team-gf-card:hover {
  box-shadow: 0 12px 40px rgba(26,26,126,0.14);
  transform: translateY(-4px);
  border-color: rgba(26,26,126,0.25);
}

.team-gf-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: white;
}
.team-gf-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.team-gf-card:hover .team-gf-photo img {
  transform: scale(1.04);
}

.team-gf-info {
  padding: 1.5rem;
  border-top: 3px solid var(--blue);
}
.team-gf-info h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.team-gf-role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 0.15rem;
}
.team-gf-sub {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-style: italic;
}
.team-gf-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.team-gf-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.team-gf-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition);
}
.team-gf-contact a:hover { color: var(--blue-dark); text-decoration: underline; }
.team-gf-contact a span { font-size: 1rem; }

/* Role cards (rest of team) */
.team-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.team-role-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.team-role-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.team-role-icon {
  font-size: 2.2rem;
  margin-bottom: 0.85rem;
  display: block;
}
.team-role-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.team-role-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1100px) {
  .team-gf-grid--three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .team-gf-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .team-roles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .team-gf-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .team-roles-grid { grid-template-columns: 1fr 1fr; }
}


/* Extra bottom padding for Unternehmen section above team */
.ueber-uns-unternehmen { padding-bottom: 140px !important; }


/* =============================================
   ÜBER UNS – REDESIGNED UNTERNEHMEN SECTION
   ============================================= */

.about-redesign { background: white; overflow: hidden; }
.ueber-uns-unternehmen.about-redesign { padding-bottom: 160px !important; }

/* ── Headline block ── */
.about-headline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.about-century-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(26,26,126,0.25);
  position: relative;
}
.about-century-badge::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(26,26,126,0.2);
}
.badge-year {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.badge-text {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  line-height: 1.3;
}

.about-headline-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin: 0.75rem 0 1.25rem;
  letter-spacing: -0.02em;
}
.about-headline-text h2 em {
  color: var(--blue);
  font-style: normal;
}
.about-lead {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 640px;
}

/* ── Timeline ── */
.about-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 5rem;
  position: relative;
}
.about-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, rgba(26,26,126,0.2) 100%);
  z-index: 0;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.tl-year {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--blue);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.tl-dot--active {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(26,26,126,0.15);
  width: 22px;
  height: 22px;
}

.tl-content h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.tl-content p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── Vertikale Timeline mit Fotos ── */
.about-timeline-v {
  position: relative;
  margin-bottom: 5rem;
}
.about-timeline-v::before {
  content: '';
  position: absolute;
  left: 90px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(26,26,126,0.15) 100%);
}
.tlv-item {
  display: flex;
  gap: 0;
  margin-bottom: 4rem;
  position: relative;
}
.tlv-item:last-child { margin-bottom: 0; }
.tlv-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100px;
  flex-shrink: 0;
  padding-top: 0.15rem;
  gap: 0.5rem;
}
.tlv-year {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
  padding-right: 0.6rem;
}
.tlv-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 2.5px solid var(--blue);
  flex-shrink: 0;
  margin-right: -8px;
  margin-top: 0.1rem;
  position: relative;
  z-index: 2;
}
.tlv-dot--active {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(26,26,126,0.15);
  width: 18px;
  height: 18px;
  margin-right: -10px;
}
.tlv-body {
  padding-left: 2.5rem;
  flex: 1;
}
.tlv-body h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
  margin-top: 0;
}
.tlv-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 1.25rem;
}
.tlv-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 560px;
}
.tlv-photos--single {
  grid-template-columns: 1fr;
  max-width: 420px;
}
.tlv-photos img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  filter: grayscale(20%);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.tlv-photos--single img {
  aspect-ratio: 16/10;
}
.tlv-photos img:hover {
  filter: grayscale(0%);
  transform: scale(1.015);
}
.tlv-item--active .tlv-body h4 { color: var(--blue); }
@media (max-width: 640px) {
  .about-timeline-v::before { left: 60px; }
  .tlv-meta { width: 70px; }
  .tlv-year { font-size: 0.65rem; }
  .tlv-body { padding-left: 1.5rem; }
  .tlv-photos { grid-template-columns: 1fr; }
  .tlv-photos--single { max-width: 100%; }
}

/* ── Pillars ── */
.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.about-pillar {
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.about-pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.about-pillar:hover {
  border-color: rgba(26,26,126,0.2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.about-pillar:hover::before { transform: scaleX(1); }

.pillar-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(26,26,126,0.08);
  line-height: 1;
  margin-bottom: -0.25rem;
}
.about-pillar h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.about-pillar p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Stats Strip ── */
.about-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  gap: 0;
}

.ast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}
.ast-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}
.ast-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.65);
}
.ast-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin: 0 2rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-pillars { grid-template-columns: repeat(2, 1fr); }
  .about-timeline { grid-template-columns: 1fr; gap: 2rem; }
  .about-timeline::before { display: none; }
  .timeline-item { align-items: flex-start; text-align: left; flex-direction: row; gap: 1.25rem; padding: 0; }
  .tl-dot { margin-top: 0.35rem; margin-bottom: 0; flex-shrink: 0; }
}
@media (max-width: 768px) {
  .about-headline { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .about-century-badge { margin: 0 auto; }
  .about-lead { margin: 0 auto; }
  .about-stats-strip { flex-wrap: wrap; gap: 1.5rem; padding: 2rem 1.5rem; }
  .ast-divider { display: none; }
  .about-pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .about-pillars { grid-template-columns: 1fr; }
}

/* =============================================
   TEAM STAFF GRID (5-column photo cards)
   ============================================= */
.team-staff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.team-staff-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 560px;
}

.team-staff-card {
  background: #f8f9fb;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.team-staff-card:hover {
  box-shadow: 0 10px 32px rgba(26,26,126,0.13);
  transform: translateY(-4px);
  border-color: rgba(26,26,126,0.2);
}

.team-staff-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: white;
}
.team-staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.team-staff-card:hover .team-staff-photo img {
  transform: scale(1.05);
}

.team-staff-info {
  padding: 1rem 1rem 1.1rem;
  border-top: 3px solid var(--blue);
  text-align: center;
}
.team-staff-info h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.team-staff-role {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.team-staff-contact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  text-align: left;
}
.team-staff-contact a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition);
}
.team-staff-contact a:hover { color: var(--blue-dark); text-decoration: underline; }
.team-staff-contact a span { font-size: 0.85rem; flex-shrink: 0; }

@media (max-width: 1024px) {
  .team-staff-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .team-staff-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   REFERENZEN PAGE
   ============================================= */
.ref-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.ref-detail-card {
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.ref-detail-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.rdc-header {
  background: var(--dark);
  padding: 2rem;
  text-align: center;
  font-size: 3rem;
}
.rdc-body { padding: 1.5rem; }
.rdc-body h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.rdc-body p { font-size: 0.88rem; color: var(--text-light); }

/* =============================================
   KONTAKT PAGE
   ============================================= */
.kontakt-page-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* =============================================
   IMPRESSUM / DATENSCHUTZ
   ============================================= */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.legal-content h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 0.75rem;
}
.legal-content h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.5rem 0 0.5rem;
}
.legal-content p { margin-bottom: 1rem; color: var(--text); }
.legal-content ul { margin: 0 0 1rem 1.5rem; color: var(--text); }
.legal-content li { margin-bottom: 0.3rem; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .leistung-detail-inner { grid-template-columns: 1fr; gap: 2rem; }
  .leistung-detail-inner.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .hero-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-tile--wide { grid-column: span 1; }
  .welcome-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ueber-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .kacheln-grid { grid-template-columns: 1fr 1fr; }
  .kachel--wide { grid-column: span 2; }
  .ref-strip-grid { grid-template-columns: repeat(3, 1fr); }  /* already 3 */

  .usp-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: white;
    border-bottom: 2px solid #1a1a7e;
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li a { padding: 0.75rem 0; border-radius: 0; border-bottom: 2px solid #1a1a7e; }
  .dropdown { position: static; box-shadow: none; border: none; padding: 0 0 0 1rem; background: var(--lighter); }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: flex; }
  .nav-notdienst-link { display: block; text-align: left; margin: 0.75rem 0 0; padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }

  .nav-toggle { display: flex; margin-left: auto; order: 2; }
  .header-inner .logo { order: 1; margin-left: 0; }
  .header-inner .main-nav { margin-left: 0; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .nct-inner { flex-direction: column; text-align: center; }

  .about-stats { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-tiles { grid-template-columns: repeat(3, 1fr); }
  .kacheln-grid { grid-template-columns: 1fr; }
  .kachel--wide { grid-column: span 1; }
  .usp-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
}

/* Footer logo */
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  /* Invert to white for dark footer background */
  filter: brightness(0) invert(1);
}

/* ── Extra breathing room on homepage sections ── */
.leistungen-kacheln { padding: 130px 0; }
.kontakt-section    { padding: 130px 0; background: var(--light); }

/* Extra spacing between Über uns sections */
.ueber-teaser + .referenzen-strip { margin-top: 0; }

/* =============================================
   GOOGLE REVIEWS BADGE
   ============================================= */
.google-reviews-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  width: fit-content;
}
.google-reviews-badge:hover {
  border-color: #4285F4;
  box-shadow: 0 4px 16px rgba(66,133,244,0.15);
  transform: translateY(-2px);
  color: var(--text);
}
.grb-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.grb-text {
  color: var(--text);
  font-weight: 600;
}
.grb-stars {
  color: #f4b400;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

/* Footer Google link */
.footer-google-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color var(--transition);
}
.footer-google-link:hover {
  color: #f4b400;
}

/* Google Review button */
.btn-google-review {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #3c4043;
  padding: 0.8rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid #dadce0;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.btn-google-review:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transform: translateY(-2px);
  color: #3c4043;
  border-color: #bbb;
}

/* Footer Google review link */
.footer-google-review {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.75rem;
  transition: color var(--transition);
}
.footer-google-review:hover {
  color: white;
}
.footer-google-review svg {
  opacity: 0.8;
}
