/* ==========================================================================
   Malerbetrieb Andreas Nehr – Design-System (Version 2)
   Farben aus dem Wappen (drei Schilde: Blau, Rot, Gelb + Rahmen-Grau),
   Schrift: Archivo (breit für Überschriften, normal für Text), Kalam für
   handschriftliche Notizen auf „Malerkrepp“.
   ========================================================================== */

/* Schriften lokal gehostet (DSGVO): Archivo variabel (Breite 62–125 %, Stärke 400–900), Kalam 700 */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-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; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/kalam-700-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; }
@font-face { font-family: "Kalam"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/kalam-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --white: #ffffff;
  --primer: #eef1f3;         /* Grundierung – Wechselflächen */
  --primer-2: #e1e6ea;
  --ink: #1b2530;            /* Schiefer – Schrift & dunkle Flächen */
  --ink-2: #46525e;          /* gedämpfter Text */
  --line: #d2d8dd;
  --field-line: #6b7782;     /* Rand von Eingabefeldern, Auswahlkarten und Chips (mind. 3:1 auf Weiß und Grundierung) */
  --grey: #9d9e9e;           /* Wappen-Rahmen */
  --blue: #01a0e2;
  --blue-ink: #00699a;       /* Blau für Text/Links (AA auf Weiß) */
  --red: #e31e25;
  --red-ink: #b8141a;
  --yellow: #fded01;
  --green: #2f7d4f;
  --tape: #efe3c2;

  --stripe: var(--yellow);

  --f-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-hand: "Kalam", "Segoe Print", "Bradley Hand", cursive;

  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.25rem, 1.1rem + 0.55vw, 1.5rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 2.1vw, 2.875rem);
  --fs-h1: clamp(1.875rem, 1.2rem + 3.6vw, 4.25rem);
  --fs-display: clamp(2.75rem, 1rem + 7.4vw, 7.25rem);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 120px);
  --radius: 8px;
  --notch: clamp(16px, 2.4vw, 30px);
  --shadow: 0 1px 2px rgba(27, 37, 48, 0.06), 0 8px 24px -8px rgba(27, 37, 48, 0.18);

  color-scheme: light;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 var(--fs-base)/1.6 var(--f-sans);
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 3px; border-radius: 3px; }
p, ul, ol, dl, figure, blockquote { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.08; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: break-word; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
h1 { font-size: var(--fs-h1); font-stretch: 125%; font-weight: 850; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); font-stretch: 125%; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); font-stretch: 112%; line-height: 1.2; }
h4 { font-size: var(--fs-h4); line-height: 1.3; }
p { text-wrap: pretty; }
strong { font-weight: 700; }
small { font-size: var(--fs-sm); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-weight: 700;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--primer { background: var(--primer); }
.section--ink { background: var(--ink); color: #e9eef2; }
.section--ink a { color: #8fd6ff; }
.section--ink h2, .section--ink h3 { color: #fff; }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.measure { max-width: 68ch; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1rem; }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 780px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-2); font-size: var(--fs-lead); }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 24px 64px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-ink); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #2c3a48; color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #f2e200; color: var(--ink); }
.btn--line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--ink .btn--line, .cta-band .btn--line { color: #fff; }
.section--ink .btn--line:hover, .cta-band .btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
.text-link:hover { color: var(--red-ink); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; /* bewusst ohne backdrop-filter: der würde das fixierte Mobilmenü einsperren */
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 36px; height: 50px; flex: none; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-weight: 850; font-stretch: 125%; font-size: 1.125rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand-sub { font-size: 0.8125rem; color: var(--ink-2); white-space: nowrap; }
.brand:hover { color: var(--ink); }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a {
  display: block; padding: 10px 11px; color: var(--ink); text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: 0.96875rem; position: relative; border-radius: 6px;
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 5px;
  background: var(--stripe); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
  z-index: -1;
}
/* aria-current="page" = genau diese Seite, aria-current="true" = übergeordneter Punkt (z. B. Leistungen auf einer Leistungsseite) */
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current]::after { transform: scaleX(1); }
.nav-list > li > a[aria-current] { font-weight: 700; }
.nav-contact { display: none !important; }
.nav-cta { display: none !important; }

.sub-toggle {
  width: 36px; height: 44px; margin-left: -6px; border: 0; background: transparent; cursor: pointer; border-radius: 6px;
  display: grid; place-items: center;
}
.sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.sub-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.sub {
  position: absolute; top: calc(100% + 8px); left: -12px; min-width: 320px;
  list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.sub::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
/* Auf: per Maus-Hover oder per Knopf, nicht schon beim Tab-Fokus. Escape schließt auch das Hover-Menü (.is-dismissed, per Skript). */
.has-sub:hover .sub, .sub.is-open { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-dismissed:hover .sub:not(.is-open) { opacity: 0; visibility: hidden; transform: translateY(-6px); }
.sub a { padding: 10px 12px; font-weight: 500; }
.sub a:hover, .sub a[aria-current] { background: var(--primer); }
.sub a[aria-current="page"] { font-weight: 800; box-shadow: inset 3px 0 0 var(--ink); }
.sub li:first-child a { font-weight: 700; }

.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--red-ink); }
.header-cta { white-space: nowrap; }
/* Knapp oberhalb der Menü-Umschaltung: etwas engere Abstände, damit Marke, Navigation, Telefon und Knopf sicher in eine Zeile passen */
/* Mit dem Menüpunkt „Farbgestalter“ wird es eng: etwas schmalere Marke und Menüabstände,
   Rufnummer bis 1519 px nur als Symbol (Nummer bleibt für Screenreader), darüber darf der Header breiter werden */
@media (min-width: 1250px) {
  .brand-name { font-size: 1.0625rem; font-stretch: 112%; }
  .nav-list a { padding-inline: 8px; }
  .nav-list > li > a::after { left: 8px; right: 8px; }
  .header-inner { gap: 14px; }
}
@media (min-width: 1520px) { .site-header .wrap { max-width: 1440px; } }
@media (min-width: 1250px) and (max-width: 1519px) {
  .header-phone span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (min-width: 1250px) and (max-width: 1360px) {
  .header-inner { gap: 8px; }
  .header-cta { padding-inline: 16px; }
  .nav-list a { padding-inline: 7px; }
  .nav-list > li > a::after { left: 7px; right: 7px; }
}

.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; font-weight: 700; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Menü-Schalter, sobald Marke, Navigation, Telefon und Knopf nicht mehr in eine Zeile passen (nichts darf umbrechen) */
@media (max-width: 1249px) {
  .header-inner { gap: 12px; min-height: 68px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { order: 3; }
  .header-cta { display: none; }
  .nav-list {
    position: fixed; inset: 68px 0 0 0; z-index: 60;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px var(--gutter) 40px; overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { white-space: normal; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 16px 4px; font-size: 1.25rem; font-weight: 750; font-stretch: 115%; }
  .nav-list > li > a[aria-current] { font-weight: 850; }
  .nav-list > li > a::after { left: 4px; right: auto; width: 60px; bottom: 10px; }
  .nav-contact { display: flex !important; }
  .nav-cta { display: grid !important; gap: 10px; padding-top: 20px; border-bottom: 0 !important; }
  .nav-list .nav-cta a.btn { font-size: 1.0625rem; font-weight: 700; font-stretch: 100%; padding: 14px 20px; justify-content: center; }
  .nav-list .nav-cta a.btn--red { color: #fff; }
  .nav-list .nav-cta a.btn::after { display: none; }
  .sub-toggle { width: 48px; height: 48px; }
  /* Untermenü: nur per Knopf (.is-open). Kein :hover/:focus-within, sonst schlägt deren Spezifität den Zustand des Knopfs. */
  .sub { position: static; min-width: 0; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; }
  .sub.is-open { display: block; }
  .sub a { font-size: 1.0625rem; padding: 10px 12px; }
  body.nav-open { overflow: hidden; }
}
/* Schmale Bildschirme: Rufnummer nur noch für Screenreader und Sprachsteuerung, das Symbol bleibt 44 x 44 px groß */
@media (max-width: 639px) {
  .header-phone span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (max-width: 420px) {
  .header-inner { gap: 8px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 0.9375rem; font-stretch: 100%; }
  .brand-sub { font-size: 0.75rem; }
  .nav-toggle { padding: 8px 10px; gap: 8px; }
}
@media (max-width: 359px) { .brand-name { white-space: normal; } }

/* ---------- Brotkrümel ---------- */
.crumbs { padding-top: 12px; font-size: var(--fs-sm); color: var(--ink-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; content: "/" / ""; margin: 0 8px; color: var(--grey); }
.crumbs a { display: inline-block; padding-block: 6px; color: var(--ink-2); }

/* ---------- Farbstreifen („frisch gestrichen“) ---------- */
.paint {
  position: relative; display: inline; isolation: isolate;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding: 0 0.12em;
}
.paint-block { position: relative; display: inline-block; isolation: isolate; padding: 0.06em 0.3em 0.12em 0; }
.paint-block::before {
  content: ""; position: absolute; z-index: -1;
  inset: 0.14em -0.35em 0.02em -100vw;
  background:
    repeating-linear-gradient(90deg, rgba(27, 37, 48, 0.035) 0 2px, transparent 2px 9px),
    var(--stripe);
  filter: url(#paint-edge);
}
.paint-block--grow::before { transform-origin: left center; animation: paint-grow .9s cubic-bezier(.6, .05, .2, 1) .1s both; }
@keyframes paint-grow { from { transform: scaleX(0.35); } to { transform: none; } }

/* ---------- Malerkrepp-Notiz ---------- */
.tape {
  display: inline-block; padding: 6px 16px 5px;
  font: 700 1.0625rem/1.2 var(--f-hand); color: #2a2f35;
  background: var(--tape);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 3px 8px -4px rgba(0, 0, 0, 0.25);
  clip-path: polygon(0 6%, 4% 0, 30% 5%, 62% 0, 96% 4%, 100% 0, 99% 48%, 100% 100%, 94% 95%, 58% 100%, 22% 95%, 3% 100%, 0 94%, 1.5% 50%);
  transform: rotate(-2deg);
}
.tape--pin { position: absolute; left: 14px; bottom: 16px; z-index: 2; max-width: calc(100% - 28px); }
.tape--top { position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(2deg); }

/* ---------- Rahmen aus dem Wappen (konkave Ecken) ---------- */
.notch {
  --n: var(--notch);
  -webkit-mask:
    radial-gradient(circle at 0 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
  mask:
    radial-gradient(circle at 0 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
}
.frame { --n: var(--notch); padding: 5px; background: var(--grey); }
.frame > .frame-in { --n: calc(var(--notch) + 5px); padding: 7px; background: #fff; }
.frame > .frame-in > img, .frame > .frame-in > .frame-media { --n: calc(var(--notch) + 12px); width: 100%; }
.frame, .frame > .frame-in, .frame > .frame-in > img, .frame > .frame-in > .frame-media {
  -webkit-mask:
    radial-gradient(circle at 0 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
  mask:
    radial-gradient(circle at 0 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, #0000 var(--n), #000 calc(var(--n) + 0.5px)) 100% 100% / 51% 51% no-repeat;
}
.frame img { object-fit: cover; }

/* ---------- Startseite: Hero ---------- */
.hero { position: relative; padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hero h1 { margin: 0 0 28px; font-size: inherit; letter-spacing: 0; font-weight: inherit; font-stretch: inherit; }
.hero-display {
  display: block; font-size: clamp(2.6rem, 7.2vw, 6.25rem); line-height: 0.98; font-weight: 900; font-stretch: 125%;
  letter-spacing: -0.035em; margin-bottom: 0.3em;
}
.hero-sub { display: block; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; font-stretch: 105%; line-height: 1.25; letter-spacing: -0.01em; max-width: 30ch; }
.hero .lead { margin-bottom: 32px; }
.hero-media { position: relative; }
.hero-media .frame { aspect-ratio: 3 / 2; }
.hero-media .frame-in, .hero-media .frame-in img { height: 100%; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 36px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: 0.96875rem; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li svg { flex: none; color: var(--ink); }

/* Farbroller: ein Streifen pro Zeile, die Rolle sitzt am Ende von „gestrichen.“ */
.roller-line { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; padding: 0.02em 0.14em 0.08em 0; }
.roller-line::before, .roller-line .w1::before, .roller-line .w2::before {
  content: ""; position: absolute; z-index: -1; inset: 0.16em -0.3em 0.02em -100vw;
  background: repeating-linear-gradient(90deg, rgba(27, 37, 48, 0.035) 0 2px, transparent 2px 9px), var(--stripe);
  filter: url(#paint-edge);
  transform-origin: left center;
}
.roller-line .w1::before, .roller-line .w2::before { display: none; }
.roller-line .w2 { position: relative; }
.roller {
  position: absolute; z-index: 2; left: calc(100% + 0.2em); top: 50%; width: 0.6em; height: auto;
  transform: translateY(-40%); pointer-events: none; color: var(--ink);
}
@media (scripting: enabled) {
  .roller-line::before, .roller-line .w1::before, .roller-line .w2::before { transform: scaleX(0); }
  .roller { opacity: 0; }
}
.js.roller-go .roller-line::before, .js.roller-go .roller-line .w1::before, .js.roller-go .roller-line .w2::before { animation: roll-paint 1.25s cubic-bezier(.55, .05, .25, 1) .25s forwards; }
.js.roller-go .roller { animation: roll-move 1.25s cubic-bezier(.55, .05, .25, 1) .25s forwards; }
@keyframes roll-paint { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes roll-move {
  0% { opacity: 1; transform: translate(-100vw, -40%) rotate(-6deg); }
  85% { opacity: 1; transform: translate(0, -40%) rotate(2deg); }
  100% { opacity: 1; transform: translate(0, -40%) rotate(0); }
}
@media (max-width: 759px) {
  .roller-line { display: block; white-space: normal; padding: 0; }
  .roller-line::before { display: none; }
  .roller-line .w1, .roller-line .w2 { display: table; position: relative; isolation: isolate; padding: 0.02em 0.14em 0.06em 0; }
  .roller-line .w1::before, .roller-line .w2::before { display: block; }
  .roller-line .w1 { margin-bottom: 0.04em; }
  .roller { width: 0.5em; left: calc(100% + 0.1em); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 620px; }
}

/* ---------- Unterseiten: Kopf ---------- */
.page-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.page-hero h1 { margin-bottom: 24px; max-width: 22ch; }
.page-hero-grid h1 { font-size: clamp(1.875rem, 1.1rem + 3vw, 3.75rem); }
.page-hero .lead { margin-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero-grid .frame { aspect-ratio: 4 / 3; }
.page-hero-grid .frame-in, .page-hero-grid .frame-in img { height: 100%; }
.page-hero-grid .frame img { object-position: 50% 30%; }
.page-hero:not(:has(.page-hero-grid)) { padding-bottom: clamp(20px, 2.5vw, 36px); }
.page-hero .btn-row { margin-top: 28px; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero-grid .frame { max-width: 560px; } }

/* ---------- Vertrauensleiste ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.96875rem; }
.trust-item img { height: 44px; width: auto; }
.trust-item .badge-n { font: 900 1.5rem/1 var(--f-sans); font-stretch: 125%; color: var(--red); }

/* ---------- Leistungsliste ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc a {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1.2fr) auto; align-items: center; gap: 12px 32px;
  padding: 26px 8px; color: var(--ink); text-decoration: none;
}
.svc-chip { width: 64px; height: 64px; background: var(--swatch); border-radius: 3px 3px 32px 32px; transition: transform .25s ease; }
.svc-name { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.375rem); font-stretch: 125%; font-weight: 850; letter-spacing: -0.02em; line-height: 1.05; }
.svc-text { color: var(--ink-2); }
.svc-more { font-weight: 700; font-size: 0.9375rem; white-space: nowrap; padding: 8px 14px; border: 2px solid var(--ink); border-radius: var(--radius); transition: background-color .15s, color .15s; }
.svc a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--swatch); opacity: 0.08;
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.5, 0, .2, 1);
}
.svc a:hover::before, .svc a:focus-visible::before { transform: scaleX(1); }
.svc a:hover .svc-chip { transform: rotate(-6deg) scale(1.06); }
.svc a:hover .svc-more { background: var(--ink); color: #fff; }
@media (max-width: 1320px) {
  .svc a { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 6px 24px; }
  .svc-chip { grid-row: span 2; align-self: start; }
  .svc-name { grid-column: 2; font-size: clamp(1.375rem, 1rem + 1.6vw, 2rem); overflow-wrap: anywhere; }
  .svc-text { grid-column: 2; grid-row: 2; }
  .svc-more { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 860px) {
  .svc a { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 18px; padding: 22px 4px; }
  .svc-chip { width: 48px; height: 48px; grid-row: span 2; align-self: start; }
  .svc-more { display: none; }
}

/* ---------- Fachwerk-Konfigurator ---------- */
.fwk { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.fwk-stage { position: sticky; top: 100px; background: linear-gradient(#dff0fa, #f3f8fb 70%); border-radius: 14px; padding: clamp(16px, 3vw, 36px) clamp(16px, 3vw, 36px) 0; overflow: hidden; }
.fwk-stage svg { width: 100%; height: auto; }
.fwk-stage svg [data-part] { transition: fill .45s ease; }
.fwk-stage .tape { position: absolute; top: 18px; left: 18px; }
.fwk-panel { display: grid; gap: 22px; }
.fwk-group { border: 0; margin: 0; padding: 0; }
.fwk-group legend { font-weight: 800; font-stretch: 112%; font-size: 1.125rem; margin-bottom: 10px; padding: 0; display: flex; gap: 10px; align-items: baseline; }
.fwk-group legend output { font: 700 1rem/1 var(--f-hand); color: var(--ink-2); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch input + span {
  display: block; width: 44px; height: 44px; border-radius: 50%;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(27, 37, 48, 0.16);
  transition: transform .15s ease, box-shadow .15s ease;
}
.swatch input:hover + span { transform: translateY(-2px); }
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgba(27, 37, 48, 0.16), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.swatch input:focus-visible + span { outline: 3px solid var(--blue-ink); outline-offset: 5px; }
.fwk-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--field-line); border-radius: 999px; background: #fff;
  font-weight: 600; font-size: 0.9375rem; cursor: pointer; color: var(--ink);
}
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fwk-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.fwk-note { font-size: var(--fs-sm); color: var(--ink-2); margin: 0; }
@media (max-width: 900px) {
  .fwk { grid-template-columns: minmax(0, 1fr); }
  .fwk-stage { position: relative; top: 0; }
}

/* ---------- Referenzen ---------- */
.ref-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.ref-card { position: relative; scroll-snap-align: start; margin: 0; }
.ref-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.ref-card .tape--pin { top: 12px; bottom: auto; left: 12px; }
.ref-card figcaption { margin-top: 12px; font-size: 0.96875rem; color: var(--ink-2); }
.ref-card figcaption strong { display: block; color: var(--ink); font-size: 1.0625rem; }
@media (max-width: 700px) { .ref-strip { grid-auto-columns: 78%; } }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
[data-filter-count] { margin: -16px 0 24px; font-size: var(--fs-sm); color: var(--ink-2); }
[data-filter-count]:empty { display: none; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.gallery-item { grid-column: span 4; position: relative; margin: 0; }
.gallery-item--wide { grid-column: span 8; }
.gallery-item--tall .gallery-open img { aspect-ratio: 3 / 4; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; border-radius: 4px; overflow: hidden; }
.gallery-open img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.gallery-item--wide .gallery-open img { aspect-ratio: 16 / 9; }
.gallery-open:hover img { transform: scale(1.03); }
.gallery-item figcaption { padding-top: 12px; }
.gallery-item figcaption h3 { font-size: 1.1875rem; margin: 0 0 4px; }
.gallery-item figcaption p { margin: 0; color: var(--ink-2); font-size: 0.96875rem; }
.gallery-item[hidden] { display: none; }
@media (max-width: 900px) { .gallery-item, .gallery-item--wide { grid-column: span 6; } }
@media (max-width: 600px) { .gallery-item, .gallery-item--wide { grid-column: span 12; } }

/* Lightbox */
.lightbox { width: min(96vw, 1200px); max-height: 94vh; padding: 0; border: 0; border-radius: 12px; background: #0f151b; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(15, 21, 27, 0.86); }
.lightbox figure { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; max-height: 94vh; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; background: #0f151b; }
.lightbox figcaption { padding: 14px 64px 18px 20px; font-size: 0.96875rem; color: #d7dee4; }
.lightbox figcaption strong { color: #fff; }
.lb-btn { position: absolute; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink); cursor: pointer; font-size: 1.25rem; font-weight: 800; display: grid; place-items: center; }
.lb-close { right: 12px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }

/* ---------- Ablauf ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; position: relative; padding-top: 70px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  font: 850 1.375rem/1 var(--f-sans); font-stretch: 120%; color: #fff; background: var(--ink);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 68px; right: -12px; border-top: 2px dashed var(--line); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Split-Layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
.split--wide-right { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
@media (max-width: 900px) { .split, .split--wide-left, .split--wide-right { grid-template-columns: minmax(0, 1fr); } }

.photo { position: relative; margin: 0; }
.photo img { width: 100%; border-radius: 4px; object-fit: cover; }
.photo .tape--pin { top: 12px; bottom: auto; }
.photo figcaption { margin-top: 10px; font-size: var(--fs-sm); color: var(--ink-2); }

/* ---------- Inhaltstypografie ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--yellow); font-size: 1.125rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.25em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 50%; background: #e6f0e9;
}
.check-list li::after { content: ""; position: absolute; left: 6px; top: calc(0.3em + 6px); width: 8px; height: 4px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; }
@media (max-width: 700px) { .check-list--2 { grid-template-columns: minmax(0, 1fr); } }

/* Leistungsblöcke auf Detailseiten */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.feature:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.feature h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature p { margin: 0; color: var(--ink-2); }
.feature p + p { margin-top: 0.75em; }
.feature > img { margin-bottom: 12px; }
.note img { margin-top: 12px; }
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .feature:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(2n) { padding-left: 0; border-left: 0; }
  .feature { padding-right: 0; }
}

/* Faktenbox „Auf einen Blick“ */
.facts { background: var(--primer); border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
.facts h2, .facts h3 { font-size: 1.25rem; font-stretch: 112%; margin-bottom: 14px; }
.facts > dl:not(.hours) { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; margin: 0; }
.facts > dl:not(.hours) > dt { font-weight: 700; }
.facts > dl:not(.hours) > dd { margin: 0; color: var(--ink-2); }
.facts .hours { margin-top: 4px; }
.section--primer .facts { background: #fff; border: 1px solid var(--line); }
@media (max-width: 520px) { .facts > dl:not(.hours) { grid-template-columns: minmax(0, 1fr); gap: 2px; } .facts > dl:not(.hours) > dd { margin-bottom: 10px; } }

.note { border-left: 5px solid var(--blue); background: #f2f9fd; padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 1.5em 0; max-width: 80ch; }
.note--warn { border-color: var(--red); background: #fdf3f3; }
.note--yellow { border-color: #d9c900; background: #fffbe0; }
.note p:last-child { margin-bottom: 0; }

/* Tabellen */
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
.table { width: 100%; border-collapse: collapse; font-size: 0.96875rem; min-width: 520px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--ink); color: #fff; font-weight: 700; }
.table thead th:first-child { border-radius: 8px 0 0 0; }
.table thead th:last-child { border-radius: 0 8px 0 0; }
.table tbody tr:nth-child(even) { background: #f7f9fa; }
.table caption { caption-side: bottom; text-align: left; padding-top: 10px; font-size: var(--fs-sm); color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 56px 22px 0; font-weight: 700; font-size: 1.125rem; line-height: 1.4;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; background: var(--primer);
  transition: background-color .2s, transform .25s;
}
details.faq summary::before {
  content: "+"; content: "+" / ""; position: absolute; right: 8px; top: 50%; width: 30px; text-align: center; z-index: 1;
  transform: translateY(-54%); font-weight: 800; font-size: 1.25rem; transition: transform .25s;
}
details.faq[open] summary::after { background: var(--yellow); }
details.faq[open] summary::before { transform: translateY(-54%) rotate(45deg); }
details.faq summary:hover { color: var(--blue-ink); }
.faq-a { padding: 0 56px 24px 0; color: var(--ink-2); max-width: 72ch; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-search { display: flex; gap: 12px; align-items: center; margin-bottom: 28px; }
.faq-search input { flex: 1; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: 0.96875rem; }
.field .hint { font-size: var(--fs-sm); color: var(--ink-2); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="search"], .field input[type="number"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--field-line); border-radius: var(--radius); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid transparent; border-color: var(--blue-ink); box-shadow: 0 0 0 3px rgba(0, 105, 154, 0.2); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red-ink); font-size: var(--fs-sm); font-weight: 600; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ink); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; border: 0; margin: 0; padding: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 16px; border: 1.5px solid var(--field-line); border-radius: 10px; background: #fff;
  font-weight: 700; transition: border-color .15s, background-color .15s;
}
.choice span small { font-weight: 400; color: var(--ink-2); }
.choice span::before { content: none; }
.choice input:checked + span { border-color: var(--ink); background: var(--primer); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--blue-ink); outline-offset: 2px; }

/* Anfrage-Assistent */
.wizard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3.5vw, 44px); box-shadow: var(--shadow); }
.wizard-progress { display: flex; gap: 6px; margin-bottom: 28px; }
.wizard-progress span { flex: 1; height: 8px; border-radius: 4px; background: var(--primer-2); overflow: hidden; position: relative; }
.wizard-progress span.is-done::after, .wizard-progress span.is-current::after { content: ""; position: absolute; inset: 0; background: var(--yellow); }
.wizard-progress span.is-done::after { background: var(--ink); }
.wizard-step[hidden] { display: none; }
.wizard-step h3 { font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); font-stretch: 118%; }
.wizard-nav { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.wizard-summary { background: var(--primer); border-radius: 10px; padding: 18px 20px; }
.wizard-summary dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; }
.wizard-summary dt { font-weight: 700; }
.wizard-summary dd { margin: 0; }
.palette-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.palette-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: #fff; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; border: 1px solid var(--line); }
.palette-chips i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.form-success { text-align: center; padding: 24px 0; }
.form-success .tape { margin-bottom: 18px; font-size: 1.375rem; }

/* ---------- Öffnungszeiten & Adresse ---------- */
.hours { display: grid; gap: 4px; margin: 0 0 12px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; max-width: 320px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.addr { font-style: normal; margin-bottom: 16px; line-height: 1.55; }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9375rem; margin: 0; }
.open-status:empty { display: none; }
.open-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grey); }
.open-status.is-open::before { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }

/* ---------- Karten / Kacheln (bewusst sparsam) ---------- */
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.tile h3 { font-size: 1.25rem; }
.tile p:last-child { margin-bottom: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

.article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); list-style: none; margin: 0; padding: 0; }
.article-card a { display: grid; gap: 14px; color: var(--ink); text-decoration: none; }
.article-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.article-card h3 { margin: 0; font-size: 1.3125rem; }
.article-card p { margin: 0; color: var(--ink-2); }
.article-card a:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.article-meta { font-size: var(--fs-sm); color: var(--ink-2); }
.article-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .article-list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 600px) { .article-list { grid-template-columns: minmax(0, 1fr); } }

/* Zertifikate */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.cert-grid li { display: flex; }
.cert-grid button { display: block; width: 100%; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; cursor: zoom-in; transition: transform .2s, box-shadow .2s; height: 100%; }
.cert-grid button:hover { transform: rotate(-1.5deg) translateY(-3px); box-shadow: var(--shadow); }
.cert-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.cert-grid span { display: block; margin-top: 8px; font-size: 0.8125rem; line-height: 1.3; color: var(--ink-2); text-align: left; }

/* Partner */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.partner-grid li { display: grid; gap: 10px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.partner-grid .logo-box { height: 64px; display: flex; align-items: center; }
.partner-grid .logo-box img { max-height: 56px; width: auto; max-width: 100%; }
.partner-grid strong { font-size: 1rem; }
.partner-grid .logo-box--text { font-weight: 900; font-stretch: 125%; font-size: 1.5rem; letter-spacing: .06em; color: var(--ink-2); }
.cert-count { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); font-stretch: 100%; }
.cert-acc { margin-top: 36px; }
.cert-acc .cat-name { margin: 0; }
.cert-acc .cat-body { padding-top: 4px; }
.meister-stack h3 { margin-top: 0; }
@media (min-width: 900px) { .meister-stack { position: sticky; top: 110px; } }
.meister-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.meister-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.meister-card button { padding: 0; border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: zoom-in; overflow: hidden; transition: transform .2s; }
.meister-card button:hover { transform: rotate(-2deg); }
.meister-card img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.meister-card div { display: grid; gap: 2px; font-size: var(--fs-sm); color: var(--ink-2); }
.meister-card strong { font-size: 1.0625rem; color: var(--ink); }
.meister-gen { font-family: var(--f-hand); font-size: 1rem; color: var(--red-ink); }
.meister-ph { aspect-ratio: 3 / 4; display: grid; place-items: center; text-align: center; border: 1px dashed var(--field-line); border-radius: 4px; background: repeating-linear-gradient(135deg, #eef1f3 0 10px, #e6eaed 10px 20px); color: var(--ink-2); font-size: 0.75rem; font-weight: 700; line-height: 1.2; }
.partner-grid p { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }

/* Zeitleiste */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; background: var(--primer-2); }
.timeline li { position: relative; padding: 0 0 28px 48px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); }
.timeline time, .timeline .when { display: block; font-weight: 850; font-stretch: 120%; font-size: 1.25rem; }
.timeline p { margin: 4px 0 0; color: var(--ink-2); }

/* Einzugsgebiet-Karte */
.area { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.area-map { width: 100%; height: auto; }
.area-map .town text { font: 600 13px var(--f-sans); fill: var(--ink); }
.area-map .town--main text { font-weight: 850; font-size: 16px; font-stretch: 120%; }
.town-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.town-list li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.9375rem; font-weight: 600; }
@media (max-width: 900px) { .area { grid-template-columns: minmax(0, 1fr); } }

/* Zitat */
.quote { margin: 0; }
.quote p { font-size: clamp(1.375rem, 1.1rem + 1.3vw, 2.125rem); font-weight: 750; font-stretch: 112%; line-height: 1.25; letter-spacing: -0.01em; max-width: 30ch; }
.quote footer { color: var(--ink-2); font-weight: 600; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--ink); color: #dfe6ec; padding-block: clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: -5%; right: 58%; top: 0; height: 14px;
  background: var(--yellow); filter: url(#paint-edge-thin);
}
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px 56px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 56ch; font-size: var(--fs-lead); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: minmax(0, 1fr); } }

.updated, .byline { font-size: var(--fs-sm); color: var(--ink-2); margin: 0 0 1.5em; }
.byline a { color: var(--ink); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #121a22; color: #c3ccd4; font-size: 0.96875rem; padding-top: clamp(48px, 6vw, 80px); }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: var(--yellow); }
.site-footer strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px; padding-bottom: 40px; }
.footer-brand img { width: 56px; height: 78px; margin-bottom: 16px; }
.footer-h { font-size: 1rem; font-stretch: 115%; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer-links a { display: inline-block; padding-block: 6px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer .hours div { max-width: 280px; }
.site-footer .open-status { color: #fff; margin-top: 4px; }
.footer-contact { font-weight: 700; }
.footer-more { margin: -8px 0 18px; font-size: var(--fs-sm); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 14px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-badges img { height: 52px; width: auto; background: #fff; border-radius: 8px; padding: 8px 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: var(--fs-sm); }
.footer-bottom p { margin: 0; }
.footer-bottom a { display: inline-block; padding-block: 8px; }
.footer-bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */
.sign {
  display: inline-grid; gap: 4px; padding: 22px 30px; margin-bottom: 32px;
  background: #fff; border: 4px solid var(--red); border-radius: 6px; transform: rotate(-3deg);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5);
  font-weight: 900; font-stretch: 125%; color: var(--red); text-align: center; line-height: 1.05;
}
.sign small { font-size: 1rem; color: var(--ink); font-weight: 700; font-stretch: 100%; }
.sign span { font-size: clamp(1.75rem, 1rem + 3vw, 3rem); }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
  .js .roller-line::before { transform: none; }
  .js .roller { opacity: 1; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .crumbs, .fwk-panel, .filter-bar { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; }
}


/* ==========================================================================
   Version 2 – neue Bausteine
   ========================================================================== */

/* Hero: Foto wird von Grau zu Farbe gestrichen */
.hero--v2 { padding-top: clamp(24px, 4vw, 56px); }
.hero--v2 .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; }
.hero--v2 h1 { margin-bottom: 20px; }
.hero--v2 .hero-display { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5.25rem); margin-bottom: 0.22em; }
.hero--v2 .hero-sub { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); }
.hero--v2 .lead { margin-bottom: 28px; }
.hero-facts { gap: 10px 24px; }
.hero-paint { position: relative; aspect-ratio: 4 / 3; background: #d9dcdf; overflow: hidden; }
.hero-paint > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-paint canvas { position: absolute; inset: 0; pointer-events: none; filter: grayscale(1) brightness(1.06) contrast(0.92); transition: opacity .5s ease; }
@media (scripting: enabled) { .hero-paint:not(.is-ready) > img { filter: grayscale(1) brightness(1.06) contrast(0.92); } }
.hp-roller { position: absolute; left: 0; top: 0; z-index: 2; height: auto; opacity: 0; pointer-events: none; will-change: transform; transition: opacity .35s ease; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .35)); }
.hp-again {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px;
  border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink);
  font-weight: 700; font-size: 0.875rem; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
.hero-paint.is-done .hp-again { opacity: 1; transform: none; pointer-events: auto; }
.hp-again:hover { background: var(--yellow); }
.hero-paint .tape--pin { z-index: 3; }
.hero-quick { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-quick p { margin: 0 0 10px; font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600; }
.quick-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.quick-links a { display: inline-flex; min-height: 40px; align-items: center; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 0.9375rem; text-decoration: none; background: #fff; }
.quick-links a:hover { border-color: var(--ink); }
@media (max-width: 900px) {
  .hero--v2 .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero--v2 .hero-media { order: -1; max-width: none; }
}

/* Leistungen als Bildkacheln */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.svc-tile a { display: block; height: 100%; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease, border-color .2s; }
.svc-tile a:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #c2cad1; }
.svc-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--primer); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-tile a:hover .svc-img img { transform: scale(1.04); }
.svc-body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.svc-title { margin: 0; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; font-size: 1.25rem; font-stretch: 112%; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.svc-title::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--red); border-top: 2.5px solid var(--red); transform: rotate(45deg); margin-right: 4px; }
.svc-sub { color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .svc-grid { gap: 12px; }
  .svc-body { padding: 12px 12px 14px; }
  .svc-title { font-size: 1.0625rem; }
  .svc-sub { font-size: 0.8125rem; }
}

/* Vorteile kurz */
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.perks li { display: grid; gap: 8px; align-content: start; }
.perks svg { width: 36px; height: 36px; color: var(--ink); }
.perks strong { font-size: 1.0625rem; }
.perks span { color: var(--ink-2); font-size: 0.96875rem; }
@media (max-width: 900px) { .perks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .perks { grid-template-columns: minmax(0, 1fr); } }

/* Persönliche Vorstellung */
.me { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.me-photo { position: relative; }
.me-photo .placeholder { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; padding: 24px; background: repeating-linear-gradient(135deg, #eef1f3 0 14px, #e6eaed 14px 28px); color: var(--ink-2); font-weight: 600; }
.me .quote p { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); }
@media (max-width: 860px) { .me { grid-template-columns: minmax(0, 1fr); } .me-photo { max-width: 360px; } }

/* Standorte mit Karte */
.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.loc-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.loc-body { padding: 18px 20px 22px; }
.loc-body h3 { margin-bottom: 6px; }
.loc-body address { font-style: normal; margin-bottom: 8px; }
.loc-note { color: var(--ink-2); font-size: 0.9375rem; }
.btn svg { flex: none; }
.embed { position: relative; aspect-ratio: 16 / 9; background: #e9edf0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; font-size: 0.9375rem; color: var(--ink-2);
  background: linear-gradient(rgba(233, 237, 240, .88), rgba(233, 237, 240, .88)), repeating-linear-gradient(0deg, transparent 0 38px, #d5dbe0 38px 40px), repeating-linear-gradient(90deg, transparent 0 38px, #d5dbe0 38px 40px); }
.embed-ph p { margin: 0; max-width: 34ch; }
.embed-always { display: flex; gap: 8px; align-items: center; font-size: 0.875rem; }
.embed-always input { width: 18px; height: 18px; accent-color: var(--ink); }
@media (max-width: 760px) { .loc-grid { grid-template-columns: minmax(0, 1fr); } }

/* Social Media */
.social-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.social-band p { margin: 0; max-width: 60ch; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; }
.social-pill:hover { background: #2c3a48; color: #fff; }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.site-footer .social-link { color: #fff; }

/* Kontaktformular */
.cform { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.upload-drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 22px 16px; text-align: center; border: 2px dashed var(--line); border-radius: 12px; background: var(--white); color: var(--ink-2); transition: border-color .15s, background .15s; }
.upload-drop p { margin: 0; }
.upload-drop strong { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.upload-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-drop:hover, .upload.is-drag .upload-drop { border-color: var(--ink); background: #fff; }
.upload-drop:has(input:focus-visible) { outline: 3px solid var(--blue-ink); outline-offset: 3px; }
.upload-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.upload-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.upload-file { display: flex; align-items: center; gap: 10px; min-width: 0; }
.upload-thumb { width: 44px; height: 44px; flex: none; border-radius: 6px; object-fit: cover; }
.upload-thumb--pdf, .upload-thumb--file { display: grid; place-items: center; background: var(--red-ink); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: .04em; }
.upload-thumb--file { background: var(--ink-2); }
.upload-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-sm); font-weight: 600; }
.upload-size { flex: none; font-size: 0.8125rem; color: var(--ink-2); }
.upload-remove { flex: none; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.upload-remove:hover { background: var(--primer); }
@media (max-width: 479px) { .upload-or { display: none; } .upload-size { display: none; } }
.digi-card { display: grid; border-radius: 16px; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.digi-card:hover { color: #fff; transform: translateY(-4px) rotate(-.6deg); }
.digi-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.digi-body { display: grid; gap: 4px; padding: 20px 22px 22px; }
.digi-body strong { font-size: 1.25rem; font-stretch: 112%; }
.digi-kicker { font-family: var(--f-hand); color: var(--yellow); font-size: 1.0625rem; }
.digi-go { margin-top: 8px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hint-small { font-size: var(--fs-sm); color: var(--ink-2); }
.cform-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cform-actions p { margin: 0; font-size: var(--fs-sm); }
.contact-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-direct { display: grid; gap: 14px; margin-top: 20px; }
.contact-direct a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; color: var(--ink); text-decoration: none; }
.contact-direct a:hover { color: var(--red-ink); }
@media (max-width: 900px) { .contact-split { grid-template-columns: minmax(0, 1fr); } }

/* Knopf, der wie ein Link aussieht */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.site-footer .linklike { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer .linklike:hover { color: var(--yellow); }

/* Cookie-Banner */
.consent-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(440px, calc(100vw - 32px));
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 16px;
  box-shadow: 0 18px 40px -12px rgba(27, 37, 48, .35); font-size: 0.9375rem;
}
.consent-banner p { margin: 0 0 12px; }
.consent-title { font-weight: 800; font-stretch: 112%; font-size: 1.0625rem; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.consent-actions .btn { flex: 1 1 auto; }
.consent-dialog { width: min(560px, calc(100vw - 32px)); border: 0; border-radius: 16px; padding: 0; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.consent-dialog::backdrop { background: rgba(15, 21, 27, .55); }
.consent-dialog form { position: relative; padding: 26px 24px 22px; }
.consent-dialog h2 { font-size: 1.375rem; margin-bottom: 6px; }
.consent-list { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 14px; }
.consent-list li { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.consent-list p { margin: 6px 0 0 58px; font-size: 0.875rem; color: var(--ink-2); }
.consent-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--primer); cursor: pointer; font-size: 1rem; }
.switch { display: flex; align-items: center; gap: 14px; cursor: pointer; font-weight: 700; }
.switch input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; }
.switch-ui { position: relative; flex: none; width: 44px; height: 26px; border-radius: 13px; background: var(--field-line); transition: background .2s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.switch input:checked + .switch-ui { background: var(--green); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:disabled + .switch-ui { opacity: .6; }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--blue-ink); outline-offset: 2px; }
.switch small { font-weight: 400; color: var(--ink-2); }

/* Kurzzusammenfassung am Seitenanfang */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.glance li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.glance strong { display: block; font-size: 1.0625rem; }
.glance span { color: var(--ink-2); font-size: 0.9375rem; }

@media print { .consent-banner, .consent-dialog, .hp-again, .hp-roller { display: none !important; } }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .steps--3 { grid-template-columns: minmax(0, 1fr); } .steps--3 li::after { display: none; } }
/* Notiz und Knopf nicht in die ausgeschnittenen Rahmenecken legen */
.hero-paint .tape--pin { left: calc(var(--notch) + 26px); bottom: 14px; }
.hp-again { right: calc(var(--notch) + 26px); bottom: 12px; }
.field label.consent { font-weight: 400; }
.me-photo { max-width: 380px; }
.hero-paint .tape--pin { top: 14px; bottom: auto; }
@media (max-width: 560px) {
  .consent-banner { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 14px 14px 12px; font-size: 0.8125rem; }
  .consent-banner p { margin-bottom: 10px; }
  .consent-title { font-size: 0.9375rem; }
  .consent-actions .btn { min-height: 40px; padding: 8px 12px; }
  .hero-paint .tape--pin { font-size: 0.9375rem; padding: 4px 12px; }
  .hp-again { font-size: 0.8125rem; min-height: 36px; padding: 6px 12px; }
}

/* V2: Abstände und Feinschliff nach Agenten-Feedback */
.glance { margin-bottom: clamp(28px, 4vw, 44px); }
.glance:last-child { margin-bottom: 0; }
h2 + .glance { margin-top: 20px; }
.page-hero + .section { padding-top: clamp(32px, 4.5vw, 64px); }
.social-band { margin-top: 28px; }
.social-band:first-child { margin-top: 0; }
.social-band p strong { display: block; margin-bottom: 2px; }
.photo:not(:last-child) { margin-bottom: 1.25em; }
.note--warn ul li::marker { color: var(--red); }
.partner-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .photo img { max-height: 440px; }
}


/* ==========================================================================
   Überarbeitung nach Review (Barrierefreiheit, Reflow, Feinschliff)
   ========================================================================== */

/* Grid-Kinder dürfen schrumpfen, lange Wörter sprengen sonst die Spalte */
.hero-grid > *, .page-hero-grid > *, .split > *, .fwk > *, .area > *, .cta-inner > *, .footer-grid > *, .section-head--split > *, .me > *, .contact-split > *, .loc-grid > * { min-width: 0; }
.section-head--split p { padding-top: 0.35em; }
/* Fließtext: Was sich nicht trennen lässt (Schimmelpilzsanierung …), bricht als letzter Ausweg, statt eine schmale Spalte zu sprengen */
body { overflow-wrap: break-word; }
.facts dd { -webkit-hyphens: auto; hyphens: auto; }

/* Breite Schriftschnitte nur, wo Platz ist: schmale Handys und Zwei-Spalten-Köpfe zwischen 901 und 1320 px */
@media (max-width: 480px) { h1, h2 { font-stretch: 110%; } }
@media (min-width: 901px) and (max-width: 1320px) { h1, h2 { font-stretch: 110%; } h3 { font-stretch: 105%; } }

/* V2-Startseite: „gestrichen.“ passt in die Spalte (Hero-Raster 0,95 zu 1,05), auch bei 901 bis 1320 px */
.hero--v2 .hero-display { font-size: clamp(2.5rem, 5.6vw, 4.8rem); }

/* Startseiten-Titel: Schriftgröße ist auf die Spalte abgestimmt, das Wort „gestrichen.“ wird nie mitten im Wort getrennt */
.hero h1 { overflow-wrap: normal; -webkit-hyphens: manual; hyphens: manual; }

/* Startseiten-Titel auf sehr schmalen Handys (320 px): „gestrichen.“ bleibt in der Spalte */
@media (max-width: 400px) { .hero .hero-display { font-stretch: 115%; font-size: clamp(2.1rem, 11vw, 2.6rem); } }

/* Fokusrahmen auf dunklen Flächen: Gelb (Blau hätte dort nur 2,6 bis 3,1:1) */
.cta-band :focus-visible, .site-footer :focus-visible, .section--ink :focus-visible, .lightbox :focus-visible, .lightbox:focus-visible { outline-color: var(--yellow); }

/* Scrollbare Bereiche sind per Tastatur erreichbar (role="region" tabindex="0"): Rahmen nach innen, sonst wird er abgeschnitten */
.ref-strip:focus-visible, .table-wrap:focus-visible { outline-offset: -3px; }

/* Tabellen auf dem Handy: gestapelte Karten, nichts wird abgeschnitten (data-label erzeugt das Build-Skript aus der Kopfzeile) */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  .table { min-width: 0; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table, .table tbody, .table tr, .table th, .table td, .table caption { display: block; }
  .table tbody tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table th, .table td { border: 0; padding: 4px 0; }
  .table tbody th { font-size: 1.0625rem; padding-bottom: 4px; }
  .table td[data-label]::before { content: attr(data-label); display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2); }
  .table caption { padding: 0 0 12px; }
}

/* Ratgeber: Text bleibt bei 70 Zeichen, Tabellen, Faktenboxen und Hinweise nutzen die ganze Spaltenbreite */
.wrap--narrow .prose { max-width: none; }
.wrap--narrow .prose > :not(.table-wrap):not(.facts):not(.note) { max-width: 70ch; }
.prose .note { max-width: none; }

/* Abstände zwischen aufeinanderfolgenden Blöcken */
.prose .facts { margin-bottom: 1.75rem; }
.quote { margin-bottom: 1.5rem; }
.feature-grid + p, .feature-grid + .measure { margin-top: 1.5rem; }
.btn-row + p { margin-top: 1rem; }
.stack > .photo + .photo { margin-top: 1.5rem; }
.section > .wrap > p:not(.center):not(.lead):not(.measure) { max-width: 75ch; }

/* Galerie: Zeitungsausschnitt in Originalproportion statt auf 4:3 beschnitten */
.gallery { align-items: start; }
.gallery-item[data-tags*="presse"] .gallery-open img { aspect-ratio: auto; object-fit: contain; }

/* Themen-Chips (FAQ, Ratgeber) im Stil der übrigen Chips */
.town-list a { color: var(--ink); text-decoration: none; }
@supports selector(:has(a)) {
  .town-list li:has(> a) { transition: background-color .15s, border-color .15s; }
  .town-list li:has(> a):hover { background: var(--yellow); border-color: var(--yellow); }
  .town-list li:has(> a:focus-visible) { outline: 3px solid var(--blue-ink); outline-offset: 2px; }
  .town-list li > a:focus-visible { outline: none; }
}

/* Vertrauensleiste auf dem Handy: Überschrift eigene Zeile, Logos linksbündig */
@media (max-width: 700px) {
  .trust-inner { justify-content: flex-start; gap: 16px 28px; }
  .trust-inner > p { flex-basis: 100%; }
}

/* Anfrage-Assistent */
.choice-grid[data-required-group="leistung"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .choice-grid[data-required-group="leistung"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wizard-nav [data-prev] { margin-right: auto; }
.wizard-status { margin: 0 0 14px; font-weight: 700; }
.wizard-progress span.is-current { outline: 2px solid var(--ink); outline-offset: -2px; }
.req { color: var(--red-ink); font-weight: 700; }
.req-note { margin: 0 0 16px; font-size: var(--fs-sm); color: var(--ink-2); }
::placeholder { color: var(--ink-2); opacity: 1; }

/* Hintergrund scrollt nicht, solange ein Dialog offen ist (Lightbox, Cookie-Einstellungen) */
body:has(dialog[open]) { overflow: hidden; }

/* Windows-Kontrastmodus: Zustände, die sonst nur über Schatten oder Hintergrund erkennbar sind */
@media (forced-colors: active) {
  .field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline-color: Highlight; }
  .swatch input:checked + span, .choice input:checked + span, .chip-btn[aria-pressed="true"] { outline: 3px solid Highlight; outline-offset: 2px; }
}

/* Druck: keine weißen Schriften auf (nicht gedruckten) Hintergründen */

/* ==========================================================================
   Leistungskatalog: Mega-Menü, Link-Chips, Footer-Zeile
   ========================================================================== */
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 7px 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 0.9375rem; font-weight: 600; line-height: 1.25; text-decoration: none;
}
.chip-links a:hover { border-color: var(--ink); background: var(--primer); color: var(--ink); }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.catalog-h { margin: 0 0 12px; font-size: 1.1875rem; font-stretch: 112%; }
.catalog-h a { color: var(--ink); text-decoration: none; }
.catalog-h a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.home-catalog { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.home-catalog > h3 { margin-bottom: 20px; }
@media (max-width: 960px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .catalog { grid-template-columns: minmax(0, 1fr); } .chip-links a { font-size: 0.875rem; } }

.footer-extra { padding-block: 0 24px; }
.footer-inline { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer-inline a { text-decoration: none; }
.footer-inline a:hover { text-decoration: underline; }

/* Mega-Menü: Desktop als breites Panel unter der Kopfzeile */
.sub.mega .mega-col > ul { list-style: none; margin: 0; padding: 0; }
.sub.mega .mega-head { font-weight: 800; }
@media (min-width: 1250px) {
  .header-inner { position: relative; }
  .nav-list > li.has-sub { position: static; }
  .sub.mega {
    left: 0; right: 0; top: 100%; min-width: 0;
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px 22px;
    padding: 18px 22px 22px; border-radius: 0 0 14px 14px;
  }
  .sub.mega > .mega-all { grid-column: 1 / -1; margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .sub.mega > .mega-all a { display: inline-block; font-weight: 700; }
  .sub.mega .mega-head { padding: 8px 8px 6px; font-size: 1rem; font-stretch: 110%; }
  .sub.mega .mega-col > ul a { padding: 5px 8px; font-size: 0.875rem; font-weight: 500; line-height: 1.3; white-space: normal; }
}
@media (max-width: 1249px) {
  .sub.mega .mega-head { padding-top: 12px; }
  .sub.mega .mega-col > ul { padding-left: 12px; }
  .sub.mega .mega-col > ul a { font-size: 1rem; padding: 8px 12px; }
}


/* Leistungskatalog ruhig: schlichte Listen, Akkordeon, Aufklapp-Knopf */
.cat-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.cat-links a { display: inline-block; padding: 5px 0; color: var(--ink); text-decoration: none; font-size: 0.96875rem; line-height: 1.35; }
.cat-links a:hover { color: var(--red-ink); text-decoration: underline; }
.catalog--plain { gap: 24px 40px; }
.catalog--plain .catalog-h { font-size: 1.0625rem; margin-bottom: 6px; }
.svc-all { margin-top: clamp(24px, 3vw, 36px); }
.svc-all > summary {
  display: flex; justify-content: center; align-items: center; gap: 10px; width: fit-content; margin-inline: auto;
  min-height: 44px; padding: 10px 20px; border: 1.5px solid var(--field-line, #6b7782); border-radius: 999px;
  background: #fff; font-weight: 700; cursor: pointer; list-style: none;
}
.svc-all > summary::-webkit-details-marker { display: none; }
.svc-all > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.svc-all[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.svc-all > summary:hover { border-color: var(--ink); }
.svc-all[open] > .catalog { margin-top: 28px; padding: clamp(20px, 3vw, 32px); background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.cat-acc { border-top: 1px solid var(--line); }
.cat-item { border-bottom: 1px solid var(--line); }
.cat-item > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; cursor: pointer; list-style: none; }
.cat-item > summary::-webkit-details-marker { display: none; }
.cat-name { font-weight: 800; font-stretch: 112%; font-size: 1.1875rem; }
.cat-count { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 0.9375rem; white-space: nowrap; }
.cat-count::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.cat-item[open] .cat-count::after { transform: translateY(2px) rotate(-135deg); }
.cat-item > summary:hover .cat-name { color: var(--red-ink); }
.cat-body { padding: 0 4px 22px; }
.cat-body .cat-links { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.cat-go { margin: 12px 0 0; }
.mega-more a { font-weight: 700 !important; color: var(--red-ink) !important; }
@media (max-width: 760px) { .cat-body .cat-links { grid-template-columns: minmax(0, 1fr); } }

@media print {
  .section { padding-block: 12pt; }
  .table thead th { background: none; color: #000; border-bottom: 2px solid #000; }
  .btn, .chip-btn[aria-pressed="true"], .steps li::before { background: none !important; color: #000 !important; border: 1.5pt solid #000; }
  img, figure, tr, .facts, .note { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
}

/* ---------- Kirchen & Sanierung: Übersicht aller Sanierungen ---------- */
.san-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.san-grid a { display: grid; gap: 4px; height: 100%; padding: 18px 44px 18px 20px; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.san-grid a::after { content: "→"; position: absolute; right: 18px; top: 18px; font-weight: 800; color: var(--red-ink); transition: transform .15s; }
.san-grid a:hover { border-color: var(--ink); transform: translateY(-2px); }
.san-grid a:hover::after { transform: translateX(3px); }
.san-grid strong { font-size: 1.0625rem; }
.san-grid span { font-size: var(--fs-sm); color: var(--ink-2); }

/* ---------- Farbgestalter ---------- */
.cz { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.cz-stage { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); }
.cz-stage canvas { display: block; width: 100%; height: auto; border-radius: 10px; cursor: crosshair; background: repeating-linear-gradient(135deg, #eef1f3 0 14px, #e6eaed 14px 28px); }
.cz-panel { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.cz-step { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.cz-num { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.cz-label { display: block; margin: 4px 0 8px; font-weight: 700; }
.cz-current { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink-2); }
.cz-current::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,.2); }
.cz-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.cz-swatch { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px var(--field-line); cursor: pointer; transition: transform .15s; }
.cz-swatch:hover { transform: scale(1.08); }
.cz-swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
.cz-custom { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: var(--fs-sm); }
.cz-custom input { width: 44px; height: 32px; padding: 0; border: 1px solid var(--field-line); border-radius: 6px; background: #fff; }
.cz-tol { display: block; font-size: var(--fs-sm); }
.cz-step input[type="range"] { width: 100%; accent-color: var(--ink); }
.cz-step input[type="file"] { max-width: 100%; font-size: var(--fs-sm); }
.cz-status { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--primer); font-size: var(--fs-sm); }
.cz-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cz-actions button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 900px) { .cz { grid-template-columns: minmax(0, 1fr); } }
.embed--tall { aspect-ratio: auto; height: min(82vh, 780px); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.embed-out { margin-top: 12px; font-size: var(--fs-sm); }

/* ---------- Farbgestalter sichtbar machen: Navigation, Mega-Menü, Startseite ---------- */
.nav-dot { display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px; border-radius: 50%; flex: none;
  background: conic-gradient(#e31e25, #fded01, #2f7d4f, #01a0e2, #7a2a20, #e31e25); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(27,37,48,.25); }
.nav-hl > a { display: inline-flex; align-items: center; }
.mega-all { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.mega-farbe { display: inline-flex !important; align-items: center; font-weight: 700 !important; }
.btn--farbe { display: inline-flex; align-items: center; }
.farb-teaser { background: var(--ink); color: #fff; overflow: hidden; }
.farb-teaser h2 { color: #fff; }
.farb-teaser .lead { color: #d8dee3; }
.farb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.farb-kicker { font-family: var(--f-hand); font-size: 1.25rem; color: var(--yellow); }
.farb-pick { margin: 18px 0 10px; color: #d8dee3; }
.farb-pick strong { color: #fff; }
.farb-swatches .cz-swatch { width: 48px; height: 48px; border-color: var(--ink); box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.farb-swatches .cz-swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff; }
.farb-teaser .btn-row { margin-top: 24px; }
.farb-teaser .btn--line { color: #fff; border-color: #fff; }
.farb-teaser .btn--line:hover { background: #fff; color: var(--ink); }
.farb-stage { position: relative; border-radius: 16px; background: #fff; padding: 10px; transform: rotate(1.2deg); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.farb-stage canvas { display: block; width: 100%; height: auto; border-radius: 10px; aspect-ratio: 3 / 2; background: #e6eaed; }
.farb-stage .tape { position: absolute; top: -14px; left: 24px; }
@media (max-width: 900px) { .farb-grid { grid-template-columns: minmax(0, 1fr); } .farb-stage { order: -1; transform: none; } }

/* ---------- Webdesign-Hinweis (Vorlage FlowDesign Workflow/Vorlagen/Webdesign-Hinweis, unverändert) ---------- */
/* Webdesign-Hinweis „Designed by FlowDesign“ – Pflicht im Footer jeder Kundenseite (service-basis.md, Abschnitt 4).
   Varianten: --hell (Standard, heller Footer) · --dunkel · --auto (folgt Hell/Dunkel-Modus der Seite) · --mono (farbiger Grund).
   Text und altes Band nehmen die Textfarbe des Footers an; nur der Akzent wechselt. Nicht umfärben, nicht skalieren außer über die Höhe. */
.designed-by {
  --db-text: currentColor;
  --db-akzent: #0e9c86;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 0;
  color: inherit;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}
.designed-by:hover { opacity: 0.78; }
.designed-by:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.designed-by__bild { display: block; height: 20px; width: auto; }
.designed-by .db-text { fill: var(--db-text); }
.designed-by .db-alt { stroke: var(--db-text); }
.designed-by .db-neu { stroke: var(--db-akzent); }
.designed-by .db-akzent { fill: var(--db-akzent); }
.designed-by--dunkel { --db-akzent: #62f0d8; }
.designed-by--mono { --db-akzent: currentColor; }
@media (prefers-color-scheme: dark) { .designed-by--auto { --db-akzent: #62f0d8; } }
:root:is(.dark, [data-theme="dark"]) .designed-by--auto { --db-akzent: #62f0d8; }
:root:is(.light, [data-theme="light"]) .designed-by--auto { --db-akzent: #0e9c86; }
@media (max-width: 480px) { .designed-by__bild { height: 18px; } }
@media (prefers-reduced-motion: reduce) { .designed-by { transition: none; } }
@media (forced-colors: active) {
  .designed-by .db-text, .designed-by .db-akzent { fill: LinkText; }
  .designed-by .db-alt, .designed-by .db-neu { stroke: LinkText; }
}
.footer-credit { display: flex; justify-content: center; padding: 18px 0 4px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 18px; }
.site-footer .designed-by, .site-footer .designed-by:hover { color: #fff; }
