/* =====================================================================
   Haustechnik Apitz Mario – style.css (Claude)
   Ruhige, edle Farbwelt: Logo-Blau #2e3192, tiefes Nachtblau, warmes Weiß – Orange nur als Akzent.
   Überschriften h1–h6, a, ul, li stylt der Designer in style_wbs.css – hier nur über Klassen/Bereiche.
   ===================================================================== */
:root {
  --nacht: #12153d;
  --nacht-2: #1b1f57;
  --blau: #2e3192;
  --blau-hell: #eceef8;
  --akzent: #ec8a0c;
  --akzent-hell: #ffb85c;
  --orange-dunkel: #b35900;
  --gold: #f4b400;
  --text: #23263a;
  --grau: #5d6274;
  --linie: #e6e1d9;
  --flaeche: #f7f5f1;
  --weiss: #ffffff;
  --breite: 76rem;
  --radius: 16px;
  --radius-gross: 26px;
  --schatten: 0 16px 44px rgba(18, 21, 61, 0.08);
  --schatten-stark: 0 28px 70px rgba(18, 21, 61, 0.18);
  --fokus: #2e3192;
  --kopf-hoehe: 5.25rem;
  --kopf-gesamt: 9.7rem; /* Servicezeile + Kopfleiste (Desktop) */
  --edel: Georgia, "Times New Roman", serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
.wrap { width: min(100% - 2rem, var(--breite)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 999; padding: 0.7rem 1.2rem; background: var(--blau); color: var(--weiss); border-radius: 999px; font-weight: 700; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 1rem; color: var(--weiss); }
section { scroll-margin-top: 6rem; }
.menue-offen { overflow: hidden; }

/* ---------- Schrift-Klassen (Hausregel) ---------- */
.schrift1 { font-size: 1.2em; color: var(--orange-dunkel); text-align: left; line-height: 1.2; font-weight: bold; }
.schrift2 { font-size: 1.1em; color: var(--blau); line-height: 1.2; }
.schrift3 { font-size: 1.1em; color: #999; line-height: 1.2; }
.schrift4 { font-size: 1.0em; color: var(--orange-dunkel); line-height: 1.0; text-decoration: underline; }
.schrift5 { font-size: 1.0em; color: #FFF; text-align: center; }
.schrift6 { font-size: 1.6em; color: #FFF; text-align: center; }
.hero__slogan2 { display: block; font-size: 1.3em; font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 0.4em; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.65rem; border-radius: 999px; border: 1.5px solid var(--blau);
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  color: var(--weiss); background: var(--blau);
  box-shadow: 0 10px 26px rgba(46, 49, 146, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:visited { color: var(--weiss); text-decoration: none; }
.btn:hover { color: var(--weiss); background: var(--nacht-2); border-color: var(--nacht-2); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(46, 49, 146, 0.3); text-decoration: none; }
.btn--rahmen { color: var(--blau); background: transparent; box-shadow: none; }
.btn--rahmen:visited { color: var(--blau); }
.btn--rahmen:hover { color: var(--weiss); background: var(--blau); }
.btn--akzent { color: var(--nacht); background: var(--akzent); border-color: var(--akzent); box-shadow: 0 10px 26px rgba(236, 138, 12, 0.28); }
.btn--akzent:visited { color: var(--nacht); }
.btn--akzent:hover { color: var(--nacht); background: var(--akzent-hell); border-color: var(--akzent-hell); box-shadow: 0 16px 34px rgba(236, 138, 12, 0.35); }
.btn--glas { color: var(--weiss); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.4); box-shadow: none; }
.btn--glas:visited, .btn--glas:hover { color: var(--weiss); }
.btn--glas:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--weiss); box-shadow: none; }
.btn--blau { }
.btn-gruppe { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.pfeil-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--blau); text-decoration: none; }
.pfeil-link::after { content: "→"; transition: transform 0.25s; }
.pfeil-link:hover::after { transform: translateX(4px); }
.notdienst-symbol { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--akzent); color: var(--weiss); flex: none; }

/* ---------- Mobilleiste (nur Handy) ---------- */
.mobilleiste { position: sticky; top: 0; z-index: 60; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.mobilleiste__inner { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; min-height: 3.4rem; }
.mobilleiste__notdienst { margin-right: auto; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; font-weight: 700; color: var(--nacht); text-decoration: none; }
.mobilleiste__notdienst:visited, .mobilleiste__notdienst:hover { color: var(--nacht); }
.mobilleiste a img { width: 30px; height: 30px; }
.nav-toggle { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; color: var(--weiss); background: var(--blau); cursor: pointer; }

/* ---------- Servicezeile + Header (Desktop) ---------- */
.servicezeile { display: none; }
.site-header { position: relative; z-index: 50; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--kopf-hoehe); }
.marke { display: flex; align-items: center; gap: 0.9rem; flex: none; }
.logo { display: block; flex: none; }
.logo img { width: 150px; height: auto; transition: width 0.3s ease; }
.marke { min-width: 0; }
.marke__zusatz { min-width: 0; max-width: 10.5rem; padding-left: 0.8rem; border-left: 1px solid var(--linie); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5; color: var(--grau); }
@media (min-width: 64em) {
  .marke__zusatz { max-width: none; white-space: nowrap; letter-spacing: 0.1em; }
  .logo img { width: 215px; }
  .header__inner { padding: 0.65rem 0; }
  .ist-gescrollt .header__inner { padding: 0.4rem 0; }
  .page-hero--start .btn { padding: 0.88rem 1.2rem; }
  .page-hero--start .btn-gruppe { gap: 0.6rem; }
  .page-hero--start .btn { white-space: nowrap; }
  .hero__slogan { font-size: 0.82rem; letter-spacing: 0.1em; }
  .marke { gap: 1.2rem; }
  .marke__zusatz { padding-left: 1.2rem; font-size: 0.74rem; }
}

/* Hauptmenü – Handy: Vollbild-Ebene */
#hauptmenue { position: fixed; inset: 3.4rem 0 0 0; z-index: 55; background: var(--nacht); padding: 1.5rem 1rem 3rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform 0.4s cubic-bezier(.2,.8,.2,1), visibility 0.4s; }
#hauptmenue.is-open { transform: none; visibility: visible; }
.nav { list-style: none; margin: 0; padding: 0; }
.nav__item { list-style: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.nav__link, .nav__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 1rem 0.2rem; border: 0; background: none; font: inherit; font-size: 1.35rem; font-weight: 700; color: var(--weiss); text-decoration: none; cursor: pointer; text-align: left; }
.nav__link:visited, .nav__link:hover { color: var(--weiss); text-decoration: none; }
.nav__toggle::after { content: ""; width: 0.6rem; height: 0.6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.25s; margin-right: 0.4rem; }
.nav__toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
.mega { display: none; padding: 0 0 1rem; }
.nav__toggle[aria-expanded="true"] + .mega { display: block; }
.mega__spalte { margin-bottom: 0.8rem; }
.mega__titel { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--akzent-hell); margin: 0.6rem 0 0.3rem; font-weight: 700; }
.mega__liste { list-style: none; margin: 0; padding: 0; }
.mega__liste li { list-style: none; }
.mega__liste a { display: block; padding: 0.45rem 0; color: rgba(255, 255, 255, 0.88); text-decoration: none; font-size: 1.05rem; }
.mega__liste a:visited { color: rgba(255, 255, 255, 0.88); }
.mega__liste a:hover { color: var(--akzent-hell); }
.mega__liste small { display: none; }
.mega__karte { display: none; }
.nav__cta-item { border-bottom: 0; padding-top: 1.2rem; }
.nav__cta { width: 100%; }

@media (min-width: 64em) {
  .mobilleiste { display: none; }
  .servicezeile { display: block; background: var(--flaeche); font-size: 0.9rem; color: var(--grau); }
  .servicezeile__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 2.9rem; }
  .servicezeile__notdienst { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--nacht); text-decoration: none; }
  .servicezeile__notdienst:visited, .servicezeile__notdienst:hover { color: var(--nacht); }
  .servicezeile__notdienst strong { color: var(--orange-dunkel); }
  .servicezeile .notdienst-symbol { width: 1.5rem; height: 1.5rem; }
  .kontaktzeile { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
  .kontaktzeile li { list-style: none; }
  .kontaktzeile a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text); text-decoration: none; }
  .kontaktzeile a:visited { color: var(--text); }
  .kontaktzeile a:hover { color: var(--blau); }
  .kontaktzeile img { width: 26px; height: 26px; transition: transform 0.25s; }
  .kontaktzeile a:hover img { transform: translateY(-2px); }

  .site-header { position: sticky; top: 0; background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); transition: box-shadow 0.3s; }
  .ist-gescrollt .site-header { box-shadow: 0 10px 30px rgba(18, 21, 61, 0.08); }
  .ist-gescrollt .logo img { width: 175px; }
  .ist-gescrollt .header__inner { min-height: 4.25rem; }
  .header__inner { transition: min-height 0.3s ease; }

  #hauptmenue { position: static; inset: auto; transform: none; visibility: visible; background: none; padding: 0; overflow: visible; }
  .nav { display: flex; align-items: center; gap: 0.3rem; }
  .nav__item { border: 0; position: static; }
  .nav__link, .nav__toggle { position: relative; width: auto; padding: 0.6rem 0.95rem; font-size: 1rem; font-weight: 600; color: var(--nacht); border-radius: 999px; }
  .nav__link:visited, .nav__link:hover { color: var(--nacht); }
  .nav__link::before, .nav__toggle::before { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.25rem; height: 2px; border-radius: 2px; background: var(--akzent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
  .nav__link:hover::before, .nav__toggle:hover::before, .nav__link[aria-current="page"]::before, .nav__toggle[aria-expanded="true"]::before { transform: scaleX(1); }
  .nav__toggle::after { width: 0.42rem; height: 0.42rem; margin: -0.2rem 0 0 0.55rem; }
  .nav__toggle { gap: 0; }
  .nav__cta-item { padding: 0 0 0 0.6rem; }
  .nav__cta { width: auto; padding: 0.75rem 1.35rem; }

  .mega { position: absolute; left: 50%; top: 100%; width: min(100vw - 2rem, var(--breite)); transform: translate(-50%, 10px); display: grid; grid-template-columns: repeat(4, 1fr) 1.1fr; gap: 1.5rem; padding: 1.8rem; background: var(--weiss); border-radius: 0 0 var(--radius-gross) var(--radius-gross); box-shadow: var(--schatten-stark); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s; }
  .nav__toggle[aria-expanded="true"] + .mega { display: grid; opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
  .mega__titel { color: var(--orange-dunkel); margin: 0 0 0.6rem; }
  .mega__liste a { padding: 0.55rem 0.7rem; margin: 0 -0.7rem; border-radius: 12px; color: var(--nacht); font-weight: 600; font-size: 1rem; transition: background 0.2s; }
  .mega__liste a:visited { color: var(--nacht); }
  .mega__liste a:hover { color: var(--blau); background: var(--flaeche); }
  .mega__liste small { display: block; font-weight: 400; font-size: 0.82rem; color: var(--grau); line-height: 1.35; }
  .mega__karte { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.4rem; padding: 1.4rem; border-radius: var(--radius); color: var(--weiss); background: radial-gradient(120% 120% at 100% 0%, rgba(236, 138, 12, 0.45), transparent 55%), var(--nacht); text-decoration: none; min-height: 12rem; }
  .mega__karte:visited, .mega__karte:hover { color: var(--weiss); }
  .mega__karte strong { font-size: 1.3rem; line-height: 1.2; }
  .mega__karte span { opacity: 0.85; font-size: 0.95rem; }
  .mega__karte .mega__nummer { font-size: 1.15rem; font-weight: 800; opacity: 1; color: var(--akzent-hell); }
  .nav__item:has(.mega--klein) { position: relative; }
  .mega.mega--klein { left: 0; top: calc(100% + 1.1rem); width: 21rem; grid-template-columns: 1fr; border-radius: var(--radius-gross); transform: translateY(10px); }
  .nav__toggle[aria-expanded="true"] + .mega.mega--klein { transform: none; }
  .menue-offen { overflow: visible; }
}

/* ---------- Hero (Startseite): Text links, Bild-Collage rechts (Haus mit Wärmepumpe + Bad) ---------- */
.page-hero--start { position: relative; overflow: hidden; color: var(--nacht); background: radial-gradient(55% 70% at 88% 35%, #e9eef9 0%, rgba(233, 238, 249, 0) 70%), linear-gradient(180deg, #ffffff 0%, #f7f5f1 100%); }
.page-hero--start .page-hero__grid { position: relative; display: grid; gap: 2.5rem; padding: 1.6rem 0 6.5rem; }
.page-hero--start h1 { margin: 0; color: var(--nacht); font-size: 1rem; line-height: 1.1; font-weight: 400; }
.page-hero--start h1 > span { display: block; opacity: 0; transform: translateY(18px); animation: einfliegen 0.9s cubic-bezier(.2,.7,.2,1) forwards; }
.page-hero--start h1 > span:nth-child(2) { animation-delay: 0.15s; }
.page-hero--start h1 > span:nth-child(3) { animation-delay: 0.3s; }
.page-hero--start .lead, .page-hero--start .btn-gruppe, .page-hero--start .hero-fakten { opacity: 0; animation: einfliegen 0.9s 0.5s cubic-bezier(.2,.7,.2,1) forwards; }
.page-hero--start .btn-gruppe { animation-delay: 0.65s; }
.page-hero--start .hero-fakten { animation-delay: 0.8s; }
@keyframes einfliegen { to { opacity: 1; transform: none; } }
.page-hero--start .kicker { display: inline-flex !important; align-items: center; gap: 0.6rem; width: fit-content; padding: 0.4rem 0.95rem; border-radius: 999px; border: 1px solid var(--linie); background: rgba(255, 255, 255, 0.85); font-size: 0.9rem; color: var(--grau); margin-bottom: 1.3rem; }
.page-hero--start .kicker::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--akzent); }
.hero__slogan { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-dunkel); margin-bottom: 0.8rem; }
.hero__slogan::after { content: ""; display: block; width: 3.5rem; height: 2px; margin-top: 0.8rem; background: var(--akzent); transform-origin: left; animation: linie 1.2s 0.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes linie { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.page-hero--start .hero__headline { font-size: clamp(1.8rem, 2.75vw, 2.55rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; color: var(--nacht); }
.page-hero--start .hero__headline em { font-family: var(--edel); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--blau); }
.page-hero--start .lead { margin: 1.4rem 0 0; font-size: 1.12rem; color: var(--grau); max-width: 34rem; }
.page-hero--start .lead strong { color: var(--nacht); }
.page-hero--start .btn-gruppe { margin-top: 1.9rem; }
.hero-fakten { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.hero-fakten li { list-style: none; font-size: 0.92rem; color: var(--grau); padding-left: 0.9rem; border-left: 2px solid var(--akzent); line-height: 1.3; }
.hero-fakten strong { display: block; font-size: 1.1rem; color: var(--nacht); }

/* Bild-Collage */
.hero-collage { position: relative; order: -1; margin-bottom: 1.5rem; }
.hero-collage figure { margin: 0; }
.hero-collage__haupt { position: relative; border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten-stark); aspect-ratio: 5 / 4; }
.hero-collage__haupt img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; animation: hero-auf 2.2s cubic-bezier(.2,.7,.2,1) both, kenburns 30s 2.2s ease-in-out infinite alternate; }
@keyframes hero-auf { from { transform: scale(1.12); filter: brightness(1.08) saturate(0.9); } to { transform: scale(1); filter: none; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
.hero-collage__neben { position: absolute; left: -0.5rem; bottom: -2rem; width: 48%; border-radius: 20px; overflow: hidden; border: 5px solid var(--weiss); box-shadow: var(--schatten-stark); aspect-ratio: 4 / 3; opacity: 0; animation: neben-auf 1.1s 0.9s cubic-bezier(.2,.7,.2,1) forwards, schweben 7s 2s ease-in-out infinite; }
.hero-collage__neben img { width: 100%; height: 100%; object-fit: cover; }
/* Wärmepumpe „bläst“ leicht: zarte Luftschwaden aus dem Lüftergitter (nur angedeutet) */
.luft { position: absolute; left: var(--luft-x, 18%); top: var(--luft-y, 44%); width: var(--luft-b, 32%); height: var(--luft-h, 40%); pointer-events: none; z-index: 1; }
.luft i { position: absolute; right: 0; width: 80%; height: 11%; border-radius: 999px; background: linear-gradient(90deg, rgba(214, 230, 250, 0) 0%, rgba(214, 230, 250, 0.75) 45%, rgba(240, 246, 255, 0.9) 70%, rgba(214, 230, 250, 0) 100%); filter: blur(4px); opacity: 0; animation: luft 5.2s 2.4s ease-out infinite; }
.luft i:nth-child(1) { top: 4%; }
.luft i:nth-child(2) { top: 24%; animation-delay: 3.4s; }
.luft i:nth-child(3) { top: 44%; animation-delay: 4.5s; }
.luft i:nth-child(4) { top: 62%; animation-delay: 5.5s; }
.luft i:nth-child(5) { top: 30%; width: 55%; animation-delay: 6.4s; }
@keyframes luft {
  0% { transform: translateX(15%) scale(0.4, 0.7); opacity: 0; }
  20% { opacity: 0.85; }
  100% { transform: translateX(-110%) translateY(-30%) scale(1.3, 2.2); opacity: 0; }
}
@keyframes neben-auf { from { opacity: 0; transform: translate(-20px, 30px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-chip { position: absolute; left: 0.8rem; top: 0.8rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: var(--nacht); box-shadow: 0 6px 16px rgba(18, 21, 61, 0.12); }
.glaskarte { display: inline-flex; align-items: center; gap: 0.9rem; width: fit-content; padding: 0.85rem 1.15rem; border-radius: 18px; color: var(--nacht); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px rgba(18, 21, 61, 0.16); text-decoration: none; line-height: 1.25; transition: transform 0.3s, box-shadow 0.3s; }
.glaskarte:visited, .glaskarte:hover { color: var(--nacht); }
.glaskarte:hover { box-shadow: 0 24px 50px rgba(18, 21, 61, 0.22); }
.glaskarte__zahl { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--nacht); }
.glaskarte__text { font-size: 0.86rem; color: var(--grau); }
.glaskarte__text strong { display: block; font-size: 0.96rem; color: var(--nacht); margin-top: 0.1rem; }
.glaskarte--bewertung { position: absolute; right: 0.6rem; bottom: -1.4rem; opacity: 0; animation: einfliegen 0.9s 1.2s cubic-bezier(.2,.7,.2,1) forwards; transform: translateY(18px); }
.sterne { display: inline-flex; gap: 2px; font-size: 1.05rem; letter-spacing: 0; color: var(--gold); }

@media (min-width: 64em) {
  .page-hero--start .page-hero__grid { grid-template-columns: minmax(0, 0.97fr) minmax(0, 1.03fr); gap: 2.5rem; align-items: center; height: calc(100svh - var(--kopf-gesamt)); min-height: 30rem; max-height: 52rem; padding: 1.5rem 0 3.5rem; }
  /* Kopfbereich passt immer in den Bildschirm: Höhe = Fenster minus Servicezeile und Kopfleiste */
  .page-hero--start .hero__headline { font-size: clamp(1.6rem, min(2.75vw, 4.6vh), 2.55rem); }
  .page-hero--start .lead { font-size: clamp(1rem, 2.2vh, 1.12rem); margin-top: clamp(0.8rem, 2vh, 1.4rem); }
  .page-hero--start .btn-gruppe { margin-top: clamp(1rem, 2.6vh, 1.9rem); }
  .page-hero--start .kicker { margin-bottom: clamp(0.6rem, 1.8vh, 1.3rem); }
  .hero-fakten { margin-top: clamp(1rem, 2.6vh, 2rem); }
  /* rechtes Bild groß, bis an den rechten Fensterrand */
  .hero-collage { order: 0; margin: 0 calc((min(100vw, var(--breite)) - 100vw) / 2 - 1rem) 0 2rem; }
  .hero-collage__haupt { aspect-ratio: auto; height: clamp(20rem, calc(100svh - var(--kopf-gesamt) - 7rem), 44rem); border-radius: var(--radius-gross) 0 0 var(--radius-gross); }
  .hero-collage__neben { left: -3.5rem; bottom: -3rem; width: min(42%, 40vh); border-width: 6px; }
  .glaskarte--bewertung { right: max(2rem, calc((100vw - var(--breite)) / 2)); top: 2rem; bottom: auto; }
  .hero-chip { left: 1.2rem; top: 1.2rem; }
  .page-hero--start::before { content: ""; position: absolute; right: -6rem; top: 3rem; width: 26rem; height: 26rem; border-radius: 50%; border: 1px solid rgba(46, 49, 146, 0.08); }
}

/* ---------- Zahlenband ---------- */
.zahlenband { position: relative; z-index: 3; margin-top: -3.5rem; }
@media (min-width: 64em) {
  .zahlenband { margin-top: 0; padding-top: 0.5rem; }
  .hero-collage__neben { bottom: -2rem; }
}
/* niedrige Bildschirme (z. B. Notebook mit Windows-Skalierung): Zusatzzeilen im Kopf weglassen, damit alles sichtbar bleibt */
@media (min-width: 64em) and (max-height: 51em) { .page-hero--start .kicker { display: none !important; } }
@media (min-width: 64em) and (max-height: 46em) { .hero-fakten { display: none; } }
.zahlenband__karte { background: var(--weiss); border-radius: var(--radius-gross); box-shadow: var(--schatten-stark); padding: 1.6rem; display: grid; gap: 1.2rem; border: 1px solid var(--linie); }
.zahlenband__kopf { margin: 0; }
.zahlenband__kopf .kicker { display: block; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--orange-dunkel); }
.zahlenband__titel { display: block; font-size: 1.35rem; font-weight: 800; color: var(--nacht); line-height: 1.2; }
.zahlenband__liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.zahlen__punkt { list-style: none; padding-left: 1rem; border-left: 2px solid var(--linie); }
.zahlen__wert { display: flex; align-items: baseline; gap: 0.15rem; font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--nacht); }
.zahlen__wert .sterne { font-size: 1rem; margin-left: 0.35rem; }
.zahlen__plus { color: var(--akzent); }
.zahlen__text { display: block; margin-top: 0.4rem; font-size: 0.92rem; line-height: 1.4; color: var(--grau); }
@media (min-width: 64em) {
  .zahlenband__karte { grid-template-columns: 0.8fr 3fr; align-items: center; padding: 2rem 2.4rem; gap: 2rem; }
  .zahlenband__liste { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Abschnitte allgemein ---------- */
.section { padding: 5rem 0; }
.section--alt { background: var(--flaeche); }
.dachzeile, .abschnitt__kicker { display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--orange-dunkel); margin-bottom: 0.7rem; }
.abschnitt__kopf { max-width: 46rem; margin-bottom: 2.4rem; }
.abschnitt__kopf h3, .energien h3 { font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 0.8rem; color: var(--nacht); }
.abschnitt__kopf p { color: var(--grau); font-size: 1.08rem; }

/* ---------- Block 2: Bild links + Fachbereiche ---------- */
.page-hero--bild-links { padding: 5.5rem 0 4rem; }
.page-hero--bild-links .page-hero__grid { display: grid; gap: 2.5rem; }
.page-hero--bild-links h2 { margin: 0.3rem 0 1rem; color: var(--nacht); font-size: 1.15rem; font-weight: 400; }
.page-hero--bild-links .hero__slogan2 { color: var(--nacht); font-size: clamp(1.7rem, 3vw, 2.35rem); }
.page-hero--bild-links .hero__headline { display: block; font-size: 1.1rem; line-height: 1.55; color: var(--grau); }
.bild { position: relative; margin: 0; }
.page-hero--bild-links .bild img { width: 100%; border-radius: var(--radius-gross); box-shadow: var(--schatten); }
/* ganz im Bild: die figure schneidet über page-hero__bild alles außerhalb ab */
.bild-plakette { position: absolute; right: 1rem; bottom: 1rem; max-width: 15rem; margin: 0; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--nacht); color: var(--weiss); font-size: 0.92rem; line-height: 1.35; box-shadow: var(--schatten-stark); }
.bild-plakette__zahl { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--akzent-hell); }
/* Handy: kleiner und unten links, damit die Person im Bild frei bleibt */
@media (max-width: 40em) {
  .bild-plakette { left: 0.75rem; right: auto; bottom: 0.75rem; max-width: 11.5rem; padding: 0.65rem 0.85rem; font-size: 0.78rem; }
  .bild-plakette__zahl { font-size: 1.5rem; }
}
.fachbereiche { display: grid; gap: 0.75rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.fachbereich { list-style: none; display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--linie); transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; }
.fachbereich:hover { border-color: #d6d0c6; box-shadow: var(--schatten); transform: translateY(-2px); }
/* Symbole farbig nach Thema: Heizung warm, Sanitär Wasser, Klima Luft, Beregnung Grün, Service Nachtblau */
.fachbereich__icon { flex: none; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 14px; color: var(--weiss); background: var(--icon-farbe, var(--blau)); box-shadow: 0 8px 18px -6px var(--icon-schatten, rgba(46, 49, 146, 0.45)); transition: transform 0.3s ease; }
.fachbereich:nth-child(1) { --icon-farbe: #e8780c; --icon-schatten: rgba(232, 120, 12, 0.5); }
.fachbereich:nth-child(2) { --icon-farbe: #2e3192; --icon-schatten: rgba(46, 49, 146, 0.45); }
.fachbereich:nth-child(3) { --icon-farbe: #0b97d3; --icon-schatten: rgba(11, 151, 211, 0.45); }
.fachbereich:nth-child(4) { --icon-farbe: #2e9c5a; --icon-schatten: rgba(46, 156, 90, 0.45); }
.fachbereich:nth-child(5) { --icon-farbe: #6b8e23; --icon-schatten: rgba(107, 142, 35, 0.45); }
.fachbereich:nth-child(6) { --icon-farbe: #8a5a3c; --icon-schatten: rgba(138, 90, 60, 0.45); }
.fachbereich:nth-child(7) { --icon-farbe: #12153d; --icon-schatten: rgba(18, 21, 61, 0.45); }
.fachbereich:nth-child(7) .fachbereich__icon { color: var(--akzent-hell); }
.fachbereich:hover .fachbereich__icon { transform: scale(1.08) rotate(-4deg); }
.fachbereich strong { display: block; color: var(--nacht); font-size: 1.05rem; margin-bottom: 0.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.chips li { list-style: none; }
.chips a, .chips span { display: inline-block; padding: 0.22rem 0.7rem; border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie); color: var(--blau); font-size: 0.88rem; text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.chips a:visited { color: var(--blau); }
.chips a:hover { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
@media (min-width: 64em) {
  .page-hero--bild-links .page-hero__grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
  .page-hero--bild-links .page-hero__grid > .bild { order: -1; margin-right: 0; margin-left: calc((min(100vw, var(--breite)) - 100vw) / 2 - 1rem); }
  /* Sieben Fachbereiche (seit 02.12.2026): Text ist viel höher als das Bild – Bild läuft beim Scrollen mit */
  .page-hero--bild-links .page-hero__grid > .bild { align-self: start; position: sticky; top: 7rem; }
  .page-hero--bild-links .bild img { border-radius: 0 var(--radius-gross) var(--radius-gross) 0; min-height: 34rem; object-fit: cover; object-position: 30% 50%; }
}

/* ---------- Leistungen: Liste links, großes Bild rechts (Nutzer 28.10.2026) ---------- */
.leistungen { padding: 5.5rem 0; }
.leistungen__raster { display: grid; gap: 3rem; align-items: center; }
.leistungen h3 { font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 1rem; color: var(--nacht); }
.leistungen__intro { font-size: 1.1rem; color: var(--grau); max-width: 40rem; margin-bottom: 2rem; }
.leistungen__intro strong { color: var(--nacht); }
.leistungsliste { display: grid; gap: 0.2rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.leistungsliste li { list-style: none; }
.leistung { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem 0.2rem; border-bottom: 1px solid var(--linie); color: var(--text); text-decoration: none; transition: border-color 0.3s; }
.leistung:visited, .leistung:hover { color: var(--text); text-decoration: none; }
.leistung__icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 14px; color: var(--weiss); background: var(--icon-farbe, var(--blau)); box-shadow: 0 8px 18px -6px var(--icon-schatten, rgba(46, 49, 146, 0.45)); transition: transform 0.3s ease; }
.leistung--heizung { --icon-farbe: #e8780c; --icon-schatten: rgba(232, 120, 12, 0.5); }
.leistung--waerme { --icon-farbe: #0b97d3; --icon-schatten: rgba(11, 151, 211, 0.45); }
.leistung--bad { --icon-farbe: #2e3192; --icon-schatten: rgba(46, 49, 146, 0.45); }
.leistung--solar { --icon-farbe: #f2a900; --icon-schatten: rgba(242, 169, 0, 0.5); }
.leistung--klima { --icon-farbe: #12153d; --icon-schatten: rgba(18, 21, 61, 0.45); }
.leistung--klima .leistung__icon { color: #8fd3f4; }
.leistung--beregnung { --icon-farbe: #2e9c5a; --icon-schatten: rgba(46, 156, 90, 0.45); }
.inhalt-bild { margin: 1.6rem 0 0; }
.inhalt-bild img { display: block; width: 100%; height: auto; border-radius: var(--radius-gross); box-shadow: var(--schatten); }
.leistung--galabau { --icon-farbe: #6b8e23; --icon-schatten: rgba(107, 142, 35, 0.45); }
.leistung--abriss { --icon-farbe: #8a5a3c; --icon-schatten: rgba(138, 90, 60, 0.45); }
.leistung__text strong { display: block; font-size: 1.05rem; color: var(--nacht); line-height: 1.3; transition: color 0.25s; }
.leistung__text span { display: block; font-size: 0.93rem; color: var(--grau); line-height: 1.45; margin-top: 0.15rem; }
.leistung__pfeil { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--linie); color: var(--blau); transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s; }
.leistung:hover { border-bottom-color: var(--akzent); }
.leistung:hover .leistung__icon { transform: scale(1.08) rotate(-4deg); }
.leistung:hover .leistung__text strong { color: var(--blau); }
.leistung:hover .leistung__pfeil { background: var(--blau); border-color: var(--blau); color: var(--weiss); transform: translateX(3px); }
.leistungen .btn-gruppe { margin-top: 2.2rem; align-items: center; }
.leistungen__bild { position: relative; margin: 0; }
.leistungen__bild img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-gross); box-shadow: var(--schatten-stark); }
.leistungen__siegel { position: absolute; left: 1.2rem; bottom: 1.2rem; max-width: 17rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--schatten); font-size: 0.88rem; color: var(--grau); line-height: 1.4; }
.leistungen__siegel strong { display: block; font-size: 1.1rem; color: var(--nacht); margin-bottom: 0.15rem; }
.leistungen__siegel::before { content: ""; display: block; width: 2.2rem; height: 2px; margin-bottom: 0.6rem; background: var(--akzent); }
@media (min-width: 48em) { .leistungsliste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) {
  .leistungen__raster { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4.5rem; }
  /* Bild hoch und bis an den rechten Fensterrand */
  .leistungen__bild { align-self: stretch; margin-right: calc((min(100vw, var(--breite)) - 100vw) / 2 - 1rem); }
  .leistungen__bild img { aspect-ratio: auto; min-height: 36rem; border-radius: var(--radius-gross) 0 0 var(--radius-gross); }
  .leistungen__siegel { left: -2rem; bottom: 3rem; }
}

/* ---------- Alternative Energien ---------- */
.energien { position: relative; color: var(--weiss); padding: 5.5rem 0; background-color: var(--nacht); background-image: linear-gradient(115deg, rgba(18, 21, 61, 0.95) 20%, rgba(18, 21, 61, 0.78) 60%, rgba(27, 31, 87, 0.6)), url("../images/startseite/solar-himmel-1200.jpg"); background-size: cover; background-position: center; }
.energien h3 { color: var(--weiss); }
.energien .abschnitt__kicker { color: var(--akzent-hell); }
.energien .abschnitt__kopf p { color: rgba(255, 255, 255, 0.78); }
.energie-karten { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.energie-karte { list-style: none; padding: 1.7rem; border-radius: var(--radius-gross); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform 0.3s, background 0.3s; }
.energie-karte:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); }
.energie-karte__symbol { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 16px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--akzent-hell); margin-bottom: 1rem; }
.energie-karte__titel { display: block; font-size: 1.2rem; font-weight: 800; margin-bottom: 0.3rem; }
.energie-karte__wert { display: block; font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--weiss); margin: 0.6rem 0 0.3rem; }
.energie-karte p { color: rgba(255, 255, 255, 0.78); margin: 0; font-size: 0.98rem; }
.energie-karte a { color: var(--akzent-hell); font-weight: 700; }
@media (min-width: 64em) {
  .energien { background-image: linear-gradient(115deg, rgba(18, 21, 61, 0.95) 20%, rgba(18, 21, 61, 0.78) 60%, rgba(27, 31, 87, 0.6)), url("../images/startseite/solar-himmel-2200.jpg"); background-attachment: fixed; }
  .energie-karten { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
}

/* ---------- Vorteile ---------- */
.vorteile h4 { margin: 0 auto 2.6rem; max-width: 46rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--nacht); }
.titel-linie::after { content: ""; display: block; width: 3.5rem; height: 2px; margin: 1rem auto 0; background: var(--akzent); }
.grid { display: grid; gap: 1.2rem; }
@media (min-width: 40em) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.karte { position: relative; padding: 2rem 1.6rem 1.7rem; border-radius: var(--radius-gross); background: var(--weiss); border: 1px solid var(--linie); overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s; }
.karte::before { content: ""; position: absolute; left: 1.6rem; top: 0; width: 2.5rem; height: 3px; background: var(--akzent); transition: width 0.45s ease; }
.karte:hover { transform: translateY(-6px); box-shadow: var(--schatten-stark); border-color: transparent; }
.karte:hover::before { width: calc(100% - 3.2rem); }
.karte__nr { position: absolute; right: 1.2rem; top: 0.8rem; font-family: var(--edel); font-style: italic; font-size: 2.6rem; line-height: 1; color: #e3ddd3; transition: color 0.35s; }
.karte:hover .karte__nr { color: var(--akzent-hell); }
.karte__symbol { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 16px; background: var(--blau-hell); color: var(--blau); margin-bottom: 1.2rem; transition: background 0.35s, color 0.35s; }
.karte:hover .karte__symbol { background: var(--blau); color: var(--weiss); }
.karte h5, .karte .h5 { position: relative; margin: 0 0 0.6rem; font-size: 1.2rem; font-weight: 800; color: var(--nacht); line-height: 1.25; }
.karte p { margin: 0; color: var(--grau); font-size: 0.98rem; }

/* ---------- Notdienst-Band ---------- */
.notdienst { padding: 0 0 5rem; }
.notdienst__band { position: relative; display: grid; gap: 1.6rem; align-items: center; padding: 2.4rem 1.8rem; border-radius: var(--radius-gross); color: var(--weiss); overflow: hidden; background: radial-gradient(70% 140% at 100% 0%, rgba(236, 138, 12, 0.32), transparent 60%), var(--nacht); box-shadow: var(--schatten-stark); }
.notdienst__ring { position: relative; display: grid; place-items: center; width: 5.2rem; height: 5.2rem; border-radius: 50%; background: var(--akzent); color: var(--weiss); }
.notdienst__ring::before { content: ""; position: absolute; inset: -0.5rem; border-radius: 50%; border: 1.5px solid rgba(236, 138, 12, 0.45); }
.notdienst__titel { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.4rem; }
.notdienst__band p { margin: 0; color: rgba(255, 255, 255, 0.8); }
.notdienst__nummer { display: inline-block; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: 0.01em; color: var(--weiss); text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--akzent); }
.notdienst__nummer:visited, .notdienst__nummer:hover { color: var(--weiss); }
.notdienst__nummer:hover { color: var(--akzent-hell); }
@media (min-width: 64em) { .notdienst__band { grid-template-columns: auto 1fr auto; gap: 2.4rem; padding: 2.6rem 3rem; } }

/* ---------- Galerie ---------- */
.galerie__kopf { display: grid; gap: 0.6rem; margin-bottom: 2rem; }
.galerie__kopf .hero__headline { display: block; font-size: clamp(1.7rem, 3vw, 2.45rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; color: var(--nacht); }
.galerie__kopf p { margin: 0; color: var(--grau); max-width: 44rem; }
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.galerie li { list-style: none; }
.galerie__link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.galerie__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(.2,.8,.2,1); }
.galerie__link::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; font-weight: 300; color: var(--weiss); background: rgba(18, 21, 61, 0.4); opacity: 0; transition: opacity 0.35s; }
.galerie__link:hover img, .galerie__link:focus-visible img { transform: scale(1.06); }
.galerie__link:hover::after, .galerie__link:focus-visible::after { opacity: 1; }
.hinweis { margin: 1.2rem 0 0; font-size: 0.9rem; color: var(--grau); }
@media (min-width: 48em) {
  .galerie { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .galerie li:nth-child(1), .galerie li:nth-child(8) { grid-column: span 2; grid-row: span 2; }
  .galerie li:nth-child(1) .galerie__link, .galerie li:nth-child(8) .galerie__link { aspect-ratio: auto; height: 100%; }
}

/* Bildvorschau (Lightbox) */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 14, 40, 0.94); color: var(--weiss); }
.lightbox::backdrop { background: rgba(12, 14, 40, 0.94); }
.lightbox__figur { margin: 0; height: 100%; display: grid; place-items: center; align-content: center; gap: 0.8rem; padding: 4rem 1rem 2rem; }
.lightbox__bild { max-width: min(92vw, 1600px); max-height: 78vh; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox__text { font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); text-align: center; }
.lightbox__knopf { position: fixed; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--weiss); cursor: pointer; transition: background 0.2s; }
.lightbox__knopf:hover { background: var(--akzent); }
.lightbox__schliessen { top: 1rem; right: 1rem; }
.lightbox__zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__weiter { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Kontakt (CTA + Formular) ---------- */
.section--cta { position: relative; color: var(--weiss); background: radial-gradient(60% 70% at 100% 100%, rgba(236, 138, 12, 0.16), transparent 60%), var(--nacht); }
.kontakt-raster { display: grid; gap: 2.5rem; }
.kontakt-raster__text .kicker { display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--akzent-hell); margin-bottom: 0.7rem; }
.kontakt-raster__text .schrift6 { display: block; text-align: left; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1rem; }
.section__intro { color: rgba(255, 255, 255, 0.8); font-size: 1.08rem; }
.kontakt-raster__text .gruss { margin-top: 1.2rem; font-family: var(--edel); font-style: italic; font-size: 1.1rem; color: rgba(255, 255, 255, 0.78); }
.kontakt-kacheln { display: grid; gap: 0.7rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.kontakt-kacheln li { list-style: none; }
.kontakt-kacheln a { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--weiss); text-decoration: none; transition: background 0.25s, transform 0.25s; }
.kontakt-kacheln a:visited, .kontakt-kacheln a:hover { color: var(--weiss); }
.kontakt-kacheln a:hover { background: rgba(255, 255, 255, 0.1); transform: translateX(4px); }
.kontakt-kacheln__icon img { width: 30px; height: 30px; border-radius: 50%; background: var(--weiss); }
.kontakt-kacheln__titel { display: block; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--akzent-hell); font-weight: 700; }
.formular { display: grid; gap: 1.05rem; padding: 1.8rem 1.4rem; border-radius: var(--radius-gross); background: var(--weiss); color: var(--text); box-shadow: var(--schatten-stark); }
.formular__titel { margin: 0; font-size: 1.5rem; font-weight: 800; color: var(--nacht); line-height: 1.2; }
.formular label { display: block; margin-bottom: 0.3rem; font-weight: 600; }
.formular .pflicht { font-weight: 400; color: var(--grau); font-size: 0.9rem; }
.formular input, .formular textarea { width: 100%; font: inherit; color: var(--text); padding: 0.8rem 0.95rem; border: 1.5px solid #d6d2ca; border-radius: 12px; background: #fcfbf9; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.formular input:hover, .formular textarea:hover { border-color: #a8a399; }
.formular input:focus, .formular textarea:focus { outline: none; background: var(--weiss); border-color: var(--blau); box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.12); }
.formular input:focus-visible, .formular textarea:focus-visible { outline: 3px solid var(--fokus); outline-offset: 1px; }
.formular textarea { min-height: 9rem; resize: vertical; }
.formular .feld-hinweis { margin: 0.3rem 0 0; font-size: 0.9rem; color: var(--grau); }
.formular .datenschutz-hinweis { margin: 0; font-size: 0.93rem; }
.formular .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular .btn { width: 100%; }
.zwei-felder { display: grid; gap: 1.05rem; }
.meldung { display: none; margin: 0 0 1rem; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; line-height: 1.5; scroll-margin-top: 8rem; }
.meldung:target { display: block; }
.meldung--ok { background: #e8f5ec; color: #17603a; }
.meldung--fehler { background: #fdecea; color: #9b1c1c; }
.meldung a { color: inherit; font-weight: 800; }
@media (min-width: 40em) { .zwei-felder { grid-template-columns: 1fr 1fr; } .formular { padding: 2.2rem; } }
@media (min-width: 64em) { .kontakt-raster { grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; } .formular .btn { width: auto; } }

/* ---------- FAQ ---------- */
.faq-raster { display: grid; gap: 2rem; }
.faq-raster__kopf .kicker { display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--orange-dunkel); margin-bottom: 0.7rem; }
.faq-raster__kopf h6, .faq-raster__kopf .h6 { margin: 0 0 1rem; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.15; color: var(--nacht); }
.faq-raster__kopf p { color: var(--grau); }
.faq-raster__frage { margin-top: 1.6rem; padding: 1.4rem; border-radius: var(--radius); background: var(--flaeche); border: 1px solid var(--linie); }
.faq-raster__frage p { margin-bottom: 1rem; }
.faq .acc { margin: 0 0 0.7rem; }
.faq .acc .choice { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); background: var(--weiss); transition: box-shadow 0.3s, border-color 0.3s; }
.faq .acc .choice:hover { border-color: #d6d0c6; }
.faq .acc .choice:has(input.open:checked) { box-shadow: var(--schatten); border-color: transparent; }
.faq .acc label { padding: 1.1rem 1.2rem; border-bottom: 0; font-weight: 700; font-size: 1.04rem; color: var(--nacht); background: var(--weiss); }
.faq .acc label:nth-child(odd)::after { content: "+"; display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--blau-hell); color: var(--blau); font-size: 1.2rem; line-height: 1; }
.faq .acc input.open:checked ~ label { background: var(--weiss); }
.faq .acc input.open:checked ~ label:nth-child(odd)::after { content: ""; display: none; }
.faq .acc input.open:checked ~ label.close::after { content: "–"; display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; margin: 1.1rem 1.2rem 0 0; border-radius: 50%; background: var(--blau); color: var(--weiss); font-size: 1.2rem; float: right; }
.faq .acc .panel { background: var(--weiss); padding: 0 1.2rem; }
.faq .acc input.open:checked ~ .panel { padding: 0 1.2rem 1.3rem; }
.faq .acc .panel p { color: var(--grau); }
@media (min-width: 64em) { .faq-raster { grid-template-columns: 0.85fr 1.4fr; gap: 4rem; align-items: start; } .faq-raster__kopf { position: sticky; top: 7rem; } }

/* =====================================================================
   Unterseiten (vom Seitengenerator erzeugt)
   ===================================================================== */
/* Seitenkopf: Text links, Bild rechts – hell wie die Startseite */
.page-hero--unterseite { position: relative; overflow: hidden; background: radial-gradient(55% 80% at 90% 30%, #e9eef9 0%, rgba(233, 238, 249, 0) 70%), linear-gradient(180deg, #ffffff 0%, #f7f5f1 100%); }
.page-hero--unterseite .page-hero__grid { display: grid; gap: 2.2rem; padding: 2rem 0 3.5rem; }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; font-size: 0.86rem; color: var(--grau); }
.brotkrumen li { list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.brotkrumen li + li::before { content: "›"; color: var(--akzent); }
.brotkrumen a { color: var(--grau); text-decoration: none; }
.brotkrumen a:visited { color: var(--grau); }
.brotkrumen a:hover { color: var(--blau); text-decoration: underline; }
.brotkrumen [aria-current] { color: var(--nacht); font-weight: 600; }
.page-hero--unterseite h1 { margin: 0; font-size: 1rem; font-weight: 400; color: var(--nacht); line-height: 1.1; }
.page-hero--unterseite h1 > span { display: block; opacity: 0; transform: translateY(16px); animation: einfliegen 0.85s cubic-bezier(.2,.7,.2,1) forwards; }
.page-hero--unterseite h1 > span:nth-child(2) { animation-delay: 0.12s; }
.page-hero--unterseite .kicker { font-size: 0.84rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-dunkel); margin-bottom: 0.8rem; }
.page-hero--unterseite .kicker::after { content: ""; display: block; width: 3rem; height: 2px; margin-top: 0.7rem; background: var(--akzent); }
.page-hero--unterseite .hero__headline { font-size: clamp(1.75rem, 3.1vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; color: var(--nacht); }
.page-hero--unterseite .lead { margin: 1.2rem 0 0; font-size: 1.1rem; color: var(--grau); max-width: 38rem; opacity: 0; animation: einfliegen 0.85s 0.3s cubic-bezier(.2,.7,.2,1) forwards; }
.page-hero--unterseite .lead--zusatz { margin-top: 0.7rem; }
.page-hero--unterseite .lead strong { color: var(--nacht); }
.page-hero--unterseite .btn-gruppe { opacity: 0; animation: einfliegen 0.85s 0.45s cubic-bezier(.2,.7,.2,1) forwards; }
.page-hero__bild { margin: 0; border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten-stark); }
.page-hero__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; animation: hero-auf 2s cubic-bezier(.2,.7,.2,1) both; }
@media (min-width: 64em) {
  .page-hero--unterseite .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4rem; align-items: center; padding: 3rem 0 4.5rem; }
  .page-hero--unterseite.page-hero--ohne-bild .page-hero__grid { grid-template-columns: minmax(0, 46rem); }
  .page-hero__bild { margin-right: calc((min(100vw, var(--breite)) - 100vw) / 2 - 1rem); border-radius: var(--radius-gross) 0 0 var(--radius-gross); }
  .page-hero__bild img { aspect-ratio: 4 / 3.1; }
}

/* Seitenkopf als Collage (wie Startseite), z. B. Service & Notdienst */
.page-hero--collage .hero-collage { order: 0; margin: 0.5rem 0 2rem; }
.notdienst-symbol--gross { width: 2.8rem; height: 2.8rem; }
.glaskarte--notdienst .glaskarte__text strong, .glaskarte--meister .glaskarte__text strong { font-size: 1rem; }
.glaskarte--notdienst .glaskarte__text { font-size: 1.05rem; font-weight: 700; color: var(--orange-dunkel); }
@media (min-width: 64em) {
  .page-hero--collage .page-hero__grid { grid-template-columns: minmax(0, 0.97fr) minmax(0, 1.03fr); gap: 2.5rem; padding-bottom: 5.5rem; }
  .page-hero--collage .hero-collage { margin: 0 calc((min(100vw, var(--breite)) - 100vw) / 2 - 1rem) 0 2.5rem; }
  .page-hero--collage .hero-collage__haupt { height: clamp(22rem, calc(100svh - var(--kopf-gesamt) - 8rem), 36rem); }
}

/* Inhaltsabschnitte: Nummer + Überschrift links, Text rechts */
.inhalt-abschnitt { padding: 4.2rem 0; }
.inhalt-raster { display: grid; gap: 1.2rem; }
.inhalt-raster__kopf { position: relative; }
.inhalt-nr { display: block; font-family: var(--edel); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--akzent); margin-bottom: 0.4rem; }
.inhalt-raster > * { min-width: 0; }
.inhalt-raster__kopf h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.inhalt-raster__kopf h2 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 1.95rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.18; color: var(--nacht); text-align: left; }
.inhalt-raster__text { max-width: 46rem; }
.inhalt-raster__text p { color: var(--grau); font-size: 1.06rem; }
.inhalt-raster__text p strong { color: var(--nacht); }
.inhalt-raster__text h3 { margin: 1.6rem 0 0.5rem; font-size: 1.15rem; font-weight: 800; color: var(--blau); line-height: 1.3; text-align: left; }
.inhalt-raster__text h3:first-child { margin-top: 0; }
.inhalt-liste { display: grid; gap: 0.75rem; margin: 1.2rem 0 1.4rem; padding: 0; list-style: none; }
.inhalt-liste li { list-style: none; position: relative; padding: 0.9rem 1rem 0.9rem 3.1rem; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--linie); color: var(--grau); line-height: 1.5; }
.section--alt .inhalt-liste li { background: var(--weiss); }
.inhalt-liste li::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 68% no-repeat, var(--blau); }
.inhalt-liste li strong { color: var(--nacht); }
.nachweis-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.75rem; margin: 1.2rem 0 1.4rem; padding: 0; list-style: none; }
.nachweis-liste li { list-style: none; display: flex; align-items: center; gap: 0.9rem; padding: 0.5rem 0.9rem 0.5rem 0.5rem; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--linie); color: var(--grau); line-height: 1.35; }
.nachweis-liste img { flex: none; width: 96px; height: 72px; object-fit: cover; border-radius: calc(var(--radius) * 0.6); }
.inhalt-raster__text .btn-gruppe { margin-top: 1.6rem; }
@media (min-width: 64em) {
  .inhalt-raster { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 4rem; align-items: start; }
  .inhalt-raster__kopf { position: sticky; top: 8rem; }
}

/* Ruhiger Aufbau (GaLaBau, Abriss – Nutzer 03.12.2026): Bild und Text im Wechsel, feine Linien statt Kästen,
   gleiche Abstände, keine mitlaufenden Überschriften und keine Einblend-Effekte */
.ruhig { padding: 0; }
.ruhig + .ruhig .ruhig__zeile { border-top: 1px solid var(--linie); }
.ruhig__zeile { display: grid; gap: 2rem; padding: 4.5rem 0; }
.ruhig__zeile > * { min-width: 0; }
.ruhig__nr { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-dunkel); }
.ruhig__nr::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: 0.6; }
.ruhig h2 { margin: 0 0 1.2rem; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; color: var(--nacht); text-align: left; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.ruhig p { color: var(--grau); font-size: 1.06rem; line-height: 1.75; }
.ruhig p strong { color: var(--nacht); }
.ruhig__text > :last-child { margin-bottom: 0; }
.ruhig__bild { margin: 0; }
.ruhig__bild img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-gross); }
.ruhig-liste { margin: 1.6rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.ruhig-liste li { list-style: none; position: relative; padding: 0.85rem 0 0.85rem 1.6rem; border-bottom: 1px solid var(--linie); color: var(--grau); line-height: 1.55; }
.ruhig-liste li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 0.65rem; height: 2px; background: var(--akzent); }
.ruhig-liste li strong { color: var(--nacht); }
.ruhig-liste + p { margin-top: 1.6rem; }
/* Kernaussage: zentriert, ruhige Serifenschrift */
.ruhig--kern .ruhig__zeile { text-align: center; }
.ruhig--kern .ruhig__text { max-width: 50rem; margin-inline: auto; }
.ruhig--kern .ruhig__nr { justify-content: center; }
.ruhig--kern .ruhig__nr::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: 0.6; }
.ruhig--kern h2 { text-align: center; }
.ruhig--kern p { font-family: var(--edel); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; color: var(--text); }
/* Vorteile: eine helle Fläche, Punkte mit feiner Linie */
.ruhig-vorteile { background: var(--flaeche); }
.ruhig-vorteile .ruhig__zeile { border-top: 0 !important; }
.ruhig-vorteile__liste { display: grid; gap: 0 2.5rem; margin: 0; padding: 0; list-style: none; }
.ruhig-vorteile__liste li { list-style: none; padding: 1.2rem 0; border-top: 1px solid #ddd6ca; color: var(--grau); line-height: 1.55; }
.ruhig-vorteile__liste strong { display: block; margin-bottom: 0.25rem; color: var(--nacht); font-size: 1.05rem; }
@media (min-width: 48em) { .ruhig-vorteile__liste { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64em) {
  .ruhig__zeile { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; align-items: center; padding: 6rem 0; }
  .ruhig__zeile--bild-links .ruhig__bild { order: -1; }
  .ruhig__zeile--text { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
  .ruhig__zeile--text .ruhig-liste { margin-top: 0; }
  .ruhig--kern .ruhig__zeile { grid-template-columns: 1fr; padding: 6.5rem 0; }
  .ruhig-vorteile .ruhig__zeile { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; padding: 5.5rem 0; }
}

/* Abschluss-Band */
.seiten-cta { padding: 4.5rem 0; }
.seiten-cta__raster { display: grid; gap: 1.8rem; align-items: center; }
.seiten-cta .kicker { display: inline-block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--akzent-hell); margin-bottom: 0.7rem; }
.seiten-cta .schrift6 { display: block; text-align: left; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 0.8rem; }
.seiten-cta .section__intro { margin: 0 0 0.5rem; max-width: 40rem; }
@media (min-width: 64em) { .seiten-cta__raster { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .seiten-cta .btn-gruppe { justify-content: flex-end; margin-top: 0; } }

/* FAQ-Titel auf Unterseiten (h2) */
.faq-raster__kopf h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.15; color: var(--nacht); text-align: left; }

/* Kontaktseite */
.kontakt-fax { margin: 1rem 0 0; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.kontakt-hinweis { margin: 0.8rem 0 0; color: rgba(255, 255, 255, 0.82); }
.kontakt-hinweis strong { color: var(--akzent-hell); }
.formular__intro { margin: -0.4rem 0 0; color: var(--grau); font-size: 0.98rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 4rem 0 1.5rem; color: rgba(255, 255, 255, 0.76); background: var(--nacht); font-size: 0.98rem; border-top: 3px solid var(--akzent); }
.footer__grid { display: grid; gap: 2.4rem; }
.footer__titel { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 800; color: var(--weiss); text-align: left; }
.site-footer a { color: var(--weiss); text-decoration: none; }
.site-footer a:visited { color: var(--weiss); }
.site-footer a:hover { color: var(--akzent-hell); text-decoration: underline; }
.footer__links { margin: 0; padding: 0; list-style: none; }
.footer__links li { list-style: none; padding: 0.15rem 0; }
.footer__social { display: flex; gap: 0.8rem; margin: 0; padding: 0; list-style: none; }
.footer__social li { list-style: none; }
.footer__social img { width: 30px; height: 30px; border-radius: 50%; transition: transform 0.25s; }
.footer__social a:hover img { transform: translateY(-3px); }
.footer__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; }
.footer__unten p { margin: 0; }
@media (min-width: 48em) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* Nach-oben-Knopf */
.nach-oben { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--nacht); color: var(--weiss); box-shadow: var(--schatten-stark); text-decoration: none; opacity: 0; transform: translateY(1rem); pointer-events: none; transition: opacity 0.3s, transform 0.3s, background 0.3s; }
.nach-oben:visited { color: var(--weiss); }
.nach-oben:hover { background: var(--blau); color: var(--weiss); }
.ist-gescrollt .nach-oben { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Cookie-Hinweis (Farben laut Hausregel im Kopf, hier nur Form) ---------- */
html .cc-window { font-family: inherit; border-top: 3px solid var(--akzent); }
html .cc-window.cc-banner { padding: 1rem 1.2rem; box-shadow: 0 -10px 30px rgba(18, 21, 61, 0.18); }
html .cc-window.cc-floating { border-radius: var(--radius); }
.cc-window .cc-link { color: var(--akzent-hell) !important; opacity: 1; font-weight: 600; }
.cc-window .cc-link:hover, .cc-window .cc-link:focus { color: var(--weiss) !important; }
.cc-window .cc-btn { border-radius: 999px; font-weight: 700; transition: background 0.25s, border-color 0.25s; }
.cc-window .cc-btn:hover, .cc-window .cc-btn:focus { background: var(--akzent-hell) !important; border-color: var(--akzent-hell) !important; text-decoration: none; }
.cc-window :focus-visible { outline: 3px solid var(--akzent-hell); outline-offset: 2px; }

/* ---------- Effekte beim Scrollen ---------- */
.js .einblenden { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.2,1); }
.js .einblenden.ist-sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .energien { background-attachment: scroll; }
}

.acc { position: relative; isolation: isolate; }   /* akkordion.css gibt den Fragen z-index 100 – so bleiben sie unter dem Menü (technik.js) */

/* Hausregel: ausgeblendete Elemente (hidden-Attribut) bleiben immer unsichtbar */
[hidden] { display: none !important; }
