@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #1B3A6B;
  --navy-dark: #122850;
  --navy-light: #2a4f8a;
  --gold: #C8861A;
  --gold-light: #E09B2A;
  --gold-pale: #FDF3E3;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --light-gray: #EEF0F4;
  --mid-gray: #8A94A6;
  --text: #1A2540;
  --text-light: #4A5568;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Outfit", sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }

/* ===== ACCESSIBILITY ===== */
.skip-to-content {
  position: absolute; top: -100%; left: 16px;
  background: var(--navy); color: var(--white);
  padding: 10px 20px; border-radius: 0 0 8px 8px;
  font-size: 14px; font-weight: 600; z-index: 9999;
  text-decoration: none; transition: top 0.2s;
}
.skip-to-content:focus { top: 0; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ===== NAV ===== */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27,58,107,0.08);
  padding: 0 48px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 20px rgba(27,58,107,0.07);
}
.nav-logo img { height: 46px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; }
.nav-links > li > a,
.nav-main-link {
  font-size: 13.5px; font-weight: 500; color: var(--text);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s; position: relative;
}
.nav-links > li > a::after {
  content: ""; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.25s; border-radius: 2px;
}
.nav-links > li > a:hover { color: var(--navy); }
.nav-links > li > a:hover::after, .nav-links > li > a.active::after { transform: scaleX(1); }
.nav-links > li > a.active { color: var(--navy); font-weight: 600; }

/* Item wrap (link + toggle button side by side) */
.nav-item-wrap { display: flex; align-items: center; gap: 2px; }
.nav-main-link { background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; }
.nav-main-btn { display: flex; align-items: center; gap: 4px; }
.nav-toggle {
  background: none; border: none; cursor: pointer; padding: 4px 3px;
  display: flex; align-items: center; color: var(--text-light);
  transition: color 0.2s;
}
.nav-toggle:hover { color: var(--navy); }
.nav-arrow { display: block; transition: transform 0.22s; }

/* ── Dropdown (sectioned) ── */
.nav-dropdown { position: relative; }
/* Bridge: fills gap so hover doesn't break when moving mouse down */
.nav-dropdown::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0;
  height: 18px; z-index: 199;
}
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 18px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 14px; padding: 16px;
  box-shadow: 0 16px 48px rgba(27,58,107,0.13);
  min-width: 210px; z-index: 200;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: visibility 0.18s, opacity 0.18s, transform 0.18s;
}
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown.open > .nav-dropdown-menu {
  visibility: visible; opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover .nav-arrow,
.nav-dropdown.open .nav-arrow { transform: rotate(180deg); }

/* 2-column dropdown (Badsanierung) */
.nav-dropdown-menu.nav-2col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 20px; min-width: 460px;
  left: -80px; transform: translateY(-6px);
}
.nav-dropdown:hover > .nav-dropdown-menu.nav-2col,
.nav-dropdown.open > .nav-dropdown-menu.nav-2col {
  transform: translateY(0);
}

/* 3-column dropdown (Sanierung) */
.nav-dropdown-menu.nav-3col {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 0 20px; min-width: 380px;
}

/* Section headers inside dropdowns */
.nav-menu-section { padding: 6px 0; }
.nav-menu-section + .nav-menu-section { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--light-gray); }
.nav-2col .nav-menu-section + .nav-menu-section,
.nav-3col .nav-menu-section + .nav-menu-section { border-top: none; margin-top: 0; padding-top: 6px; }
.nav-menu-section-title {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  display: block; padding: 0 8px 6px; white-space: nowrap;
}
.nav-dropdown-menu a {
  display: block; padding: 6px 8px; font-size: 13px;
  color: var(--text); text-decoration: none; border-radius: 6px;
  transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--off-white); color: var(--navy); }
.nav-dropdown-menu a::after { display: none !important; }

/* ── Mega Menu (Leistungen) ── */
.nav-mega-menu {
  position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid rgba(27,58,107,0.06);
  box-shadow: 0 16px 48px rgba(27,58,107,0.1);
  z-index: 200;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: visibility 0.18s, opacity 0.18s;
}
.nav-has-mega.open > .nav-mega-menu {
  visibility: visible; opacity: 1; pointer-events: auto;
}
.nav-mega-inner {
  max-width: 1360px; margin: 0 auto;
  padding: 28px 48px;
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.nav-mega-col { padding: 4px 20px 4px 0; }
.nav-mega-col + .nav-mega-col { border-left: 1px solid var(--light-gray); padding-left: 20px; padding-right: 0; }
.nav-mega-col .nav-menu-section-title { padding: 0 0 8px 0; }
.nav-mega-col a {
  display: block; padding: 5px 0; font-size: 13px;
  color: var(--text); text-decoration: none;
  transition: color 0.15s; white-space: nowrap;
}
.nav-mega-col a:hover { color: var(--navy); font-weight: 500; }
.nav-mega-col a::after { display: none !important; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-phone { font-size: 13px; font-weight: 500; color: var(--text-light); text-decoration: none; display: flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ===== HAMBURGER / MOBILE NAV ===== */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
#main-nav.mobile-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#main-nav.mobile-open .nav-hamburger span:nth-child(2) { opacity: 0; }
#main-nav.mobile-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.35);
  z-index: 99; backdrop-filter: blur(2px);
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--navy); color: var(--white); font-family: "Outfit", sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 11px 22px; border: none; border-radius: 6px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); }
.btn-primary.gold { background: var(--gold); }
.btn-primary.gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent; color: var(--navy); font-family: "Outfit", sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 22px; border: 2px solid var(--navy); border-radius: 6px; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline.white { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline.white:hover { background: rgba(255,255,255,0.15); }

/* ===== SECTION SHARED ===== */
.section { padding: 96px 80px; }
.kontakt-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kontakt-submit { text-align: right; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section h2, h2 {
  font-family: "Outfit", sans-serif; font-size: clamp(26px, 3vw, 42px);
  font-weight: 700; color: var(--navy); letter-spacing: -0.02em; line-height: 1.15;
}
.legal-content h1 { margin-top: 48px; margin-bottom: 20px; }
.legal-content h2 { margin-top: 40px; margin-bottom: 16px; }
.legal-content h3 { margin-top: 28px; margin-bottom: 12px; }
.legal-content h4 { margin-top: 20px; margin-bottom: 8px; }
.section-intro { font-size: 16px; line-height: 1.7; color: var(--text-light); max-width: 640px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 52px; flex-wrap: wrap; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding-top: 72px; min-height: 480px; position: relative;
  display: flex; align-items: flex-end; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.page-hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.42; mix-blend-mode: luminosity;
}
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,40,80,0.65) 0%, rgba(18,40,80,0.18) 60%, transparent 100%);
}
.page-hero-content {
  position: relative; z-index: 2; padding: 64px 80px;
  max-width: 760px;
}
.page-hero-content .section-label { color: rgba(200,134,26,0.9); }
.page-hero-content h1 {
  font-size: clamp(30px, 4vw, 54px); font-weight: 800;
  color: var(--white); letter-spacing: -0.025em; line-height: 1.08; margin-bottom: 16px;
}
.page-hero-content p { font-size: 17px; color: rgba(255,255,255,0.78); line-height: 1.65; margin-bottom: 28px; max-width: 560px; }

/* ===== INTRO SECTION ===== */
.intro-section { padding: 72px 80px; background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-grid.reverse .intro-img { order: -1; }
.intro-img { border-radius: 20px; overflow: hidden; }
.intro-img img { width: 100%; height: 420px; object-fit: cover; display: block; }
.intro-text h2 { margin-bottom: 20px; }
.intro-text p { font-size: 16px; line-height: 1.75; color: var(--text-light); margin-bottom: 16px; }

/* ===== LEISTUNGS GRID ===== */
.leistungs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.leistungs-card {
  background: var(--off-white); border: 1px solid var(--light-gray);
  border-radius: 16px; padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.leistungs-card:hover { border-color: rgba(27,58,107,0.18); box-shadow: 0 8px 32px rgba(27,58,107,0.08); transform: translateY(-3px); }
.leistungs-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.leistungs-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

/* ===== LIST ITEMS ===== */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-light); line-height: 1.5; }
.check-list li::before { content: ""; width: 18px; height: 18px; background: var(--navy); border-radius: 50%; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 10px; }

/* ===== WARUM CARDS ===== */
.warum-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.warum-card { background: var(--off-white); border: 1px solid var(--light-gray); border-radius: 14px; padding: 28px 24px; text-align: center; transition: box-shadow 0.2s, transform 0.2s; }
.warum-card:hover { box-shadow: 0 8px 30px rgba(27,58,107,0.08); transform: translateY(-3px); }
.warum-card-num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 12px; }
.warum-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.warum-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-section { background: var(--off-white); }
.faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--light-gray); }
.faq-item:first-child { border-top: 1px solid var(--light-gray); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer; font-size: 16px; font-weight: 600;
  color: var(--navy); gap: 16px; transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon { width: 28px; height: 28px; background: var(--light-gray); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s, transform 0.3s; }
.faq-item.open .faq-icon { background: var(--navy); transform: rotate(45deg); }
.faq-icon svg { width: 12px; height: 12px; }
.faq-item.open .faq-icon svg { stroke: white; }
.faq-answer { display: none; padding: 0 0 20px 0; font-size: 15px; color: var(--text-light); line-height: 1.7; max-width: 760px; }
.faq-item.open .faq-answer { display: block; }

/* ===== CTA STRIP ===== */
.cta-strip { background: var(--navy); padding: 72px 80px; text-align: center; position: relative; overflow: hidden; }
.cta-strip::before { content: ""; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 600px; height: 300px; background: radial-gradient(ellipse, rgba(200,134,26,0.2) 0%, transparent 70%); }
.cta-strip h2 { color: var(--white); margin-bottom: 16px; position: relative; }
.cta-strip p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 32px; position: relative; }
.cta-strip-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; }

/* ===== NUMBERED LIST ===== */
.numbered-list { display: flex; flex-direction: column; gap: 0; }
.numbered-item { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--light-gray); }
.numbered-item:last-child { border-bottom: none; }
.numbered-item-num { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--gold); width: 28px; flex-shrink: 0; padding-top: 3px; }
.numbered-item-content h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.numbered-item-content p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===== PROCESS CARDS ===== */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.process-card { background: var(--off-white); border: 1px solid var(--light-gray); border-radius: 14px; padding: 28px; transition: box-shadow 0.2s; }
.process-card:hover { box-shadow: 0 6px 24px rgba(27,58,107,0.08); }
.process-card-num { width: 36px; height: 36px; background: var(--navy); color: var(--white); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin-bottom: 16px; }
.process-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.process-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ===== SPLIT SECTION ===== */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.split-navy { background: var(--navy); padding: 72px 80px; }
.split-navy .section-label { color: rgba(200,134,26,0.9); }
.split-navy h2 { color: var(--white); margin-bottom: 24px; }
.split-navy p { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.75; margin-bottom: 16px; }
.split-light { background: var(--off-white); padding: 72px 80px; }
.split-img { position: relative; overflow: hidden; min-height: 420px; }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== FEATURES HIGHLIGHT ===== */
.features-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.feature-item { background: var(--white); border: 1px solid var(--light-gray); border-radius: 10px; padding: 18px 20px; }
.feature-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.feature-item p { font-size: 13px; color: var(--text-light); }

/* ===== CONTACT LINK BAND ===== */
.contact-link-band { background: var(--off-white); padding: 48px 80px; border-top: 1px solid var(--light-gray); }
.contact-link-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.contact-link-inner h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
.contact-link-inner p { font-size: 14px; color: var(--text-light); margin-top: 4px; }
.contact-link-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== AI STRIP ===== */
.ai-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4080 100%);
  padding: 24px 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.ai-strip-left { display: flex; align-items: center; gap: 14px; }
.ai-icon { width: 44px; height: 44px; background: rgba(200,134,26,0.2); border: 1px solid rgba(200,134,26,0.4); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-strip h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.ai-strip p { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ===== FOOTER ===== */
footer { background: var(--navy-dark); padding: 64px 80px 32px; color: rgba(255,255,255,0.65); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 32px; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 16px; display: block; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 13px; line-height: 1.6; margin-bottom: 10px; }
.footer-addr { font-size: 13px; line-height: 1.8; }
.footer-addr a { color: #fff; text-decoration: none; transition: color 0.2s; }
.footer-addr a:hover { color: var(--gold-light); }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #fff; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-cookie-btn { background: none; border: none; padding: 0; color: #fff; font-size: 14px; font-family: inherit; cursor: pointer; transition: color 0.2s; text-align: left; }
.footer-cookie-btn:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.footer-contact-item span { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); }
.footer-contact-item a { font-size: 14px; color: #fff; text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.65s ease both; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.2s; } .d3 { animation-delay: 0.3s; }

/* ===== RATGEBER ===== */
.ratgeber-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.ratgeber-card {
  text-decoration: none;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(27,58,107,.07);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.ratgeber-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(27,58,107,.12); }
.ratgeber-card-img { height: 240px; overflow: hidden; }
.ratgeber-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ratgeber-card:hover .ratgeber-card-img img { transform: scale(1.04); }
.ratgeber-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.ratgeber-card-body h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.ratgeber-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.ratgeber-card-btn { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

/* ===== CITIES GRID ===== */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.city-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 10px; padding: 12px 14px;
  font-size: 14px; color: var(--navy); font-weight: 500;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.city-item { cursor: pointer; }
.city-item:hover { border-color: var(--gold); box-shadow: 0 8px 28px rgba(200,134,26,.15); transform: translateY(-3px); }
.city-item svg { flex-shrink: 0; }

/* ===== KONTAKT ===== */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.kontakt-form-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(27,58,107,.07);
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  font-size: 15px;
  color: var(--navy);
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,134,26,.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .cities-grid { grid-template-columns: repeat(4, 1fr); }
  .section, .intro-section { padding: 72px 40px; }
  #main-nav { padding: 0 24px; }
  .page-hero-content { padding: 52px 40px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .warum-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-strip { padding: 24px 40px; }
  .cta-strip { padding: 64px 40px; }
  .split-navy, .split-light { padding: 56px 40px; }
  .contact-link-band { padding: 40px; }
}
@media (max-width: 900px) {
  .section, .intro-section { padding: 56px 24px; }
  #main-nav { padding: 0 20px; height: 64px; }
  .ai-strip[style*="margin-top"] { margin-top: 64px !important; }
  .nav-hamburger { display: flex; }
  .nav-actions { display: none; }
  .nav-mobile-overlay { display: block; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
  #main-nav.mobile-open ~ .nav-mobile-overlay,
  #main-nav.mobile-open + .nav-mobile-overlay { opacity: 1; pointer-events: auto; }

  /* Slide-in panel */
  .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 0; right: -100%; width: min(340px, 88vw); height: 100dvh;
    background: var(--white); padding: 80px 0 32px;
    box-shadow: -8px 0 40px rgba(27,58,107,0.15);
    z-index: 100; gap: 0; list-style: none;
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
  }
  #main-nav.mobile-open .nav-links { right: 0; }
  .nav-links > li { width: 100%; border-bottom: 1px solid var(--light-gray); }
  .nav-links > li > a {
    display: block; padding: 14px 20px; font-size: 15px; font-weight: 500;
  }
  .nav-links > li > a::after { display: none; }

  /* Item wrap: link left, toggle button right */
  .nav-item-wrap {
    display: flex; align-items: stretch; width: 100%;
  }
  .nav-item-wrap .nav-main-link {
    flex: 1; padding: 14px 20px; font-size: 15px; font-weight: 500;
    color: var(--text); text-decoration: none;
  }
  .nav-item-wrap .nav-toggle {
    padding: 14px 20px; border-left: 1px solid var(--light-gray);
    color: var(--text-light);
  }
  /* Leistungen: full-width button */
  .nav-main-btn.nav-toggle {
    width: 100%; padding: 14px 20px; font-size: 15px; font-weight: 500;
    color: var(--text); justify-content: space-between; border-left: none;
  }

  /* Accordion dropdown (regular) */
  .nav-dropdown::after { display: none; } /* no bridge needed on mobile */
  .nav-dropdown-menu {
    position: static; visibility: visible !important; opacity: 1 !important;
    pointer-events: auto; transform: none !important;
    box-shadow: none; border: none; border-radius: 0;
    padding: 0; min-width: unset; background: var(--off-white);
    display: none;
  }
  /* override desktop open-state transforms */
  .nav-dropdown:hover > .nav-dropdown-menu,
  .nav-dropdown.open > .nav-dropdown-menu {
    transform: none !important;
    left: auto !important;
  }
  .nav-dropdown.open > .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu.nav-2col,
  .nav-dropdown-menu.nav-3col { display: none; grid-template-columns: 1fr !important; gap: 0; left: auto !important; min-width: unset !important; }
  .nav-dropdown.open > .nav-dropdown-menu.nav-2col,
  .nav-dropdown.open > .nav-dropdown-menu.nav-3col { display: block; }
  .nav-menu-section { padding: 0; }
  .nav-menu-section + .nav-menu-section { border-top: none; margin-top: 0; padding-top: 0; }
  .nav-menu-section-title { padding: 10px 20px 4px; font-size: 10px; }
  .nav-dropdown-menu a { padding: 8px 20px; border-radius: 0; white-space: normal; font-size: 14px; }
  .nav-dropdown-menu a:hover { background: var(--light-gray); }

  /* Accordion mega (Leistungen) */
  .nav-has-mega:hover > .nav-mega-menu { visibility: hidden; opacity: 0; pointer-events: none; display: none; }
  .nav-mega-menu {
    position: static !important; visibility: visible !important; opacity: 1 !important;
    pointer-events: auto; border: none; box-shadow: none; background: var(--off-white);
    display: none;
  }
  .nav-has-mega.open > .nav-mega-menu { display: block !important; }
  .nav-mega-inner {
    display: block; padding: 0; max-width: none;
  }
  .nav-mega-col { padding: 0; border: none; }
  .nav-mega-col + .nav-mega-col { border-left: none; padding-left: 0; }
  .nav-mega-col .nav-menu-section-title { padding: 10px 20px 4px; }
  .nav-mega-col a { padding: 8px 20px; font-size: 14px; color: var(--text); white-space: normal; }
  .nav-mega-col a:hover { color: var(--navy); font-weight: normal; }
  .page-hero-content { padding: 40px 24px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-grid.reverse .intro-img { order: 0; }
  .leistungs-grid, .process-grid, .warum-grid, .features-2col { grid-template-columns: 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-img { min-height: 280px; }
  footer { padding: 48px 24px 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .ai-strip { padding: 20px 24px; flex-direction: column; align-items: flex-start; }
  .cta-strip { padding: 56px 24px; }
  .contact-link-band { padding: 36px 24px; }
  .contact-link-inner { flex-direction: column; align-items: flex-start; }

  /* section-header stacked on mobile */
  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 36px; }

  /* index.php hero */
  .hero-content { padding: 40px 24px !important; }
  .hero-stats { gap: 20px !important; flex-wrap: wrap; }
  .hero-stats > div { min-width: 80px; }

  /* index.php about */
  .about-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .about-grid img { height: 260px !important; }
  .img-badge { width: 100px !important; height: 100px !important; bottom: -20px !important; left: -10px !important; }

  /* index.php process */
  .process-split { grid-template-columns: 1fr !important; gap: 40px !important; }
  .process-split img { height: 260px !important; }

  /* kontakt */
  .kontakt-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .name-grid { grid-template-columns: 1fr !important; }
  .kontakt-submit { align-self: stretch !important; text-align: center; }

  /* formular inputs mobil */
  .kontakt-grid input,
  .kontakt-grid select,
  .kontakt-grid textarea,
  .kontakt-grid button { width: 100% !important; }

  /* ratgeber */
  .ratgeber-grid { grid-template-columns: 1fr; }
  .ratgeber-card-img { height: 200px; }
  .ratgeber-split { grid-template-columns: 1fr !important; gap: 40px !important; }

  /* einsatzgebiete cities grid */
  .cities-grid { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns: repeat(2, 1fr)"] { grid-template-columns: 1fr !important; }

  /* inline grids inside index.php sections */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: 1fr !important; }

  /* contact form section (index) */
  .contact-grid { grid-template-columns: 1fr !important; gap: 40px !important; }

  /* kontakt page */
  .kontakt-layout { grid-template-columns: 1fr; gap: 36px; }
  .kontakt-form-card { padding: 24px; }
  .name-grid { grid-template-columns: 1fr !important; }
}

/* ==========================================================
   HOME PAGE — class-based layout (refactored from inline styles)
   ========================================================== */

/* ── Hero ── */
.home-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.home-hero-bg { position: absolute; inset: 0; }
.home-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(13,32,64,.92) 0%,rgba(13,32,64,.78) 50%,rgba(13,32,64,.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-pale);
  border: 1px solid rgba(200,134,26,.3);
  color: var(--gold);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.hero-eyebrow {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  color: var(--white);
  letter-spacing: -.025em;
  margin-bottom: 16px;
}
.hero-eyebrow-accent { color: var(--gold); }
.hero-h1 {
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: -.015em;
  margin-bottom: 20px;
  max-width: 620px;
}
.hero-intro {
  font-size: 17px;
  line-height: 1.68;
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-feats {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-feats-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}
.hero-feats-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px; font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}
.hero-feats-list li::before {
  content: "•";
  color: var(--gold);
  font-size: 20px;
  line-height: 1.1;
  flex-shrink: 0;
}

/* ── Home intro text ── */
.home-intro-inner { max-width: 760px; }
.home-intro-inner h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.home-intro-inner p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light);
}

/* ── Service cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.services-extra { display: none; margin-top: 20px; }
.services-extra.open { display: grid; }
.services-toggle-wrap { text-align: center; margin-top: 32px; }
.service-card-link { text-decoration: none; }
.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(27,58,107,.07);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(27,58,107,.12);
}
.service-card-visual {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1b3a6b, #0d2040);
  position: relative;
  overflow: hidden;
}
.service-card-glow {
  position: absolute;
  top: -20px; right: -20px;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(200,134,26,.22) 0%, transparent 70%);
  pointer-events: none;
}
.service-card-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,.09);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}
.service-card-cta {
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── About ── */
.home-about {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}
.home-about-glow {
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,134,26,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 { color: var(--white); margin-bottom: 20px; }
.about-text p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%; height: 420px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.about-badge {
  position: absolute;
  bottom: -36px; left: -36px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(13,32,64,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  box-shadow: 0 16px 48px rgba(13,32,64,.35), 0 0 0 1.5px rgba(200,134,26,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

/* ── Process steps ── */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.process-step {
  background: var(--off-white);
  border-radius: 16px;
  border: 1px solid var(--light-gray);
  padding: 28px;
}
.process-step-num {
  font-size: 36px; font-weight: 800;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.04em;
}
.process-step-title {
  font-size: 18px; font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.process-step p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

/* ── Reviews ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.review-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.review-quote {
  font-size: 36px; line-height: 1;
  color: var(--light-gray);
  font-family: Georgia, serif;
  margin-bottom: 8px;
}
.review-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}
.review-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--light-gray);
  padding-top: 18px;
}
.review-meta-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.review-meta-source { font-size: 11px; color: var(--text-light); }

/* ── FAQ ── */
.home-faq-inner { max-width: 760px; }
.faq-items { display: flex; flex-direction: column; gap: 16px; }
.faq-detail {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 20px 24px;
}
.faq-detail summary {
  font-size: 16px; font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-detail summary::-webkit-details-marker { display: none; }
.faq-detail p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-top: 12px;
  margin-bottom: 0;
}

/* ── SEO text ── */
.home-seo-inner { max-width: 760px; }
.home-seo-inner h2 { font-size: clamp(20px,2.6vw,30px); font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.home-seo-inner p { font-size: 16px; line-height: 1.75; color: var(--text-light); }

/* ── Home FAQ h2 ── */
.home-faq-inner h2 { font-size: clamp(20px,2.6vw,30px); font-weight: 700; color: var(--navy); margin-bottom: 28px; }

/* ==========================================================
   HOME RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .hero-content { padding: 48px 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-extra.open { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .home-hero { min-height: auto; padding-top: 64px; }
  .home-hero-overlay {
    background: linear-gradient(to bottom, rgba(13,32,64,.88) 0%, rgba(13,32,64,.72) 70%, rgba(13,32,64,.55) 100%);
  }
  .hero-content { padding: 40px 20px; }
  .hero-h1 { max-width: 100%; }
  .hero-intro { max-width: 100%; font-size: 15px; }
  .hero-actions { gap: 8px; margin-bottom: 28px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .services-extra.open { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .process-steps-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image-wrap img { height: 260px; }
  .about-badge { width: 100px; height: 100px; bottom: -20px; left: -10px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .services-extra.open { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-card-visual { height: 150px; }
  .service-card-icon { width: 56px; height: 56px; border-radius: 14px; }
  .hero-badge { font-size: 10px; padding: 5px 12px; }
  .hero-eyebrow { font-size: clamp(30px, 9vw, 44px); }
}
