/* =========================================================
   KHKtech – Kyffhäuser Heizung & Klima
   Umsetzung des Figma-Entwurfs "FINAL MASTER – KHKtech One-Pager"
   (Desktop 1440 / Mobile 390). Werte aus den Figma-Variablen.
   ========================================================= */

@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/mulish-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/mulish-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* KHK CI Farben */
  --blue: #016dff;          /* ci/blue-bell */
  --blue-hover: #0057cc;
  --blue-light: #a5c9ff;    /* ci/blue-light */
  --blue-tint: #e8f1ff;     /* ci/blue-tint */
  --red: #d41900;           /* ci/scarlet-dark (Buttons) */
  --red-hover: #b31500;
  --scarlet: #ff1e00;       /* ci/scarlet-fire */
  --navy: #001938;          /* ci/prussian-blue */
  --navy-card: #092a50;     /* ci/prussian-card */
  --smoke: #f5f5f5;         /* ci/white-smoke */
  --mahogany: #290500;      /* ci/rich-mahogany */

  --ink: #001938;           /* text/primär */
  --text: #3e4d60;          /* text/sekundär */
  --muted: #5a6676;         /* text/dezent-aa */
  --on-dark: #c5d0de;       /* text/hell-sekundär */
  --on-dark-muted: #9aa9bd; /* text/hell-dezent */
  --line: #dde2e8;          /* linie/standard */
  --field: #b4bdc8;         /* linie/feld */

  --font: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --section-y: 112px;
  --block-gap: 56px;
  --frame: 1392px;          /* Breite der Flächen mit Rand: 1440 - 2 × 24 */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--smoke);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 4px var(--blue); border-radius: 8px; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--white { background: #fff; }
.section--smoke { background: var(--smoke); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.stack { display: flex; flex-direction: column; gap: var(--block-gap); }

/* ---------- Text-Stile (CI/…) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; line-height: 1.2; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow img { width: 26px; height: 8px; }
.eyebrow--light { color: var(--blue-light); }
.eyebrow--white { color: #fff; }

.h2 { font-size: 46px; line-height: 1.12; letter-spacing: -0.01em; font-weight: 700; color: var(--ink); }
.h2 .light, .h3 .light { font-weight: 300; }
.h3 { font-size: 28px; line-height: 1.22; letter-spacing: -0.005em; font-weight: 700; color: var(--ink); }
.h4 { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.lead { font-size: 20px; line-height: 1.55; font-weight: 300; }
.small { font-size: 15px; line-height: 1.6; }
.blue { color: var(--blue); }
.blue-light { color: var(--blue-light); }
/* Wortgruppe zusammenhalten; unter 360 px wäre sie breiter als die Spalte */
@media (min-width: 360px) { .nowrap { white-space: nowrap; } }
.on-navy, .on-navy .h2, .on-navy .h3, .on-navy .h4 { color: #fff; }

.head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* Trustpunkte: roter Punkt + Small Bold */
.points { display: flex; flex-direction: column; gap: 10px; }
.points li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.55; font-weight: 700; color: var(--text); }
.points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--scarlet); }
.points--white li { color: #fff; }
.points--row { flex-direction: row; flex-wrap: wrap; gap: 8px 28px; }

.dashes li { font-size: 15px; line-height: 1.6; color: var(--text); }
.dashes li::before { content: "– "; }

/* ---------- Buttons V4 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 28px;
  font-size: 15px; line-height: 1.2; font-weight: 700; text-decoration: none; white-space: nowrap;
  border: 0; border-radius: 10px 30px 10px 10px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn img { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.btn:hover img { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); }
.btn--blue { background: var(--blue); color: #fff; border-radius: 10px 10px 30px 10px; }
.btn--blue:hover { background: var(--blue-hover); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--blue-tint); }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-white { border: 1.5px solid #fff; color: #fff; background: transparent; }
.btn--outline-white:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   Kopfleiste (Navigation/Desktop)
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; padding: 10px 24px 0; pointer-events: none; }
.header-bar {
  pointer-events: auto; position: relative; max-width: var(--frame); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 24px; background: #fff; border-radius: 20px;
  filter: drop-shadow(0 6px 12px rgba(0, 26, 56, .08));
}
.brand { flex: none; display: block; }
.brand img { width: 256px; height: 75px; }

.main-nav ul { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  display: flex; flex-direction: column; gap: 4px; padding-top: 4px;
  font-size: 15px; line-height: 1.2; color: var(--ink); text-decoration: none;
}
.main-nav a::after { content: ""; height: 2px; border-radius: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--blue); font-weight: 700; }
.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header-call { display: flex; flex-direction: column; font-size: 15px; text-decoration: none; }
.header-call span { color: var(--muted); line-height: 1.6; }
.header-call strong { color: var(--ink); line-height: 1.55; }
.header-mail, .header-wa { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); transition: background-color .2s; }
.header-mail:hover { background: var(--blue); }
.header-mail img { width: 20px; height: 20px; }
.header-wa { background: #25d366; color: #fff; }
.header-wa:hover { background: #1ebe5b; }
.header-wa svg { width: 22px; height: 22px; fill: currentColor; }
.header-phone, .nav-toggle { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero-wrap { padding: 16px 24px 0; }
.hero {
  position: relative; overflow: hidden; isolation: isolate; max-width: var(--frame); margin-inline: auto;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 740px; padding: 72px 88px;
  border-radius: 30px 30px 130px 30px; background: #ebe8e3;
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 0%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(245, 245, 245, .98) 0%, rgba(245, 245, 245, .9) 38%, rgba(245, 245, 245, 0) 64%);
}
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero h1 { max-width: 620px; font-size: 64px; line-height: 1.08; letter-spacing: -0.015em; }
.br-handy { display: none; }
.hero__text { max-width: 560px; font-size: 20px; line-height: 1.55; color: var(--text); }
.hero .btn-row { padding-top: 8px; }
.hero .points { padding-top: 12px; }

/* ---------- Kennzahlen-Band ---------- */
.stats-wrap { padding: 24px 24px 24px; }
.stats {
  display: flex; align-items: center; max-width: var(--frame); margin-inline: auto;
  padding: 56px 64px; background: var(--navy); color: #fff;
  border-radius: 30px 130px 30px 30px;
}
.stats__label { width: 250px; flex: none; display: flex; flex-direction: column; gap: 10px; }
.stats__label p:not(.eyebrow) { font-size: 20px; line-height: 1.3; font-weight: 300; color: #fff; }
.stats__label strong { font-weight: 700; }
.stats__values { flex: 1; display: flex; align-items: flex-start; }
.stat { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-left: 28px; border-left: 1px solid #fff; }
.stat:last-child { flex: none; width: 242px; }
.stat__num { font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.stat__num--text { font-size: 28px; line-height: 1.22; letter-spacing: -0.005em; }
.stat p { font-size: 15px; line-height: 1.6; color: var(--on-dark); }

/* =========================================================
   Über KHKtech
   ========================================================= */
.about__intro { display: grid; grid-template-columns: 1fr 560px; gap: 72px; align-items: center; }
.about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border-radius: 10px 20px 10px 10px; background: var(--blue-tint);
  font-size: 15px; line-height: 1.55; font-weight: 700; color: var(--blue);
}
.chip img { width: 18px; height: 18px; }
.about__img { height: 480px; border-radius: 30px 130px 30px 30px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-radius .3s; }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Schmaler Navy-Rahmen: die hellen Karten haben damit Farbe und Form der dunklen in der Mitte */
.fcard {
  display: flex; flex-direction: column; overflow: hidden; border: 2px solid var(--navy); border-radius: 30px 130px 30px 30px; background: var(--smoke);
  transition: transform .25s, box-shadow .25s, border-radius .3s;
}
.fcard__img { height: 250px; }
.fcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fcard__body { display: flex; flex-direction: column; gap: 10px; padding: 28px 30px 36px; }
.fcard--navy { background: var(--navy); }
.fcard--navy .eyebrow, .fcard--navy .h3 { color: #fff; }
.fcard--navy p { color: #fff; opacity: .9; }
/* Karten und Bild „Über uns“ wie die anderen Karten: anheben, die große Ecke wächst, das Bild zoomt leicht */
@media (hover: hover) {
  .fcard:hover, .about__img:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 25, 56, .16); border-top-right-radius: 160px; }
  .fcard:hover .fcard__img img, .about__img:hover img { transform: scale(1.05); }
}

/* =========================================================
   Leistungen
   ========================================================= */
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.row-head > .head { flex: 1; }
.row-head > p { width: 440px; flex: none; }

.focus {
  position: relative; display: grid; grid-template-columns: 560px 1fr;
  overflow: hidden; background: var(--navy); border: 2px solid var(--navy); border-radius: 30px 30px 130px 30px;
  transition: transform .25s, box-shadow .25s, border-radius .3s;
}
.focus__img { position: relative; min-height: 562px; overflow: hidden; }
.focus__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
/* Wie die Karten: anheben, die große Ecke wächst, das Bild zoomt leicht */
@media (hover: hover) {
  .focus:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 25, 56, .16); border-bottom-right-radius: 160px; }
  .focus:hover .focus__img > img { transform: scale(1.05); }
}
.badge {
  /* unten links, damit das Klimagerät im Bild frei bleibt */
  position: absolute; bottom: 24px; left: 24px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  background: var(--red); color: #fff; border-radius: 10px 22px 10px 10px;
  font-size: 15px; line-height: 1.55; font-weight: 700;
}
.badge img { width: 26px; height: 8px; }
.focus__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: 60px; }
.focus__body .h2 { color: #fff; }
.focus__body > p { color: #fff; opacity: .88; }
.focus__body .points { padding-top: 4px; }
.focus__body .btn-row { padding-top: 8px; }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.scard {
  display: flex; flex-direction: column; gap: 20px; overflow: hidden;
  background: #fff; border: 2px solid var(--navy); border-radius: 20px 64px 20px 20px;
  transition: border-color .2s, box-shadow .2s;
}
/* Navy-Rahmen wie bei den Karten unter „Über uns“; beim Überfahren und aufgeklappt Blau */
.scard:hover { border-color: var(--blue); box-shadow: 0 12px 28px rgba(0, 25, 56, .08); }
.scard.is-open { border-color: var(--blue); }
.scard__img { height: 260px; overflow: hidden; background: var(--navy-card); }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.scard:hover .scard__img img { transform: scale(1.05); }
.scard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 24px 26px; }
.scard__title { display: flex; align-items: baseline; gap: 12px; }
.scard__title span { font-size: 15px; line-height: 1.55; font-weight: 700; color: var(--blue); }
.scard__more { font-size: 15px; line-height: 1.6; color: var(--text); }
.scard__more[hidden] { display: none; }
.toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 15px; line-height: 1.55; font-weight: 700; color: var(--blue);
}
.toggle img { width: 14px; height: 14px; transition: transform .2s; }
.toggle[aria-expanded="true"] img { transform: rotate(180deg); }

/* =========================================================
   Klimaanlagen im Fokus
   ========================================================= */
.fokus { padding-block: 120px; }
.fokus .head { max-width: 720px; }
.fokus .h2 { color: #fff; }
.fokus .lead { color: #fff; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.season {
  display: flex; flex-direction: column; gap: 6px; padding: 30px; border-radius: 20px; background: var(--navy-card);
  transition: transform .25s, box-shadow .25s, border-radius .3s;
}
.season h3 { color: #fff; }
/* Kühlen und Heizen in den Logofarben, große Ecken wie die linke Hälfte der Bildmarke: Blau unten rechts, Rot oben rechts.
   Heizen im dunkleren Button-Rot: Weiß auf Logo-Rot hätte nur 3,9:1 Kontrast, so sind es 5,3:1. */
.season--kuehlen { background: var(--blue); border-radius: 16px 16px 90px 16px; }
.season--heizen { background: var(--red); border-radius: 16px 90px 16px 16px; }
.season--kuehlen p, .season--heizen p { color: #fff; }
/* Wie Schritte und Vorteile: anheben, die große Ecke wächst. Mehr als 110px würde die Textzeilen anschneiden. */
@media (hover: hover) {
  .season:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .3); }
  .season--kuehlen:hover { border-bottom-right-radius: 110px; }
  .season--heizen:hover { border-top-right-radius: 110px; }
}
.tech-block { display: flex; flex-direction: column; gap: 24px; }
.tech-block .h3 { color: #fff; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 16px; background: var(--navy-card);
  transition: transform .25s, background-color .25s, border-radius .25s, box-shadow .25s;
}
/* Blaue Linie oben, die beim Überfahren herauswächst */
.tech::before { content: ""; position: absolute; top: 0; left: 22px; width: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--blue); transition: width .3s; }
.tech__num { font-size: 15px; line-height: 1.55; font-weight: 700; color: var(--blue-light); transition: color .25s; }
@media (hover: hover) {
  .tech:hover { transform: translateY(-4px); background: #0c3463; border-radius: 16px 40px 16px 16px; box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
  .tech:hover::before { width: 48px; }
  .tech:hover .tech__num { color: #fff; }
}
.tech h4 { font-size: 17px; line-height: 1.65; color: #fff; }
.tech p { font-size: 15px; line-height: 1.6; color: var(--on-dark); }

.split { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; background: #fff; color: var(--text); border-radius: 24px 24px 90px 24px; }
.split .points { gap: 8px; }
.schema { display: flex; align-items: center; gap: 20px; width: 100%; padding: 20px; border-radius: 16px; background: var(--smoke); }
.schema__unit { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.schema__unit i { display: block; width: 56px; height: 44px; background: var(--navy); border-radius: 6px 14px 6px 6px; }
/* Multi-Split: größeres Außengerät */
.schema--multi .schema__unit i { height: 62px; }
/* Leitungen reichen von Gerät zu Gerät (negativer Rand gleicht den Abstand der Reihe aus) */
.schema__line { width: 64px; height: 2px; margin-inline: -20px; background: var(--blue); flex: none; }
/* Multi-Split: eine eigene Leitung vom Außengerät zu jedem Innengerät */
.schema__lines { flex: none; width: 64px; height: 88px; margin-inline: -20px; overflow: visible; }
.schema__lines path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.schema__rooms { display: flex; flex-direction: column; gap: 8px; }
.schema__room { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.6; color: var(--text); }
.schema__room i { display: block; width: 48px; height: 14px; background: var(--blue); border-radius: 4px 4px 8px 4px; }

.fokus__foot { display: flex; align-items: center; gap: 32px; padding-top: 16px; border-top: 1px solid #fff; }
.fokus__foot .points { flex: 1; }

/* =========================================================
   Ablauf
   ========================================================= */
.row-head .h2--wide { max-width: 720px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #fff; border-radius: 24px; transition: transform .25s, box-shadow .25s, border-radius .3s, background-color .25s; }
.step__num { font-size: 48px; line-height: 1; font-weight: 300; letter-spacing: -0.01em; color: var(--blue); }
.step__line { height: 2px; background: var(--blue); }
.step--navy { background: var(--navy); border-top-right-radius: 90px; }
.step--navy .step__num { color: var(--blue-light); }
.step--navy .step__line { background: var(--blue-light); }
.step--navy h3 { color: #fff; }
.step--navy p { color: #fff; opacity: .85; }
/* Wie Technik und Vorteile: anheben, große Ecke oben rechts wie die Bildmarke, Farbe leicht wechseln */
@media (hover: hover) {
  .step:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 25, 56, .14); }
  .step:not(.step--navy):hover { background: var(--blue-tint); border-top-right-radius: 64px; }
  .step--navy:hover { background: var(--navy-card); }
}
.steps-cta { display: none; }
.note { padding: 22px 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px 40px 16px 16px; color: var(--ink); }

/* =========================================================
   Vorteile (Kacheln)
   ========================================================= */
.vorteile .head .h2 { max-width: 760px; color: #fff; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 24px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: 24px; background: var(--navy-card);
  transition: transform .25s, background-color .25s, border-radius .25s, box-shadow .25s;
}
.tile::before { content: ""; width: 40px; height: 3px; border-radius: 2px; background: var(--blue); transition: width .3s; }
.tile__text { display: flex; flex-direction: column; gap: 8px; }
.tile h3 { color: #fff; }
.tile p { color: var(--on-dark); }
/* Große Ecken wie die linke Hälfte der Bildmarke: Blau unten rechts, Rot oben rechts */
.tile--wide { grid-column: span 2; background: var(--blue); border-bottom-right-radius: 120px; }
.tile--wide h3 { font-size: 28px; line-height: 1.22; letter-spacing: -0.005em; }
.tile--red { background: var(--red); border-top-right-radius: 90px; }
.tile--wide::before, .tile--red::before { background: #fff; }
.tile--wide p, .tile--red p { color: #fff; }
.tile--img { padding: 0; overflow: hidden; }
.tile--img::before { display: none; }
.tile--img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
/* Wie bei den Technik-Karten: anheben, Linie wächst, Ecke rundet sich. Blau und Rot bleiben in ihrer Farbe. */
@media (hover: hover) {
  .tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .3); }
  .tile:not(.tile--wide):not(.tile--red):hover { border-top-right-radius: 64px; }
  .tile:not(.tile--wide):not(.tile--red):not(.tile--img):hover { background: #0c3463; }
  .tile:hover::before { width: 80px; }
  .tile--img:hover img { transform: scale(1.05); }
}

/* =========================================================
   Eigenleistung & Förderberatung
   ========================================================= */
.mehrwert .head .h2, .mehrwert .head .lead { max-width: 760px; }
.mehrwert .lead { color: var(--text); }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.diy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 44px; background: #fff; border-radius: 30px 30px 120px 30px; }
.box { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 20px; border-radius: 16px; }
.box--navy { background: var(--navy); }
.box--tint { gap: 8px; padding: 16px 18px; border-radius: 14px; background: var(--blue-tint); }
.box--tint p { font-size: 15px; line-height: 1.6; color: var(--ink); }
.grant { display: flex; flex-direction: column; gap: 18px; overflow: hidden; background: var(--navy); border-radius: 30px 30px 120px 30px; }
.grant__img { height: 220px; }
.grant__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.grant__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 12px 44px 44px; }
.grant__body .h3 { color: #fff; }
.grant__body > p { color: #fff; opacity: .88; }
.grant__hint { font-size: 15px; line-height: 1.6; color: var(--blue-light); opacity: 1 !important; }

/* =========================================================
   Vertrauen
   ========================================================= */
.vertrauen .h2 { color: #fff; }
/* Weißer Grund, damit die Logos in Originalfarben stehen können */
.brands { padding: 36px 48px; background: #fff; border-radius: 24px 24px 90px 24px; }
/* Gleich breite Spalten, Logos mittig: gleichmäßige Abstände trotz unterschiedlich breiter Logos */
.brands ul { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; justify-items: center; gap: 32px 24px; }
.brands li img { display: block; height: var(--h, 32px); width: auto; }
/* Google-Bewertungen (live über die Places API, siehe functions.php) */
.greviews { display: flex; flex-direction: column; gap: 24px; }
.greviews__summary {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px;
  padding: 28px 40px; background: #fff; border-radius: 24px 24px 90px 24px;
}
.greviews__score { display: flex; align-items: center; gap: 18px; }
.g-logo { width: 44px; height: 44px; flex: none; }
.greviews__title { font-size: 15px; line-height: 1.4; font-weight: 700; color: var(--muted); }
.greviews__rating { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; color: var(--ink); }
.greviews__rating strong { font-size: 36px; line-height: 1.1; font-weight: 700; }
.greviews__count { font-size: 15px; color: var(--text); }
.greviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.greviews__source { font-size: 13px; line-height: 1.5; color: var(--on-dark-muted); }

.stars {
  --s: 18px;
  display: inline-block; flex: none; width: calc(5 * var(--s)); height: var(--s);
  background: linear-gradient(90deg, #fbbc04 calc(var(--r) / 5 * 100%), #dadce0 0);
  -webkit-mask: url("../img/icons/stern.svg") 0 0 / var(--s) var(--s) repeat-x;
  mask: url("../img/icons/stern.svg") 0 0 / var(--s) var(--s) repeat-x;
}
.stars--lg { --s: 26px; }

.gcard { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 24px; background: #fff; border-radius: 24px; color: var(--ink); }
.gcard__head { display: flex; align-items: center; gap: 12px; }
.gcard__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; font-size: 17px; font-weight: 700; }
.gcard__who { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 15px; line-height: 1.4; }
.gcard__who a { font-weight: 700; color: var(--ink); text-decoration: none; }
.gcard__who a:hover { text-decoration: underline; }
.gcard__who span,
.gcard__who .gcard__zeit { font-size: 14px; font-weight: 400; color: var(--muted); }
.gcard__g { width: 20px; height: 20px; flex: none; }
.gcard__text {
  margin: 0; font-size: 16px; line-height: 1.6; color: var(--text);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden;
}
.gcard__text.is-open { display: block; -webkit-line-clamp: unset; }
.gcard__more { align-self: flex-start; padding: 0; border: 0; background: none; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--blue); }
.gcard--cta {
  justify-content: center; gap: 16px; min-height: 220px; text-decoration: none;
  background: var(--navy-card); color: #fff; border-radius: 24px 90px 24px 24px; transition: background-color .2s;
}
.gcard--cta:hover { background: var(--blue); }
.gcard--cta strong { font-size: 20px; line-height: 1.3; }
.gcard--cta img { width: 40px; height: 40px; padding: 6px; background: #fff; border-radius: 50%; box-sizing: content-box; }
.gcard__arrow { font-size: 24px; line-height: 1; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: flex; align-items: flex-start; gap: 64px; }
.faq__intro { position: sticky; top: 130px; width: 400px; flex: none; }
.ask-box { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 20px; background: #fff; border-radius: 16px 30px 16px 16px; }
.ask-box span { font-size: 15px; line-height: 1.6; color: var(--text); }
.ask-box a { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--blue); text-decoration: none; }
.faq__list { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s; }
.faq-item summary {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none;
  font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span { flex: 1; }
.faq-item summary i { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 16px; background: var(--navy); transition: background-color .2s, transform .2s; }
.faq-item summary i img { width: 16px; height: 16px; }
.faq-item:hover { border-color: var(--blue); }
.faq-item:hover summary i { background: var(--blue); }
.faq-item[open] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.faq-item[open] summary { padding-bottom: 12px; }
.faq-item[open] summary i { background: var(--blue); transform: rotate(45deg); }
.faq-item__body { padding: 0 24px 22px; color: var(--text); }

/* =========================================================
   Kontakt (Sektion/Anfrage)
   ========================================================= */
.kontakt { padding-bottom: 48px; }
.kontakt__grid { display: grid; grid-template-columns: 1fr 560px; grid-template-areas: "text form" "messenger form"; gap: 48px 64px; }
/* Text oben links, Messenger darunter, Formular rechts über beide Zeilen; untereinander folgt das Formular direkt dem Text */
.kontakt__text { grid-area: text; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.kontakt__grid > .form-card { grid-area: form; }
.kontakt__grid > .messenger { grid-area: messenger; align-self: start; }
.kontakt__text .h2 { color: #fff; }
.kontakt__text .lead { color: #fff; opacity: .9; }

.form-card { display: flex; flex-direction: column; gap: 16px; padding: 36px; background: #fff; border-radius: 24px; color: var(--text); }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { padding: 0; font-size: 14px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; border: 1px solid var(--field); border-radius: 12px; background: #fff;
  font-size: 17px; line-height: 1.65; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(1, 109, 255, .18); }
.field input:user-invalid { border-color: var(--red); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--blue); }
.consent a { color: var(--blue); }
.form-note { font-size: 15px; line-height: 1.6; color: var(--muted); }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.6; }
.form-msg.is-ok { display: block; background: #e7f6ec; color: #135c2c; }
.form-msg.is-error { display: block; background: #fdecea; color: #8a1a0b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Messenger als eigener Block unter dem Formular */
.messenger { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px 28px; background: var(--navy-card); border-radius: 20px 20px 60px 20px; }
.messenger__title { font-size: 20px; line-height: 1.3; font-weight: 700; color: #fff; }
.messenger__text { font-size: 16px; line-height: 1.6; color: var(--on-dark); }
.messenger .btn-row { padding-top: 6px; }
/* Symbole von Simple Icons (CC0), Buttons in den Markenfarben */
.messenger svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn--whatsapp { background: #25d366; color: var(--navy); }
.btn--whatsapp:hover { background: #1ebe5b; }
.btn--discord { background: #5865f2; color: #fff; }
.btn--discord:hover { background: #4752c4; }
/* Fremde Markenfarben ohne Logo-Ecke – die bleibt Logo-Blau und -Rot vorbehalten */
.btn--whatsapp, .btn--discord { border-radius: 10px; }

/* =========================================================
   Fußzeile
   ========================================================= */
.ci-band { height: 10px; background: linear-gradient(90deg, var(--mahogany) 0%, var(--scarlet) 30%, var(--smoke) 50%, var(--blue) 72%, var(--navy) 100%); }
.site-footer { padding: 80px 0 40px; background: var(--mahogany); color: #fff; font-size: 15px; line-height: 1.6; }
.footer-cols { display: flex; align-items: flex-start; gap: 48px; }
.footer-brand { width: 300px; flex: none; display: flex; flex-direction: column; gap: 20px; }
.footer-brand img { width: 240px; height: auto; }
.footer-brand p { opacity: .72; }
.footer-col { flex: 1; display: flex; flex-direction: column; gap: 12px; white-space: nowrap; }
.footer-col h2 { font-size: 13px; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-light); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li, .footer-col a { opacity: .85; text-decoration: none; color: #fff; }
.footer-col li a { opacity: 1; }
.footer-col a:hover { text-decoration: underline; }
.footer-col .short { display: none; }
/* Standorte: Telefon groß und fett, mit Symbolen wie früher im Kontaktbereich */
.footer-col--ort ul { gap: 10px; }
.footer-col--ort li { opacity: 1; }
.footer-col--ort a { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; }
.footer-col--ort a.tel { font-size: 20px; font-weight: 700; }
.footer-col--ort img { width: 18px; height: 18px; flex: none; }
.footer-line { height: 1px; background: #fff; margin: 56px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.footer-bottom p { opacity: .55; }
.footer-bottom a { color: #fff; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* =========================================================
   Einwilligung (Google Analytics)
   ========================================================= */
.consent-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 80; width: min(440px, calc(100% - 32px));
  display: flex; flex-direction: column; gap: 16px; padding: 24px;
  background: #fff; border-radius: 20px 40px 20px 20px; box-shadow: 0 18px 48px rgba(0, 25, 56, .22);
  color: var(--text); font-size: 15px; line-height: 1.6;
}
.consent-banner[hidden] { display: none; }
.consent-banner h2 { font-size: 17px; line-height: 1.3; }
.consent-banner a { color: var(--blue); }
.consent-banner .btn-row .btn { flex: 1; padding: 14px 20px; }

/* =========================================================
   Unterseiten (Impressum, Datenschutz)
   ========================================================= */
.page-content { padding-block: 72px var(--section-y); }
.page-content .container { max-width: 840px; }
.page-content h1 { font-size: 46px; line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 32px; }
.prose h2 { font-size: 28px; line-height: 1.22; margin: 40px 0 12px; }
.prose h3 { font-size: 20px; line-height: 1.3; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose a { color: var(--blue); }

/* =========================================================
   Responsiv
   ========================================================= */
/* Laptops: Logo, Menü und Telefonnummer passen nebeneinander */
@media (max-width: 1439px) {
  .brand img { width: 226px; height: 66px; }
  .main-nav ul { gap: 20px; }
  .header-actions { gap: 14px; }
}

/* Unterhalb passt die Telefonnummer neben E-Mail und WhatsApp nicht mehr */
@media (max-width: 1380px) {
  .header-call { display: none; }
}

@media (max-width: 1320px) {
  .brand img { width: 216px; height: 63px; }
  .main-nav ul { gap: 16px; }
  .header-actions { gap: 12px; }
  .hero { padding: 64px; }
  .hero::before { background: linear-gradient(90deg, rgba(245, 245, 245, .98) 0%, rgba(245, 245, 245, .92) 44%, rgba(245, 245, 245, .3) 64%, rgba(245, 245, 245, 0) 78%); }
  .hero__img { object-position: 80% 0%; }
  .hero h1 { font-size: 56px; max-width: 540px; }
  .hero__text { max-width: 500px; }
  .stats { flex-direction: column; align-items: stretch; gap: 32px; padding: 48px; }
  .stats__label { width: auto; }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .about__intro { grid-template-columns: 1fr 1fr; gap: 48px; }
  .focus { grid-template-columns: 2fr 3fr; }
  .faq__intro { width: 340px; }
  .kontakt__grid { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .footer-cols { flex-wrap: wrap; }
  .footer-brand { width: 100%; }
}

/* Menü als Klappmenü, sobald Menü, E-Mail, WhatsApp und Anfrage-Button nicht mehr nebeneinander passen */
@media (max-width: 1200px) {
  .header-actions .btn, .main-nav { display: none; }
  .header-phone, .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; cursor: pointer;
  }
  /* Logo-Blau, aber mit denselben Ecken wie die anderen Symbole im Kopf.
     Blau statt Rot, weil Rot neben dem grünen WhatsApp wie „Auflegen“ wirkte. */
  .header-phone { background: var(--blue); transition: background-color .2s; }
  .header-phone:hover { background: var(--blue-hover); }
  .header-phone img { width: 20px; height: 20px; }
  .nav-toggle { background: var(--smoke); }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .header-actions { gap: 8px; }
  .nav-open .main-nav {
    display: block; position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    padding: 8px 24px 24px; background: #fff; border-radius: 20px; box-shadow: 0 18px 40px rgba(0, 25, 56, .18);
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 14px 0; font-size: 17px; }
  .main-nav a::after { display: none; }
  .main-nav .nav-extra { display: grid; gap: 12px; padding-top: 18px; border: 0; }
  .main-nav .nav-extra .btn { display: flex; padding: 18px 28px; font-size: 15px; font-weight: 700; }
  .main-nav .nav-extra .btn--red { color: #fff; }
  /* Anrufen und E-Mail stehen schon als Symbol im Kopf; E-Mail nur auf schmalen Handys im Menü */
  .main-nav .nav-extra .nav-extra__mail { display: none; }
}

@media (max-width: 1100px) {
  :root { --section-y: 88px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-3 .fcard:last-child { grid-column: span 2; }
  .cards-4, .steps, .bento, .greviews__grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .row-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .row-head > p { width: auto; }
  .focus { grid-template-columns: 1fr; }
  .focus__img { min-height: 0; aspect-ratio: 16 / 9; }
  .offers { grid-template-columns: 1fr; }
  .faq { flex-direction: column; gap: 40px; }
  .faq__intro { position: static; width: 100%; }
  .kontakt__grid { grid-template-columns: 1fr; grid-template-areas: "text" "form" "messenger"; row-gap: 40px; }
  .kontakt__text, .kontakt__grid > .messenger { align-self: auto; }
  .brands ul { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile 390 */
@media (max-width: 800px) {
  :root { --gutter: 16px; --section-y: 64px; --block-gap: 32px; }
  body { font-size: 16px; }
  .site-header { padding: 8px 16px 0; }
  .header-bar { gap: 8px; padding: 6px 8px 6px 10px; border-radius: 16px; }
  .header-actions { gap: 6px; }
  .brand img { width: 176px; height: 51px; }
  .h2 { font-size: 30px; line-height: 1.15; }
  .h3 { font-size: 22px; }
  .lead { font-size: 17px; }

  .hero-wrap { padding: 24px 16px 0; }
  .hero { min-height: 0; padding: 0; border-radius: 0; background: none; overflow: visible; }
  .hero::before { display: none; }
  .hero__img { position: static; z-index: 0; height: 250px; border-radius: 24px 24px 90px 24px; object-position: 70% 0%; }
  .hero__content { padding: 24px 4px 0; gap: 18px; }
  /* Unter 390 px etwas kleiner, damit „geplant und montiert.“ in eine Zeile passt */
  .hero h1 { font-size: min(36px, 9.2vw); line-height: 1.1; }
  .hero h1 .h1-rest { font-weight: 300; }
  /* Auf dem Handy Umbruch nach „Professionell“ statt nach „und“ */
  .br-handy { display: inline; }
  .hero__text { font-size: 16px; }
  .hero .btn-row { flex-direction: column; align-self: stretch; padding-top: 4px; }
  /* Auf dem Handy nur der rote Anfrage-Button; zu den Leistungen führt das Menü */
  .hero .btn--outline { display: none; }
  .hero .points--row { flex-direction: column; gap: 6px; padding-top: 0; }

  .stats-wrap { padding: 16px; }
  .stats { padding: 28px 24px; border-radius: 24px 90px 24px 24px; gap: 24px; }
  .stats__label p:not(.eyebrow) { font-size: 17px; }
  .stats__values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .stat, .stat:last-child { width: auto; padding-left: 0; border-left: 0; }
  .stat__num { font-size: 36px; }
  .stat__num--text { font-size: 22px; }

  .about__intro { grid-template-columns: 1fr; gap: 32px; }
  .about__img { height: 330px; border-radius: 24px 90px 24px 24px; }
  .cards-3, .cards-4, .cards-2, .steps, .bento, .offers, .greviews__grid { grid-template-columns: 1fr; }
  .cards-3 .fcard:last-child { grid-column: auto; }
  .greviews__grid { gap: 16px; }
  .greviews__summary { padding: 24px; border-radius: 24px 24px 60px 24px; }
  .gcard--cta { min-height: 0; }
  .fcard { border-radius: 24px 90px 24px 24px; }
  @media (hover: hover) { .fcard:hover, .about__img:hover { border-top-right-radius: 110px; } }
  .fcard__img { height: 180px; }
  .fcard__body { padding: 22px 24px 28px; }

  .focus { border-radius: 24px 24px 90px 24px; }
  @media (hover: hover) { .focus:hover { border-bottom-right-radius: 110px; } }
  .focus__img { aspect-ratio: 358 / 260; }
  .focus__body { padding: 28px 24px 36px; }
  .focus__body .btn-row, .grant__body .btn, .diy .btn { align-self: stretch; }
  .focus__body .btn-row { flex-direction: column; }
  .diy .btn, .grant__body .btn { white-space: normal; text-align: center; }
  .scard__img { height: 248px; }

  .fokus { padding-block: 64px; }
  .season { padding: 22px; }
  .season--kuehlen, .season--kuehlen:hover { border-bottom-right-radius: 60px; }
  .season--heizen, .season--heizen:hover { border-top-right-radius: 60px; }
  .tech-grid { grid-template-columns: 1fr; gap: 12px; }
  .tech { display: grid; grid-template-columns: 30px 1fr; gap: 4px 0; padding: 18px 16px; }
  .tech__num { grid-row: span 2; }
  .tech h4 { line-height: 1.4; }
  .split { padding: 24px; border-radius: 24px 24px 90px 24px; }
  .schema { gap: 14px; padding: 16px; }
  .schema__line, .schema__lines { width: 48px; margin-inline: -14px; }
  .fokus__foot { flex-direction: column; align-items: stretch; gap: 20px; border-top: 0; padding-top: 0; }
  .fokus__foot .points--row { flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .3); }

  .row-head .btn.steps-head-cta { display: none; }
  .steps-cta { display: flex; }
  .step { padding: 22px 20px; }
  .bento { grid-auto-rows: auto; gap: 16px; }
  .tile { min-height: 214px; gap: 40px; padding: 24px; }
  .tile--wide { grid-column: auto; border-bottom-right-radius: 60px; }
  .tile--red { border-top-right-radius: 60px; }
  .tile--wide h3 { font-size: 22px; }
  .tile--img { min-height: 190px; height: 190px; padding: 0; }

  .diy { padding: 24px; border-radius: 24px 24px 90px 24px; }
  .grant { border-radius: 24px 24px 90px 24px; }
  .grant__img { height: 170px; }
  .grant__body { padding: 8px 24px 28px; }

  .brands { padding: 28px 24px; border-radius: 24px 24px 60px 24px; }
  .brands ul { gap: 28px 16px; }
  .brands li img { height: calc(var(--h, 32px) * .8); }

  .faq-item summary { padding: 18px 20px; font-size: 16px; }
  .faq-item__body { padding: 0 20px 20px; font-size: 16px; }

  .form-card { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .kontakt__grid { row-gap: 32px; }
  .messenger { padding: 20px 20px 24px; border-radius: 16px 16px 48px 16px; }

  .site-footer { padding: 48px 0 32px; }
  .footer-cols { flex-direction: column; gap: 28px; }
  .footer-col:not(.footer-col--inline) { order: 1; }
  .footer-col--nav { order: 2; }
  .footer-col--leistungen { order: 3; }
  .footer-col { white-space: normal; }
  .footer-col ul { gap: 8px; }
  .footer-col--inline ul { flex-direction: row; flex-wrap: wrap; gap: 4px 0; }
  .footer-col--inline li:not(:last-child)::after { content: "\00a0·\00a0"; }
  .footer-col .long { display: none; }
  .footer-col .short { display: inline; }
  .footer-line { margin: 32px 0 24px; }
  .footer-bottom { flex-direction: column; }
  .consent-banner { left: 16px; bottom: 16px; padding: 20px; }
}

@media (max-width: 479px) {
  .brands ul { grid-template-columns: repeat(2, 1fr); }
}
/* Unter 412 px passen nur drei Symbole neben das Logo in voller Größe: E-Mail steht dann im Menü */
@media (max-width: 411px) {
  .header-mail { display: none; }
  .main-nav .nav-extra .nav-extra__mail { display: flex; }
}

@media (max-width: 380px) {
  .brand img { width: 156px; height: 45px; }
}
