/* ==========================================================
   Djuhic Gebäudeservice · Design-System
   ========================================================== */

/* Schriften (lokal gespeichert, keine externen Server) */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Farben und Grundwerte */
:root {
  --blau: #1d3f66;
  --blau-dunkel: #142e4d;
  --tinte: #18212e;
  --hellblau: #e4ecf5;
  --weiss: #f8fafc;
  --akzent: #2466c2;
  --akzent-dunkel: #1b4f99;

  /* Farbverläufe */
  --verlauf-dunkel: linear-gradient(135deg, #132b48 0%, #1d3f66 45%, #2c5d93 100%);
  --verlauf-hell: linear-gradient(180deg, var(--weiss) 0%, var(--hellblau) 28%, var(--hellblau) 72%, var(--weiss) 100%);
  --verlauf-bild: linear-gradient(140deg, #16335a 0%, #24507f 55%, #3a6ea8 100%);
  --verlauf-bild-hell: linear-gradient(140deg, #dbe6f2 0%, #eef3f9 60%, #f8fafc 100%);
  --verlauf-knopf: linear-gradient(120deg, #1b4f99 0%, #2466c2 40%, #2f74d0 60%, #1b4f99 100%);
  --verlauf-fuss: linear-gradient(180deg, #1a2638 0%, #121a26 100%);

  --text: var(--tinte);
  --text-leise: #4b5666;
  --linie: #cfdae6;

  --font-titel: "Bricolage Grotesque", Georgia, serif;
  --font-text: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(4rem, 9vw, 7.5rem);
  --radius: 6px;
}

/* Grundlagen */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-titel);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: var(--tinte);
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--blau); text-underline-offset: 0.18em; }
a:hover { color: var(--blau-dunkel); }

:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--tinte);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand);
}

.section { padding: var(--abstand) 0; }
.section--hell { background: var(--verlauf-hell); }
.section--dunkel { background: var(--blau); background-image: var(--verlauf-dunkel); color: var(--weiss); }
.section--dunkel h2,
.section--dunkel h3 { color: #fff; }

.kicker {
  display: inline-block;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--akzent);
  margin-bottom: 1rem;
}
.section--dunkel .kicker { color: var(--hellblau); }

.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--text-leise); max-width: 38rem; }
.section--dunkel .lead { color: var(--hellblau); }

.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Knöpfe: es gibt genau eine Hauptaktion, das Angebot */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--akzent);
  background-image: var(--verlauf-knopf);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: #fff;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-position 0.5s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background-position: 100% 50%; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(36, 102, 194, 0.7); }
.btn svg { width: 1.1rem; height: 1.1rem; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

/* Auf dunklem Verlauf: heller Knopf, damit er heraussticht */
.section--dunkel .btn { background-image: none; background-color: #fff; color: var(--blau-dunkel); }
.section--dunkel .btn:hover { background-color: var(--hellblau); color: var(--blau-dunkel); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.55); }

.text-link {
  font-weight: 600;
  color: var(--blau);
  text-decoration: none;
  border-bottom: 2px solid var(--linie);
  transition: border-color 0.2s ease;
}
.text-link:hover { border-color: var(--blau); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-color: var(--linie); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--tinte);
}
.logo-bild { display: block; height: 4.4rem; width: auto; flex: none; transition: transform 0.25s ease; }
.logo:hover .logo-bild { transform: translateY(-1px); }
.logo-dach { fill: none; stroke: url(#logo-verlauf); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.logo-kamin { fill: none; stroke: var(--akzent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.logo-wm { font-family: var(--font-titel); font-weight: 700; font-size: 64px; letter-spacing: 1px; fill: var(--tinte); }
.logo-tag text { font-family: var(--font-text); font-weight: 600; font-size: 26px; letter-spacing: 2px; fill: var(--akzent); }
.logo-tag path { stroke: var(--akzent); stroke-width: 2.5; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) {
  color: var(--tinte);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 0.4rem 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blau);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 2.75rem; padding: 0.6rem 1.2rem; font-size: 1rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: transparent;
  color: var(--tinte);
  cursor: pointer;
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Bild-Platzhalter ---------- */
.bild {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blau);
  background-image: var(--verlauf-bild);
  display: grid;
  place-items: center;
}
.bild::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(228, 236, 245, 0.16), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 22px);
}
.bild img { width: 100%; height: 100%; object-fit: cover; }
.bild > svg { position: relative; width: clamp(3.5rem, 12%, 6rem); height: auto; color: var(--hellblau); opacity: 0.9; }
.bild--hell { background: var(--hellblau); background-image: var(--verlauf-bild-hell); }
.bild--hell::before {
  background:
    radial-gradient(circle at 20% 80%, rgba(29, 63, 102, 0.08), transparent 55%),
    repeating-linear-gradient(135deg, rgba(29, 63, 102, 0.05) 0 2px, transparent 2px 22px);
}
.bild--hell > svg { color: var(--blau); }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-16-9 { aspect-ratio: 16 / 9; }

/* ---------- Startseite: Kopfbereich ---------- */
.hero {
  padding: clamp(3rem, 7vw, 6rem) 0 var(--abstand);
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(36, 102, 194, 0.10), transparent 70%),
    radial-gradient(ellipse 50% 60% at 5% 0%, rgba(228, 236, 245, 0.9), transparent 70%),
    var(--weiss);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { max-width: 14ch; }
.hero .lead { margin-bottom: 2rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-leise);
  font-size: 1rem;
}
.hero-meta li { display: flex; align-items: center; gap: 0.45rem; }
.hero-meta svg { width: 1.1rem; height: 1.1rem; color: var(--blau); }
.hero-bild { position: relative; }
.hero-bild::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 45%;
  height: 45%;
  border-right: 2px solid var(--akzent);
  border-bottom: 2px solid var(--akzent);
  border-radius: 0 0 var(--radius) 0;
  z-index: -1;
}

/* ---------- Seitenkopf der Unterseiten ---------- */
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--linie); }
.page-head h1 { max-width: 18ch; }

/* ---------- Leistungs-Kacheln ---------- */
.kacheln {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.kachel {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.kachel:hover {
  transform: translateY(-4px);
  border-color: var(--blau);
  box-shadow: 0 14px 30px -18px rgba(24, 33, 46, 0.35);
  color: var(--text);
}
.kachel-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hellblau);
  color: var(--blau);
  margin-bottom: 1.25rem;
}
.kachel-icon svg { width: 1.5rem; height: 1.5rem; }
.kachel h3 { margin-bottom: 0.5rem; }
.kachel p { color: var(--text-leise); font-size: 1rem; flex: 1; }
.kachel-mehr { font-weight: 600; color: var(--blau); font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.kachel-mehr svg { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.kachel:hover .kachel-mehr svg { transform: translateX(3px); }

/* ---------- Ablauf ---------- */
.schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: schritt;
}
.schritt { position: relative; padding-top: 4.25rem; }
.schritt::before {
  counter-increment: schritt;
  content: counter(schritt);
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--blau);
  font-family: var(--font-titel);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--blau);
  background: var(--hellblau);
}
.schritt::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 3.75rem;
  right: -1.25rem;
  height: 1px;
  background: var(--blau);
  opacity: 0.35;
}
.schritt:last-child::after { display: none; }
.schritt p { color: var(--text-leise); }

/* ---------- Gründe ---------- */
.gruende {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.grund { border-top: 2px solid rgba(228, 236, 245, 0.35); padding-top: 1.5rem; transition: border-color 0.3s ease; }
.grund:hover { border-color: var(--hellblau); }
.grund p { color: var(--hellblau); margin: 0; }

/* ---------- Einsatzgebiet ---------- */
.gebiet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.orte {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.orte li {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: 0.98rem;
  background: #fff;
}
.orte li.ort-haupt { background: var(--blau); background-image: var(--verlauf-dunkel); border-color: var(--blau); color: #fff; }

/* ---------- Abschluss-Aufruf ---------- */
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-box h2 { margin-bottom: 0.3em; }
.cta-box p { margin: 0; color: var(--hellblau); max-width: 34rem; }

/* ---------- Leistungen ausführlich ---------- */
.leistung {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--linie);
  scroll-margin-top: 6.5rem;
}
.leistung:last-child { border-bottom: 0; }
.leistung:nth-child(even) .leistung-bild { order: 2; }
.punkte { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.punkte li { display: flex; gap: 0.7rem; align-items: flex-start; }
.punkte svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; color: var(--blau); }

.sprungmarken { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.sprungmarken a { font-weight: 600; text-decoration: none; color: var(--blau); border-bottom: 2px solid var(--linie); transition: border-color 0.2s; }
.sprungmarken a:hover { border-color: var(--blau); }

/* ---------- Über uns ---------- */
.ueber-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.zitat {
  margin: 2rem 0 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--akzent);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-leise);
}

/* ---------- Kontakt ---------- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.formular {
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  scroll-margin-top: 7rem;
}
.feld { margin-bottom: 1.25rem; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feld label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 1rem; }
.feld .optional { font-weight: 400; color: var(--text-leise); }
.feld input,
.feld select,
.feld textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  color: var(--text);
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  min-height: 3.1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.feld textarea { min-height: 9rem; resize: vertical; }
.feld input:focus,
.feld select:focus,
.feld textarea:focus { outline: none; border-color: var(--blau); background: #fff; box-shadow: 0 0 0 3px rgba(29, 63, 102, 0.15); }
.feld-hinweis { font-size: 0.95rem; color: var(--text-leise); margin-top: 1rem; }

/* Honeypot: für Menschen unsichtbar */
.hp-feld { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.meldung { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-weight: 600; }
.meldung--ok { background: #e3eef9; color: var(--blau-dunkel); border: 1px solid #b7cde6; }
.meldung--fehler { background: #f6e6dc; color: #7a3514; border: 1px solid #e2c0a9; }

.kontakt-info { display: grid; gap: 1.75rem; }
.kontakt-info h2 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.kontakt-zeile { display: flex; gap: 0.9rem; align-items: flex-start; }
.kontakt-zeile svg { flex: none; width: 1.4rem; height: 1.4rem; color: var(--blau); margin-top: 0.2rem; }
.kontakt-zeile strong { display: block; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise); font-weight: 600; }
.kontakt-zeile a, .kontakt-zeile span { font-size: 1.1rem; }
.kontakt-zeile a { word-break: break-word; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.hinweis-box {
  background: var(--hellblau);
  border-left: 4px solid var(--akzent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2.5rem;
}

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--tinte); background-image: var(--verlauf-fuss); color: #b8c2d0; padding: 4rem 0 2rem; font-size: 1rem; }
.site-footer a { color: #e4ecf5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h2 { font-size: 1rem; color: #fff; font-family: var(--font-text); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer .logo { margin-bottom: 1.25rem; }
.site-footer .logo-bild { height: 5rem; }
.site-footer .logo-dach { stroke: #fff; }
.site-footer .logo-kamin,
.site-footer .logo-tag path { stroke: #9cc3f2; }
.site-footer .logo-wm { fill: #fff; }
.site-footer .logo-tag text { fill: #9cc3f2; }
.footer-unten { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #2c3747; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; }

/* Handy-Leiste mit der Hauptaktion */
.mobil-cta { display: none; }

/* ---------- Sanftes Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-2 { transition-delay: 0.1s; }
.js .reveal-3 { transition-delay: 0.2s; }
.js .reveal-4 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Tablet
   ========================================================== */
@media (max-width: 1024px) {
  .kacheln { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ==========================================================
   Handy: eigener Durchgang
   ========================================================== */
@media (max-width: 760px) {
  body { font-size: 1.0625rem; padding-bottom: 4.75rem; }

  /* Menü klappt aus */
  .header-inner { min-height: 4.25rem; }
  /* Auf dem Handy nur Dach und Name, die kleine Zeile darunter wäre unlesbar */
  .site-header .logo-bild { height: 3.9rem; margin-bottom: -1.05rem; }
  .site-header .logo-tag { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    box-shadow: 0 18px 30px -20px rgba(24, 33, 46, 0.4);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--rand) 1.25rem; }
  .nav a:not(.btn) { display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--linie); }
  .nav a:not(.btn)::after { display: none; }
  .nav li:last-child { margin-top: 1rem; }
  .nav .btn { width: 100%; min-height: 3.25rem; }

  /* Kopfbereich: Text zuerst, Bild kleiner und flacher */
  .hero { padding-top: 2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero .btn { width: 100%; }
  .hero-bild .bild { aspect-ratio: 16 / 9; }
  .hero-bild::after { display: none; }
  .hero-meta { flex-direction: column; }

  /* Kacheln kompakt als Liste */
  .kacheln { grid-template-columns: 1fr; gap: 0.75rem; }
  .kachel { flex-direction: row; align-items: center; gap: 1rem; padding: 1.1rem 1.1rem; }
  .kachel-icon { margin: 0; flex: none; }
  .kachel p, .kachel-mehr { display: none; }
  .kachel h3 { margin: 0; font-size: 1.15rem; flex: 1; }
  .kachel::after {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid var(--blau);
    border-top: 2px solid var(--blau);
    transform: rotate(45deg);
    flex: none;
  }

  /* Ablauf senkrecht mit Linie */
  .schritte { grid-template-columns: 1fr; gap: 0; }
  .schritt { padding: 0 0 2rem 4.25rem; }
  .schritt::after { top: 3.25rem; bottom: 0.25rem; left: 1.5rem; right: auto; width: 1px; height: auto; }

  .gruende { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Einsatzgebiet: Kartenbild fällt weg, Orte bleiben */
  .gebiet-grid { grid-template-columns: 1fr; }

  .cta-box .btn { width: 100%; }

  .leistung { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0; }
  .leistung:nth-child(even) .leistung-bild { order: 0; }
  .leistung .bild { aspect-ratio: 16 / 9; }

  .ueber-grid { grid-template-columns: 1fr; }
  .ueber-grid .bild { aspect-ratio: 1 / 1; max-width: 16rem; }

  .kontakt-grid { grid-template-columns: 1fr; }
  .feld-reihe { grid-template-columns: 1fr; gap: 0; }
  .formular { padding: 1.25rem; }
  .formular .btn { width: 100%; padding-left: 1rem; padding-right: 1rem; }
  .formular .btn svg { display: none; }
  .hero-meta { font-size: 0.95rem; gap: 0.35rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* feste Leiste unten mit der einen Hauptaktion */
  .mobil-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 0.75rem var(--rand) calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(248, 250, 252, 0.96);
    border-top: 1px solid var(--linie);
    transform: translateY(110%);
    transition: transform 0.3s ease;
  }
  .mobil-cta.is-visible { transform: none; }
  .mobil-cta .btn { width: 100%; }
}

.zitat span { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.95rem; font-weight: 600; color: var(--blau); }

/* ==========================================================
   Untermenü Leistungen
   ========================================================== */
.hat-untermenue { position: relative; padding: 0.75rem 0; margin: -0.75rem 0; }
.hat-untermenue > a { display: inline-flex; align-items: center; gap: 0.45rem; }
.chevron {
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.hat-untermenue:hover .chevron,
.hat-untermenue:focus-within .chevron { transform: translateY(1px) rotate(225deg); }
.nav .untermenue {
  position: absolute;
  top: 100%;
  left: -1rem;
  display: block;
  min-width: 15rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px -20px rgba(24, 33, 46, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.hat-untermenue:hover .untermenue,
.hat-untermenue:focus-within .untermenue { opacity: 1; visibility: visible; transform: none; }
.nav .untermenue a { display: block; padding: 0.6rem 0.8rem; border-radius: 4px; }
.nav .untermenue a::after { display: none; }
.nav .untermenue a:hover,
.nav .untermenue a[aria-current="page"] { background: var(--hellblau); color: var(--blau); }

/* ==========================================================
   Leistungs-Unterseiten
   ========================================================== */
.leistung-hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); }
.leistung-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--akzent), #8fbdf3);
}
.leistung-hero-bild { position: absolute; inset: 0; background: var(--blau); background-image: var(--verlauf-bild); }
.leistung-hero-bild::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(228, 236, 245, 0.14), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 22px);
}
/* echtes Foto: liegt unter einem blauen Verlauf, damit die Schrift lesbar bleibt */
.leistung-hero-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leistung-hero-bild:has(img)::before { background: linear-gradient(100deg, rgba(19, 43, 72, 0.92) 0%, rgba(29, 63, 102, 0.7) 50%, rgba(47, 106, 166, 0.35) 100%); z-index: 1; }
.leistung-hero-bild > svg {
  position: absolute;
  right: 7%;
  top: 50%;
  width: clamp(9rem, 24vw, 17rem);
  height: auto;
  transform: translateY(-50%);
  color: #fff;
  opacity: 0.13;
}
.leistung-hero .container { position: relative; z-index: 2; }
.leistung-hero h1 { color: #fff; max-width: 20ch; hyphens: manual; -webkit-hyphens: manual; }
.leistung-hero .lead { color: var(--hellblau); max-width: 36rem; margin-bottom: 2rem; }
.leistung-hero .kicker { color: #9cc3f2; }

.brotkrumen { margin-bottom: 1.5rem; font-size: 0.95rem; }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.brotkrumen li { color: var(--hellblau); }
.brotkrumen li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.6; }
.brotkrumen a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.brotkrumen a:hover { border-color: #fff; color: #fff; }

.aufgaben {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3rem;
}
.aufgaben li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--linie);
  font-size: 1.15rem;
}
.aufgaben li::before {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  margin-top: 0.6rem;
  background: var(--akzent);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.aufgaben li:hover::before { transform: rotate(225deg) scale(1.2); }

.kacheln--drei { grid-template-columns: repeat(3, 1fr); }
.leistung-mehr { margin-top: 1.5rem; }

@media (max-width: 1024px) {
  .kacheln--drei { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  /* Untermenü im ausgeklappten Handy-Menü direkt sichtbar, leicht eingerückt */
  .hat-untermenue { padding: 0; margin: 0; }
  .chevron { display: none; }
  .nav .untermenue {
    position: static;
    min-width: 0;
    padding: 0 0 0 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav .untermenue a { padding: 0.8rem 0; border-radius: 0; font-weight: 400; }
  .nav .untermenue a:hover,
  .nav .untermenue a[aria-current="page"] { background: transparent; color: var(--akzent); }

  .leistung-hero-bild > svg { right: -2rem; top: auto; bottom: -1.5rem; transform: none; width: 10rem; opacity: 0.1; }
  .leistung-hero .btn { width: 100%; }
  .aufgaben { grid-template-columns: 1fr; }
  .aufgaben li { font-size: 1.05rem; padding: 0.95rem 0; }
  .kacheln--drei { grid-template-columns: 1fr; }
}

/* Kopfbild mit echtem Foto: blendet beim Laden sanft ein und zoomt leicht heran */
.leistung-hero-bild img { animation: kopfbild-ein 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; transform-origin: 60% 50%; }
.leistung-hero-bild:has(img)::before { animation: kopfbild-schleier 1.6s ease-out both; }
@keyframes kopfbild-ein {
  from { opacity: 0; transform: scale(1.12); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes kopfbild-schleier {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

/* ==========================================================
   Startseite: Bildcollage und Leitsatz
   ========================================================== */
.hero-tel { margin: 1rem 0 0; font-size: 1rem; color: var(--text-leise); }
.hero-tel a { font-weight: 600; color: var(--blau); text-decoration: none; border-bottom: 2px solid var(--linie); transition: border-color 0.2s ease; }
.hero-tel a:hover { border-color: var(--blau); }

.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; max-width: 27rem; margin-left: auto; padding-bottom: 2rem; }
/* rechte Spalte leicht nach unten versetzt */
.collage-kachel:nth-child(even) { margin-top: 2rem; margin-bottom: -2rem; }
.collage-kachel {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--hellblau);
  box-shadow: 0 16px 36px -22px rgba(24, 33, 46, 0.55);
}
.collage-kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.collage-kachel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(19, 43, 72, 0.55) 100%);
}
.collage-kachel span {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 1;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blau-dunkel);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.collage-kachel:hover img { transform: scale(1.06); }
.collage-kachel:hover span { background: var(--akzent); color: #fff; }

.leitsatz { background: var(--blau); background-image: var(--verlauf-dunkel); color: #fff; padding: clamp(2.5rem, 5vw, 3.75rem) 0; text-align: center; }
.leitsatz-text {
  margin: 0;
  font-family: var(--font-titel);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.leitsatz-text span { display: inline-block; }
.leitsatz-text span + span { margin-left: 0.35em; }
.leitsatz-ort { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.9rem 0 0; color: #9cc3f2; font-size: 1.05rem; }
.leitsatz-ort svg { width: 1.2rem; height: 1.2rem; }

@media (max-width: 760px) {
  .hero-collage { gap: 0.6rem; max-width: none; margin-left: 0; padding-bottom: 1.25rem; }
  .collage-kachel:nth-child(even) { margin-top: 1.25rem; margin-bottom: -1.25rem; }
  .collage-kachel { aspect-ratio: 1 / 1; }
  .collage-kachel span { left: 0.5rem; bottom: 0.5rem; font-size: 0.8rem; padding: 0.25rem 0.6rem; }
  .hero-tel { text-align: center; }
  .leitsatz-text span { display: block; }
  .leitsatz-text span + span { margin-left: 0; }
}

/* ==========================================================
   Fotos auf der Leistungsseite: Schatten und Aufploppen
   ========================================================== */
.foto-karte {
  display: block;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 22px 45px -24px rgba(19, 43, 72, 0.55), 0 6px 14px -8px rgba(19, 43, 72, 0.25);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.foto-karte img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.foto-karte:hover { transform: translateY(-4px); box-shadow: 0 30px 55px -24px rgba(19, 43, 72, 0.6), 0 8px 18px -8px rgba(19, 43, 72, 0.3); }
.foto-karte:hover img { transform: scale(1.04); }

/* ploppt beim Scrollen leicht vergrößernd auf */
.js .foto-pop { opacity: 0; transform: translateY(24px) scale(0.92); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.9, 0.25, 1.15); }
.js .foto-pop.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .foto-pop { opacity: 1; transform: none; }
}

/* ==========================================================
   Karte Einsatzgebiet (selbst gezeichnet, lädt nichts von fremden Servern)
   ========================================================== */
.karte { margin: 0; }
.karte svg {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--linie);
  box-shadow: 0 22px 45px -28px rgba(19, 43, 72, 0.5);
  font-family: var(--font-text);
}
.karte figcaption { margin-top: 0.6rem; font-size: 0.88rem; color: var(--text-leise); }
.karte-fluss { fill: none; stroke: #b7cfeb; stroke-width: 7; stroke-linecap: round; }
.karte-fluss-name { font-size: 11px; font-style: italic; fill: #6f8fb5; letter-spacing: 1px; }
.karte-ring { fill: rgba(36, 102, 194, 0.05); stroke: var(--akzent); stroke-width: 1.2; stroke-dasharray: 5 5; }
.karte-ring--innen { fill: rgba(36, 102, 194, 0.06); stroke-opacity: 0.45; }
.karte-km { font-size: 10.5px; font-weight: 600; fill: var(--akzent); text-anchor: middle; letter-spacing: 0.5px; }
.karte-orte circle { fill: var(--blau); stroke: #fff; stroke-width: 1.5; }
.karte-orte text { font-size: 12px; font-weight: 600; fill: var(--tinte); paint-order: stroke; stroke: rgba(255, 255, 255, 0.9); stroke-width: 3px; stroke-linejoin: round; }
.karte-sitz { fill: var(--akzent); stroke: #fff; stroke-width: 2.5; }
.karte-sitz-name { font-family: var(--font-titel); font-size: 15px; font-weight: 700; fill: var(--blau-dunkel); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.karte-nord path { fill: var(--blau); }
.karte-nord text { font-size: 10px; font-weight: 600; fill: var(--blau); }
.karte-puls { fill: var(--akzent); opacity: 0.35; transform-box: fill-box; transform-origin: center; animation: karte-puls 2.4s ease-out infinite; }
@keyframes karte-puls {
  from { transform: scale(1); opacity: 0.4; }
  to { transform: scale(3.2); opacity: 0; }
}
/* Orte erscheinen nacheinander, sobald die Karte eingeblendet wird */
.js .karte-orte circle, .js .karte-orte text { opacity: 0; transition: opacity 0.5s ease; }
.js .is-visible .karte-orte circle, .js .is-visible .karte-orte text { opacity: 1; }
.karte-orte :nth-child(n+5) { transition-delay: 0.15s; }
.karte-orte :nth-child(n+9) { transition-delay: 0.3s; }
.karte-orte :nth-child(n+13) { transition-delay: 0.45s; }
.karte-orte :nth-child(n+17) { transition-delay: 0.6s; }
@media (prefers-reduced-motion: reduce) {
  .karte-puls { animation: none; opacity: 0; }
  .js .karte-orte circle, .js .karte-orte text { opacity: 1; }
}
@media (max-width: 760px) {
  .gebiet-bild { margin-top: 0.5rem; }
}

/* ==========================================================
   Startseite und Über uns: alle Elemente ploppen beim Scrollen leicht auf
   ========================================================== */
.js .plopp-seite .reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.92);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.9, 0.25, 1.15);
}
.js .plopp-seite .reveal.is-visible { opacity: 1; transform: none; }
.js .plopp-seite .reveal-2 { transition-delay: 0.08s; }
.js .plopp-seite .reveal-3 { transition-delay: 0.16s; }
.js .plopp-seite .reveal-4 { transition-delay: 0.24s; }

/* Ortsschildchen und Häkchen-Liste ploppen einzeln nacheinander auf */
.js .plopp-seite .orte li,
.js .plopp-seite .hero-meta li {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.3);
}
.js .plopp-seite .is-visible .orte li,
.js .plopp-seite .hero-meta.is-visible li { opacity: 1; transform: none; }
.plopp-seite .orte li:nth-child(2), .plopp-seite .hero-meta li:nth-child(2) { transition-delay: 0.06s; }
.plopp-seite .orte li:nth-child(3), .plopp-seite .hero-meta li:nth-child(3) { transition-delay: 0.12s; }
.plopp-seite .orte li:nth-child(4) { transition-delay: 0.18s; }
.plopp-seite .orte li:nth-child(5) { transition-delay: 0.24s; }
.plopp-seite .orte li:nth-child(6) { transition-delay: 0.3s; }
.plopp-seite .orte li:nth-child(7) { transition-delay: 0.36s; }
.plopp-seite .orte li:nth-child(8) { transition-delay: 0.42s; }
.plopp-seite .orte li:nth-child(9) { transition-delay: 0.48s; }
.plopp-seite .orte li:nth-child(10) { transition-delay: 0.54s; }
.plopp-seite .orte li:nth-child(11) { transition-delay: 0.6s; }
.plopp-seite .orte li:nth-child(12) { transition-delay: 0.66s; }

@media (prefers-reduced-motion: reduce) {
  .js .plopp-seite .reveal,
  .js .plopp-seite .orte li,
  .js .plopp-seite .hero-meta li { opacity: 1; transform: none; }
}

/* ==========================================================
   Über uns
   ========================================================== */
.person-karte {
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 26px 50px -30px rgba(19, 43, 72, 0.5);
  position: relative;
  overflow: hidden;
}
.person-karte::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: var(--verlauf-knopf);
}
.person-kopf { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.5rem; }
.person-zeichen {
  flex: none;
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blau);
  background-image: var(--verlauf-dunkel);
  color: #fff;
  font-family: var(--font-titel);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}
.person-name { margin: 0; font-family: var(--font-titel); font-weight: 700; font-size: 1.5rem; color: var(--tinte); }
.person-rolle { margin: 0.15rem 0 0; color: var(--text-leise); font-size: 1rem; }
.person-daten { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.person-daten li { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-top: 1px solid var(--linie); }
.person-daten svg { width: 1.25rem; height: 1.25rem; color: var(--akzent); flex: none; }
.person-daten a { font-weight: 600; text-decoration: none; color: var(--blau); word-break: break-word; }
.person-daten a:hover { color: var(--akzent); }
.person-hinweis { margin: 1.25rem 0 0; padding: 0.9rem 1rem; border-radius: var(--radius); background: var(--hellblau); font-size: 0.98rem; color: var(--blau-dunkel); }

.fakten { background: var(--blau); background-image: var(--verlauf-dunkel); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.fakten-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.fakt { display: flex; flex-direction: column; gap: 0.35rem; }
.fakt + .fakt { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.fakt-zahl { font-family: var(--font-titel); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; }
.fakt-text { color: #9cc3f2; font-size: 1.05rem; }

.grundsaetze { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grundsatz {
  background: #fff;
  border: 1px solid var(--linie);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.grundsatz:hover { transform: translateY(-4px); border-color: var(--akzent); box-shadow: 0 18px 36px -22px rgba(19, 43, 72, 0.45); }
.grundsatz h3 { margin: 1.1rem 0 0.5rem; }
.grundsatz p { margin: 0; color: var(--text-leise); }

.foto-reihe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.foto-reihe .collage-kachel { aspect-ratio: 4 / 5; }

@media (max-width: 1024px) {
  .foto-reihe { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .person-zeichen { width: 3.75rem; height: 3.75rem; font-size: 1.25rem; }
  .person-name { font-size: 1.3rem; }
  .fakten-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .fakt + .fakt { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 1.25rem; }
  .grundsaetze { grid-template-columns: 1fr; }
  .foto-reihe { gap: 0.6rem; }
  .foto-reihe .collage-kachel { aspect-ratio: 1 / 1; }
}
.karte-region { fill: rgba(36, 102, 194, 0.07); stroke: var(--akzent); stroke-opacity: 0.35; stroke-width: 1.2; stroke-dasharray: 2 4; }
.karte-region-name { font-size: 12px; font-weight: 600; font-style: italic; fill: var(--akzent); text-anchor: middle; letter-spacing: 0.5px; }
.karte .karte-ring { fill: rgba(36, 102, 194, 0.1); }
.plopp-seite .orte li:nth-child(n+13) { transition-delay: 0.72s; }

/* Gut tippbare Links für Telefon, E-Mail und Fußzeile */
.kontakt-zeile a { display: inline-block; padding: 0.55rem 0; margin: -0.35rem 0; }
.hero-tel a { display: inline-block; padding: 0.45rem 0; }
@media (max-width: 760px) {
  .footer-grid ul { gap: 0; }
  .footer-grid li a { display: inline-block; padding: 0.55rem 0; }
}

/* ==========================================================
   Fußzeile
   ========================================================== */
.site-footer { padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; }
.site-footer a:hover { text-decoration: none; }
.fuss-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: clamp(2rem, 4vw, 3rem); }
.fuss-marke .logo { margin-bottom: 1.25rem; }
.fuss-leitsatz { margin: 0 0 0.5rem; font-family: var(--font-titel); font-weight: 700; font-size: 1.15rem; color: #fff; }
.fuss-text { margin: 0; max-width: 22rem; font-size: 0.98rem; line-height: 1.55; }
.fuss-spalte h2 {
  position: relative;
  margin: 0 0 1.1rem;
  padding-bottom: 0.7rem;
  font-family: var(--font-text);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.fuss-spalte h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 1.75rem; height: 2px; background: var(--akzent); }
.fuss-spalte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.fuss-spalte li a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0;
  color: #d4dde9;
  transition: color 0.2s ease, transform 0.2s ease;
}
.fuss-spalte:not(.fuss-kontakt) li a::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 1.5px solid #9cc3f2;
  border-top: 1.5px solid #9cc3f2;
  transform: rotate(45deg);
  opacity: 0.7;
}
.fuss-spalte li a:hover { color: #fff; transform: translateX(3px); }
.fuss-kontakt ul { gap: 0.6rem; }
.fuss-kontakt li { display: flex; align-items: flex-start; gap: 0.75rem; line-height: 1.45; }
.fuss-kontakt svg { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; color: #9cc3f2; }
.fuss-kontakt li a { padding: 0; }
.fuss-kontakt li a:hover { transform: none; text-decoration: underline; }
.footer-unten { color: #8d99aa; }
.fuss-recht { display: flex; gap: 1.25rem; }
.fuss-recht a { color: #b8c2d0; }
.fuss-recht a:hover { color: #fff; }

@media (max-width: 1024px) {
  .fuss-grid { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .fuss-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .fuss-kontakt { grid-column: 1 / -1; }
  .fuss-spalte li a { padding: 0.55rem 0; }
  .fuss-kontakt li a { padding: 0.35rem 0; }
  .footer-unten { flex-direction: column; gap: 0.75rem; }
  .fuss-recht a { padding: 0.4rem 0; }
}
.nach-oben { color: #b8c2d0; display: inline-flex; gap: 0.4rem; align-items: center; padding: 0.4rem 0; }
.nach-oben span { display: inline-block; transition: transform 0.2s ease; }
.nach-oben:hover { color: #fff; }
.nach-oben:hover span { transform: translateY(-3px); }
