/* ═══════════════════════════════════════════════════════════
   NAMBAK — Gebäudereinigung Stuttgart
   CI: Royal Blue #2b3a9e · Gold #d4a843 · Dark #1a1a2e
   Geometrisch · Modern · Vertrauenerweckend
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: #374151;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #2b3a9e; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1e2a7a; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: inherit;
  color: #1a1a2e;
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.5px; }
h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.3px; }
h3 { font-size: clamp(18px, 2.5vw, 22px); }
h4 { font-size: 17px; }

.section-title { margin-bottom: 12px; }
.section-subtitle {
  font-size: 17px;
  color: #6b7280;
  max-width: 600px;
  line-height: 1.7;
}

/* ─── BUTTONS ─── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.button--gold {
  background: #d4a843;
  color: #1a1a2e;
}
.button--gold:hover {
  background: #c49a3a;
  color: #1a1a2e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212,168,67,0.35);
}
.button--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.button--outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.button--small { font-size: 13px; padding: 10px 20px; }
.button--large { font-size: 16px; padding: 16px 32px; }

/* ─── HEADER ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 16px rgba(27,42,122,0.08); }
.header__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-svg { display: block; }
.header__nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
}
.header__nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  transition: color 0.2s;
}
.header__nav-link:hover,
.header__nav-link.active { color: #2b3a9e; }
.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
}
.header__phone:hover { color: #2b3a9e; }
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.header__hamburger span {
  width: 24px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ─── */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(145deg, #2b3a9e 0%, #151d5e 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.hero__content { max-width: 700px; }
.hero__title {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(34px, 5.5vw, 52px);
}
.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 560px;
  color: rgba(255,255,255,0.9);
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__decoration {
  position: absolute;
  border: 60px solid rgba(255,255,255,0.03);
  border-radius: 2px;
  pointer-events: none;
}
.hero__decoration--1 {
  width: 500px; height: 500px;
  top: -30%; right: -10%;
  transform: rotate(15deg);
}
.hero__decoration--2 {
  width: 350px; height: 350px;
  bottom: -20%; left: -5%;
  transform: rotate(-10deg);
  border-width: 40px;
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 0;
}
.trust-bar__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
}
.trust-item__icon {
  color: #059669;
  font-weight: 700;
}
.trust-item__text { white-space: nowrap; }

/* ─── SECTIONS ─── */
.section { padding: 80px 0; }
.section--gray { background: #f7f8fc; }

/* ─── SERVICES ─── */
.services { padding: 80px 0; }
.services__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 32px 24px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.service-card:hover {
  border-color: #2b3a9e;
  box-shadow: 0 8px 32px rgba(27,42,122,0.12);
  transform: translateY(-4px);
}
.service-card__icon {
  width: 52px;
  height: 52px;
  background: #e8ebf7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.service-card__title {
  margin-bottom: 8px;
  color: #1a1a2e;
  font-size: 18px;
}
.service-card__description {
  font-size: 14px;
  color: #6b7280;
  flex: 1;
  margin-bottom: 16px;
  line-height: 1.6;
}
.service-card__link {
  font-size: 14px;
  font-weight: 600;
  color: #2b3a9e;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.service-card__link:hover { gap: 8px; }

/* ─── STATS ─── */
.stats {
  padding: 60px 0;
  background: linear-gradient(145deg, #2b3a9e 0%, #1e2a7a 100%);
  color: #fff;
}
.stats__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.stat { text-align: center; padding: 24px; }
.stat__number {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* ─── BENEFITS ─── */
.benefits { padding: 80px 0; }
.benefits__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.benefits__grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.benefit {
  display: flex;
  gap: 16px;
}
.benefit__icon,
.benefit-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #e8ebf7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #2b3a9e;
}
.benefit__title {
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
  font-size: 16px;
}
.benefit__text {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* ─── TESTIMONIALS ─── */
.testimonials { padding: 80px 0; background: #f7f8fc; }
.testimonials__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testimonial {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 28px;
}
.testimonial__stars {
  color: #d4a843;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial__text {
  font-size: 15px;
  color: #4b5563;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}
.testimonial__author {
  font-weight: 600;
  font-size: 14px;
  color: #1a1a2e;
}

/* ─── PROCESS ─── */
.process { padding: 80px 0; }
.process__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.process__step { text-align: center; position: relative; }
.process__number {
  width: 52px;
  height: 52px;
  background: #2b3a9e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.process__title {
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
  font-size: 16px;
}
.process__description {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}
.process__arrow {
  display: none;
  position: absolute;
  top: 26px; right: -20px;
  color: #d1d5db;
  font-size: 20px;
}
@media (min-width: 768px) {
  .process__arrow { display: block; }
}

/* ─── CTA BOX ─── */
.cta-box {
  background: #2b3a9e;
  border-radius: 12px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 300px; height: 300px;
  border: 50px solid rgba(255,255,255,0.04);
  border-radius: 2px;
  transform: rotate(15deg);
  pointer-events: none;
}
.cta-box__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.cta-box__content { position: relative; z-index: 1; }
.cta-box__title {
  color: #fff;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 8px;
}
.cta-box__subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
}
.cta-box__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ─── FAQ ─── */
.faq { padding: 80px 0; }
.faq__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.faq__items {
  max-width: 700px;
  margin: 40px auto 0;
}
.faq__item {
  border-bottom: 1px solid #e5e7eb;
}
.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 16px;
}
.faq__question:hover { color: #2b3a9e; }
.faq__icon {
  font-size: 20px;
  color: #9ca3af;
  transition: transform 0.3s;
  min-width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__item.open .faq__answer {
  max-height: 400px;
  padding-bottom: 20px;
}
.faq__answer p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
}

/* ─── PROBLEM → SOLUTION ─── */
.problem-solution {
  padding: 80px 0;
}
.ps__item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 24px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}
.ps__problem, .ps__solution {
  padding: 24px;
  border-radius: 10px;
}
.ps__problem {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}
.ps__solution {
  background: #f0fdf4;
  border-left: 4px solid #059669;
}
.ps__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #9ca3af;
  padding-top: 24px;
}

/* ─── CHECKLIST ─── */
.checklist {
  margin: 16px 0;
}
.checklist__col {
  columns: 2;
  column-gap: 32px;
}
.checklist__item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 15px;
  color: #4b5563;
  break-inside: avoid;
}
.checklist__icon {
  color: #059669;
  font-weight: 700;
  min-width: 18px;
  flex-shrink: 0;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.7);
}
.breadcrumb a:hover { color: #fff; }

/* ─── CERTIFICATIONS ─── */
.certifications {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* ─── STORY / VALUES / TEAM (Über uns) ─── */
.story, .values, .team {
  padding: 80px 0;
}
.values { background: #f7f8fc; }

/* ─── FOOTER ─── */
.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
}
.footer__text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}
.footer__contact {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.footer__list { list-style: none; }
.footer__list li { margin-bottom: 8px; }
.footer__list a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer__list a:hover { color: #fff; }
.footer__section { }
.footer__bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer__bottom a {
  color: rgba(255,255,255,0.4);
}
.footer__bottom a:hover { color: rgba(255,255,255,0.7); }

/* ─── STICKY CTA ─── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 2px solid #2b3a9e;
  padding: 12px 16px;
  display: none;
  gap: 12px;
  z-index: 900;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}
.sticky-cta__button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
}
.sticky-cta__button--call {
  background: #2b3a9e;
  color: #fff;
}
.sticky-cta__button--form {
  background: #d4a843;
  color: #1a1a2e;
}

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1a1a2e;
  color: #fff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 9999;
  font-size: 14px;
  flex-wrap: wrap;
}
.cookie-banner__content {
  flex: 1;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
.cookie-banner__content a { color: #d4a843; }
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-banner__button {
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.cookie-banner__button--accept {
  background: #d4a843;
  color: #1a1a2e;
}
.cookie-banner__button--decline {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__actions .button { display: none; }
  .header__hamburger { display: flex; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 60px; }
  .footer__container { grid-template-columns: 1fr 1fr; }
  .cta-box { flex-direction: column; text-align: center; padding: 32px 24px; }
  .ps__item { grid-template-columns: 1fr; }
  .ps__arrow { transform: rotate(90deg); justify-self: center; }
  .checklist__col { columns: 1; }
  .service-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 120px 0 60px; }
  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 16px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .button { width: 100%; justify-content: center; }
  .trust-bar__container { gap: 16px; }
  .trust-item { font-size: 12px; }
  .stats__container { grid-template-columns: repeat(2, 1fr); }
  .footer__container { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .services, .benefits, .testimonials, .process, .faq,
  .story, .values, .team, .problem-solution { padding: 48px 0; }
  .benefits__grid, .benefits-grid { grid-template-columns: 1fr; }
}

/* ─── MOBILE NAV OVERLAY ─── */
.header__nav.open {
  display: flex;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 999;
  flex-direction: column;
  padding: 24px;
}
.header__nav.open .header__nav-list {
  flex-direction: column;
  gap: 0;
}
.header__nav.open .header__nav-link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  border-bottom: 1px solid #e5e7eb;
}
