/* Schiefergrat Dach & Spenglerei – Demo · FatCat Digital
   Stil: solide, vertrauensvoll, regional. Schiefer, Ziegel, Kupfer, warmes Papier.
   Maße in rem (4K-Skalierung am Dateiende). */

@font-face {
  font-family: "Bitter";
  src: url("fonts/bitter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-german.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --slate-950: #171b1e;
  --slate-900: #1e2327;   /* Schiefer dunkel */
  --slate-800: #282e33;
  --slate-700: #363e44;
  --slate-500: #5f686f;
  --paper: #f4f0e9;       /* Kalkputz warm */
  --paper-2: #e8e1d5;
  --line: rgba(30,35,39,.16);
  --line-dark: rgba(244,240,233,.16);
  --ink: #1e2327;         /* Text auf hell */
  --muted: #50585e;       /* auf --paper 6.4:1, auf --paper-2 5.6:1 */
  --text-dark: #f1ece4;   /* Text auf dunkel */
  --muted-dark: #b3b9bd;  /* auf --slate-900 8.0:1 */
  --tile: #a1452a;        /* Ziegelrot: Flächen + Text auf hell (5.4:1 auf --paper, 4.75:1 auf --paper-2) */
  --tile-deep: #84361f;
  --tile-light: #e3916a;  /* Ziegel auf dunkel (6.4:1 auf --slate-900) */
  --copper: #b8743f;      /* nur Deko */
  --serif: "Bitter", "Rockwell", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 77.5rem;
  --radius: .25rem;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em { font-style: normal; color: var(--tile); }

:focus-visible { outline: 3px solid var(--tile); outline-offset: 3px; border-radius: 2px; }
.section-slate :focus-visible, .hero-text :focus-visible, .site-header :focus-visible,
.demobar :focus-visible, .site-footer :focus-visible { outline-color: var(--tile-light); }

.skip {
  position: absolute; left: .5rem; top: -4rem; z-index: 100;
  background: var(--tile); color: #fff; padding: .6rem .9rem; font-weight: 700; text-decoration: none;
}
.skip:focus { top: .5rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Topbar: Demo-Hinweis + Header ---------- */
.topbar { position: sticky; top: 0; z-index: 50; }

.demobar {
  margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: .1rem .9rem;
  padding: .35rem var(--gutter);
  background: var(--slate-950); color: #e4e0d9;
  font-size: .75rem; line-height: 1.35; text-align: center;
}
.demobar a { color: var(--tile-light); font-weight: 600; text-underline-offset: 2px; }
.demobar a:hover { color: #fff; }

.site-header {
  background: rgba(30,35,39,.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--text-dark);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 2.5rem; height: 2rem; color: var(--text-dark); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: .01em; }
.brand-sub { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-top: .2rem; }

.nav { display: none; }
.nav ul { display: flex; gap: 1.75rem; }
.nav a { text-decoration: none; font-size: .9375rem; color: var(--muted-dark); padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text-dark); border-bottom-color: var(--tile-light); }
@media (min-width: 60em) { .nav { display: block; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.4rem;
  font: 600 1rem/1.2 var(--sans); text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 2.5rem; padding: .5rem .9rem; font-size: .875rem; }
.btn-tile { background: var(--tile); color: #fff; }
.btn-tile:hover { background: var(--tile-deep); }
.btn-line { border-color: rgba(241,236,228,.55); color: var(--text-dark); }
.btn-line:hover { border-color: var(--text-dark); background: rgba(241,236,228,.08); }
.btn-block { width: 100%; }
@media (max-width: 23.75em) { .site-header .btn-sm { display: none; } }
.site-header .btn-sm { white-space: nowrap; gap: .3em; }
@media (max-width: 47.99em) { .hide-s { display: none; } }

.eyebrow {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  margin: 0 0 1rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--tile);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; flex: none; }
.eyebrow-light { color: var(--tile-light); }
.hero-eyebrow { flex-wrap: nowrap; align-items: flex-start; }
.hero-eyebrow::before { margin-top: .55em; }
.tag {
  font-size: .6875rem; letter-spacing: .08em; padding: .15rem .5rem; border-radius: 2rem;
  border: 1px solid currentColor; color: var(--muted-dark);
}

/* ---------- Hero (geteilt: Schieferfläche + Bild) ---------- */
.hero { display: grid; background: var(--slate-900); color: var(--text-dark); }
.hero-media { position: relative; overflow: hidden; order: -1; height: 46vh; min-height: 16rem; max-height: 32rem; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 30%; }
.hero-caption {
  position: absolute; right: .75rem; bottom: .6rem;
  font-size: .75rem; color: #fff; background: rgba(23,27,30,.7); padding: .2rem .55rem; border-radius: 2px;
}
.hero-text { display: flex; flex-direction: column; justify-content: space-between; padding: 2.5rem var(--gutter) 2rem; position: relative; }
/* Firstlinie als Ornament */
.hero-text::before {
  content: ""; position: absolute; left: var(--gutter); top: 0; width: 5rem; height: .25rem; background: var(--tile-light);
}
.hero-title { font-size: clamp(2.25rem, 9vw, 3.4rem); font-weight: 650; line-height: 1.04; margin-bottom: 1.4rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--tile-light); font-weight: 500; }
.hero-lead { color: var(--muted-dark); font-size: 1.125rem; max-width: 34rem; margin-bottom: 1.75rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-facts {
  display: grid; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
}
.hero-facts li { display: flex; flex-direction: column; font-size: .875rem; color: var(--muted-dark); line-height: 1.4; }
.hero-facts strong { font-family: var(--serif); font-size: 1.0625rem; color: var(--text-dark); font-weight: 600; }

@media (min-width: 40em) {
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 60em) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 6.5rem); }
  .hero-title { font-size: clamp(2.25rem, 4.4vw, 3.6rem); }
  .hero-media { order: 0; height: auto; max-height: none; min-height: 34rem; }
  .hero-text { padding: 4.5rem 3.5rem 2.5rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .hero-text::before { left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .hero-facts { grid-template-columns: 1fr; gap: .9rem; margin-top: clamp(2.5rem, 9vh, 6rem); }
  /* Text als Block mittig statt oben/unten auseinandergezogen (sonst klafft auf hohen Schirmen ein Loch) */
  .hero-text { justify-content: center; }
}
@media (min-width: 75em) {
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Signatur: Ziegelband ---------- */
.roofband { background: var(--slate-900); color: var(--text-dark); overflow: hidden; }
.roof-tiles {
  position: relative; height: 11rem; overflow: hidden;
  border-top: .375rem solid var(--slate-700);
  /* Ohne JS: Biberschwanz-Muster als Fläche */
  background-color: var(--slate-800);
  background-image:
    radial-gradient(ellipse 1.6rem 1.4rem at 50% 0, transparent 92%, rgba(0,0,0,.35) 95%, transparent 100%),
    linear-gradient(90deg, rgba(0,0,0,.25) 1px, transparent 1px);
  background-size: 3.25rem 2.25rem, 3.25rem 2.25rem;
}
.roof-tiles.is-js { background-image: none; background-color: var(--slate-950); }
.roof-row { position: absolute; left: -1.625rem; display: flex; white-space: nowrap; }
.roof-row.is-offset { left: -3.25rem; }
.tile {
  flex: none; width: 3.25rem; height: 4.25rem; margin-right: 0;
  border-radius: 0 0 1.625rem 1.625rem / 0 0 1.4rem 1.4rem;
  background: linear-gradient(180deg, var(--c, #3a4247) 0%, var(--c, #3a4247) 70%, rgba(0,0,0,.18) 100%), var(--c, #3a4247);
  box-shadow: inset 0 -.15rem 0 rgba(255,255,255,.06), 0 .2rem .35rem rgba(0,0,0,.35);
  border-left: 1px solid rgba(0,0,0,.28);
}
.tile.is-copper { --c: #9a5f35; }
/* Ziegel-Ebenen vorab anlegen und rastern (sonst Raster-Schub je Reihe beim Scrollen: 20 % → 0 % Frames > 33 ms, gemessen 2026-11-12) */
.roof-tiles.is-js .tile { will-change: transform, opacity; }
.roof-ridge {
  position: absolute; left: 0; right: 0; top: 0; height: .5rem; z-index: 40;
  background: linear-gradient(180deg, var(--copper), #7c4a28);
}
.roofband-inner { padding-block: 3rem 3.5rem; display: grid; gap: 1rem; }
.roofband-title { font-size: clamp(1.9rem, 5vw, 3rem); }
.roofband-title span { color: var(--tile-light); font-weight: 500; }
.roofband-text { color: var(--muted-dark); max-width: 40rem; font-size: 1.0625rem; margin: 0; }
@media (min-width: 60em) {
  .roof-tiles { height: 14rem; }
  .roofband-inner { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 4rem; padding-block: 4rem 5rem; }
  .roofband-inner .eyebrow { grid-column: 1 / -1; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-paper { background: var(--paper); }
.section-paper2 { background: var(--paper-2); }
.section-slate { background: var(--slate-900); color: var(--text-dark); }
.section-slate em { color: var(--tile-light); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title { font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin-bottom: 1.1rem; }
.section-title em { font-weight: 500; }
.section-lead { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section-slate .section-lead { color: var(--muted-dark); }
.section-head-split { max-width: none; display: grid; gap: 1.5rem; }
@media (min-width: 60em) {
  .section-head-split { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; }
}

/* ---------- Leistungen ---------- */
.services { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.service-feature { display: grid; gap: 1.5rem; align-items: center; }
.service-feature img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 1.25rem 2.5rem -1.5rem rgba(30,35,39,.45);
}
.service-no { font-family: var(--serif); font-size: .9375rem; font-weight: 600; color: var(--tile); letter-spacing: .1em; margin-bottom: .5rem; }
.service h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .75rem; }
.service-body p { color: var(--muted); max-width: 34rem; }
.ticks { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.ticks li {
  font-size: .875rem; padding: .3rem .75rem; border: 1px solid var(--line); border-radius: 2rem; background: rgba(255,255,255,.5);
}
@media (min-width: 48em) {
  .service-feature { grid-template-columns: 7fr 5fr; gap: 3rem; }
  .service-flip img { order: 2; }
  .service-flip { grid-template-columns: 5fr 7fr; }
}

.services-small { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-small { background: var(--paper); padding: 2rem 1.5rem; }
.service-small h3 { font-size: 1.375rem; }
.service-small p { color: var(--muted); margin: 0; }
.service-icon { width: 3rem; height: 3rem; color: var(--slate-700); margin-bottom: 1rem; }
@media (min-width: 48em) { .services-small { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Sturmschaden ---------- */
.storm { position: relative; overflow: hidden; }
.storm::after {
  /* stilisierte Dachneigung als Hintergrund */
  content: ""; position: absolute; right: -10rem; top: -6rem; width: 34rem; height: 34rem;
  border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark);
  transform: rotate(45deg); pointer-events: none;
}
.storm-grid { display: grid; gap: 3rem; position: relative; z-index: 1; }
.storm-phone {
  display: inline-flex; flex-direction: column; margin-top: 2rem; padding: 1rem 1.4rem;
  border-left: .25rem solid var(--tile-light); background: var(--slate-800); text-decoration: none;
}
.storm-phone-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.storm-phone-number { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.storm-phone:hover .storm-phone-number { color: var(--tile-light); }
.storm-note { margin-top: 1rem; font-size: .875rem; color: var(--muted-dark); max-width: 28rem; }
.storm-steps { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); counter-reset: s; }
.storm-steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.5rem; background: var(--slate-900); }
.storm-no {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 2px solid var(--tile-light); color: var(--tile-light); font-family: var(--serif); font-weight: 700; font-size: 1.125rem;
}
.storm-steps h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.storm-steps p { margin: 0; color: var(--muted-dark); }
@media (min-width: 60em) {
  .storm-grid { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: start; }
}

/* ---------- Material ---------- */
.materials { display: grid; gap: 1.5rem; }
.material { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); }
.material-img { overflow: hidden; aspect-ratio: 3 / 2; }
.material-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.material:hover .material-img img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .material:hover .material-img img { transform: none; } }
.material figcaption { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.material h3 { font-size: 1.375rem; margin-bottom: .5rem; }
.material p { color: var(--muted); }
.specs { margin: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.specs dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; font-size: .9375rem; }
@media (min-width: 48em) { .materials { grid-template-columns: repeat(3, 1fr); } }

.quality { display: grid; gap: 2.5rem; margin-top: clamp(3rem, 6vw, 5rem); }
.quality-list { display: grid; gap: 1.75rem; }
.quality-list h3 { font-size: 1.25rem; margin-bottom: .35rem; display: flex; align-items: center; gap: .6rem; }
.quality-list h3::before {
  content: ""; width: .75rem; height: .9rem; flex: none; background: var(--tile);
  border-radius: 0 0 .4rem .4rem;
}
.quality-list p { margin: 0; color: var(--muted); }
.quote {
  margin: 0; padding: 2rem; background: var(--slate-900); color: var(--text-dark); border-radius: var(--radius);
  position: relative;
}
.quote::before {
  content: ""; position: absolute; left: 2rem; top: -1px; width: 3.5rem; height: .25rem; background: var(--tile-light);
}
.quote p { font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 400; line-height: 1.45; }
.quote footer { font-size: .875rem; color: var(--muted-dark); }
@media (min-width: 60em) {
  .quality { grid-template-columns: 6fr 5fr; gap: 4rem; align-items: center; }
  .quote { padding: 2.75rem; }
}

/* ---------- Ablauf ---------- */
.ablauf-grid { display: grid; gap: 1rem; }
.ablauf-head .btn { margin-top: 2rem; }
.steps { position: relative; --progress: 1; }
/* Sparren-Linie: wächst mit dem Scrollfortschritt (per JS), ohne JS voll */
.steps::before, .steps::after {
  content: ""; position: absolute; left: 1.4rem; top: .5rem; bottom: .5rem; width: 2px;
}
.steps::before { background: var(--line); }
.steps::after { background: var(--tile); transform-origin: top; transform: scaleY(var(--progress)); }
.step { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; padding-bottom: 2.25rem; }
.step:last-child { padding-bottom: 0; }
.step-no {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 2.875rem; height: 2.875rem; background: var(--paper); border: 2px solid var(--tile); border-radius: 50%;
  font-family: var(--serif); font-weight: 700; font-size: .9375rem; color: var(--tile);
  transition: background-color .3s, color .3s;
}
.steps.is-js .step.is-on .step-no { background: var(--tile); color: #fff; }
.step h3 { font-size: 1.375rem; margin: .45rem 0 .5rem; }
.step p { margin: 0; color: var(--muted); max-width: 36rem; }
@media (min-width: 60em) {
  .ablauf-grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .ablauf-head { position: sticky; top: 9rem; }
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 3rem; }
.address { font-style: normal; margin-top: 2rem; line-height: 1.6; }
.contact-lines { margin-top: 1.5rem; display: grid; gap: .6rem; }
.contact-lines li { display: grid; grid-template-columns: 5rem 1fr; gap: .5rem; color: var(--text-dark); }
.contact-lines span { color: var(--muted-dark); font-size: .875rem; padding-top: .1rem; }
.contact-lines a { text-underline-offset: 3px; }
.contact-lines small { color: var(--muted-dark); }

.form { background: var(--paper); color: var(--ink); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); display: grid; gap: 1.1rem; }
.form :focus-visible { outline-color: var(--tile); }
.form-hint { margin: 0; font-size: .875rem; color: var(--muted); }
.form-choice { border: 0; margin: 0; padding: 0; }
.form-choice legend { font-weight: 600; font-size: .9375rem; margin-bottom: .6rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: .5rem .95rem; border: 1px solid var(--slate-500); border-radius: 2rem; font-size: .9375rem;
  transition: background-color .2s, color .2s;
}
.chip input:checked + span { background: var(--slate-900); border-color: var(--slate-900); color: var(--text-dark); }
.chip input:focus-visible + span { outline: 3px solid var(--tile); outline-offset: 2px; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 36em) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #8a9095; border-radius: var(--radius); padding: .7rem .8rem; min-height: 3rem;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field textarea:focus { border-color: var(--slate-900); }
.field textarea::placeholder { color: #6b7277; }
.consent { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; font-size: .875rem; color: var(--muted); align-items: start; }
.consent input { width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; accent-color: var(--tile); }
.form-status { margin: 0; font-weight: 600; }
.form-status.is-shown { padding: .85rem 1rem; background: var(--slate-900); color: var(--text-dark); border-left: .25rem solid var(--tile-light); border-radius: var(--radius); }
@media (min-width: 60em) {
  .contact-grid { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: start; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-950); color: var(--muted-dark); font-size: .875rem; padding-block: 2.5rem; border-top: .375rem solid var(--slate-700); }
.footer-inner { display: grid; gap: .75rem; }
.footer-inner p { margin: 0; }
.footer-brand strong { font-family: var(--serif); color: var(--text-dark); font-size: 1rem; }
.site-footer a { color: var(--text-dark); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--tile-light); }
.footer-legal { display: flex; gap: 1.5rem; }
@media (min-width: 60em) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-legal { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- 4K: alles skaliert mit (Vorgabe DEMOS.md) ---------- */
@media (min-width: 1921px) { html { font-size: calc(100% + (100vw - 1920px) / 192); } }

/* Bildpipeline 2026-11-11: <picture> erzeugt keine eigene Box — Layout bleibt wie beim nackten <img> */
picture { display: contents; }
picture > source { display: none; } /* sonst wird <source> unter display:contents zum Grid-Element (handel: Bild 0 px hoch) */
