/* ==========================================================================
   heizanlage.de  –  Stylesheet
   Helles, professionelles Layout mit Orange-Akzent (Heiztechnik / Handwerk)
   ========================================================================== */

:root {
  --primary:        #C01C2D;   /* MIG-Rot, Hauptakzent */
  --primary-bright: #E03544;   /* hellere Variante für Hover/Glow */
  --primary-tint:   #FBEAEC;   /* heller Rot-Tint für Karten/Flächen */
  --primary-dark:   #9A1623;   /* dunkleres Rot für Hover-States */

  --ink:    #1A1D21;   /* fast schwarz, Headlines */
  --text:   #353A40;   /* Fließtext */
  --muted:  #5C636B;   /* Sekundärtext */
  --line:   #E6E8EB;   /* Trennlinien, Rahmen */
  --bg:     #FFFFFF;   /* Seitenhintergrund */
  --bg-soft:#F6F7F8;   /* leicht abgesetzte Abschnitte */

  --footer-bg:    #15181C;
  --footer-text:  #C7CDD4;   /* Kontrast auf dunklem Footer (>4.5:1) */
  --footer-head:  #FFFFFF;
  --footer-muted: #9AA2AB;

  --radius:   14px;
  --radius-sm: 9px;
  --shadow:   0 10px 30px rgba(20,30,45,.08);
  --shadow-lg:0 18px 50px rgba(20,30,45,.12);
  --glow:     0 8px 24px rgba(192,28,45,.20);

  --maxw: 1200px;
  --gap:  clamp(1.2rem, 3vw, 2.2rem);

  --font-head: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Fonts werden im <head> per preconnect geladen (kein render-blocking @import) */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.3px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin-bottom: 1.05rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

strong { color: var(--ink); font-weight: 600; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }

.accent { color: var(--primary); }

/* -------------------------------------------------------------------------- */
/*  Buttons                                                                   */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; justify-content: center; }

/* Nav-CTA: flacher, Rot-Verlauf, dezenter Shine */
.btn-nav {
  padding: .55rem 1.3rem;
  background: linear-gradient(120deg, var(--primary-bright), var(--primary) 55%, var(--primary-dark));
  background-size: 180% 100%;
  color: #fff;
  box-shadow: 0 4px 14px rgba(192,28,45,.30);
  position: relative;
  overflow: hidden;
  transition: background-position .4s ease, box-shadow .2s ease, transform .15s ease;
}
.btn-nav:hover {
  color: #fff;
  background-position: 100% 0;
  box-shadow: 0 6px 20px rgba(192,28,45,.42);
  transform: translateY(-1px);
}
.btn-nav::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn-nav:hover::after { animation: nav-shine .7s ease; }
@keyframes nav-shine {
  from { left: -120%; }
  to   { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-nav::after { display: none; }
}

/* -------------------------------------------------------------------------- */
/*  Header / Navigation                                                       */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .85rem clamp(1.25rem, 4vw, 2rem);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -.5px;
}
.brand:hover { color: var(--ink); }
.brand .flame {
  width: 46px; height: 46px;
  display: grid; place-items: center;
}
.brand .flame svg { width: 44px; height: 44px; }
.brand .tld { color: var(--primary); font-size: .95em; margin-left: -.1em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  color: var(--text);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-right { display: flex; align-items: center; gap: .8rem; }
.btn-phone {
  padding: .55rem 1.3rem;
  background: var(--ink);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(26,29,33,.22);
}
.btn-phone svg { flex-shrink: 0; }
.btn-phone:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,29,33,.30);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.burger span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .25s; }

@media (max-width: 1100px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .5rem 0;
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .9rem clamp(1.1rem, 4vw, 2rem); width: 100%; }
  .btn-phone span { display: none; }
  .btn-phone { padding: .5rem .7rem; }
  .burger { display: flex; }
}

/* -------------------------------------------------------------------------- */
/*  Hero                                                                      */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-particles .particle {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  background: #9aa2ab;
  animation-name: particle-rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}
@keyframes particle-rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(14px); opacity: 0; }
}
.hero .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-particles { display: none; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.hero h1 { margin-bottom: 1.1rem; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 1.6rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.8rem;
}
.hbadge {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .7rem .95rem;
  box-shadow: var(--shadow);
}
.hbadge .ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--primary-tint);
  border-radius: 9px;
  color: var(--primary);
  flex-shrink: 0;
}
.hbadge b { font-family: var(--font-head); color: var(--ink); display: block; font-size: .98rem; }
.hbadge small { color: var(--muted); font-size: .82rem; }

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

.service-of {
  gap: .55rem;
  text-decoration: none;
}
.service-of:hover { border-color: var(--primary); }
.service-of-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  color: var(--muted);
  white-space: nowrap;
}
.service-of img { height: 26px; width: auto; display: block; }

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  min-height: 360px;
}
.hero-visual img { width: 100%; height: auto; max-height: 520px; object-fit: contain; display: block; position: relative; z-index: 1; }
.hero-visual .hero-cta { position: relative; z-index: 2; justify-content: center; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 2rem; padding-bottom: 2.5rem; }
  .hero-visual { min-height: 180px; order: -1; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); overflow-wrap: break-word; hyphens: auto; }
  .hero-lead { font-size: 1.02rem; }
  .hero-visual img { max-height: 240px; }
  .hbadge { padding: .6rem .8rem; }
}

/* -------------------------------------------------------------------------- */
/*  Trust-Bar                                                                 */
/* -------------------------------------------------------------------------- */
.trustbar { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); }
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.9rem 0;
}
.trust-item { display: flex; align-items: center; gap: 1rem; }
.trust-item .ico {
  color: #fff;
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
}
.trust-item .ico svg { width: 26px; height: 26px; }
.trust-item b { font-family: var(--font-head); color: #fff; display: block; font-size: 1rem; }
.trust-item small { color: rgba(255,255,255,.85); font-size: .85rem; }
@media (max-width: 820px) { .trustbar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trustbar-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/*  Sections                                                                  */
/* -------------------------------------------------------------------------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-cta-tight { padding-top: clamp(1rem, 2.5vw, 1.8rem); }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.6rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .7rem;
}

/* Prosa-Block für lange Texte */
.prose { max-width: 72rem; }
.prose.center { margin: 0 auto; }
.prose h2 { margin: 2.2rem 0 .9rem; }
.prose h3 { margin: 1.8rem 0 .7rem; }
.prose > p { color: var(--text); }
.prose p a, .prose li a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  font-weight: 600;
}
.prose p a:hover, .prose li a:hover { text-decoration-thickness: 2px; }

/* -------------------------------------------------------------------------- */
/*  Karten-Grid (Leistungen / Geräte)                                         */
/* -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(160deg, #fff, var(--primary-tint));
  border: 1px solid var(--line);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 11px;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card .card-link {
  margin-top: auto;
  padding-top: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
}
.card .card-link::after { content: " →"; }

@media (max-width: 980px) {
  .cards, .cards-3, .cards-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards, .cards-3, .cards-2 { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------- */
/*  Geräte-Liste (Detailseite)                                                */
/* -------------------------------------------------------------------------- */
.device {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.4rem;
}
.device-media {
  background:
    linear-gradient(135deg, rgba(192,28,45,.07), rgba(192,28,45,0)),
    repeating-linear-gradient(135deg, #eef0f2 0 2px, #f6f7f8 2px 18px),
    #f1f3f5;
  border-radius: var(--radius-sm);
  min-height: 170px;
  display: grid; place-items: center;
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
  padding: 1rem;
}
.device-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.device-svg { width: 100%; height: auto; max-height: 170px; display: block; }
.device h3 { margin-bottom: .3rem; }
.device .avail {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  color: var(--primary);
  background: var(--primary-tint);
  padding: .25rem .7rem;
  border-radius: 6px;
  margin-bottom: .8rem;
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .5rem .9rem;
  margin: .6rem 0 1rem;
  list-style: none;
}
.spec-grid li { font-size: .92rem; color: var(--text); }
.spec-grid li b { display: block; font-family: var(--font-head); font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 640px) {
  .device { grid-template-columns: 1fr; }
  .device-media { min-height: 200px; }
}

/* -------------------------------------------------------------------------- */
/*  Check-Liste                                                               */
/* -------------------------------------------------------------------------- */
ul.check { list-style: none; margin: 1.1rem 0; }
ul.check li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: .7rem;
  color: var(--text);
}
ul.check li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/*  Schritte / Prozess                                                        */
/* -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 10px;
  margin-bottom: .8rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.step p { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/*  CTA-Band                                                                  */
/* -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary), var(--primary-bright));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  box-shadow: var(--glow);
}
.cta-band h2 { color: #fff; margin-bottom: .7rem; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 38rem; margin: 0 auto 1.5rem; }
.cta-band .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------------------------- */
/*  FAQ                                                                       */
/* -------------------------------------------------------------------------- */
.faq { max-width: 100%; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: .8rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 1.3rem 1.2rem; color: var(--text); }

/* -------------------------------------------------------------------------- */
/*  Kontakt                                                                   */
/* -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-list .ico { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.contact-list b { font-family: var(--font-head); color: var(--ink); display: block; }
.contact-list a { font-weight: 600; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-soft);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  background: #fff;
}
.note { font-size: .85rem; color: var(--muted); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Notfall-Box */
.emergency {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.emergency .ico { color: var(--primary-bright); flex-shrink: 0; }
.emergency b { font-family: var(--font-head); color: #fff; }
.emergency .e-text { flex: 1; min-width: 220px; }
.emergency .e-text p { color: #C7CDD4; font-size: .95rem; margin: 0; }
.emergency a.btn { background: var(--primary); color: #fff; }
.emergency a.btn:hover { background: var(--primary-bright); }

/* -------------------------------------------------------------------------- */
/*  Footer                                                                    */
/* -------------------------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid .footer-h { color: var(--footer-head); font-size: 1rem; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: .55rem; }
.footer-grid a { color: var(--footer-text); font-weight: 500; }
.footer-grid a:hover { color: var(--primary-bright); }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--footer-head); margin-bottom: .7rem; display: inline-block; }
.footer-brand .tld { color: #FF6E7C; }
.footer-about { color: var(--footer-muted); font-size: .92rem; max-width: 24rem; }
.footer-contact { margin-top: 1rem; font-size: .92rem; }
.footer-contact a { color: var(--footer-text); }
.footer-bottom {
  border-top: 1px solid #2A2F36;
  margin-top: 2.2rem;
  padding-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem;
  font-size: .88rem;
  color: var(--footer-text);
}
.footer-bottom a { color: var(--footer-text); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--primary-bright); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------- */
/*  Sub-Hero (Unterseiten)                                                    */
/* -------------------------------------------------------------------------- */
.subhero {
  background: linear-gradient(180deg, var(--bg-soft), #fff);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.2rem, 5vw, 3.4rem) 0;
}
.subhero .eyebrow { margin-bottom: .8rem; }
.subhero h1 { max-width: 24ch; }
.subhero p { color: var(--muted); font-size: 1.12rem; max-width: 46rem; margin-top: .9rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* Zwei-Spalten Inhalt + Aside */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }
.aside-card {
  background: linear-gradient(160deg, #fff, var(--primary-tint));
  border: 1px solid var(--line);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.aside-card h3 { margin-bottom: .6rem; }
.aside-card p { font-size: .94rem; color: var(--muted); margin-bottom: 1rem; }
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 1rem; top: 1rem;
  background: #fff; padding: .6rem 1rem; border-radius: 8px;
  box-shadow: var(--shadow); z-index: 200;
}

/* WhatsApp-Float-Button, mitwandernd */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 150;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transition: transform .18s ease, box-shadow .2s ease;
}
.wa-float:hover { color: #fff; transform: scale(1.07); box-shadow: 0 8px 26px rgba(37,211,102,.55); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .6; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 600px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
