/* =========================================================================
   Schuhmacher Haus- & Energietechnik – Gestaltung
   Idee: ein Familienbetrieb mit Handschrift. Warmes Papier, Fotos wie
   Abzüge mit Klebestreifen, Notizen in Filzstift, Textmarker – und die
   Farben aus dem eigenen Firmenlogo: Blau, Rot, Gelb.
   ========================================================================= */

@font-face { font-family: 'Vollkorn'; src: url('../fonts/vollkorn-var.woff2') format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-var.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('../fonts/caveat-var.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --paper: #f6f0e4;
  --paper-2: #eee5d3;
  --card: #fffdf7;
  --ink: #1e2533;
  --ink-2: #474e5c;
  --mute: #6b665c;
  --line: #d9cdb6;
  --red: #c62a20;
  --red-dark: #9e1f17;
  --blue: #1f56b4;
  --blue-ink: #1b3f8a;
  --yellow: #f2b51d;
  --night: #1b2638;
  --serif: 'Vollkorn', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --hand: 'Caveat', 'Segoe Print', 'Comic Sans MS', cursive;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 44px);
  --sec: clamp(4rem, 8vw, 6.75rem);
  --shadow: 0 1px 2px rgba(70, 50, 20, .12), 0 16px 32px -18px rgba(70, 50, 20, .45);
  --logo-blue: #1f56b4;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-variant-numeric: lining-nums; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 700; letter-spacing: -.005em; line-height: 1.12; text-wrap: balance; color: var(--ink); }
h3 { font-size: 1.3rem; line-height: 1.25; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.hand-ico { width: 1.3em; height: 1.3em; flex: none; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typografie ---------- */
.h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4rem); font-weight: 800; line-height: 1.06; }
.h1--xl { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.9rem); line-height: 1.02; }
.h2 { font-size: clamp(1.85rem, 1.35rem + 1.9vw, 2.85rem); font-weight: 750; }
.h3 { font-size: 1.45rem; }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.28rem); line-height: 1.6; color: var(--ink-2); max-width: 38em; }

/* Handschrift wie mit dem Filzstift */
.hand {
  display: block; width: fit-content; margin: 0 0 .55rem;
  font-family: var(--hand); font-weight: 600; font-size: 1.55rem; line-height: 1.1;
  color: var(--blue); transform: rotate(-1.6deg); transform-origin: left center;
}
.hand--lg { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.05rem); }
.hand--light { color: var(--yellow); }

/* Textmarker */
.mark {
  color: inherit; background: none; padding: 0 .06em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M3 8.5C38 5 92 6.5 197 4.5l.8 13.5C140 20.5 70 19.5 2 21z' fill='%23f7c948' fill-opacity='.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 100% .6em; background-position: 0 90%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.stars { display: inline-flex; gap: .1rem; color: var(--yellow); }
.stars .hand-ico { width: 1.25rem; height: 1.25rem; fill: var(--yellow); stroke: #d69a0c; stroke-width: 1.4; }

/* Stempel */
.seal { display: block; color: var(--red); mix-blend-mode: multiply; }

/* ---------- Links & Buttons ---------- */
.link {
  display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; text-decoration-color: var(--red);
}
.link:hover { color: var(--red); }
.link .icon { width: 1.05em; height: 1.05em; }
.link--light { color: #fff; text-decoration-color: var(--yellow); }
.link--light:hover { color: var(--yellow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .75rem 1.35rem; border: 2px solid transparent; border-radius: .55rem;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .1s, box-shadow .1s, background-color .15s, color .15s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .15s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 3px 0 var(--red-dark); }
.btn--primary:hover { background: #b5251c; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 3px 0 #000; }
.btn--dark:hover { background: #2a3346; }
.btn--primary:active, .btn--dark:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, .4); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--lg { min-height: 3.5rem; padding: 1rem 1.6rem; font-size: 1.06rem; }
.btn:disabled { opacity: .6; cursor: wait; }

.phone-link { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.phone-link .icon { width: 1.5rem; height: 1.5rem; padding: .45rem; box-sizing: content-box; border-radius: 50%; background: var(--card); color: var(--red); box-shadow: inset 0 0 0 1.5px var(--line); }
.phone-link span { display: flex; flex-direction: column; font-weight: 800; font-size: 1.2rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.phone-link small { font-size: .8rem; font-weight: 500; color: var(--mute); }
.phone-link:hover span { color: var(--red); }
.phone-link--lg span { font-family: var(--serif); font-size: 1.6rem; font-weight: 800; }
.phone-link--lg small { font-family: var(--sans); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.75rem; }

/* Häkchen-Listen */
.ticks { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: .45rem; }
.ticks li { display: flex; align-items: flex-start; gap: .55rem; font-weight: 600; }
.ticks .hand-ico { color: var(--red); margin-top: .05em; }
.ticks--row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: .95rem; }
.ticks--list li { font-weight: 400; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.ticks--list li:last-child { border-bottom: 0; }

/* ---------- Fotos ---------- */
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .35rem; background: var(--paper-2); }
.photo figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: .55rem; font-size: .8rem; line-height: 1.4; color: var(--mute); }
.photo figcaption span { flex: none; font-size: .72rem; }

/* Abzug mit weißem Rand, leicht schräg; optional mit Klebestreifen */
.print { position: relative; background: #fff; padding: .55rem .55rem .7rem; box-shadow: var(--shadow); transform: rotate(var(--r, 0deg)); }
.print img { border-radius: 0; }
.print figcaption { padding: 0 .15rem; }
.print--tape::before {
  content: ""; position: absolute; z-index: 2; top: -.8rem; left: 50%; width: 6rem; height: 1.6rem;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(236, 226, 196, .82); box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  clip-path: polygon(2% 8%, 98% 0, 100% 92%, 0 100%);
}
figcaption.hand { display: block; margin: .45rem 0 0; font-size: 1.35rem; color: var(--ink); transform: none; text-align: center; width: auto; }

/* ---------- Kopfzeile ---------- */
.topbar { background: var(--blue); color: #dfe7f6; font-size: .84rem; }
.topbar__inner { display: flex; justify-content: center; align-items: center; gap: 1rem; min-height: 2.3rem; }
.topbar p { display: none; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.topbar a b { color: #ffd45e; font-weight: 700; }
.topbar a:hover { text-decoration: underline; }
@media (min-width: 720px) { .topbar__inner { justify-content: space-between; } .topbar p { display: block; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 240, 228, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2); }
.header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 4.6rem; }
.logo { display: flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; flex: none; }
.logo__mark { width: 52px; height: auto; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text small { margin: 0 0 .22rem .08rem; font-size: .78rem; font-weight: 750; letter-spacing: .03em; color: var(--red); }
.logo__text strong { font-size: 1.55rem; font-weight: 800; font-stretch: 118%; letter-spacing: -.02em; }

.nav { display: none; margin-left: auto; align-items: center; gap: .1rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .7rem; border: 0; background: none;
  font: inherit; font-size: 1rem; font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.nav__link .icon { width: 1rem; height: 1rem; transition: transform .15s; }
.nav__link:hover, .nav__link[aria-current="page"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5.5C30 3 62 3.5 98 2.5' stroke='%23c62a20' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: calc(100% - 1.4rem) 7px; background-position: .7rem 88%;
}
.nav__item--mega.is-open .nav__link .icon { transform: rotate(180deg); }
.header__phone, .header__cta { display: none; }
.header__phone { align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header__phone .icon { color: var(--red); width: 1.35rem; height: 1.35rem; }
.header__phone span { display: flex; flex-direction: column; font-weight: 800; font-size: 1.1rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.header__phone small { font-size: .74rem; font-weight: 500; color: var(--mute); }
.header__phone:hover span { color: var(--red); }

.burger { margin-left: auto; width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: .5rem; color: var(--ink); cursor: pointer; }
.burger .icon { width: 1.5rem; height: 1.5rem; }
.burger .icon + .icon, .burger[aria-expanded="true"] .icon:first-child { display: none; }
.burger[aria-expanded="true"] .icon + .icon { display: block; }

.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(60, 40, 10, .45); }
.nav__item--mega.is-open .mega { display: block; }
.mega__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 2.5rem; padding-top: 2rem; padding-bottom: 2.4rem; }
.mega__title { margin: 0 0 .5rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: .28rem 0; color: var(--ink-2); text-decoration: none; }
.mega li a:hover { color: var(--red); }
.mega__note { display: flex; flex-direction: column; gap: .4rem; padding: 1.25rem 1.4rem; background: var(--card); box-shadow: var(--shadow); transform: rotate(1deg); color: var(--ink); text-decoration: none; }
.mega__note strong { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; }
.mega__note span:not(.stars) { font-size: .92rem; color: var(--ink-2); }
.mega__note em { display: inline-flex; align-items: center; gap: .35rem; font-style: normal; font-weight: 700; color: var(--red); }

@media (min-width: 1120px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}
@media (min-width: 1290px) { .header__phone { display: inline-flex; } }

/* ---------- Mobiles Menü ---------- */
.mobile-menu { position: fixed; left: 0; right: 0; bottom: 0; top: var(--menu-top, 4.6rem); z-index: 45; background: var(--paper); overflow-y: auto; padding: .5rem 0 6rem; border-top: 1px solid var(--line); }
.mobile-menu__link, .mobile-menu summary {
  display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px dashed var(--line);
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--ink); text-decoration: none; cursor: pointer; list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary .icon { transition: transform .15s; }
.mobile-menu details[open] summary .icon { transform: rotate(180deg); }
.mobile-menu__group ul { list-style: none; margin: 0; padding: .4rem 0 .9rem 1rem; border-bottom: 1px dashed var(--line); }
.mobile-menu__group li a { display: block; padding: .5rem 0; color: var(--ink); text-decoration: none; }
.mobile-menu__cta { display: grid; gap: .8rem; margin-top: 1.5rem; }
@media (min-width: 1120px) { .mobile-menu { display: none !important; } }

/* ---------- Abschnitte ---------- */
.section { padding: var(--sec) 0; }
.section--tint { background: var(--paper-2); }
.section--flush { padding: 0 0 clamp(2.5rem, 5vw, 4rem); }
.section--tint + .section--flush { background: var(--paper-2); }
.subhero + .section--flush { padding-top: 0; }
.section--dark { background: var(--night); color: #d7dce5; }
.section--dark .h2, .section--dark h3 { color: #fff; }
.section--dark .hand { color: var(--yellow); }
.section--dark .lead, .section--dark p { color: #d7dce5; }
.section--dark .ticks--list li { border-color: #33405a; }
.section--dark .photo figcaption { color: #6b665c; }

.sec-head { max-width: 50rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head .lead { margin: 1rem 0 0; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2.5rem; }

/* ---------- Startseite: Einstieg ---------- */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.hero__grid { display: grid; gap: 3.5rem; align-items: center; }
.hero__text .lead { margin: 1.4rem 0 2rem; }
.hero__collage { position: relative; margin: 1rem .5rem 3rem; }
.hero__photo img { aspect-ratio: 4 / 3; }
.hero__photo figcaption { justify-content: flex-end; font-size: 0; }
.hero__photo figcaption span { font-size: .72rem; }
.hero__kurt { position: absolute; left: -.5rem; bottom: -3rem; width: clamp(6.2rem, 20vw, 11rem); padding: .35rem .35rem .15rem; }
.hero__kurt img { aspect-ratio: 200 / 273; object-fit: cover; }
.hero__kurt figcaption { font-size: 1.15rem; margin-top: .2rem; }
.hero__seal { position: absolute; right: -.6rem; top: -1.8rem; width: clamp(6rem, 18vw, 8.5rem); transform: rotate(-12deg); }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 4rem; }
  .hero__collage { margin: 0 0 2rem; }
  .hero__kurt { left: -2.5rem; bottom: -3.5rem; }
  .hero__seal { right: -2rem; top: -2.5rem; }
}

/* ---------- Leistungs-Kacheln ---------- */
.tiles { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); }
.tile { display: flex; flex-direction: column; background: var(--card); border-radius: .5rem; overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-3px) rotate(-.3deg); box-shadow: 0 1px 2px rgba(70, 50, 20, .12), 0 22px 36px -18px rgba(70, 50, 20, .5); }
.tile__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.tile__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.3rem; }
.tile strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
.tile__text { margin-top: .35rem; font-size: .97rem; color: var(--ink-2); }
.tile__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .9rem; font-size: .95rem; font-weight: 700; color: var(--red); }
.tile__more .icon { width: 1.05em; height: 1.05em; transition: transform .15s; }
.tile:hover .tile__more .icon { transform: translateX(3px); }
@media (min-width: 1000px) { .tiles--home { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.more { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: 2.25rem 0 0; }
.more span { font-family: var(--hand); font-size: 1.45rem; color: var(--blue); margin-right: .3rem; }
.more a { padding: .4rem .85rem; border: 1.5px solid var(--ink); border-radius: 2rem; font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--card); }
.more a:hover { background: var(--ink); color: #fff; }

/* ---------- Brief von Kurt Schuhmacher ---------- */
.letter { display: grid; gap: 3.5rem; align-items: start; }
@media (min-width: 900px) { .letter { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 4rem; } }
.letter__side { position: relative; width: min(100%, 17rem); margin: 1rem auto 0; }
.letter__photo img { aspect-ratio: 200 / 273; object-fit: cover; }
.letter__seal { position: absolute; right: -.4rem; top: -2.6rem; width: 7rem; transform: rotate(12deg); }
@media (min-width: 1100px) { .letter__seal { right: -1.6rem; } }
.hero, .letter-sec, .guarantee, .badplanung { overflow-x: clip; }
.letter__paper { position: relative; background: var(--card); padding: clamp(1.75rem, 4vw, 3.25rem); box-shadow: var(--shadow); }
.letter__paper::before { content: ""; position: absolute; left: clamp(1rem, 2.2vw, 1.9rem); top: 0; bottom: 0; width: 1.5px; background: rgba(198, 42, 32, .28); }
.letter__paper > :not(.seal) { position: relative; }
.letter__paper .h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin-bottom: 1.2rem; }
.letter__paper p { font-size: 1.1rem; line-height: 1.75; max-width: 40em; }
.letter__sign { margin-top: 1.75rem; }
.signature { display: block; width: fit-content; font-family: var(--hand); font-weight: 600; font-size: 2.5rem; line-height: 1; color: var(--blue-ink); transform: rotate(-3deg); }
.letter__sign small, .certificate__sign small { display: block; margin-top: .55rem; font-size: .85rem; color: var(--mute); }

/* ---------- Fünf-Sterne-Garantie (Urkunde) ---------- */
.guarantee__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1000px) { .guarantee__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; } }
.guarantee__intro .lead { margin: 1.1rem 0 2rem; }
.guarantee__cert .actions { margin-top: 2.25rem; }
.certificate {
  position: relative; background: #fffdf6; padding: clamp(2.2rem, 4vw, 3rem);
  box-shadow: inset 0 0 0 9px #fffdf6, inset 0 0 0 12px var(--blue), inset 0 0 0 14px #fffdf6, inset 0 0 0 16px var(--red), inset 0 0 0 18px #fffdf6, inset 0 0 0 20px var(--yellow), var(--shadow);
  transform: rotate(-.6deg);
}
.certificate__head { text-align: center; padding-bottom: 1.25rem; border-bottom: 1.5px dashed var(--line); }
.certificate__head .stars .hand-ico { width: 1.6rem; height: 1.6rem; }
.certificate__title { margin: .35rem 0 0; font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); font-weight: 800; line-height: 1.1; }
.certificate__sub { margin: .2rem 0 0; font-family: var(--hand); font-size: 1.5rem; color: var(--blue); }
.certificate__list { list-style: none; margin: 1.25rem 0 0; padding: 0; counter-reset: c; }
.certificate__list li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .7rem; padding: .65rem 0; }
.certificate__list .hand-ico { width: 1.7rem; height: 1.7rem; color: var(--red); stroke-width: 2.4; }
.certificate__list strong { display: block; font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }
.certificate__list span { color: var(--ink-2); font-size: .97rem; }
.certificate__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1.5px dashed var(--line); }
.certificate__seal { width: 6.5rem; flex: none; transform: rotate(-14deg); }

/* ---------- Haus-Skizze ---------- */
.haus__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .haus__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 3rem; align-items: start; } }
.sketch { position: relative; padding: 0; border: .6rem solid #fff; transform: rotate(-.4deg); }
.sketch img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.spot {
  position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-50%, -50%);
  width: 2.6rem; height: 2.6rem; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
  background: var(--red); color: #fff; font: 800 1.1rem var(--sans); cursor: pointer;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 6px 14px -4px rgba(0, 0, 0, .45); transition: transform .15s, background-color .15s;
}
.spot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); animation: ping 2.4s ease-out infinite; }
.spot:hover { transform: translate(-50%, -50%) scale(1.1); }
.spot.is-active { background: var(--blue); }
.spot.is-active::after { border-color: var(--blue); }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.8); } }
@media (max-width: 560px) { .spot { width: 2rem; height: 2rem; font-size: .9rem; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); } }

.haus__tabs { background: var(--card); box-shadow: var(--shadow); padding: .4rem 1.4rem; }
.haus__tab + .haus__tab { border-top: 1px dashed var(--line); }
.haus__tab-btn { display: flex; align-items: center; gap: .9rem; width: 100%; padding: 1rem 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.haus__tab-btn b { width: 2rem; height: 2rem; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); font-size: .95rem; }
.haus__tab-btn strong { flex: 1; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.haus__tab-btn .icon { transition: transform .15s; }
.haus__tab.is-active .haus__tab-btn b { background: var(--blue); color: #fff; }
.haus__tab.is-active .haus__tab-btn .icon { transform: rotate(180deg); }
.haus__panel { display: none; padding: 0 0 1.2rem 2.9rem; }
.haus__tab.is-active .haus__panel { display: block; }
.haus__panel p { margin: 0 0 .6rem; color: var(--ink-2); }
.haus__panel ul { list-style: none; margin: 0; padding: 0; }
.haus__panel a { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem 0; font-weight: 700; color: var(--ink); text-decoration: none; }
.haus__panel a .icon { width: 1rem; height: 1rem; color: var(--red); }
.haus__panel a:hover { color: var(--red); }

/* ---------- Badplanung als Pinnwand ---------- */
.badplanung__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .badplanung__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; } }
.badplanung .lead { margin: 1rem 0 1.25rem; }
.badplanung .actions { margin-top: 1.5rem; }
.pinboard { display: grid; gap: 1.75rem 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(46%, 12rem), 1fr)); padding: 1rem .25rem; }
.pinboard--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pin { display: block; padding: .45rem; transition: transform .15s; }
.pin img { display: block; width: 100%; height: auto; aspect-ratio: 46 / 44; object-fit: cover; }
.pin:hover { transform: rotate(0deg) scale(1.03); z-index: 3; }
.pin.print--tape::before { width: 4.2rem; height: 1.3rem; }

/* ---------- Wärme ---------- */
.waerme .split { margin-bottom: 1rem; }
.energy { margin: 2.5rem 0 0; }
.energy__bar { display: flex; height: clamp(4.25rem, 8vw, 5.5rem); border: 2px solid var(--ink); border-radius: .5rem; overflow: hidden; background: #fff; }
.energy__seg { flex: 0 0 var(--w); min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: .5rem .7rem; font-size: .875rem; line-height: 1.15; white-space: nowrap; overflow: hidden; }
.energy__seg + .energy__seg { border-left: 2px solid var(--ink); }
.energy__seg b { font-family: var(--serif); font-size: clamp(1.15rem, .9rem + 1vw, 1.85rem); font-weight: 800; }
.energy__seg i { font-style: normal; }
.energy__seg--heat { background: var(--red); color: #fff; }
.energy__seg--water { background: #f0a097; color: var(--ink); }
.energy__seg--rest { background: repeating-linear-gradient(45deg, #fff 0 5px, #d9cdb6 5px 7px); color: var(--ink); }
.energy figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; margin-top: .75rem; font-size: .82rem; color: var(--ink-2); }
.energy__key { display: inline-block; width: .85rem; height: .85rem; border: 1.5px solid var(--ink); border-radius: 2px; }
.energy__key--heat { background: var(--red); }
.energy__key--water { background: #f0a097; margin-left: .5rem; }
.energy__key--rest { background: repeating-linear-gradient(45deg, #fff 0 2px, #9c927f 2px 3px); margin-left: .5rem; }
.energy__note { flex-basis: 100%; }
@media (max-width: 640px) { .energy__seg { padding: .45rem .4rem; } .energy__seg i, .energy__seg--rest b { display: none; } .energy__seg--water b { font-size: .95rem; } }
.linklist { list-style: none; margin: 2.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.linklist a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 2rem; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 650; color: var(--ink); text-decoration: none; }
.linklist a .icon { width: 1rem; height: 1rem; color: var(--red); }
.linklist a:hover { background: var(--ink); color: #fff; }
.linklist a:hover .icon { color: #fff; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 4.4rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -.2rem; width: 3.3rem; height: 3.3rem; display: grid; place-items: center;
  border: 2.5px solid var(--red); border-radius: 52% 46% 55% 45% / 48% 55% 45% 52%;
  font-family: var(--hand); font-size: 2rem; font-weight: 700; color: var(--red); background: var(--paper);
}
.steps h3 { margin: .2rem 0 .4rem; }
.steps p { margin: 0; color: var(--ink-2); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .steps li { padding: 4.6rem 0 0; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.45rem; left: 4rem; right: -1.25rem; border-top: 2.5px dashed rgba(31, 86, 180, .45); }
  .steps h3 { margin-top: 0; }
}

/* ---------- Geschichte ---------- */
.history-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .history-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; } }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.2rem; border-left: 2.5px dashed rgba(31, 86, 180, .45); }
.timeline li { position: relative; display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 1rem; padding: 0 0 1.75rem 1rem; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.2rem - 9px); top: .55rem; width: 15px; height: 15px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--paper); }
.timeline b { font-family: var(--serif); font-size: 1.55rem; font-weight: 800; line-height: 1.2; color: var(--red); }
.timeline strong { display: block; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.timeline p { margin: .3rem 0 0; color: var(--ink-2); }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- Auszeichnungen & Hersteller ---------- */
.badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr)); }
.badge {
  width: 100%; max-width: 13rem; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; padding: 1.6rem 1.2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fffdf6;
  box-shadow: inset 0 0 0 7px #fffdf6, inset 0 0 0 9px var(--blue), inset 0 0 0 12px #fffdf6, inset 0 0 0 13.5px var(--red), var(--shadow);
}
.badge:nth-child(even) { transform: rotate(3deg); }
.badge:nth-child(odd) { transform: rotate(-2deg); }
.badge__top { font-size: .68rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--red); }
.badge strong { margin: .3rem 0; font-family: var(--serif); font-size: 1.22rem; line-height: 1.15; }
.badge__by { font-size: .84rem; color: var(--mute); line-height: 1.3; }
.makers-title { margin: clamp(3rem, 6vw, 4.5rem) 0 1.25rem; font-size: 1.4rem; }
.makers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 0; }
.makers li { display: flex; align-items: center; }
.makers li:not(:last-child)::after { content: "·"; margin: 0 .8rem; color: var(--red); font-weight: 700; }
.makers a, .makers span { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.makers a:hover { color: var(--red); }
.makers-line { margin: 0; padding-top: 1.1rem; border-top: 1.5px dashed var(--line); font-size: .97rem; color: var(--ink-2); }
.makers-line span { font-family: var(--hand); font-size: 1.35rem; color: var(--blue); margin-right: .25rem; }
.makers-line a { font-weight: 700; color: var(--ink); }

/* ---------- Notdienst ---------- */
.notdienst { position: relative; background: var(--red); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.notdienst__inner { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 900px) { .notdienst__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; } }
.notdienst h2 { margin: 0 0 .7rem; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); color: #fff; max-width: 18em; }
.notdienst p { margin: 0; color: #fff; opacity: .93; }
.notdienst .hand { font-size: 1.7rem; }
.notdienst__phone {
  display: inline-flex; align-items: center; gap: .8rem; justify-self: start; padding: .9rem 1.5rem; border-radius: .7rem;
  background: #fff; color: var(--red); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums;
  font-family: var(--serif); font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.3rem); font-weight: 800; line-height: 1;
  box-shadow: 0 5px 0 var(--red-dark); transform: rotate(-1.5deg);
}
.notdienst__phone .icon { width: .75em; height: .75em; }
.notdienst__phone:hover { transform: rotate(0); }

/* ---------- Anfrage ---------- */
.anfrage__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .anfrage__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4.5rem; align-items: start; } }
.anfrage__intro .lead { margin: 1rem 0 0; }
.contact { margin: 2rem 0 0; }
.contact div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.contact dt { font-size: .9rem; font-weight: 650; color: var(--mute); }
.contact dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.contact a { color: var(--ink); }
.contact .link { margin-top: .35rem; font-size: .95rem; }
.anfrage__local { display: flex; gap: .5rem; align-items: flex-start; margin: 1.5rem 0 0; font-family: var(--hand); font-size: 1.45rem; line-height: 1.2; color: var(--blue); }
.anfrage__local .hand-ico { color: var(--red); margin-top: .1em; }
.anfrage__form { min-width: 0; background: var(--card); padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: .5rem; box-shadow: var(--shadow); }

/* ---------- Anfrage-Assistent ---------- */
.wizard__steps { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.wizard__steps li { display: flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 650; color: var(--mute); white-space: nowrap; }
.wizard__steps b { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; flex: none; border-radius: 50%; border: 2px solid currentColor; font-size: .8rem; }
.wizard__steps li.is-active { color: var(--ink); }
.wizard__steps li.is-active b { background: var(--red); border-color: var(--red); color: #fff; }
.wizard__steps li.is-done b { background: var(--ink); border-color: var(--ink); color: #fff; }
.wizard__step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.wizard__step.is-active { display: block; }
.wizard legend { padding: 0; margin-bottom: .25rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.wizard__hint { margin: 0 0 1.1rem; font-size: .9rem; color: var(--mute); }
.wizard legend + .field, .wizard legend + .field-grid { margin-top: 1.1rem; }
.choices { display: grid; gap: .5rem; }
@media (min-width: 560px) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input, .opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; align-items: center; gap: .7rem; min-height: 3.2rem; padding: .55rem .85rem; border: 1.5px solid #c9bda6; border-radius: .45rem; background: #fff; font-weight: 600; line-height: 1.3; }
.choice span::before { content: ""; flex: none; width: 1.2rem; height: 1.2rem; border: 2px solid var(--ink); border-radius: .25rem; background: #fff; }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--ink); background: #fff7d9; }
.choice input:checked + span::before {
  border-color: var(--red);
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 85% no-repeat;
}
.choice input:focus-visible + span, .opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field { display: block; margin-bottom: 1.2rem; }
.field__label { display: block; margin-bottom: .4rem; font-size: .92rem; font-weight: 700; }
.field__label small { font-weight: 400; color: var(--mute); }
.wizard input[type="text"], .wizard input[type="tel"], .wizard input[type="email"], .wizard textarea {
  width: 100%; min-height: 3rem; padding: .7rem .85rem; border: 1.5px solid #b8ab92; border-radius: .45rem; background: #fff; font: inherit; color: var(--ink);
}
.wizard input:focus, .wizard textarea:focus { outline: 3px solid rgba(31, 86, 180, .35); outline-offset: 0; border-color: var(--blue); }
.wizard textarea { resize: vertical; min-height: 7rem; }
.opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt { position: relative; cursor: pointer; }
.opt span { display: inline-block; padding: .5rem .9rem; border: 1.5px solid #c9bda6; border-radius: 2rem; background: #fff; font-size: .92rem; font-weight: 600; }
.opt:hover span { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.field-grid { display: grid; column-gap: 1rem; }
@media (min-width: 560px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.consent { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); gap: .7rem; margin-top: .25rem; font-size: .86rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 1.2rem; height: 1.2rem; margin: .15rem 0 0; accent-color: var(--red); }
.wizard__error { margin: 1rem 0 0; padding: .6rem .85rem; border-radius: .4rem; background: #fde8e5; color: #8a1a12; font-size: .92rem; font-weight: 650; }
.wizard__nav { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; padding-top: 1.4rem; border-top: 1.5px dashed var(--line); }
.wizard__nav [data-next], .wizard__nav [data-submit] { margin-left: auto; }
.wizard.is-done > :not(.wizard__done) { display: none; }
.wizard__done h3 { margin: 0 0 .7rem; font-size: 1.6rem; }
.wizard__done-alt { font-size: .92rem; color: var(--ink-2); }

/* ---------- Unterseiten-Kopf ---------- */
.subhero { padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.subhero--plain { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); font-size: .84rem; color: var(--mute); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.subhero__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .subhero:not(.subhero--plain) .subhero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 4rem; } }
.subhero .lead { margin: 1.2rem 0 0; }
.subhero .ticks { margin: 1.4rem 0 0; }
.subhero .actions { margin-top: 2rem; }
.subhero__media { padding: .5rem; }

/* ---------- Inhaltsblöcke ---------- */
.split { display: grid; gap: 3rem; }
.split--single { max-width: 48rem; }
@media (min-width: 900px) {
  .split:not(.split--single) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; align-items: center; }
  .split.is-flip > :first-child { order: 2; }
}
.prose > .h2 { margin-bottom: 1.2rem; }
.prose p { max-width: 38em; }
.prose .btn { margin-top: .5rem; }
.aside { align-self: start; background: var(--card); padding: clamp(1.4rem, 2.5vw, 2rem); border-radius: .5rem; box-shadow: var(--shadow); }
.aside h3 { margin: 0 0 .6rem; }
.aside p { color: var(--ink-2); }
.aside .btn { width: 100%; margin: .25rem 0 1rem; }
.groups { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); }
.group { background: var(--card); padding: 1.4rem 1.5rem; border-radius: .5rem; box-shadow: var(--shadow); }
.section--tint .group { background: #fffdf8; }
.group h3 { margin-bottom: .5rem; }
.group .ticks { margin: 0; }
.outro { margin: 2.25rem 0 0; font-family: var(--hand); font-size: 1.6rem; line-height: 1.25; color: var(--blue); }

.figures { display: grid; gap: 1.5rem; margin: 0; }
.figures div { background: var(--card); padding: 1.5rem; border-radius: .5rem; box-shadow: var(--shadow); }
.figures dt { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 800; line-height: 1; color: var(--red); }
.figures dt small { display: block; margin-bottom: .35rem; font-family: var(--hand); font-size: 1.35rem; font-weight: 600; line-height: 1.1; color: var(--blue); }
.figures dt span { font-size: .55em; margin-left: .08em; }
.figures dd { margin: .7rem 0 0; color: var(--ink-2); }
@media (min-width: 800px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.columns { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.column { position: relative; background: var(--card); padding: 1.6rem 1.6rem 1.4rem; border-radius: .5rem; box-shadow: var(--shadow); }
.column__num {
  display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: .8rem;
  border: 2.5px solid var(--red); border-radius: 52% 46% 55% 45% / 48% 55% 45% 52%;
  font-family: var(--hand); font-size: 1.7rem; font-weight: 700; color: var(--red);
}
.column__tag { margin: 0 0 .25rem; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.column h3 { margin: 0 0 .7rem; font-size: 1.4rem; }
.column p { font-size: .98rem; color: var(--ink-2); }

.note { margin: 1.25rem 0 0; font-size: .9rem; color: var(--mute); }

.callout { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem); background: #fff7d9; border-radius: .5rem; box-shadow: var(--shadow); transform: rotate(-.4deg); }
@media (min-width: 900px) { .callout { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; } }
.callout .h3 { margin: 0 0 .45rem; }
.callout p { margin: 0; color: var(--ink-2); }

/* ---------- Persönlicher Abschluss ---------- */
.cta-band { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--paper-2); }
.cta-band__inner { display: grid; gap: 2.5rem; align-items: center; }
.cta-band__face { width: 9.5rem; margin: 0 auto; padding: .4rem .4rem .2rem; }
.cta-band__face img { aspect-ratio: 200 / 273; object-fit: cover; }
.cta-band__face figcaption { font-size: 1.15rem; margin-top: .2rem; }
.cta-band__text p:not(.hand) { margin: .9rem 0 0; max-width: 34em; color: var(--ink-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }
.cta-band__phone { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.cta-band__phone .icon { width: 1.6rem; height: 1.6rem; color: var(--red); }
.cta-band__phone span { display: flex; flex-direction: column; font-family: var(--serif); font-size: 2rem; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cta-band__phone small { font-family: var(--sans); font-size: .8rem; font-weight: 500; color: var(--mute); }
.cta-band__phone:hover span { color: var(--red); }
@media (min-width: 1000px) {
  .cta-band__inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 3.5rem; }
  .cta-band__actions { flex-direction: column; align-items: flex-start; }
}

/* ---------- Rechtliches ---------- */
.legal { max-width: 48rem; background: var(--card); padding: clamp(1.5rem, 4vw, 3rem); border-radius: .5rem; box-shadow: var(--shadow); }
.legal h2 { margin: 2.25rem 0 .7rem; font-size: 1.4rem; }
.legal dl { display: grid; gap: .15rem 2rem; margin: 0; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0 0 .75rem; }
@media (min-width: 640px) { .legal dl { grid-template-columns: 15rem minmax(0, 1fr); } .legal dd { margin: 0 0 .5rem; } }

/* ---------- Fußbereich ---------- */
.footer { padding: 4.5rem 0 2rem; background: var(--night); color: #c5ccd8; font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .logo { color: #fff; --logo-blue: #6f9cf0; }
.footer .logo__text small { color: #ff8b80; }
.footer__claim { margin: 1.1rem 0 0; font-family: var(--hand); font-size: 1.45rem; line-height: 1.25; color: var(--yellow); }
.footer__top { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 1000px) { .footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: auto; } }
.footer address { margin: 1.25rem 0 1rem; font-style: normal; line-height: 1.7; }
.footer__title { margin: 0 0 .8rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: #fff; }
.footer__title--gap { margin-top: 2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: .2rem 0; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid #33405a; font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; gap: 1.5rem; }
.footer__seal { width: 4.5rem; color: #ffd45e; mix-blend-mode: normal; opacity: .85; transform: rotate(-10deg); }

/* ---------- Schnellkontakt (Handy) ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); transform: translateY(100%); transition: transform .2s; box-shadow: 0 -6px 18px -8px rgba(0, 0, 0, .3); }
.mobile-bar.is-visible { transform: none; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.5rem; background: var(--night); color: #fff; font-weight: 700; text-decoration: none; }
.mobile-bar a.is-primary { background: var(--red); }
@media (max-width: 899px) { body { padding-bottom: 3.5rem; } }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Bildbetrachter ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 1.5rem; background: rgba(27, 38, 56, .9); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 90vh; background: #fff; padding: .6rem; box-shadow: var(--shadow); }
.lightbox button { position: absolute; top: 1rem; right: 1rem; width: 3rem; height: 3rem; display: grid; place-items: center; background: #fff; border: 0; border-radius: 50%; cursor: pointer; }
.lightbox button .icon { width: 1.5rem; height: 1.5rem; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 400px) {
  .logo__mark { width: 42px; }
  .logo__text strong { font-size: 1.28rem; }
  .logo__text small { font-size: .7rem; }
  .phone-link--lg span { font-size: 1.4rem; }
  .certificate__foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .header, .mobile-bar, .mobile-menu, .notdienst, .cta-band, .anfrage__form { display: none !important; }
  body { background: #fff; }
}

/* Ziffern in Archivo: Die Eins der Vollkorn sieht aus wie ein „I“ */
.phone-link--lg span, .notdienst__phone, .cta-band__phone span, .figures dt, .energy__seg b, .timeline b, .badge strong {
  font-family: var(--sans); font-stretch: 104%; letter-spacing: -.01em;
}

/* ---------- Entwurfshinweis (Testversion) ---------- */
.footer__entwurf { flex-basis: 100%; margin: .5rem 0 0; color: #8f9aae; font-size: .8rem; }
.footer__entwurf a { color: inherit; }
.entwurf-kasten { margin: 0 0 2rem; padding: 1.25rem 1.5rem; background: var(--paper-2); border-left: 3px solid var(--blue); }

/* ——— Leise Anfrage im Einstieg (26. 11. 2026) ——— */
.anfrage-leise { display: block; font-size: 1.02rem; line-height: 1.6; opacity: .88; }
.anfrage-leise a, .anfrage-leise .leise-link { color: inherit; font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.anfrage-leise a:hover, .anfrage-leise .leise-link:hover { text-decoration-thickness: 2px; }
.anfrage-leise .trenner { margin: 0 .55em; opacity: .5; }
.anfrage-leise .leise-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; background: none; border: 0; cursor: pointer; }
.anfrage-leise .leise-link svg { width: 15px; height: 15px; }
.hero__text .anfrage-leise { margin-top: 1.75rem; }
.hero__fakten { margin-top: 1.25rem; font-size: .92rem; color: var(--ink-2); }
.hero__fakten .trenner { margin: 0 .55em; opacity: .5; }

/* ——— Mehr Farbe (26. 11. 2026) ——— */
:root { --paper-2: #e9eef8; }
.footer, .section--dark { background: #172a4f; }
