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

:root {
  --red:     #cc1111;
  --red2:    #a50e0e;
  --red3:    #e82222;
  --black:   #0a0a0a;
  --dark:    #111111;
  --dark2:   #1a1a1a;
  --dark3:   #222222;
  --gray:    #f4f4f5;
  --gray2:   #e8e8ea;
  --white:   #ffffff;
  --text:    #111111;
  --muted:   #555555;
  --border:  #e0e0e2;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(0,0,0,.10);
  --shadow2: 0 8px 40px rgba(0,0,0,.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-text .name {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
}

.nav-logo-text .sub {
  color: rgba(255,255,255,.45);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: .1rem; }

.nav-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  padding: .45rem .9rem;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color .15s, background .15s;
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav-links a.active { color: var(--white); background: var(--red); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ── HERO SPLIT — MOBILE FIRST ── */

/* Mobile: einspaltig, kein Foto */
.hero-split {
  display: block;
  background: var(--white);
}

.hero-split-text {
  padding: 2.5rem 1.25rem 2.5rem 1.5rem;
  border-left: 5px solid var(--red);
}

.hero-split-photo {
  display: none; /* Mobile: kein Foto */
}

.hero-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Desktop: zweispaltig mit Foto */
@media (min-width: 768px) {
  .hero-split {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 560px;
  }

  .hero-split-text {
    padding: 4.5rem 3rem 4.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero-split-photo {
    display: block;
    overflow: hidden;
  }
}

.hero-split-text h1 {
  color: var(--text);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 1.1rem;
}

.hero-split-text h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-split-text p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 460px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: .2rem;
}

.hero-stat span {
  font-size: .75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-stat-jubilee strong {
  font-size: 1.5rem;
}

.hero-stat-jubilee span {
  color: var(--red);
  font-weight: 600;
}

/* Legacy hero (kept for subpages that might use it) */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpeg');
  background-size: cover;
  background-position: center 30%;
  opacity: .55;
}

.hero-gradient {
  position: absolute; inset: 0;
  background: rgba(10,10,10,.45);
}

.hero-accent {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
}

.hero-content {
  position: relative;
  max-width: 640px;
  padding: 5rem 2rem 5rem 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(204,17,17,.12);
  border: 1px solid rgba(204,17,17,.25);
  color: var(--red);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--red3);
}

.hero p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .78rem 1.75rem;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow2); }

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red2); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.06); }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--dark2); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 1rem 2rem;
}
.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  font-weight: 500;
}
.trust-item .dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SECTIONS ── */
section { padding: 5.5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: .75rem;
}

.section-title.light { color: var(--white); }
.section-lead { color: var(--muted); max-width: 580px; font-size: 1.05rem; margin-bottom: 3rem; line-height: 1.7; }

/* ── SERVICE GRID ── */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}

.service-card:hover { box-shadow: var(--shadow2); transform: translateY(-4px); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon { display: none; }

.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.service-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── ABOUT SPLIT ── */
.about-split { display: grid; gap: 4rem; grid-template-columns: 1fr 1fr; align-items: center; }

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 180px;
  gap: .75rem;
}

.about-images img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-images img:first-child { grid-column: 1 / -1; }

.about-text .section-label { color: var(--red); }

.about-text p { color: var(--muted); margin-bottom: 1rem; line-height: 1.75; }

.about-stat-row { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.stat { border-left: 3px solid var(--red); padding-left: 1rem; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
}

.gallery-grid a:first-child { grid-column: span 2; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--red);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/elektro-allgemein.jpeg') center/cover no-repeat;
  opacity: .07;
}
.cta-band h2 {
  position: relative;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}
.cta-band p { position: relative; color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band .btn-white {
  background: var(--white);
  color: var(--red);
  border: none;
}
.cta-band .btn-white:hover { background: var(--gray); }
.cta-band .btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
}
.cta-band .btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.cta-actions { position: relative; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact-section { background: var(--dark); }

.contact-wrapper { display: grid; gap: 4rem; grid-template-columns: 1fr 1.5fr; }

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-detail .icon {
  width: 42px; height: 42px; min-width: 42px;
  background: rgba(204,17,17,.15);
  border: 1px solid rgba(204,17,17,.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.contact-detail .label { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; }
.contact-detail p, .contact-detail a { color: rgba(255,255,255,.8); font-size: .95rem; text-decoration: none; }
.contact-detail a:hover { color: var(--red3); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow2);
}

.contact-form h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }

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

.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }

.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); letter-spacing: .01em; }

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: .7rem 1rem;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,17,17,.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: .5rem; justify-content: center; font-size: 1rem; padding: .9rem; }
.form-note { font-size: .75rem; color: var(--muted); margin-top: .85rem; text-align: center; }

/* ── ALERT ── */
.alert { padding: .85rem 1rem; border-radius: 7px; font-size: .9rem; margin-bottom: 1rem; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--black);
  padding: 4rem 2rem 3.5rem 3rem;
  border-left: 4px solid var(--red);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(204,17,17,.12) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero p { color: rgba(255,255,255,.55); margin-top: .6rem; max-width: 520px; font-size: 1rem; }

/* ── LEISTUNGEN ── */
.leistung-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  transition: box-shadow .2s, border-color .2s;
}
.leistung-block:hover { box-shadow: var(--shadow); border-color: rgba(204,17,17,.2); }

.leistung-icon {
  width: 64px; height: 64px;
  background: rgba(204,17,17,.07);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
}

.leistung-block h3 { font-size: 1.12rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.leistung-block p { color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }
.leistung-block ul { color: var(--muted); font-size: .9rem; padding-left: 1.2rem; line-height: 1.8; }

/* ── VALUES ── */
.values-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 2.5rem; }
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow .2s;
}
.value-card:hover { box-shadow: var(--shadow); }
.value-icon { font-size: 1.8rem; margin-bottom: .85rem; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.value-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ── AREA TAGS ── */
.area-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.area-tag {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,.1);
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.footer-brand img { height: 32px; width: auto; }
.footer-name { color: var(--white); font-weight: 700; font-size: .95rem; }
footer p { color: rgba(255,255,255,.4); font-size: .82rem; line-height: 1.7; }
footer a { color: rgba(255,255,255,.4); text-decoration: none; font-size: .82rem; }
footer a:hover { color: var(--red3); }
.footer-links { display: flex; gap: 1.5rem; align-items: center; }
.footer-copy { color: rgba(255,255,255,.25); font-size: .78rem; }

/* ── SCROLL ANIMATIONEN ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── STICKY MOBILE CTA ── */
.mobile-cta-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}

/* ── HERO GOOGLE BADGE ── */
.hero-google-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff8e1;
  border: 1px solid #ffd54f;
  border-radius: 100px;
  padding: .35rem 1rem;
  margin-bottom: 1.25rem;
  font-size: .8rem;
  font-weight: 600;
  color: #795548;
}

.hero-stars {
  color: #f9a825;
  font-size: .95rem;
  letter-spacing: .05em;
}

/* ── HERO PHOTO BADGE ── */
.hero-photo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(10,10,10,.82);
  border-left: 3px solid var(--red);
  padding: .7rem 1rem;
  border-radius: 0 6px 6px 0;
}

.hero-photo-badge strong {
  display: block;
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
}

.hero-photo-badge span {
  color: rgba(255,255,255,.6);
  font-size: .72rem;
}

/* ── BUTTONS ERWEITERT ── */
.btn-lg {
  padding: .9rem 2rem;
  font-size: 1rem;
}

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--text);
  color: var(--text);
}
.btn-outline-dark:hover {
  background: var(--text);
  color: var(--white);
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: var(--white);
  padding: 4.5rem 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: #f5f5f3;
  border-radius: 12px;
  padding: 1.75rem;
  border-left: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-stars {
  color: #f9a825;
  font-size: 1.1rem;
  letter-spacing: .1em;
}

.testimonial-card blockquote {
  font-size: .92rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin: 0;
  flex: 1;
}

.testimonial-card cite {
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── FÖRDER-HIGHLIGHT ── */
.foerder-highlight {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  padding: 3.5rem 2rem;
}

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

.foerder-highlight-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin: .5rem 0 .75rem;
  line-height: 1.2;
}

.foerder-betrag {
  color: var(--red);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
}

.foerder-highlight-text p {
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

/* ── NAV CTA ── */
.nav-cta {
  padding: .45rem 1.1rem;
  font-size: .85rem;
  margin-left: .75rem;
}

/* ── HERO NOTE ── */
.hero-note {
  margin-top: 1rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .03em;
}

/* ── ZIELGRUPPEN-WEICHE ── */
.target-section { background: #f5f5f3; }

.target-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.target-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  background: var(--white);
  overflow: hidden;
}

.target-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow2);
  transform: translateY(-3px);
}

.target-card-photo {
  height: 200px;
  overflow: hidden;
}

.target-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}

.target-card:hover .target-card-photo img { transform: scale(1.04); }

.target-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}

.target-icon { display: none; }

.target-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.target-card p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
}

.target-link {
  color: var(--red);
  font-size: .88rem;
  font-weight: 600;
  margin-top: auto;
}

/* ── SERVICE GRID 4 ── */
.services-grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.service-card-dark {
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
}

.service-kachel-label {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(204,17,17,.08);
  padding: .2rem .6rem;
  border-radius: 100px;
  border: 1px solid rgba(204,17,17,.2);
}

.service-problem {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  font-style: italic;
  border-left: 3px solid var(--red);
  padding-left: .75rem;
  margin-bottom: .5rem;
}

.service-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--red);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}

.service-link:hover { text-decoration: underline; }

/* ── TRUST NUMBERS (now in hero-stats, kept for legacy) ── */
.trust-numbers-section {
  background: #f5f5f3;
  padding: 4rem 2rem;
}

.trust-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-number strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: .4rem;
}

.trust-number span {
  color: var(--muted);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── SERVICE FOTO-KACHELN ── */
.service-photo-card {
  padding: 0;
  overflow: hidden;
}

.service-card-photo {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.service-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}

.service-photo-card:hover .service-card-photo img { transform: scale(1.05); }

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.service-card-body p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: .4rem; }

/* ── PROJEKT-MOSAIK ── */
.project-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: .75rem;
  height: 400px;
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.project-mosaic-main img,
.project-mosaic-side img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.project-mosaic-main { overflow: hidden; }
.project-mosaic-main img:hover { transform: scale(1.03); }

.project-mosaic-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: .75rem;
}

.project-mosaic-side div { overflow: hidden; }
.project-mosaic-side img:hover { transform: scale(1.03); }

/* ── PARTNER LOGOS (hell) ── */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.partner-logo {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
  padding: .75rem 1.5rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .2s, border-color .2s, color .2s;
}

.partner-logo:hover { background: rgba(255,255,255,.12); color: var(--white); }
.partner-logo-highlight { border-color: rgba(204,17,17,.4); color: rgba(255,255,255,.85); }
.partner-note { margin-top: 1rem; font-size: .8rem; color: rgba(255,255,255,.3); font-style: italic; }

.partner-logos-light {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.partner-logo-light {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: .7rem 1.4rem;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: border-color .2s, box-shadow .2s;
}

.partner-logo-light:hover { border-color: var(--red); box-shadow: 0 2px 12px rgba(204,17,17,.1); }

.partner-logo-light-hl {
  border-color: rgba(204,17,17,.35);
  color: var(--red2);
}

/* ── VORHER/NACHHER LAYOUTS ── */
.vorher-nachher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.vorher-nachher-grid img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

.vorher-nachher-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.vorher-nachher-row a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}

.vorher-nachher-row a:hover {
  box-shadow: var(--shadow2);
  transform: translateY(-3px);
}

.vorher-nachher-row img {
  width: 100%;
  display: block;
}

@media (max-width: 640px) {
  .vorher-nachher-grid { grid-template-columns: 1fr; }
  .vorher-nachher-row { grid-template-columns: 1fr; }
}

/* ── FÖRDER BANNER VARIANTEN ── */
.foerder-banner-light {
  background: #fff5f5;
  border-top: 1px solid rgba(204,17,17,.15);
  border-bottom: 1px solid rgba(204,17,17,.15);
}

.foerder-banner-light strong { color: var(--text); }
.foerder-banner-light p { color: var(--muted); }

/* ── 3 SCHRITTE ── */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  position: relative;
}

.step-number {
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}

.step p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}

.step-divider {
  font-size: 1.5rem;
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── FÖRDER BANNER ── */
.foerder-banner {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 1.75rem 2rem;
}

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

.foerder-inner strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: .3rem;
}

.foerder-inner p {
  color: rgba(255,255,255,.5);
  font-size: .88rem;
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border: none;
  flex-shrink: 0;
}
.btn-white:hover { background: var(--gray); }

/* ── FOOTER NAV ── */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-bottom: .5rem;
}

.footer-nav a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
}

.footer-nav a:hover { color: var(--red3); }

/* ── FAQ ── */
.faq-list { margin-top: 2rem; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.faq-question::before {
  content: 'F:';
  color: var(--red);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
  flex-shrink: 0;
  margin-top: .1rem;
}

.faq-answer {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  padding-left: 1.75rem;
}

/* ── LEISTUNG HERO ── */
.leistung-hero {
  background: var(--black);
  padding: 4.5rem 2rem 4rem 3rem;
  border-left: 4px solid var(--red);
  position: relative;
  overflow: hidden;
}

.leistung-hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(204,17,17,.1) 0%, transparent 70%);
  pointer-events: none;
}

.leistung-hero .breadcrumb {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  margin-bottom: 1rem;
}

.leistung-hero .breadcrumb a {
  color: rgba(255,255,255,.35);
  text-decoration: none;
}

.leistung-hero .breadcrumb a:hover { color: var(--red3); }

.leistung-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.leistung-hero .problem-statement {
  margin-top: .85rem;
  color: rgba(255,255,255,.5);
  font-size: 1rem;
  font-style: italic;
  max-width: 520px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-grid a:first-child { grid-column: span 2; }
  .target-grid { grid-template-columns: 1fr; }
  .trust-numbers-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .steps-grid { flex-direction: column; }
  .step-divider { transform: rotate(90deg); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .project-mosaic { grid-template-columns: 1fr; height: auto; }
  .project-mosaic-side { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; height: 180px; }
  .foerder-highlight-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--black); padding: 1rem; gap: .25rem; border-top: 1px solid rgba(255,255,255,.06); }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .mobile-cta-sticky { display: block; }
  body { padding-bottom: 56px; }
  .hero-stats { gap: 1.25rem; }
  .hero-content { padding: 3.5rem 1.25rem 3.5rem 1.75rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .foerder-highlight-inner { flex-direction: column; align-items: flex-start; }
  .btn-lg { width: 100%; justify-content: center; }
  .services-grid-4 { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .target-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .target-card-photo { height: 130px; }
  .service-card-photo { height: 110px; }
  .service-card-body { padding: 1rem; }
  .target-card-body { padding: 1rem; }
  .service-card-body h3 { font-size: .88rem; }
  .service-problem { font-size: .78rem; }
  .service-card-body p:not(.service-problem) { display: none; }
  section { padding: 3.5rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.75rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .gallery-grid a:first-child { grid-column: span 2; }
  .vorher-nachher-row { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .vorher-nachher-row img { max-height: 220px; object-fit: cover; }
  .page-hero { padding: 3rem 1.25rem 2.5rem 1.75rem; }
  .leistung-hero { padding: 3rem 1.25rem 2.5rem 1.75rem; }
  .trust-bar { padding: 1rem 1.25rem; }
  .trust-bar-inner { gap: 1.25rem; }
  .echeck-benefits { grid-template-columns: 1fr; }
  .echeck-title { font-size: 2rem; }
  .trust-numbers-grid { grid-template-columns: 1fr 1fr; }
  .partner-logos { gap: .75rem; }
  .foerder-inner { flex-direction: column; align-items: flex-start; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .project-mosaic-side { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; height: 180px; }
}

/* ── E-CHECK PROMO ── */
.echeck-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: var(--black);
}
.echeck-bg {
  position: absolute; inset: 0;
  background-image: url('../images/stoerung.jpeg');
  background-size: cover;
  background-position: center center;
  opacity: .22;
}
.echeck-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,10,.72);
}
.echeck-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.echeck-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: .5rem 0 1.25rem;
}
.echeck-lead {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 2rem;
}
.echeck-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: .5rem;
}
.echeck-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 1.25rem;
  transition: background .2s;
}
.echeck-benefit:hover { background: rgba(204,17,17,.12); border-color: rgba(204,17,17,.3); }
.echeck-benefit-icon { display: none; }
.echeck-benefit strong { display: block; color: var(--white); font-size: .95rem; margin-bottom: .35rem; }
.echeck-benefit p { color: rgba(255,255,255,.6); font-size: .87rem; line-height: 1.55; margin: 0; }
