/* ==========================================================================
   TAUNUS Beschichtungssysteme
   Alle Schriften sind Systemschriften - es werden bewusst KEINE externen
   Ressourcen (Google Fonts, CDNs, Tracker) geladen. Damit ist die Seite
   ohne Cookie-Banner DSGVO-konform.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #103a6b;
  --blue-600: #1b72c4;
  --blue-500: #2b8ae0;
  --blue-100: #e5f0fa;

  --ink:      #16202e;
  --ink-soft: #5a6675;
  --line:     #dde3ea;
  --surface:  #ffffff;
  --surface-2:#f4f7fa;
  --surface-3:#eaeff5;

  --radius:    14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .05);
  --shadow-md: 0 4px 12px rgba(11, 37, 69, .07), 0 12px 32px rgba(11, 37, 69, .08);
  --shadow-lg: 0 8px 24px rgba(11, 37, 69, .10), 0 28px 64px rgba(11, 37, 69, .14);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 116px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  /* Sticky header must not cover the anchor target. */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system,
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.1;
  letter-spacing: -.022em;
  color: var(--navy-800);
  text-wrap: balance;
  font-weight: 700;
}
h1 { font-size: clamp(2.35rem, 1.35rem + 3.6vw, 4.1rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.3vw, 2.95rem); }
h3 { font-size: clamp(1.16rem, 1.05rem + .45vw, 1.4rem); letter-spacing: -.012em; }

/* Lange deutsche Komposita ("Untergrundvorbereitung") sprengen sonst schmale
   Karten. lang="de" steht im <html>, damit greift die Silbentrennung. */
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }

p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .775rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow--light { color: #8fc4f5; }

.lead {
  font-size: clamp(1.03rem, .98rem + .3vw, 1.19rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

/* --- Layout ------------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--navy-800); color: #d6e2f0; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 66ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head h2 + .lead { margin-top: 16px; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--blue-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--primary:hover { --btn-bg: var(--blue-500); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--dark { --btn-bg: var(--navy-800); }
.btn--dark:hover { --btn-bg: var(--navy-700); }
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  border-color: var(--line);
}
.btn--outline:hover { --btn-bg: var(--surface-2); border-color: var(--navy-700); }
/* Dunkleres Gruen als das WhatsApp-Markengruen: weisse 16px-Fettschrift
   braucht 4.5:1. #1faa54 kam nur auf 3.03, dieser Ton auf 5.02. */
.btn--wa { --btn-bg: #15803d; }
.btn--wa:hover { --btn-bg: #1a9349; }

/* --- Logo ---------------------------------------------------------------
   Bildmarke als SVG, Wortmarke als Text: bleibt auf jedem Display scharf
   und ist fuer Screenreader und Suchmaschinen lesbar. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.logo__mark { width: 37px; height: auto; flex: none; }
.logo__text { display: grid; gap: 2px; line-height: 1; }
.logo__name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.005em;
  color: var(--navy-800);
}
.logo__sub {
  font-size: .535rem;
  font-weight: 600;
  letter-spacing: .19em;
  color: var(--ink-soft);
}
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub { color: #8ba3bd; }

/* --- Header ------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 14px rgba(11, 37, 69, .06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: .965rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav a:hover { color: var(--blue-600); background: var(--surface-2); }
.nav a.is-active { color: var(--blue-600); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
/* Der Telefon-Button im Navigationspanel ist nur fuer die mobile Ansicht
   gedacht - auf dem Desktop steht die Nummer bereits rechts im Header. */
.nav > .btn { display: none; }

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: var(--navy-800);
  text-decoration: none;
  white-space: nowrap;
}
.header__phone svg { width: 18px; height: 18px; color: var(--blue-600); }
.header__phone:hover { color: var(--blue-600); }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  cursor: pointer;
}
.burger span {
  position: relative;
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--navy-800);
  transition: background-color .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--navy-800);
  transition: transform .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-800);
  color: #fff;
  padding-block: clamp(52px, 7vw, 92px) clamp(60px, 8vw, 104px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(104deg, var(--navy-900) 8%, rgba(7, 26, 51, .93) 42%,
                    rgba(11, 37, 69, .80) 72%, rgba(16, 58, 107, .70) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .82fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  color: #8fc4f5;
}
.hero__text {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem);
  color: #c5d6e9;
  max-width: 54ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  list-style: none;
  padding-left: 0;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .93rem;
  font-weight: 600;
  color: #cfe0f2;
}
.hero__points svg { width: 17px; height: 17px; color: #6fb5f0; flex: none; }

/* Sharp foreground photo - the blurred backdrop carries the mood, this
   carries the proof. */
.hero__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  outline: 1px solid rgba(255, 255, 255, .14);
  outline-offset: -1px;
}
.hero__card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hero__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 100px;
  background: rgba(7, 26, 51, .82);
  backdrop-filter: blur(8px);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
}
.hero__badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex: none;
}

/* --- Trust strip -------------------------------------------------------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-inline: 1px solid var(--line);
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 24px;
  background: var(--surface);
}
.trust__item svg { width: 26px; height: 26px; color: var(--blue-600); flex: none; }
.trust__item b { display: block; font-size: .97rem; color: var(--navy-800); }
.trust__item span { font-size: .85rem; color: var(--ink-soft); }

/* --- Service cards ------------------------------------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c3d4e6;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--navy-700);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card ul {
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 7px;
}
.card li {
  position: relative;
  padding-left: 20px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.card li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
}

/* --- Process ------------------------------------------------------------ */
.steps {
  display: grid;
  /* 190px: fuenf Schritte (Leistungsseiten) passen in eine Reihe */
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
  counter-reset: step;
}
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--blue-500);
  opacity: .32;
  margin-bottom: 14px;
}
/* Rule that visually links the steps into a sequence. */
.step::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: -26px;
  height: 3px;
  background: var(--blue-500);
  opacity: .22;
}
.step:last-child::after { right: 0; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--ink-soft); }
.section--dark .step p { color: #a9c0d8; }
.section--dark .step::before { color: #6fb5f0; opacity: .5; }
.section--dark .step::after { background: #6fb5f0; }

/* --- Project / before-after --------------------------------------------- */
.project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  padding-block: clamp(34px, 4.5vw, 54px);
  border-top: 1px solid var(--line);
}
.project:first-of-type { border-top: 0; padding-top: 0; }
.project:nth-child(even) .project__media { order: 2; }

.project__body .eyebrow { margin-bottom: 10px; }
.project__body h3 {
  font-size: clamp(1.4rem, 1.15rem + .9vw, 1.95rem);
  margin-bottom: 14px;
}
.project__body p { color: var(--ink-soft); }
.project__facts {
  display: grid;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.project__facts div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.project__facts dt { color: var(--ink-soft); }
.project__facts dd { margin: 0; font-weight: 600; color: var(--navy-800); }

/* Before/after comparison.
   An <input type=range> sits invisibly on top of the images: that gives
   pointer drag, touch and full keyboard control for free. */
.ba {
  --pos: 50%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy-800);
  touch-action: pan-y;
}
.ba__frame { position: relative; display: block; }
.ba__frame img { width: 100%; display: block; }
.ba__frame--before {
  position: absolute;
  inset: 0;
  /* Reveals the "before" image from the left up to the handle position. */
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba__frame--before img { height: 100%; object-fit: cover; }

.ba__line {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(7, 26, 51, .22);
  pointer-events: none;
}
.ba__grip {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 14px rgba(7, 26, 51, .4);
  color: var(--navy-800);
}
.ba__grip svg { width: 22px; height: 22px; }

.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.ba__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 46px; height: 100%;
  cursor: ew-resize;
}
.ba__range::-moz-range-thumb {
  width: 46px;
  height: 900px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: ew-resize;
}
.ba__range:focus-visible { opacity: 1; outline-offset: -4px; }

.ba__tag {
  position: absolute;
  top: 14px;
  padding: 6px 13px;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  pointer-events: none;
  backdrop-filter: blur(6px);
}
.ba__tag--before { left: 14px; background: rgba(7, 26, 51, .74); color: #fff; }
.ba__tag--after  { right: 14px; background: rgba(255, 255, 255, .88); color: var(--navy-800); }

.ba__hint {
  margin-top: 12px;
  font-size: .84rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ba__hint svg { width: 15px; height: 15px; flex: none; }

/* --- Gallery ------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
/* Das Seitenverhaeltnis sitzt auf der figure, nicht auf dem img. Sonst
   streckt das Grid die Kachel auf die Zeilenhoehe, waehrend das Bild sein
   eigenes Verhaeltnis behaelt - und unten bleibt eine leere Flaeche stehen. */
.gallery figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--navy-800);
}
.gallery picture { height: 100%; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 13px;
  background: linear-gradient(transparent, rgba(7, 26, 51, .82));
  color: #fff;
  font-size: .87rem;
  font-weight: 600;
}
/* Hochformat-Aufnahmen im 4:3-Raster oben ausrichten, damit die Stufen bzw.
   die Flaeche im Bild bleiben und nicht die Mitte weggeschnitten wird. */
.gallery .is-tall img { object-position: center 38%; }

/* --- Einsatzgebiet ------------------------------------------------------ */
.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 26px;
}
.area h3 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-600);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.area ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.area li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  font-size: .85rem;
  color: var(--ink);
  white-space: nowrap;
}
/* Der Heimatort wird hervorgehoben - er ist der Anker fuer die lokale Suche. */
.area li.is-home {
  border-color: var(--navy-700);
  background: var(--navy-800);
  color: #fff;
  font-weight: 650;
}
.areas-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .96rem;
}
.areas-note svg { width: 19px; height: 19px; color: var(--blue-600); flex: none; }

/* --- Reasons ------------------------------------------------------------ */
/* Zwei Spalten statt vier: mit Icon davor bleiben bei vier Spalten nur ~190px
   Textbreite uebrig, das liest sich als Spaltensalat. */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 56px;
}
.reason { display: flex; gap: 16px; }
.reason__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 10px;
  background: rgba(111, 181, 240, .16);
  color: #8fc4f5;
}
.reason__icon svg { width: 21px; height: 21px; }
.reason h3 { font-size: 1.08rem; margin-bottom: 6px; }
.reason p { font-size: .94rem; color: #a9c0d8; }

/* --- FAQ ---------------------------------------------------------------- */
.faq { max-width: 800px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-weight: 650;
  font-size: 1.04rem;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 11px; height: 11px;
  flex: none;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  rotate: 45deg;
  translate: 0 -3px;
  transition: rotate .25s var(--ease);
}
.faq details[open] summary::after { rotate: -135deg; translate: 0 3px; }
.faq summary:hover { color: var(--blue-600); }
.faq p {
  padding: 0 4px 24px;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* --- Contact ------------------------------------------------------------ */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}
.contact__grid > div > .lead { color: #b9cce0; margin-top: 16px; }

.contact-card {
  padding: 30px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
/* Die Kontaktkarte ist hell und steht in einer dunklen Section. Die
   Weiss-Regel von .section--dark darf hier nicht greifen. */
.section--dark .contact-card h3,
.contact-card h3 { color: var(--navy-800); font-size: 1.16rem; margin-bottom: 4px; }
.contact-card .muted { font-size: .9rem; color: var(--ink-soft); }
.contact-card__rows { display: grid; gap: 2px; margin: 22px 0; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 12px;
  margin-inline: -12px;
  border-radius: 9px;
  text-decoration: none;
  transition: background-color .18s var(--ease);
}
a.contact-row:hover { background: var(--surface-2); }
.contact-row svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; }
.contact-row b { display: block; font-size: 1.02rem; color: var(--navy-800); }
.contact-row span { font-size: .82rem; color: var(--ink-soft); }
.contact-card__actions { display: grid; gap: 10px; }
.contact-card .btn { width: 100%; }
.contact-note {
  margin-top: 16px;
  font-size: .78rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.contact-note a { color: var(--navy-700); }

/* --- Footer ------------------------------------------------------------- */
.footer {
  background: var(--navy-900);
  color: #90a6bd;
  font-size: .9rem;
  padding-block: clamp(44px, 6vw, 68px) 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 44px;
}
.footer .logo__mark { width: 40px; }
.footer__about { max-width: 40ch; margin-top: 18px; }
.footer h4 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer__places { line-height: 1.9; }
.footer__places a { white-space: nowrap; }
.footer a { color: #b6c7d9; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* --- Sticky mobile action bar ------------------------------------------- */
.actionbar { display: none; }

/* --- Legal pages -------------------------------------------------------- */
.legal { padding-block: clamp(40px, 6vw, 76px); }
.legal__inner { max-width: 78ch; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin-bottom: 10px; }
.legal h2 {
  font-size: 1.22rem;
  margin-top: 42px;
  margin-bottom: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal h3 { font-size: 1.03rem; margin-top: 26px; margin-bottom: 8px; }
.legal p, .legal ul { margin-bottom: 14px; }
.legal p, .legal li { color: #46525f; }
.legal ul { padding-left: 22px; display: grid; gap: 7px; }
.legal a { color: var(--blue-600); }
.legal address { font-style: normal; }
.legal .backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--blue-600);
  text-decoration: none;
}
.legal .backlink:hover { text-decoration: underline; }
.legal .stand {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--ink-soft);
}
.legal .todo {
  padding: 16px 18px;
  border-left: 3px solid #e0a800;
  background: #fff8e5;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9rem;
  color: #6b5300;
}

/* --- Ortsseiten (balkonsanierung-*.html) -------------------------------- */
.hero--city h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem); }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .84rem;
  color: #9fb6cf;
}
.crumbs a { color: #cfe0f2; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.local {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.local__text h2 { margin-bottom: 20px; }
.local__text p { color: var(--ink-soft); max-width: 64ch; }
.local__text p + p { margin-top: 16px; }
.districts { margin-top: 30px; }

.focus {
  padding: 30px 28px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius);
}
.focus h3 { margin-bottom: 10px; }
.focus p { color: var(--ink-soft); font-size: .96rem; }

.checklist {
  list-style: none;
  padding: 18px 0 0;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--navy-800);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 3px; top: .42em;
  width: 13px; height: 7px;
  border-left: 2.4px solid var(--blue-600);
  border-bottom: 2.4px solid var(--blue-600);
  rotate: -45deg;
}

.signs {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.signs li {
  display: flex;
  gap: 13px;
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--ink-soft);
}
.signs svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--blue-600); }
.signs b { display: block; margin-bottom: 3px; font-size: .98rem; color: var(--navy-800); }

.more { margin-top: 24px; }
.textlink { font-weight: 650; color: var(--blue-600); text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* Chips im Einsatzgebiet, die auf eine Ortsseite fuehren */
.area li:has(> a) { border-color: #b9d3ec; }
.area li > a {
  display: block;
  margin: -5px -11px;
  padding: 5px 11px;
  border-radius: 100px;
  color: var(--blue-600);
  font-weight: 600;
  text-decoration: none;
}
.area li > a:hover { background: var(--blue-100); }

@media (max-width: 1080px) {
  .signs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .local { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .signs { grid-template-columns: 1fr; }
  .area li > a { margin: -5px -10px; padding: 5px 10px; }
}

/* --- Zusatzleistungen --------------------------------------------------- */
.extras {
  margin-top: 28px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.extras h3 { margin-bottom: 16px; }
.extras ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 26px;
}
.extras li { font-size: .9rem; color: var(--ink-soft); }
.extras li b { display: block; margin-bottom: 3px; font-size: .98rem; color: var(--navy-800); }

/* --- Kontaktformular ---------------------------------------------------- */
.form {
  margin-top: 30px;
  padding: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
/* Helle Karte in dunkler Section: die Weiss-Regel von .section--dark aufheben. */
.section--dark .form h3,
.form h3 { color: var(--navy-800); font-size: 1.16rem; margin-bottom: 16px; }
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy-800);
}
.form__full { grid-column: 1 / -1; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font: inherit;
  font-size: .96rem;
  font-weight: 400;
  color: var(--ink);
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--blue-500);
  outline-offset: 0;
  border-color: var(--blue-500);
  background: #fff;
}
.form .btn { width: 100%; margin-top: 18px; }
.form__note {
  margin-top: 12px;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.form__note a { color: var(--navy-700); }
/* Honeypot gegen Spam-Bots: fuer Menschen unsichtbar, nicht per display:none. */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 1080px) {
  .extras ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .extras { padding: 22px 20px; }
  .extras ul { grid-template-columns: 1fr; }
  .form { padding: 22px 20px; }
  .form__grid { grid-template-columns: 1fr; }
}

/* --- Einwilligungsbanner ------------------------------------------------ */
.consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 80;
  width: min(560px, calc(100% - 32px));
  margin-inline: auto;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.consent__text { font-size: .86rem; color: var(--ink-soft); }
.consent__text b {
  display: block;
  margin-bottom: 5px;
  font-size: .97rem;
  color: var(--navy-800);
}
.consent__text a { color: var(--navy-700); }
.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.consent__actions .btn { flex: 1 1 auto; padding: 12px 18px; font-size: .95rem; }

/* Widerruf-Link in der Fussleiste: sieht aus wie die Links daneben. */
.consent-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #b6c7d9;
  cursor: pointer;
}
.consent-link:hover { color: #fff; text-decoration: underline; }
/* Gleicher Knopf auf hellen Rechtsseiten. */
.consent-link--legal { color: var(--blue-600); text-decoration: underline; }
.consent-link--legal:hover { color: var(--navy-700); }

/* Auf dem Handy sitzt unten die Anrufleiste - das Banner darf sie nicht verdecken. */
@media (max-width: 900px) {
  .consent {
    inset: auto 10px calc(76px + env(safe-area-inset-bottom)) 10px;
    padding: 18px;
  }
}

/* --- Leistungsseiten ---------------------------------------------------- */
/* "Mehr erfahren" sitzt in jeder Karte unten, auch wenn die Texte ungleich lang sind. */
.card .more { margin-top: auto; padding-top: 16px; }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
/* Heimatort-Chip mit Link: weisse Schrift auf dunklem Grund */
.area li.is-home > a { color: #fff; }
.area li.is-home > a:hover { background: var(--navy-700); }

/* Abstand zwischen Ausfuehrung und "Alles aus einer Hand" */
#ausfuehrung .extras { margin-top: clamp(36px, 5vw, 56px); }

@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; }
}

/* --- Kundenstimmen ------------------------------------------------------ */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 26px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.review__stars { color: #f5b301; font-size: 1.15rem; line-height: 1; letter-spacing: 2px; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: .95rem; color: var(--ink-soft); }
.review blockquote p + p { margin-top: 10px; }
.review figcaption {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.review figcaption b { display: block; color: var(--navy-800); }
.review figcaption span { font-size: .82rem; color: var(--ink-soft); }
/* Link unter den Karten steht auf dunklem Grund */
.section--dark .textlink { color: #8fc4f5; }
.section--dark .textlink:hover { color: #fff; }

@media (max-width: 900px) {
  .reviews { grid-template-columns: 1fr; }
}

/* --- Systemaufbau (Leistungsseiten) ------------------------------------- */
.system {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.system__text h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-bottom: 12px; }
.system__text p { color: var(--ink-soft); }
/* Schnitt durch den Aufbau: oben die hellste Schicht, unten der Untergrund */
.layers { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.layers li { padding: 14px 18px; border-radius: 8px; color: #fff; }
.layers li b { display: block; font-size: .98rem; }
.layers li span { font-size: .85rem; }
.layers li:nth-child(1) { background: #8fc4f5; color: var(--navy-900); }
.layers li:nth-child(2) { background: var(--blue-600); }
.layers li:nth-child(3) { background: var(--navy-700); }
.layers li:nth-child(4) { background: var(--navy-900); }

@media (max-width: 900px) {
  .system { grid-template-columns: 1fr; }
}

/* --- Utilities ---------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100px; left: 12px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  background: var(--navy-800);
  color: #fff;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* Scroll reveal - opt-in, only enabled by JS so no-JS users see everything. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Mit dem sechsten Navigationspunkt wird es im Header eng - die Nummer steht
   ohnehin noch im Button daneben und in der Fussleiste. */
@media (max-width: 1180px) {
  .header__phone { display: none; }
}

@media (max-width: 1080px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }
  .header__inner { height: 68px; }
  .logo svg { height: 36px; }
  .burger { display: inline-flex; }
  .header__phone { display: none; }
  .header__cta .btn { display: none; }

  /* Mobile nav panel */
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 26px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease),
                visibility .22s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 9px; }
  .nav a.is-active::after { display: none; }
  .nav > .btn { display: inline-flex; margin-top: 12px; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { max-width: 460px; }
  .hero__card img { aspect-ratio: 4 / 3; }

  .project { grid-template-columns: 1fr; }
  .project:nth-child(even) .project__media { order: 0; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact-card { max-width: 480px; }

  .step::after { right: 0; }

  /* Sticky call/WhatsApp bar - the primary conversion path on a phone. */
  body { padding-bottom: 66px; }
  .actionbar {
    position: fixed;
    z-index: 70;
    inset: auto 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--navy-800);
    box-shadow: 0 -2px 16px rgba(7, 26, 51, .28);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .actionbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 66px;
    color: #fff;
    text-decoration: none;
    font-size: .74rem;
    font-weight: 650;
    letter-spacing: .02em;
  }
  .actionbar svg { width: 21px; height: 21px; }
  .actionbar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
  .actionbar .is-wa { background: #15803d; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .trust__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .reasons { grid-template-columns: 1fr; gap: 26px; }
  .areas { grid-template-columns: 1fr; gap: 24px; }
  .area li { font-size: .82rem; padding: 5px 10px; }
  .project__facts div { grid-template-columns: 1fr; gap: 2px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery figcaption { font-size: .76rem; padding: 20px 10px 9px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__points { gap: 9px 18px; }
  .contact-card { padding: 22px 20px; }
  .footer__bar { justify-content: flex-start; }
}

/* Sehr schmale Geraete (iPhone SE, 320px) */
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .logo__name { font-size: 1.14rem; }
  .logo__sub { font-size: .47rem; letter-spacing: .16em; }
  .logo__mark { width: 31px; }
  .actionbar a { font-size: .68rem; }
  .ba__grip { width: 38px; height: 38px; }
  .ba__tag { font-size: .64rem; padding: 5px 9px; top: 10px; }
  .ba__tag--before { left: 10px; }
  .ba__tag--after { right: 10px; }
}

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

@media print {
  .header, .actionbar, .hero__bg, .ba__range, .ba__line { display: none; }
  body { color: #000; }
  .section--dark, .hero, .footer { background: #fff !important; color: #000 !important; }
}
