/* ============================================================
   DESIGN SYSTEM – Elektriker Website
   Inspiriert von elektro-huebner, kg-elektrotechnik, abold
   Mobile-First
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --rot:       #CC0000;
  --rot-hover: #a80000;
  --dunkel:    #1a1a1a;
  --grau-dark: #2d2d2d;
  --grau-mid:  #666666;
  --grau-hell: #f2f2f2;
  --weiss:     #ffffff;
  --text:      #222222;

  --max-breite: 1200px;
  --abstand:    clamp(1rem, 4vw, 2rem);

  --font: 'Segoe UI', Arial, sans-serif;
  --radius: 4px;
  --schatten: 0 2px 12px rgba(0,0,0,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-breite);
  margin: 0 auto;
  padding: 0 var(--abstand);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--rot);
  color: var(--weiss);
}
.btn-primary:hover { background: var(--rot-hover); }

.btn-outline {
  background: transparent;
  color: var(--weiss);
  border-color: var(--weiss);
}
.btn-outline:hover { background: var(--weiss); color: var(--rot); }

.btn-outline-rot {
  background: transparent;
  color: var(--rot);
  border-color: var(--rot);
}
.btn-outline-rot:hover { background: var(--rot); color: var(--weiss); }

.abschnitt {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rot);
  margin-bottom: 0.5rem;
}

.section-titel {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dunkel);
  margin-bottom: 1rem;
}

.section-titel--weiss { color: var(--weiss); }

.section-text {
  font-size: 1rem;
  color: var(--grau-mid);
  max-width: 60ch;
}

.section-text--weiss { color: rgba(255,255,255,0.80); }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dunkel);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}
.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-top {
  background: var(--rot);
  padding: 0.35rem max(var(--abstand), calc((100% - var(--max-breite)) / 2 + var(--abstand)));
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--weiss);
}

.header-top a { color: var(--weiss); font-weight: 600; white-space: nowrap; }
.header-top a:hover { text-decoration: underline; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--abstand);
}

.logo img { height: 52px; width: auto; }
.logo-text {
  color: var(--weiss);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo-text span { color: var(--rot); }

/* Nav */
.main-nav { display: none; }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--weiss); background: rgba(255,255,255,0.10); }

.nav-cta { background: var(--rot) !important; color: var(--weiss) !important; }
.nav-cta:hover { background: var(--rot-hover) !important; }

/* Dropdown */
.main-nav li { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--dunkel);
  border-top: 2px solid var(--rot);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 200;
}
.main-nav li:hover .nav-dropdown,
.main-nav li:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
}
.nav-dropdown a {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 0;
  white-space: nowrap;
  border-left: 2px solid transparent;
}
.nav-dropdown a:hover {
  background: rgba(255,255,255,0.07);
  border-left-color: var(--rot);
  color: #fff;
}
/* Pfeil-Indikator */
.has-dropdown > a::after {
  content: " ▾";
  font-size: 0.7em;
  opacity: 0.7;
}

/* Mobile Dropdown */
.mobile-menu .mob-sub {
  display: none;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid var(--rot);
  margin: 0 0 0.5rem 0;
}
.mobile-menu .mob-sub.is-open { display: block; }
.mobile-menu .mob-sub a {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu .mob-toggle { cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.9); font-size: 1rem; font-weight: 600; padding: 0.85rem 0; }
.mobile-menu .mob-toggle::after { content: "▾"; font-size: 0.75em; opacity: 0.6; transition: transform 0.2s; }
.mobile-menu .mob-toggle.is-open::after { transform: rotate(180deg); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--weiss);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: var(--grau-dark);
  padding: 1rem var(--abstand);
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 600;
}
.mobile-menu a:hover { color: var(--rot); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--dunkel);
  min-height: clamp(380px, 65vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.20) 100%),
    url('../images/hero.jpg') center/cover no-repeat;
}

/* Rotes Akzent-Rechteck links */
.hero-bg::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--rot);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.hero-label {
  display: inline-block;
  background: var(--rot);
  color: var(--weiss);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--weiss);
  margin-bottom: 1.25rem;
  max-width: 18ch;
}

.hero h1 span { color: var(--rot); }

.hero-text {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 50ch;
  margin-bottom: 2rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-badge {
  position: absolute;
  bottom: 1.5rem;
  right: var(--abstand);
  background: var(--rot);
  color: var(--weiss);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(204,0,0,0.4);
}
.hero-badge strong { font-size: 1.1rem; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--grau-hell);
  border-bottom: 1px solid #e0e0e0;
  padding: 1.25rem 0;
}

.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grau-dark);
}

.trust-list li svg { color: var(--rot); flex-shrink: 0; }

/* ============================================================
   LEISTUNGEN GRID (Icon-Kacheln)
   ============================================================ */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: #fff;
}

.leistung-kachel {
  background: var(--weiss);
  box-shadow: 0 0 0 1px #e0e0e0;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: background 0.2s;
  display: block;
  color: var(--text);
}

.leistung-kachel:hover {
  background: var(--grau-hell);
}

.leistung-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  color: var(--rot);
}

.leistung-kachel h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rot);
  margin-bottom: 0.4rem;
}

.leistung-kachel p {
  font-size: 0.82rem;
  color: var(--grau-mid);
  line-height: 1.4;
}

/* Extra-Reihe zentriert unter dem Grid */
.leistungen-extra-row {
  display: flex;
  justify-content: center;
}
.leistungen-extra-row .leistung-kachel {
  width: 25%;
}
@media (max-width: 767px) {
  .leistungen-extra-row .leistung-kachel { width: 50%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .leistungen-extra-row .leistung-kachel { width: 33.333%; }
}

/* ============================================================
   LEISTUNGEN-ÜBERSICHT KARTEN (leistungen.html)
   ============================================================ */
.leistung-karte {
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.leistung-karte:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.12); }

.karte-bild {
  position: relative;
  height: 200px;   /* feste Höhe – alle Bilder gleich */
  overflow: hidden;
  flex-shrink: 0;
}
.karte-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.leistung-karte:hover .karte-bild img { transform: scale(1.04); }
.karte-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}
.karte-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: var(--rot);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}
.karte-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.karte-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.karte-body p  { font-size: 0.875rem; color: var(--grau-mid); flex: 1; margin-bottom: 1rem; }
.karte-mehr   { font-size: 0.82rem; font-weight: 700; color: var(--rot); }

/* Notdienst-Karte */
.leistung-karte--notdienst { border: 2px solid var(--rot); }
.karte-bild--dunkel {
  background: var(--dunkel);
  display: flex;
  align-items: center;
  justify-content: center;
}
.karte-notdienst-inner { text-align: center; padding: 1.5rem; }
.karte-notdienst-blitz { font-size: 2.5rem; margin-bottom: 0.5rem; }
.karte-notdienst-tel   { color: var(--rot); font-size: 1.5rem; font-weight: 900; }
.karte-notdienst-sub   { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin-top: 0.25rem; }
.karte-body--notdienst { background: #fff8f8; }

/* Grid für leistungen.html */
.leistungen-uebersicht {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

/* ============================================================
   SPLIT SECTION (Bild + Text)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.split-bild {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--grau-hell);
}

.split-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Roter Rahmen-Akzent */
.split-bild::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 4px solid var(--rot);
  border-radius: var(--radius);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.split-text h2 { margin-bottom: 1rem; }
.split-text p  { margin-bottom: 1.5rem; color: var(--grau-mid); }

.check-liste {
  list-style: none;
  margin-bottom: 1.75rem;
}
.check-liste li {
  padding: 0.4rem 0;
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--grau-hell);
}
.check-liste li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rot);
  font-weight: 700;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--rot);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--weiss);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.cta-banner .btn-gruppe { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   ZAHLEN / STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-item { text-align: center; }

.stat-zahl {
  display: block;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  color: var(--rot);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--grau-mid);
  font-weight: 600;
}

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

.kontakt-info h2 { margin-bottom: 1rem; }
.kontakt-info p  { color: var(--grau-mid); margin-bottom: 1.5rem; }

.kontakt-details { list-style: none; }
.kontakt-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--grau-hell);
  font-size: 0.95rem;
}
.kontakt-details li svg { color: var(--rot); flex-shrink: 0; margin-top: 2px; }
.kontakt-details a { font-weight: 600; color: var(--rot); }

/* Formular */
.kontakt-formular { background: var(--grau-hell); padding: 2rem; border-radius: var(--radius); }
.kontakt-formular h3 { margin-bottom: 1.5rem; font-size: 1.2rem; color: var(--dunkel); }

.form-gruppe { margin-bottom: 1rem; }
.form-gruppe label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--grau-dark);
}
.form-gruppe input,
.form-gruppe select,
.form-gruppe textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font);
  border: 1.5px solid #d0d0d0;
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--text);
  transition: border-color 0.2s;
  appearance: none;
}
.form-gruppe input:focus,
.form-gruppe select:focus,
.form-gruppe textarea:focus {
  outline: none;
  border-color: var(--rot);
}
.form-gruppe textarea { resize: vertical; min-height: 120px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.form-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--rot); }
.form-check label { font-size: 0.82rem; color: var(--grau-mid); line-height: 1.4; }
.form-check a { color: var(--rot); text-decoration: underline; }

/* ============================================================
   PARTNER-LOGOS
   ============================================================ */
.partner-bar {
  background: var(--grau-hell);
  padding: 2rem 0;
  border-top: 1px solid #e0e0e0;
}

.partner-titel {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grau-mid);
  margin-bottom: 1.25rem;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.partner-logos span {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--grau-mid);
  letter-spacing: 0.05em;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.partner-logos span:hover { opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dunkel);
  color: rgba(255,255,255,0.75);
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-col h4 {
  color: var(--weiss);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--rot);
  display: inline-block;
}

.footer-col p  { font-size: 0.88rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { padding: 0.3rem 0; }
.footer-col ul a {
  color: rgba(255,255,255,0.70);
  font-size: 0.88rem;
  transition: color 0.15s;
}
.footer-col ul a:hover { color: var(--rot); }

.footer-notdienst {
  background: var(--rot);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
}
.footer-notdienst p { font-size: 0.8rem; color: rgba(255,255,255,0.85); margin-bottom: 0.25rem; }
.footer-notdienst a { color: var(--weiss); font-size: 1.15rem; font-weight: 800; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.80rem;
}

.footer-bottom a { color: rgba(255,255,255,0.60); }
.footer-bottom a:hover { color: var(--rot); }
.footer-bottom-links { display: flex; gap: 1.25rem; }

/* ============================================================
   BROTKRUME
   ============================================================ */
.brotkrume {
  background: var(--grau-hell);
  border-bottom: 1px solid #e0e0e0;
  padding: 0.65rem 0;
  font-size: 0.82rem;
  color: var(--grau-mid);
}
.brotkrume ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.brotkrume li + li::before { content: '›'; margin-right: 0.35rem; color: var(--grau-mid); }
.brotkrume a { color: var(--rot); }
.brotkrume [aria-current] { color: var(--grau-mid); }

/* ============================================================
   LEISTUNGSSEITE – Artikel Layout
   ============================================================ */
.leistung-hero {
  background: var(--dunkel);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  margin-bottom: 0;
}
.leistung-hero h1 { color: var(--weiss); font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 0.75rem; }
.leistung-hero p  { color: rgba(255,255,255,0.75); max-width: 60ch; margin-bottom: 1.5rem; }

.leistung-body { padding: clamp(2.5rem, 6vw, 4rem) 0; }

.leistung-abschnitte > section {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--grau-hell);
}
.leistung-abschnitte h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dunkel);
  margin-bottom: 0.75rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--rot);
}
.leistung-abschnitte p { color: var(--grau-mid); }

.leistung-hinweis {
  background: #fff5f5;
  border-left: 4px solid var(--rot);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
}

.leistung-cta {
  background: var(--grau-hell);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}
.leistung-cta h2 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--dunkel); }
.leistung-cta p  { color: var(--grau-mid); margin-bottom: 1.25rem; }
.leistung-cta .btn-gruppe { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ============================================================
   RESPONSIVE – Tablet 768px+
   ============================================================ */
@media (min-width: 768px) {
  .main-nav  { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }

  .leistungen-grid { grid-template-columns: repeat(3, 1fr); }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .split--reverse .split-bild { order: 2; }
  .split--reverse .split-text { order: 1; }

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

  .kontakt-grid { grid-template-columns: 1fr 1.2fr; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE – Desktop 1024px+
   ============================================================ */
@media (min-width: 1024px) {
  .leistungen-grid { grid-template-columns: repeat(4, 1fr); }

  .hero-badge { width: 110px; height: 110px; font-size: 0.72rem; }
}

/* ============================================================
   DRUCKSTILE
   ============================================================ */
@media print {
  .site-header, .hero-badge, .hamburger, .cta-banner, .partner-bar { display: none; }
  body { font-size: 12pt; color: #000; }
}

/* ============================================================
   SCROLL-ANIMATIONEN
   ============================================================ */

/* Fallback: kein JS → alles sofort sichtbar */
html:not(.js-ready) .reveal { opacity: 1 !important; transform: none !important; }

.reveal {
  will-change: opacity, transform;
  transition-property: opacity, transform;
  transition-duration: 600ms;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Ausgangszustände */
.fade-up    { opacity: 0; transform: translateY(32px); }
.fade-down  { opacity: 0; transform: translateY(-32px); }
.fade-left  { opacity: 0; transform: translateX(-40px); }
.fade-right { opacity: 0; transform: translateX(40px); }
.fade-in    { opacity: 0; transform: none; }
.fade-scale { opacity: 0; transform: scale(0.95); }

/* Kleine Distanz-Variante */
.distance-sm.fade-up   { transform: translateY(16px); }
.distance-sm.fade-down { transform: translateY(-16px); }

/* Sichtbar-Zustand (gesetzt per JS) */
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Reduced-motion: keine Bewegung */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}
