/* Topal GmbH — Gestaltungssystem
   Branchenstandard auf Baustoffhersteller-Niveau. Hell, technisch präzise. */

/* ---------- Schrift, lokal ---------- */
@font-face{
  font-family:"Archivo";
  src:url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight:400 700; font-style:normal; font-display:swap;
  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";
  src:url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight:400 700; font-style:normal; font-display:swap;
  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;
}

/* ---------- Marken ---------- */
:root{
  --ground:#ffffff;
  --ground-2:#f7f5f1;
  --ground-3:#eeeae3;
  --ink:#1a1814;
  --ink-2:#4e4a43;
  --ink-3:#6f6a61;
  --line:#ded9d0;
  --line-strong:#c4bdb1;
  --brand:#3b5999;
  --brand-dark:#2c4479;
  --brand-darker:#22355e;
  --brand-tint:#eef2fa;
  --focus:#1d4ed8;

  --sp-1:.25rem; --sp-2:.5rem;  --sp-3:.75rem; --sp-4:1rem;
  --sp-5:1.5rem; --sp-6:2rem;   --sp-7:3rem;   --sp-8:4rem;
  --sp-9:6rem;   --sp-10:8rem;

  --r:2px;
  --shadow-1:0 1px 2px rgba(22,24,29,.07), 0 1px 1px rgba(22,24,29,.04);
  --shadow-2:0 6px 16px rgba(22,24,29,.09), 0 2px 4px rgba(22,24,29,.05);

  --wrap:76rem;
  --measure:68ch;
  --header-h:4.25rem;
}

/* ---------- Grundlagen ---------- */
*,*::before,*::after{box-sizing:border-box}
html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

body{
  margin:0;
  background:var(--ground);
  color:var(--ink);
  font-family:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:1.0625rem;
  line-height:1.6;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* Browser-Oberflächen gehören zum Entwurf */
::selection{background:var(--brand);color:#fff}
:root{caret-color:var(--brand);accent-color:var(--brand);color-scheme:light}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:2px solid var(--focus); outline-offset:2px; border-radius:var(--r);
}
:where(a,button,input,select,textarea):focus:not(:focus-visible){outline:none}
*{scrollbar-color:var(--line-strong) var(--ground-2);scrollbar-width:thin}
::-webkit-scrollbar{width:12px;height:12px}
::-webkit-scrollbar-track{background:var(--ground-2)}
::-webkit-scrollbar-thumb{background:var(--line-strong);border:3px solid var(--ground-2);border-radius:999px}
::-webkit-scrollbar-thumb:hover{background:var(--ink-3)}

img,svg,video{display:block;max-width:100%}
img{height:auto;background:var(--ground-3)}

h1,h2,h3,h4{
  margin:0; font-weight:700; line-height:1.12;
  letter-spacing:-.021em; text-wrap:balance; color:var(--ink);
}
h1{font-size:clamp(2.05rem,1.25rem + 3.1vw,3.5rem);letter-spacing:-.028em;line-height:1.05}
h2{font-size:clamp(1.6rem,1.15rem + 1.7vw,2.4rem);letter-spacing:-.024em}
h3{font-size:clamp(1.125rem,1.02rem + .4vw,1.3rem);letter-spacing:-.014em;font-weight:650}
h4{font-size:1rem;font-weight:650;letter-spacing:-.008em}
p{margin:0}
:is(h2,h3,h4) + p{margin-top:var(--sp-3)}

a{color:var(--brand-dark);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{color:var(--brand-darker);text-decoration-thickness:2px}

ul,ol{margin:0;padding:0}
strong,b{font-weight:650}
small{font-size:.875rem}

.wrap{width:min(100% - 2.5rem,var(--wrap));margin-inline:auto}
@media (max-width:36rem){ .wrap{width:calc(100% - 2rem)} }

.skip{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--ink);color:#fff;padding:.75rem 1.25rem;font-weight:600;
}
.skip:focus{left:.5rem;top:.5rem}
.skip:hover,.skip:focus,.skip:active{color:#fff;background:var(--ink)}

.lead{
  font-size:clamp(1.0625rem,1rem + .35vw,1.25rem);
  line-height:1.55;color:var(--ink-2);max-width:var(--measure);
}
.prose{max-width:var(--measure)}
.prose > * + *{margin-top:var(--sp-4)}
.prose h3{margin-top:var(--sp-6)}
.num{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1}

.eyebrow-free{}

/* ---------- Kopf ---------- */
.header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
}
.header__bar{
  display:flex;align-items:center;gap:var(--sp-5);
  min-height:var(--header-h);
}
.brand{display:inline-flex;align-items:center;text-decoration:none;flex:0 0 auto;color:var(--brand)}
.brand svg{width:9.25rem;height:auto}
.brand:hover{color:var(--brand-dark)}

.nav{margin-left:auto;display:flex;align-items:center;gap:var(--sp-1)}
.nav a{
  display:inline-block;padding:.55rem .7rem;border-radius:var(--r);
  color:var(--ink-2);text-decoration:none;font-size:.9375rem;font-weight:550;
  letter-spacing:-.005em;white-space:nowrap;
}
.nav a:hover{color:var(--ink);background:var(--ground-2)}
.nav a[aria-current="page"]{color:var(--brand-dark);font-weight:650;box-shadow:inset 0 -2px 0 var(--brand)}

.navtoggle{
  display:none;margin-left:auto;align-items:center;gap:.5rem;
  background:none;border:1px solid var(--line-strong);border-radius:var(--r);
  padding:.5rem .7rem;font:inherit;font-size:.875rem;font-weight:600;color:var(--ink);cursor:pointer;
}
.navtoggle:hover{background:var(--ground-2)}
.navtoggle svg{width:1.5rem;height:1.5rem;flex:0 0 auto}

/* ---------- Schaltflächen ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  padding:.8rem 1.15rem;min-height:2.9rem;
  border:1px solid transparent;border-radius:var(--r);
  font:inherit;font-size:.9375rem;font-weight:650;letter-spacing:-.006em;
  text-decoration:none;cursor:pointer;
  transition:background-color .15s ease-out,border-color .15s ease-out,color .15s ease-out;
}
.btn svg{width:1.15em;height:1.15em;flex:0 0 auto}
.btn--primary{background:var(--brand);color:#fff}
.btn--primary:hover{background:var(--brand-dark);color:#fff}
.btn--secondary{background:var(--ground);color:var(--ink);border-color:var(--line-strong)}
.btn--secondary:hover{background:var(--ground-2);border-color:var(--ink-3);color:var(--ink)}
.btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.btn--ghost:hover{background:rgba(255,255,255,.12);color:#fff;border-color:#fff}
.btn--lg{padding:.95rem 1.5rem;min-height:3.25rem;font-size:1rem}
.btn--phone .num{letter-spacing:0}

.header .btn{flex:0 0 auto}

/* ---------- Abschnitte ---------- */
.section{padding-block:3rem;padding-block:clamp(3rem,2rem + 5vw,5.5rem)}
.section--tint{background:var(--ground-2);border-block:1px solid var(--line)}
.section__head{max-width:var(--measure);margin-bottom:var(--sp-6)}
.section__head p{margin-top:var(--sp-3)}

/* ---------- Aufmacher ---------- */
.hero{border-bottom:1px solid var(--line);background:var(--ground)}
.hero__grid{
  display:grid;gap:clamp(2rem,1rem + 4vw,4rem);
  grid-template-columns:1fr;
  align-items:center;
  padding-block:2.5rem;
  padding-block:clamp(2.5rem,1.5rem + 5vw,5rem);
}
@media (min-width:60rem){
  .hero__grid{grid-template-columns:1.05fr .95fr}
}
.hero__text > * + *{margin-top:var(--sp-5)}
.hero__actions{display:flex;flex-wrap:wrap;gap:var(--sp-3)}
.hero__media{position:relative}
.hero__media img{
  width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r);
}
@media (max-width:59.99rem){ .hero__media img{aspect-ratio:16/11} }
.hero__caption{
  margin-top:var(--sp-2);font-size:.8125rem;color:var(--ink-3);
  letter-spacing:.005em;
}

.pledges{
  display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-5);
  padding-top:var(--sp-2);
}
.pledges li{display:flex;align-items:flex-start;gap:.5rem;list-style:none;font-size:.9375rem;font-weight:550;color:var(--ink)}
.pledges svg{width:1.15rem;height:1.15rem;flex:0 0 auto;color:var(--brand);margin-top:.16rem}

/* ---------- Leistungen ---------- */
.cards{display:grid;gap:var(--sp-5);grid-template-columns:1fr}
@media (min-width:38rem){ .cards{grid-template-columns:repeat(2,1fr)} }
@media (min-width:64rem){ .cards{grid-template-columns:repeat(4,1fr);gap:var(--sp-4)} }

.card{
  display:flex;flex-direction:column;
  background:var(--ground);border:1px solid var(--line);border-radius:var(--r);
  overflow:hidden;box-shadow:var(--shadow-1);
  transition:box-shadow .18s ease-out,border-color .18s ease-out,transform .18s ease-out;
}
.card:hover{box-shadow:var(--shadow-2);border-color:var(--line-strong);transform:translateY(-2px)}
.card img{width:100%;aspect-ratio:3/2;object-fit:cover}
.card__body{padding:var(--sp-4) var(--sp-4) var(--sp-5);display:flex;flex-direction:column;gap:var(--sp-2);flex:1}
.card__body p{color:var(--ink-2);font-size:1rem;line-height:1.55}
.card__more{
  margin-top:auto;padding-top:var(--sp-3);
  display:inline-flex;align-items:center;gap:.4rem;
  font-size:.9375rem;font-weight:650;color:var(--brand-dark);text-decoration:none;
}
.card a.card__link::after{content:"";position:absolute;inset:0}
.card{position:relative}
.card__more svg{width:1em;height:1em;transition:transform .18s ease-out}
.card:hover .card__more svg{transform:translateX(3px)}
.card:hover .card__more{text-decoration:underline;text-underline-offset:.2em}

/* ---------- Zusagenliste ---------- */
.checks{display:grid;gap:var(--sp-3) var(--sp-6);grid-template-columns:1fr}
@media (min-width:44rem){ .checks{grid-template-columns:repeat(2,1fr)} }
.checks li{display:flex;gap:.7rem;list-style:none;align-items:flex-start;line-height:1.5}
.checks svg{width:1.2rem;height:1.2rem;flex:0 0 auto;color:var(--brand);margin-top:.22rem}

/* ---------- Galerie ---------- */
.gallery{display:grid;gap:var(--sp-4);grid-template-columns:repeat(2,1fr)}
@media (min-width:48rem){ .gallery{grid-template-columns:repeat(3,1fr)} }
/* In einer Textspalte werden vier Spalten zu Briefmarken. Zwei Spalten mit
   gedeckelter Breite bleiben lesbar, ohne die Seite zu erschlagen. */
.gallery--breit{grid-template-columns:repeat(2,1fr)}
/* spezifischer als .stack > * {max-width:100%}, sonst greift der Deckel nicht */
.stack > .gallery--breit{max-width:40rem}
@media (min-width:48rem){ .gallery--breit{grid-template-columns:repeat(2,1fr)} }
.gallery figure{margin:0}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r);border:1px solid var(--line)}
.gallery figcaption{margin-top:.5rem;font-size:.8125rem;line-height:1.4;color:var(--ink-3)}

/* ---------- Tabellen, Maße ---------- */
.tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r);background:var(--ground);padding-block:1px}
table{border-collapse:collapse;width:100%;font-size:.9375rem;min-width:32rem}
caption{text-align:left;padding:var(--sp-3) var(--sp-4);font-weight:650;border-bottom:1px solid var(--line)}
th,td{padding:.7rem var(--sp-4);text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
thead th{
  background:var(--ground-2);font-weight:650;font-size:.8125rem;
  letter-spacing:.02em;text-transform:uppercase;color:var(--ink-2);
}
tbody tr:last-child :is(th,td){border-bottom:0}
td.num,th.num{font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}

/* ---------- Spaltensatz ---------- */
.cols{display:grid;gap:var(--sp-5) var(--sp-7);grid-template-columns:1fr}
@media (min-width:52rem){ .cols{grid-template-columns:repeat(2,1fr)} }
.cols--sidebar{grid-template-columns:1fr}
@media (min-width:60rem){ .cols--sidebar{grid-template-columns:minmax(0,1fr) 20rem;gap:var(--sp-8)} }

.deflist{border-top:1px solid var(--line);padding-top:.25rem}
.deflist > div{
  display:grid;grid-template-columns:1fr;gap:.15rem;
  padding-block:var(--sp-3);border-bottom:1px solid var(--line);
}
@media (min-width:34rem){ .deflist > div{grid-template-columns:11rem 1fr;gap:var(--sp-4)} }
.deflist dt{font-weight:650;font-size:1rem}
.deflist dd{margin:0;color:var(--ink-2);font-size:1rem}

.panel{
  background:var(--ground);border:1px solid var(--line);border-radius:var(--r);
  padding:var(--sp-5);box-shadow:var(--shadow-1);
}
.panel > * + *{margin-top:var(--sp-4)}
.panel--tint{background:var(--brand-tint);border-color:#cfdaf0;box-shadow:none}

/* ---------- Aufruf ---------- */
.cta{background:var(--brand);color:#fff;border-block:1px solid var(--brand-dark)}
.cta h2{color:#fff}
.cta p{color:#dfe6f5;max-width:var(--measure)}
.cta__grid{display:grid;gap:var(--sp-5);align-items:center;grid-template-columns:1fr}
@media (min-width:52rem){ .cta__grid{grid-template-columns:1.4fr auto} }
.cta__actions{display:flex;flex-wrap:wrap;gap:var(--sp-3)}
.cta .btn--primary{background:#fff;color:var(--brand-darker)}
.cta .btn--primary:hover{background:#eef2fa;color:var(--brand-darker)}

/* ---------- Formular ---------- */
.form{display:grid;gap:var(--sp-4)}
.field{display:grid;gap:.4rem}
.field label{font-weight:650;font-size:.9375rem}
.field .hint{font-size:.8125rem;color:var(--ink-3);font-weight:400}
.field :is(input,select,textarea){
  font:inherit;font-size:1rem;color:var(--ink);
  background:var(--ground);
  border:1px solid var(--line-strong);border-radius:var(--r);
  padding:.7rem .8rem;width:100%;
  transition:border-color .15s ease-out,box-shadow .15s ease-out;
}
.field :is(input,select,textarea)::placeholder{color:var(--ink-3);opacity:1}
.field :is(input,select,textarea):hover{border-color:var(--ink-3)}
.field :is(input,select,textarea):focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(59,89,153,.16)}
.field textarea{min-height:9rem;resize:vertical}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23474d59' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5 8 10.5l4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .7rem center;background-size:1.05rem;padding-right:2.4rem}
.field--pair{display:grid;gap:var(--sp-4);grid-template-columns:1fr}
@media (min-width:34rem){ .field--pair{grid-template-columns:repeat(2,1fr)} }
.consent{display:flex;gap:.7rem;align-items:flex-start}
.consent input{width:1.15rem;height:1.15rem;margin-top:.28rem;flex:0 0 auto}
.consent label{font-weight:400;font-size:.9375rem;line-height:1.5;color:var(--ink-2)}
.req{color:var(--brand-dark);font-weight:650}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- Fuß ---------- */
.footer{background:var(--ink);color:#cdc8bf;padding-block:var(--sp-7) var(--sp-6);font-size:.9375rem}
.footer a{color:#eae6df;text-decoration-color:rgba(234,230,223,.45)}
.footer a:hover{color:#fff;text-decoration-color:#fff}
.footer h2,.footer h3{color:#fff;font-size:.8125rem;letter-spacing:.06em;text-transform:uppercase;font-weight:650;margin-bottom:var(--sp-3)}
.footer__grid{display:grid;gap:var(--sp-6);grid-template-columns:1fr}
@media (min-width:44rem){ .footer__grid{grid-template-columns:repeat(2,1fr)} }
@media (min-width:64rem){ .footer__grid{grid-template-columns:1.3fr 1fr 1fr} }
.footer ul{list-style:none}
.footer li + li{margin-top:.45rem}
.footer__brand svg{width:9.5rem;height:auto;color:#fff}
.footer__note{
  margin-top:var(--sp-6);padding-top:var(--sp-4);border-top:1px solid #302c26;
  display:flex;flex-wrap:wrap;gap:var(--sp-2) var(--sp-5);
  font-size:.8125rem;color:#a09a90;
}

/* ---------- Seitenkopf der Unterseiten ---------- */
.pagehead{border-bottom:1px solid var(--line);padding-block:2rem;padding-block:clamp(2rem,1.4rem + 2.6vw,3.25rem)}
.crumbs{font-size:.8125rem;color:var(--ink-3);margin-bottom:var(--sp-3)}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem}
.crumbs li::after{content:"/";margin-left:.4rem;color:var(--line-strong)}
.crumbs li:last-child::after{content:""}
.crumbs a{color:var(--ink-3)}

/* ---------- Bewegung: ein orchestrierter Moment ---------- */
.js-reveal .reveal{opacity:0;transform:translateY(14px)}
.js-reveal .reveal.is-in{
  opacity:1;transform:none;
  transition:opacity .5s cubic-bezier(.16,1,.3,1),transform .55s cubic-bezier(.16,1,.3,1);
}
@media (prefers-reduced-motion:reduce){
  .js-reveal .reveal{opacity:1!important;transform:none!important;transition:none!important}
  .card,.card__more svg{transition:none!important}
  .card:hover{transform:none}
}

/* ---------- Mobile Navigation ---------- */
@media (max-width:67.99rem){
  .navtoggle{display:inline-flex}
  .nav{
    position:absolute;left:0;right:0;top:100%;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--ground);border-bottom:1px solid var(--line);
    padding:var(--sp-2) 0 var(--sp-4);
    box-shadow:var(--shadow-2);
  }
  .nav[hidden]{display:none}
  .nav a{padding:.85rem 1.25rem;border-radius:0;font-size:1rem;width:min(100% - 2.5rem,76rem);margin-inline:auto}
  .nav a[aria-current="page"]{box-shadow:inset 3px 0 0 var(--brand);background:var(--brand-tint)}
  .header__bar{position:relative}
}
@media (min-width:68rem){
  .nav[hidden]{display:flex}
}
@media (max-width:26rem){
  .header .btn--phone span.label{display:none}
}

/* ---------- Bildausschnitt-Hilfen ---------- */
.op-t{object-position:center 38%}
.op-c{object-position:center center}
.op-b{object-position:center 62%}
.stack > * + *{margin-top:var(--sp-5)}
.stack-sm > * + *{margin-top:var(--sp-3)}
.note{font-size:1rem;color:var(--ink-2);border-left:1px solid var(--brand);padding-left:var(--sp-4)}
.tags{display:flex;flex-wrap:wrap;gap:.4rem;list-style:none}
.tags li{font-size:.8125rem;font-weight:550;color:var(--ink-2);background:var(--ground-2);border:1px solid var(--line);border-radius:var(--r);padding:.3rem .6rem}
.places{columns:2;column-gap:var(--sp-6);list-style:none;font-size:1rem}
@media (min-width:44rem){ .places{columns:3} }
.places li{padding-block:.2rem;break-inside:avoid}

/* ---------- Korrekturen aus der ersten Prüfrunde ---------- */
.card h3 a{color:var(--ink);text-decoration:none}
.card:hover h3 a{color:var(--brand-dark)}
.card h3 a:focus-visible{text-decoration:underline}
.brand svg{width:10.5rem}
.footer__brand svg{width:11rem}
@media (min-width:44rem){ .checks--wide{grid-template-columns:repeat(2,1fr)} }
@media (min-width:64rem){ .checks--wide{grid-template-columns:repeat(3,1fr)} }
@media (max-width:30rem){
  .hero__actions{display:grid;grid-template-columns:1fr}
  .hero__actions .btn{width:100%}
  .cta__actions{display:grid;grid-template-columns:1fr}
  .cta__actions .btn{width:100%}
}
/* Definitionsliste in der schmalen Seitenspalte einspaltig halten */
.panel .deflist > div{grid-template-columns:1fr;gap:.15rem}
/* Bilder im Inhaltsbereich begrenzen: ein Hochformatfoto in voller Spaltenbreite
   wurde sonst höher als der Bildschirm. */
.fig{margin:0}
/* Ein Bild braucht Luft nach oben. Die Regel ist spezifischer als .fig,
   sonst gewinnt dort margin:0 und das Bild klebt am Text. */
.stack > * + :is(.fig,.gallery,.strecke), .stack > :is(.fig,.gallery,.strecke) + *{margin-top:var(--sp-7)}
.fig img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--r);max-height:30rem}
.fig figcaption{margin-top:.5rem;font-size:.8125rem;line-height:1.4;color:var(--ink-3)}
@media (max-width:44rem){ .fig img{aspect-ratio:4/3} }

/* ---------- Korrekturen aus der Reviewer-Rückgabe ---------- */

/* 1. Rasterkinder haben min-width:auto und lassen die scrollbare Tabelle nicht
      schrumpfen. Ohne das läuft /estrich auf dem Handy 155 px über den Rand. */
.cols > *, .cols--sidebar > *, .hero__grid > *, .cards > *,
.footer__grid > *, .cta__grid > *, .gallery > *, .strecke > *{min-width:0}
.stack > *, .tablewrap{max-width:100%}
table{min-width:26rem}

/* 2. Kopfzeile auf schmalen Geräten: Logo, Menü und Telefonschaltfläche
      passten zusammen nicht in 375 px. */
@media (max-width:30rem){
  .brand svg{width:7.5rem}
  .header__bar{gap:.4rem}
  .navtoggle{padding:.5rem .55rem}
  .navtoggle span{display:none}
  .header .btn{padding:.7rem .75rem;gap:.4rem}
  .header .btn--phone span.label{display:none}
}
@media (max-width:22rem){
  .brand svg{width:6.25rem}
  .header .btn .num{font-size:.8125rem}
  .header .btn{padding:.7rem .6rem;gap:.3rem}
}

/* 3. Der Einblendmoment darf den Inhalt nie verschlucken. Sichtbar ist der
      Ausgangszustand; verborgen wird nur, was beim Start unterhalb des Falzes
      liegt, und ein Notausgang holt alles nach zwei Sekunden zurück. */
.js-reveal .reveal.is-in,
.js-reveal .reveal.no-reveal{opacity:1;transform:none}

/* Deutsche Komposita sind länger als schmale Bildschirme. Mit lang="de" trennt
   der Browser korrekt; ohne das läuft "Datenschutzerklärung" bei 320 px über. */
h1,h2,h3,h4{overflow-wrap:break-word}
/* Trennung nur auf schmalen Geräten: auf dem Schreibtisch passt die Zeile,
   dort wäre "Bo-/denbeschichtung" ein Fehler statt einer Rettung. */
@media (max-width:48rem){ h1,h2,h3,h4{-webkit-hyphens:auto;hyphens:auto} }
body{overflow-wrap:break-word}
@media (max-width:22rem){ h1{font-size:1.85rem} }

/* ---------- Ablauf eines Auftrags ---------- */
.ablauf{list-style:none;display:grid;gap:var(--sp-4);counter-reset:none}
@media (min-width:44rem){ .ablauf{grid-template-columns:1fr 1fr;gap:var(--sp-4) var(--sp-6)} }
.ablauf li{display:grid;grid-template-columns:2rem 1fr;gap:.75rem;
  font-size:1rem;line-height:1.5;color:var(--ink-2)}
.ablauf b{color:var(--ink);font-weight:650}
.ablauf__no{
  display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;
  background:var(--brand);color:#fff;font-size:.875rem;font-weight:650;
  font-variant-numeric:tabular-nums lining-nums;
}

/* ---------- Häufige Fragen ---------- */
.faq{display:grid;gap:var(--sp-5)}
@media (min-width:48rem){ .faq{grid-template-columns:1fr 1fr;gap:var(--sp-5) var(--sp-7)} }
.faq__paar h3{font-size:1.0625rem}
.faq__paar p{margin-top:.5rem;font-size:1rem;color:var(--ink-2);max-width:52ch}

/* ---------- Karussell der Putzarten ----------
   Eine scroll-schnappende Liste. Ohne JS funktioniert sie durch Wischen und
   mit den Pfeiltasten, die Knöpfe sind eine Zugabe für die Maus. */
.karussell__kopf{display:flex;align-items:flex-end;justify-content:space-between;
  gap:var(--sp-4);flex-wrap:wrap;margin-bottom:var(--sp-5)}
.karussell__nav{display:flex;gap:.5rem;margin-left:auto}
.karussell__btn{
  display:grid;place-items:center;width:2.75rem;height:2.75rem;flex:none;
  background:var(--ground);border:1px solid var(--line-strong);border-radius:var(--r);
  color:var(--ink);cursor:pointer;
}
.karussell__btn:hover{background:var(--ground-2);border-color:var(--ink-3)}
.karussell__btn[disabled]{opacity:.35;cursor:default}
.karussell__btn svg{width:1.25rem;height:1.25rem}
.karussell__pfeil--zurueck{transform:scaleX(-1)}

.karussell__spur{
  list-style:none;display:grid;grid-auto-flow:column;grid-auto-columns:74vw;
  gap:var(--sp-4);overflow-x:auto;scroll-snap-type:x mandatory;
  scroll-padding-left:1px;padding-bottom:var(--sp-2);
  scrollbar-width:thin;overscroll-behavior-x:contain;
}
@media (min-width:48rem){ .karussell__spur{grid-auto-columns:20rem} }
.karussell__spur:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
.karussell__karte{
  scroll-snap-align:start;display:flex;flex-direction:column;
  border:1px solid var(--line);border-radius:var(--r);background:var(--ground);
  overflow:hidden;
}
.karussell__bild{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.karussell__ersatz{
  aspect-ratio:3/4;display:grid;place-items:center;padding:var(--sp-4);
  background:var(--brand-tint);color:var(--brand-darker);
  font-size:1.25rem;font-weight:650;text-align:center;line-height:1.25;
}
.karussell__text{padding:var(--sp-4)}
.karussell__text h3{font-size:1.0625rem}
.karussell__text p{margin-top:.5rem;font-size:1rem;line-height:1.5;color:var(--ink-2)}
.karussell__korn{margin-top:.15rem;font-size:.8125rem;color:var(--ink-3)}

/* ---------- Bildstrecke ----------
   Jede Zeile traegt das Format ihrer Bilder, damit hochkante Baustellenfotos
   nicht in ein Querformat geschnitten werden. */
.strecke{display:grid;gap:var(--sp-4)}
.stack > .strecke{max-width:40rem}
.strecke__zeile{display:grid;gap:var(--sp-4);grid-template-columns:repeat(2,1fr)}
.strecke__zeile--n1{grid-template-columns:1fr}
.strecke__zeile--n2{grid-template-columns:repeat(2,1fr)}
.strecke__zeile--n3{grid-template-columns:repeat(3,1fr)}
.strecke figure{margin:0;min-width:0}
.strecke img{width:100%;display:block;object-fit:cover;border-radius:var(--r);border:1px solid var(--line)}
.strecke__zeile--voll img{aspect-ratio:16/9}
.strecke__zeile--quer img{aspect-ratio:3/2}
.strecke__zeile--hoch img{aspect-ratio:3/4}
@media (max-width:32rem){ .strecke__zeile--voll img{aspect-ratio:4/3} }

/* ---------- Seitenspalte, kompakt ----------
   Beide Kacheln waren fuer ihren Inhalt zu hoch: die Verweise standen weit
   auseinander, das Einzugsgebiet lief als Fliesstext ueber fuenf Zeilen. */
.panel__links{list-style:none;font-size:1rem;margin:0;padding:0}
.panel__links li + li{border-top:1px solid var(--line)}
.panel__links a{display:block;padding-block:.45rem;text-decoration:none}
.panel__links a:hover{text-decoration:underline}
.orte-liste{font-size:.9375rem;line-height:1.45;color:var(--ink-3)}

/* ---------- Seitenkopf mit Foto ---------- */
.pagehead__grid{display:grid;gap:clamp(1.5rem,1rem + 3vw,3.5rem);align-items:center}
@media (min-width:60rem){ .pagehead__grid{grid-template-columns:1.1fr .9fr} }
.pagehead__media{margin:0}
.pagehead__media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r)}
@media (max-width:59.99rem){ .pagehead__media img{aspect-ratio:16/10} }

/* ---------- Darauf stehen wir ---------- */
.slogan{display:grid;gap:clamp(2rem,1rem + 4vw,4.5rem);align-items:center}
@media (min-width:60rem){ .slogan{grid-template-columns:1fr 1fr} }
.slogan__text > * + *{margin-top:var(--sp-5)}
.slogan__titel{font-size:clamp(2.5rem,1.3rem + 4.4vw,4.5rem);line-height:1;letter-spacing:-.035em}
.slogan .checks{grid-template-columns:1fr;padding-top:var(--sp-2)}
.slogan .checks li{font-size:1.125rem;font-weight:550;color:var(--ink)}
.slogan__bild{margin:0}
.slogan__bild img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--r)}
.slogan__bild figcaption{margin-top:.5rem;font-size:.8125rem;line-height:1.4;color:var(--ink-3)}

/* ---------- Estrich: Verlegearten als Schnitt ---------- */
.arten{list-style:none;display:grid;gap:var(--sp-5);grid-template-columns:1fr}
@media (min-width:48rem){ .arten{grid-template-columns:repeat(3,1fr)} }
.art{display:flex;flex-direction:column;gap:var(--sp-3);background:var(--ground);border:1px solid var(--line);
  border-radius:var(--r);padding:var(--sp-5);box-shadow:var(--shadow-1)}
.art p{color:var(--ink-2);line-height:1.55}
.art__hinweis{margin-top:auto;align-self:flex-start;font-size:.8125rem;font-weight:650;color:var(--brand-dark);
  background:var(--brand-tint);padding:.3rem .6rem;border-radius:var(--r)}
.schnitt{display:grid;gap:3px;height:7.4rem;align-content:end;margin-bottom:var(--sp-2)}
.schnitt__s{display:flex;align-items:center;padding-inline:.7rem;font-size:.6875rem;font-weight:650;
  letter-spacing:.06em;text-transform:uppercase;border-radius:1px}
.schnitt__s--estrich{height:2.6rem;background:#cfc8bc;color:var(--ink)}
.schnitt__s--daemmung{height:1.9rem;background:#f6f2ea;color:var(--ink-2);border:1px dashed var(--line-strong)}
.schnitt__s--trennlage{height:1.15rem;background:var(--brand);color:#fff;font-size:.5625rem}
.schnitt__s--rohdecke{height:2.2rem;background:#7d766b;color:#fff}

/* ---------- Ablauf als Zeitstrahl ---------- */
.ablauf--quer{margin-top:var(--sp-6)}
@media (min-width:64rem){
  .ablauf--quer{grid-template-columns:repeat(5,1fr);gap:var(--sp-5)}
  .ablauf--quer li{grid-template-columns:1fr;gap:var(--sp-3);border-top:2px solid var(--brand);padding-top:var(--sp-4)}
}
.hinweisband{margin-top:var(--sp-7);display:flex;flex-wrap:wrap;gap:var(--sp-5);align-items:center;
  justify-content:space-between;background:var(--ground);border:1px solid var(--line);
  border-left:3px solid var(--brand);border-radius:var(--r);padding:var(--sp-5)}
.hinweisband > div{max-width:46rem}
.hinweisband p{margin-top:var(--sp-2);color:var(--ink-2)}

/* ---------- Estricharten und Gut zu wissen ---------- */
.arten-grid{display:grid;gap:var(--sp-7);grid-template-columns:1fr;align-items:start}
@media (min-width:60rem){ .arten-grid{grid-template-columns:1.15fr .85fr} }
.prose .tags--gross{margin-top:var(--sp-4)}
.tags--gross li{font-size:.9375rem;padding:.45rem .8rem}
.wissen{display:grid;gap:var(--sp-4)}
.wissen__karte{background:var(--brand-tint);border:1px solid #cfdaf0;border-radius:var(--r);padding:var(--sp-5)}
.wissen__karte p{margin-top:var(--sp-2);color:var(--ink-2)}
.wissen__gross{display:block;font-size:1.75rem;font-weight:700;color:var(--brand-dark);
  letter-spacing:-.02em;line-height:1.1;margin-bottom:.35rem}

.zweier{display:grid;gap:var(--sp-5);grid-template-columns:1fr}
@media (min-width:48rem){ .zweier{grid-template-columns:repeat(2,1fr)} }

/* Am Desktop fuehren die Knoepfe zur Anfrage, auf dem Handy zum Anruf */
@media (min-width:48rem){ .nur-handy{display:none !important} }
@media (max-width:47.99rem){
  .nur-desktop{display:none !important}
  .hinweisband__anruf{width:100%}
}
.telgross{font-size:1.5rem;font-weight:700;letter-spacing:-.01em;color:var(--ink)}

/* Breite Bildstrecke: auf dem Handy eine Wischreihe pro Zeile */
@media (max-width:47.99rem){
  .strecke--breit .strecke__zeile{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78%;
    overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding-bottom:.5rem}
  .strecke--breit figure{scroll-snap-align:start}
}
