/* =========================================================
   Dein Energiehaus GmbH – Design System
   Farben: Premium / Clean / Vertrauen
   ========================================================= */

:root {
  /* Basis */
  --white: #ffffff;
  --light-grey: #f5f5f5;
  --grey: #adadad;
  --grey-2: #a6a6a6;
  --text: #333333;
  --text-soft: #555555;
  --border: #e5e5e5;

  /* Brand / Akzent */
  --bordeaux: #521931;
  --bordeaux-dark: #3e1325;
  --bordeaux-light: #6b2441;

  /* Layout */
  --max-width: 1200px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);

  /* Typo */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--bordeaux); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bordeaux-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text-soft); }

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 90px 0; }
section.alt { background: var(--light-grey); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--bordeaux);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--bordeaux);
  margin: 18px auto 0;
  border-radius: 2px;
}
.section-head p { font-size: 1.05rem; color: var(--text-soft); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img { height: 44px; width: auto; display: block; }
.logo:hover { opacity: .85; }

/* Footer Logo = weiß-invertiert */
.footer-logo img {
  height: 44px;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.nav-menu { display: flex; gap: 30px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  position: relative;
  padding: 6px 0;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--bordeaux);
}
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--bordeaux);
  border-radius: 2px;
}
.nav-cta {
  padding: 10px 20px !important;
  background: var(--bordeaux);
  color: #fff !important;
  border-radius: var(--radius);
  transition: background .2s;
}
.nav-cta:hover { background: var(--bordeaux-dark); color: #fff !important; }
.nav-cta::after { display: none !important; }

/* Mobile */
.nav-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  cursor: pointer;
  padding: 0;
  color: var(--text);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: .3s;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; text-align: center; }
  .nav-menu a { display: block; padding: 14px 0; width: 100%; }
  .nav-menu a.active::after { display: none; }
  .nav-cta { margin: 10px 24px; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all .2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--bordeaux);
  color: #fff;
  border-color: var(--bordeaux);
}
.btn-primary:hover {
  background: var(--bordeaux-dark);
  border-color: var(--bordeaux-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--bordeaux);
  border-color: var(--bordeaux);
}
.btn-ghost:hover {
  background: var(--bordeaux);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--bordeaux);
}
.btn-light:hover {
  background: var(--light-grey);
  color: var(--bordeaux-dark);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: linear-gradient(135deg, var(--light-grey) 0%, #ffffff 100%);
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(82, 25, 49, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(82, 25, 49, 0.08);
  color: var(--bordeaux);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero h1 .accent { color: var(--bordeaux); }
.hero .lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-trust .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-soft);
  font-weight: 500;
}
.hero-trust .check {
  width: 22px; height: 22px;
  background: var(--bordeaux);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-visual {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  pointer-events: none;
}
.hero-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.hero-card-sub {
  font-size: .9rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.hero-form label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.hero-form select,
.hero-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  margin-bottom: 14px;
  background: #fff;
}
.hero-form select:focus,
.hero-form input:focus {
  outline: none;
  border-color: var(--bordeaux);
}
.hero-form .btn { width: 100%; }
.hero-form .disclaimer {
  font-size: .75rem;
  color: var(--grey);
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 70px; }
}

/* =========================================================
   PAGE HERO (kleinere Seiten)
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--light-grey) 0%, #ffffff 100%);
  padding: 80px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow {
  color: var(--bordeaux);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.page-hero h1 { margin: 14px 0 14px; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

.breadcrumb {
  font-size: .85rem;
  color: var(--grey);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--bordeaux); }

/* =========================================================
   FEATURE GRID / USPs
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.feature-card {
  background: #fff;
  padding: 34px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--bordeaux);
}
.feature-icon {
  width: 54px; height: 54px;
  background: rgba(82, 25, 49, 0.08);
  color: var(--bordeaux);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-icon svg,
.deh-icon {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.deh-icon-inline {
  display: inline-flex;
  vertical-align: -2px;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-right: .35em;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.feature-card p { margin: 0; font-size: .95rem; }

/* =========================================================
   SERVICES (3-Spalten mit Bild-Platzhalter)
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-image {
  height: 200px;
  background: linear-gradient(135deg, var(--light-grey), #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bordeaux);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(82, 25, 49, 0.18) 100%);
  pointer-events: none;
}
.service-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { margin-bottom: 10px; }
.service-body p { flex: 1; }
.service-body .link {
  font-weight: 600;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-body .link::after {
  content: '→';
  transition: transform .2s;
}
.service-body .link:hover::after { transform: translateX(4px); }

/* =========================================================
   PROZESS / ABLAUF
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.process-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 24px;
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -18px; left: 24px;
  background: var(--bordeaux);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
}
.process-step h3 { margin-top: 18px; margin-bottom: 8px; font-size: 1.1rem; }
.process-step p { margin: 0; font-size: .92rem; }

/* Vertikale Timeline-Variante (z. B. Kunden-Support: Meldung → Lösung).
   Hier liefert das HTML eigene Nummernkreise via .ps-num, deshalb
   wird der automatische ::before-Zähler im Timeline-Kontext unterdrückt. */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: step;
}
.process-timeline .process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: start;
  gap: 20px;
  padding: 22px 26px;
}
.process-timeline .process-step::before { content: none; }
.process-timeline .ps-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}
.process-timeline .process-step h4 {
  margin: 4px 0 6px;
  color: var(--bordeaux);
  font-size: 1.05rem;
}
.process-timeline .process-step p { margin: 0; font-size: .95rem; }
@media (max-width: 540px) {
  .process-timeline .process-step {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 18px 18px;
  }
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background: var(--bordeaux);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band h2::after { background: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 600px; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-band .btn-light { background: #fff; color: var(--bordeaux); }

/* =========================================================
   TESTIMONIAL / REFERENZEN
   ========================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 14px; left: 22px;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--bordeaux);
  opacity: .15;
  line-height: 1;
}
.testimonial .stars {
  color: var(--bordeaux);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial p { font-style: italic; color: var(--text); }
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: .9rem;
}
.testimonial .name { font-weight: 600; color: var(--text); font-size: .95rem; }
.testimonial .meta { font-size: .82rem; color: var(--grey); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--bordeaux); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--light-grey);
  color: var(--bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .2s, background .2s;
}
.faq-item.open .faq-q .icon {
  background: var(--bordeaux);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 24px 22px;
}
.faq-a p { margin: 0; }

/* =========================================================
   STATS
   ========================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  text-align: center;
}
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--bordeaux);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: var(--text-soft);
  font-weight: 500;
  font-size: .95rem;
}

/* =========================================================
   CONTENT BLÖCKE (Text + Bild)
   ========================================================= */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }

.content-split h2 { margin-bottom: 18px; }
.content-split h2::after {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--bordeaux);
  margin-top: 16px;
  border-radius: 2px;
}
.content-split .visual {
  background: linear-gradient(135deg, var(--light-grey), #e8e8e8);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--bordeaux);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}
.content-split .visual.photo { background: #000; padding: 0; }
.content-split .visual.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bild-Band: volles Bild in eigener Sektion */
.image-band {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 21/9;
  background: #000;
}
.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-band .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 32px;
  background: linear-gradient(0deg, rgba(82,25,49,.85) 0%, rgba(82,25,49,.55) 55%, rgba(82,25,49,0) 100%);
  color: #fff;
}
.image-band .caption .eyebrow { color: #f4d7de; }
.image-band .caption h3 {
  color: #fff;
  font-size: 1.6rem;
  margin: 6px 0 0;
  line-height: 1.2;
  letter-spacing: -.01em;
}
@media (max-width: 800px) {
  .image-band { aspect-ratio: 4/3; }
  .image-band .caption { padding: 18px 20px; }
  .image-band .caption h3 { font-size: 1.2rem; }
}
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--text);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 8px;
  width: 22px; height: 22px;
  background: var(--bordeaux);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}

@media (max-width: 800px) {
  .content-split { grid-template-columns: 1fr; gap: 30px; }
  .content-split.reverse { direction: ltr; }
}

/* =========================================================
   KONTAKT / FORM
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.contact-info {
  background: var(--light-grey);
  padding: 40px;
  border-radius: var(--radius-lg);
}
.contact-info h3 { margin-bottom: 18px; }
.contact-info .item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-info .icon {
  width: 40px; height: 40px;
  background: var(--bordeaux);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info .label { font-weight: 600; margin-bottom: 2px; color: var(--text); font-size: .92rem; }
.contact-info .value { color: var(--text-soft); font-size: .95rem; }
.contact-info a { color: var(--bordeaux); font-weight: 500; }

.form-card {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--bordeaux);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--text-soft);
  margin: 16px 0 20px;
}
.form-checkbox input { margin-top: 3px; accent-color: var(--bordeaux); }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   TEAM
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  padding: 32px 24px;
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 auto 18px;
}
.team-card h3 { margin-bottom: 4px; font-size: 1.1rem; }
.team-card .role {
  color: var(--bordeaux);
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: 12px;
}
.team-card p { font-size: .9rem; margin: 0; }

/* =========================================================
   PROJEKT / CASE STUDIES
   ========================================================= */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.project-image {
  height: 220px;
  background: linear-gradient(135deg, var(--light-grey), #dcdcdc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bordeaux);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: #fff;
  color: var(--bordeaux);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.project-body { padding: 26px; }
.project-body h3 { margin-bottom: 6px; font-size: 1.1rem; }
.project-body .location { color: var(--grey); font-size: .85rem; margin-bottom: 14px; }
.project-body p { margin: 0 0 14px; font-size: .92rem; }
.project-body .meta {
  display: flex;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-soft);
}
.project-body .meta strong { color: var(--bordeaux); font-size: .95rem; display: block; }

/* =========================================================
   REGIONEN (Städte-Grid)
   ========================================================= */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.city-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all .2s;
  color: var(--text);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}
.city-card:hover {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.city-card .city-name { font-weight: 600; font-size: 1rem; }
.city-card .city-meta { font-size: .8rem; color: var(--grey); }

/* =========================================================
   FÖRDERUNG - Boxen
   ========================================================= */
.funding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.funding-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--bordeaux);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.funding-card .amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--bordeaux);
  line-height: 1;
  margin-bottom: 6px;
}
.funding-card .amount-sub { font-size: .85rem; color: var(--grey); margin-bottom: 14px; }
.funding-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.funding-card p { font-size: .92rem; margin: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #1a1a1a;
  color: #bbb;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-col h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 18px;
  letter-spacing: .03em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: #bbb;
  font-size: .9rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--bordeaux-light); }
.footer-col p { font-size: .9rem; color: #bbb; margin: 0 0 12px; }

.footer-logo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo .dot { color: var(--bordeaux-light); }

.footer-bottom {
  border-top: 1px solid #333;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .85rem;
  color: #888;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.mt-4 { margin-top: 40px; }
.mb-4 { margin-bottom: 40px; }

/* =========================================================
   COOKIE BANNER (DSGVO / TDDDG)
   ========================================================= */
#deh-cookie {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  font-family: inherit;
}
#deh-cookie .deh-cookie__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 7, 12, 0.28);
  opacity: 0;
  transition: opacity .2s ease;
}
#deh-cookie.is-open { pointer-events: auto; }
#deh-cookie.is-open .deh-cookie__backdrop { opacity: 1; }
#deh-cookie .deh-cookie__card {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 40px);
  width: min(880px, calc(100% - 32px));
  background: #ffffff;
  color: var(--text, #1a1a1f);
  border-radius: 14px;
  box-shadow: 0 24px 60px -12px rgba(40, 10, 25, .35), 0 4px 18px rgba(0,0,0,.08);
  border: 1px solid #ecebe7;
  padding: 24px 28px;
  opacity: 0;
  transition: transform .26s cubic-bezier(.2,.9,.3,1), opacity .2s ease;
}
#deh-cookie.is-open .deh-cookie__card {
  transform: translate(-50%, 0);
  opacity: 1;
}
#deh-cookie .deh-cookie__title {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--bordeaux, #521931);
  font-weight: 700;
}
#deh-cookie .deh-cookie__text {
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 14px;
  color: #2d2d33;
}
#deh-cookie .deh-cookie__text a {
  color: var(--bordeaux, #521931);
  text-decoration: underline;
  text-underline-offset: 2px;
}
#deh-cookie .deh-cookie__options {
  display: grid;
  gap: 12px;
  margin: 8px 0 18px;
  padding: 14px 16px;
  background: #f8f6f2;
  border-radius: 10px;
  border: 1px solid #ecebe7;
}
#deh-cookie .deh-cookie__opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .88rem;
  color: #2d2d33;
  line-height: 1.5;
  cursor: pointer;
}
#deh-cookie .deh-cookie__opt input {
  margin-top: 3px;
  accent-color: var(--bordeaux, #521931);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
#deh-cookie .deh-cookie__opt strong { color: #111116; font-weight: 700; }
#deh-cookie .deh-cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
#deh-cookie .deh-cookie__btn {
  font: inherit;
  font-weight: 600;
  font-size: .9rem;
  padding: 11px 20px;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  min-width: 120px;
  text-align: center;
}
#deh-cookie .deh-cookie__btn--primary {
  background: var(--bordeaux, #521931);
  color: #ffffff;
}
#deh-cookie .deh-cookie__btn--primary:hover { background: #6a2641; transform: translateY(-1px); }
#deh-cookie .deh-cookie__btn--save {
  background: #1f2937;
  color: #ffffff;
}
#deh-cookie .deh-cookie__btn--save:hover { background: #111827; }
#deh-cookie .deh-cookie__btn--ghost {
  background: transparent;
  color: #4b4b52;
  border-color: #d6d5d1;
}
#deh-cookie .deh-cookie__btn--ghost:hover {
  border-color: var(--bordeaux, #521931);
  color: var(--bordeaux, #521931);
}
@media (max-width: 640px) {
  #deh-cookie .deh-cookie__card {
    padding: 20px 18px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
  #deh-cookie .deh-cookie__actions { justify-content: stretch; }
  #deh-cookie .deh-cookie__btn { flex: 1 1 140px; min-width: 0; }
}

/* =========================================================
   PRODUKT- UND STANDORT-BILDER
   ========================================================= */
.product-card .product-image,
.product-card .product-img {
  width: 100%;
  aspect-ratio: 4 / 2.6;
  background: #f7f6f3;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ecebe7;
}
.product-card .product-image img,
.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.fachpartner-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #ecebe7;
  border-radius: 50px;
  margin: 8px 0;
}
.fachpartner-badge img { height: 34px; width: auto; }
.fachpartner-badge span {
  font-size: .82rem;
  color: var(--grey, #6e6e78);
  font-weight: 600;
  letter-spacing: .04em;
}

/* Location hub images */
.lh-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #ece9e3;
}
.lh-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* FAQ region banner */
.region-banner {
  margin: 24px 0 8px;
  padding: 28px;
  background: linear-gradient(180deg, #f7f6f3, #ece6de);
  border-radius: 16px;
  border: 1px solid #ecebe7;
  display: grid;
  grid-template-columns: 1fr 280px;
  align-items: center;
  gap: 28px;
}
.region-banner h3 {
  margin: 0 0 8px;
  color: var(--bordeaux, #521931);
  font-size: 1.3rem;
}
.region-banner p { margin: 0; color: #4b4b52; line-height: 1.55; }
.region-banner .rb-img {
  width: 100%;
  max-width: 280px;
}
.region-banner .rb-img img { width: 100%; height: auto; display: block; }
@media (max-width: 780px) {
  .region-banner { grid-template-columns: 1fr; text-align: center; }
  .region-banner .rb-img { margin: 0 auto; max-width: 200px; }
}
