/* ==========================================================================
   Kistenkraft – Stylesheet
   Logo-Farben: Schwarz, Gelb, Weiß. Alle Werte zentral in :root.
   Leitidee: Jeder klickbare Block ist ein Umzugskarton, der sich öffnet.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* Fallback mit angepassten Metriken – verhindert Layout-Sprünge beim Laden */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 130.27%;
  ascent-override: 67.40%;
  descent-override: 16.12%;
  line-gap-override: 0%;
}

:root {
  /* Logo-Farben */
  --black: #000000;
  --yellow: #FDCD09;
  --yellow-deep: #E8BB00;
  --yellow-soft: #FFF6CC;
  --white: #FFFFFF;

  /* Neutrale Abstufungen */
  --grey-1: #F4F4F4;
  --grey-2: #E8E8E8;
  --grey-line: #D2D2D2;
  --grey-text: #555555;
  --on-dark: rgba(255, 255, 255, .82);
  --focus: var(--black);

  /* nur für Fehlermeldungen */
  --red: #C62828;
  --red-l: #FDE8E8;

  --font: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --line: 2px solid var(--black);
  --depth: 6px 6px 0 var(--black);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 86px;
  --section-y: clamp(64px, 8vw, 112px);

  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.1rem, 1.02rem + .35vw, 1.3rem);
  --fs-h3: clamp(1.15rem, 1.08rem + .3vw, 1.35rem);
  --fs-h2: clamp(1.9rem, 1.35rem + 2.2vw, 3rem);
  --fs-h1: clamp(2.2rem, 1.6rem + 2.3vw, 3.5rem);
  --fs-hero: clamp(3.2rem, 1.6rem + 5.6vw, 6.4rem);

  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  font-synthesis: style;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

main { display: block; overflow-x: clip; }

img, svg, video { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }

a { color: inherit; }

p, ul, ol, dl, figure, blockquote { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* Große Überschriften auf großen Bildschirmen nie trennen (auch nicht an weichen Trennstellen) */
h1, h2 { -webkit-hyphens: none; hyphens: none; }
/* Smartphone: Überschriften skalieren mit der Bildschirmbreite, lange Wörter dürfen getrennt werden */
@media (max-width: 600px) {
  :root {
    --fs-h1: min(1.6rem + 2.3vw, calc((100vw - 32px) / 11.6));
    --fs-h2: min(1.35rem + 2.2vw, calc((100vw - 32px) / 10.8));
    --fs-post-title: min(1.5rem + 2.8vw, calc((100vw - 32px) / 11.2));
    --fs-hero: min(3.2rem, calc((100vw - 32px) / 7.4));
  }
  h1, h2, h3, h4 {
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 14 6 6;
  }
}

h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); }

strong, b { font-weight: 700; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--yellow); color: var(--black); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  background: var(--yellow);
  color: var(--black);
  padding: 12px 18px;
  border: var(--line);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.22em;
}
.icon-sm { width: 1em; height: 1em; vertical-align: -.14em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

/* --------------------------------------------------------------------------
   Buttons & Links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--white);
  --btn-fg: var(--black);
  --btn-shadow: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 50px;
  padding: .7em 1.4em;
  border: var(--line);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 750;
  font-stretch: 105%;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--btn-shadow);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--btn-shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--btn-shadow); }
.btn--primary { --btn-bg: var(--yellow); }
.btn--primary:hover { --btn-bg: var(--yellow-deep); }
.btn--ghost { --btn-bg: transparent; box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--white); box-shadow: 4px 4px 0 var(--black); }
.btn--dark { --btn-bg: var(--black); --btn-fg: var(--white); --btn-shadow: var(--white); }
.btn--light {
  --btn-bg: transparent; --btn-fg: var(--white); --btn-shadow: var(--yellow);
  border-color: var(--white);
  box-shadow: none;
}
.btn--light .icon { color: var(--yellow); }
.btn--light:hover { border-color: var(--yellow); box-shadow: 4px 4px 0 var(--yellow); }
.btn--lg { min-height: 58px; padding: .85em 1.6em; font-size: 1.06rem; }
.btn--sm { min-height: 42px; padding: .5em 1.1em; font-size: .95rem; }
.btn--block { display: flex; width: 100%; }

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: currentColor; }
.section--yellow .text-link { text-decoration-color: var(--black); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--grey-text);
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   Kopfzeile & Navigation (schwarz wie das Logo)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  border-bottom: 3px solid var(--yellow);
  --focus: var(--yellow);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-right: auto;
  line-height: 0;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: auto;
  height: calc(var(--header-h) - 14px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  padding: .55em .85em;
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--white);
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.nav-link:hover { background: rgba(255, 255, 255, .1); color: var(--yellow); }
.nav-item.is-active > .nav-link { color: var(--black); background: var(--yellow); }
.nav-toggle .icon { transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  min-width: 330px;
  background: var(--white);
  color: var(--black);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--yellow);
  --focus: var(--black);
}
.sub-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  line-height: 1.3;
}
.sub-link:hover,
.sub-link[aria-current="page"] { background: var(--yellow-soft); }
.sub-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--yellow);
  border: var(--line);
  color: var(--black);
}
.sub-title { display: block; font-weight: 700; white-space: nowrap; }
.sub-hint { display: block; font-size: .85rem; color: var(--grey-text); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-cta { white-space: nowrap; box-shadow: none; }
.header-cta:hover { box-shadow: 3px 3px 0 var(--white); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone .icon { color: var(--yellow); }
.header-phone:hover span { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 1360px) {
  .header-actions .header-phone span { display: none; }
  .header-actions .header-phone {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
  }
  .header-actions .header-phone:hover { border-color: var(--yellow); }
}
@media (max-width: 1180px) and (min-width: 1101px) {
  .nav-link { padding-inline: .6em; }
  .header-inner { gap: 16px; }
}

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle:hover { border-color: var(--yellow); }
.menu-toggle-box { position: relative; display: block; width: 20px; height: 14px; margin: auto; }
.menu-toggle-box::before,
.menu-toggle-box::after,
.menu-toggle-box span {
  content: "";
  position: absolute;
  left: 0; width: 100%; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.menu-toggle-box::before { top: 0; }
.menu-toggle-box span { top: 6px; }
.menu-toggle-box::after { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-box::before { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-box::after { top: 6px; transform: rotate(-45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-box span { opacity: 0; }

.nav-mobile-actions { display: none; }

@media (min-width: 1101px) {
  .main-nav { display: block; }
  .has-sub .sub-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: -8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .has-sub .sub-menu::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -18px; height: 18px;
  }
  .has-sub:hover .sub-menu,
  .has-sub:focus-within .sub-menu,
  .has-sub.is-open .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .menu-toggle { display: grid; place-items: center; }
  .main-nav {
    position: fixed;
    inset: calc(var(--header-h) + 3px) 0 0 0;
    z-index: 90;
    display: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px var(--gutter) 40px;
    background: var(--black);
  }
  .nav-open .main-nav { display: block; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 16px 4px;
    border-radius: 0;
    font-size: 1.2rem;
    font-weight: 750;
    font-stretch: 108%;
  }
  .nav-link:hover { background: none; }
  .nav-item.is-active > .nav-link { background: none; color: var(--yellow); }
  .has-sub .sub-menu {
    display: none;
    min-width: 0;
    margin: 0 0 16px;
    background: var(--black);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, .2);
    box-shadow: none;
    --focus: var(--yellow);
  }
  .has-sub .sub-link:hover,
  .has-sub .sub-link[aria-current="page"] { background: rgba(255, 255, 255, .08); }
  .has-sub .sub-hint { color: rgba(255, 255, 255, .66); }
  .has-sub .sub-icon { border-color: var(--yellow); }
  .has-sub.is-open .sub-menu { display: block; }
  .nav-mobile-actions { display: grid; gap: 12px; margin-top: 28px; }
  .nav-mobile-actions .btn--primary { box-shadow: none; }
  .nav-mobile-actions .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .5); overflow-wrap: anywhere; }
  .nav-mobile-actions .btn--ghost .icon { color: var(--yellow); }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 10px; }
  .header-phone span, .header-cta { display: none; }
  .header-phone {
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
  }
}
@media (max-width: 359px) {
  .brand-logo { height: calc(var(--header-h) - 20px); }
}

/* --------------------------------------------------------------------------
   Abschnitte
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--grey { background: var(--grey-1); }
.section--dark { background: var(--black); color: var(--white); --focus: var(--yellow); }
.section--yellow { background: var(--yellow); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head > * + * { margin-top: .9rem; }
.section-intro { font-size: var(--fs-lead); color: var(--grey-text); line-height: 1.6; }
.section--dark .section-intro { color: var(--on-dark); }
.section--yellow .section-intro { color: var(--black); }
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}
.section-head--row > * + * { margin-top: 0; }

/* --------------------------------------------------------------------------
   Startseite: Kopfbereich mit Ankunfts-Animation
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(28px, 5vw, 72px) clamp(48px, 6vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero-title {
  margin: 0 0 1.4rem;
  font-size: var(--fs-hero);
  font-weight: 900;
  font-stretch: 125%;
  line-height: .9;
  letter-spacing: -.04em;
}
/* schräg wie der Schriftzug im Logo */
/* Der Innenabstand rechts gleicht die Schräge aus, damit nichts über den Rand ragt */
.hero-title span { display: inline-block; padding-right: .4em; transform: skewX(-9deg); transform-origin: 0 100%; }
.hero-lead { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.45rem); line-height: 1.5; max-width: 34ch; color: var(--black); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero-actions--center { justify-content: center; }
.hero-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 1.6rem; font-weight: 650; color: var(--grey-text); }
.hero-jump-label { flex-basis: 100%; }
.hero-jump a {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .4em .9em;
  border: var(--line);
  border-radius: 999px;
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease;
}
.hero-jump a:hover { background: var(--yellow); }
.hero-art { position: relative; }
.hero-svg { display: block; width: 100%; height: auto; overflow: hidden; }

/* Ankunft: Wagen fährt ein, Kartons landen auf dem Stapel */
.hero-van { animation: van-in 1.3s var(--ease-out) .2s both; }
.hero-wheel { transform-box: fill-box; transform-origin: center; animation: wheel-spin 1.3s var(--ease-out) .2s both; }
.hero-box { animation: box-drop .55s var(--ease-pop) both; }
.hero-box--1 { animation-delay: .95s; }
.hero-box--2 { animation-delay: 1.15s; }
.hero-box--3 { animation-delay: 1.35s; }
.hero-roll { transform-box: fill-box; transform-origin: center; animation: roll-in .8s var(--ease-out) 1.5s both; }
.hero-spark { transform-box: fill-box; transform-origin: center; animation: spark .5s var(--ease-pop) both; }
.hero-spark--1 { animation-delay: 1.75s; }
.hero-spark--2 { animation-delay: 1.9s; }
.hero-spark--3 { animation-delay: 2.05s; }
@keyframes van-in {
  from { transform: translateX(-125%); }
  75% { transform: translateX(2.5%); }
  to { transform: translateX(0); }
}
@keyframes wheel-spin { from { transform: rotate(-900deg); } to { transform: rotate(0deg); } }
@keyframes box-drop {
  from { transform: translateY(-90px); opacity: 0; }
  60% { opacity: 1; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes roll-in { from { transform: translateX(120px) rotate(200deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes spark { from { transform: scale(0) rotate(-60deg); } to { transform: none; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 540px; margin-inline: auto; width: 100%; }
}

/* --------------------------------------------------------------------------
   Klebeband-Laufband
   -------------------------------------------------------------------------- */
.tape-band {
  position: relative;
  width: 104%;
  margin-left: -2%;
  overflow: hidden;
  background: var(--yellow);
  color: var(--black);
  border-block: var(--line);
  transform: rotate(-1.2deg);
  z-index: 2;
}
.tape-track {
  display: flex;
  width: max-content;
  animation: tape 60s linear infinite;
}
.tape-chunk { display: flex; align-items: center; }
.tape-chunk span {
  padding: .7em .7em;
  font-size: clamp(.9rem, .8rem + .4vw, 1.1rem);
  font-weight: 850;
  font-stretch: 122%;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tape-chunk .tape-star { padding-inline: .2em; }
@keyframes tape {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tape-band:hover .tape-track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   Karton-Blöcke: Deckel mit zwei Klappen und Klebeband.
   Beim Zeigen heben sich die Klappen, beim Klicken öffnet sich der Karton.
   -------------------------------------------------------------------------- */
.box-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(44px, 4.5vw, 60px) clamp(20px, 2.4vw, 32px);
  padding-top: 8px;
}
.box-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.kbox {
  --lid-h: 30px;
  --kbox-shadow: var(--black);
  --kbox-inside: var(--black);
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--lid-h) - 2px);
  transition: transform .2s ease;
}
.kbox-lid {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; top: 0;
  height: var(--lid-h);
  display: flex;
  background: var(--kbox-inside);
  border-radius: 10px 10px 0 0;
  pointer-events: none;
}
.kbox-flap {
  position: relative;
  flex: 1 1 50%;
  background: var(--white);
  border: var(--line);
  transition: transform .5s var(--ease-pop);
}
.kbox-flap--l { border-radius: 10px 0 0 0; border-right-width: 1px; transform-origin: 1px calc(100% - 1px); }
.kbox-flap--r {
  border-radius: 0 10px 0 0;
  border-left-width: 1px;
  transform-origin: calc(100% - 1px) calc(100% - 1px);
  box-shadow: 6px 6px 0 var(--kbox-shadow);
}
/* Klebeband über der Naht – reißt beim Öffnen in zwei Hälften */
.kbox-flap::after {
  content: "";
  position: absolute;
  top: -2px; bottom: -2px;
  width: 20px;
  background: var(--yellow);
}
.kbox-flap--l::after { right: -1px; border-left: var(--line); }
.kbox-flap--r::after { left: -1px; border-right: var(--line); }

.kbox-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 38px clamp(20px, 2vw, 26px) 24px;
  background: var(--white);
  color: var(--black);
  border: var(--line);
  border-radius: 0 0 12px 12px;
  box-shadow: 6px 6px 0 var(--kbox-shadow);
  transition: box-shadow .2s ease;
}
/* Klebeband-Lasche vorn am Karton */
.kbox-body::before {
  content: "";
  position: absolute;
  top: -2px; left: 50%;
  width: 42px; height: 24px;
  transform: translateX(-50%);
  background: var(--yellow);
  border: var(--line);
  border-top: 0;
  border-radius: 0 0 3px 3px;
}
.kbox-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border: var(--line);
  border-radius: 12px;
  background: var(--yellow);
  transition: transform .5s var(--ease-pop);
}
.kbox-icon .icon { width: 27px; height: 27px; }
.kbox-title {
  font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem);
  font-weight: 850;
  font-stretch: 112%;
  line-height: 1.1;
}
.kbox-title a { color: inherit; text-decoration: none; }
/* ganze Kartonfläche ist klickbar */
.kbox-title a::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: 12px;
}
.kbox-title a:focus-visible { outline: none; }
.kbox-title a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 6px; }
.kbox-text { color: var(--grey-text); line-height: 1.55; }
.kbox-offer {
  display: flex;
  align-items: flex-start;
  gap: .6em;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 2px dashed var(--grey-line);
  font-weight: 650;
  font-size: .95rem;
  line-height: 1.4;
}
.kbox-offer .icon {
  flex: none;
  width: 24px; height: 24px;
  padding: 3px;
  border-radius: 50%;
  background: var(--yellow);
  border: var(--line);
  stroke-width: 3;
}
.kbox-cta {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 6px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

/* Zeigen: Klappen heben sich leicht */
.kbox:focus-within .kbox-flap--l { transform: rotate(-16deg); }
.kbox:focus-within .kbox-flap--r { transform: rotate(16deg); }
@media (hover: hover) {
  .kbox:hover { transform: translate(-2px, -2px); }
  .kbox:hover .kbox-body { box-shadow: 8px 8px 0 var(--kbox-shadow); }
  .kbox:hover .kbox-flap--l { transform: rotate(-16deg); }
  .kbox:hover .kbox-flap--r { transform: rotate(16deg); }
  .kbox:hover .kbox-icon { transform: translateY(-5px) rotate(-6deg); }
}
/* Klicken: Karton geht ganz auf, danach geht es weiter */
.kbox.is-opening .kbox-flap { transition-duration: .55s; }
.kbox.is-opening .kbox-flap--l { transform: rotate(-142deg); }
.kbox.is-opening .kbox-flap--r { transform: rotate(142deg); }
.kbox.is-opening .kbox-icon { transform: translateY(-12px) scale(1.08) rotate(-10deg); }

/* auf schwarzem Grund: gelber Schatten, gelbes Inneres */
.section--dark .kbox { --kbox-shadow: var(--yellow); --kbox-inside: var(--yellow); }

/* Ratgeber-Kartons */
.kbox--post { --lid-h: 24px; }
.kbox--post .kbox-body { padding-top: 32px; gap: 8px; }
.kbox--post .kbox-body::before { width: 36px; height: 20px; }
.kbox--post .kbox-flap::after { width: 17px; }
.kbox-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .88rem; color: var(--grey-text); }
.kbox-cat { display: inline-flex; align-items: center; gap: .4em; font-weight: 750; color: var(--black); }
.kbox-cat .icon {
  width: 30px; height: 30px;
  padding: 5px;
  border: var(--line);
  border-radius: 8px;
  background: var(--yellow);
}
.kbox--post .kbox-title { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.3rem); line-height: 1.22; font-stretch: 106%; }
.kbox--post .kbox-text { font-size: .98rem; }

@media (max-width: 1000px) {
  .box-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .box-grid, .box-grid--2 { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Startseite: Themenblöcke Umzug | Entrümpelung
   -------------------------------------------------------------------------- */
.topic-head {
  display: grid;
  grid-template-columns: auto minmax(0, 52ch);
  justify-content: space-between;
  align-items: end;
  gap: 14px 48px;
  max-width: none;
}
.topic-head > * + * { margin-top: 0; }
.topic-head h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); font-stretch: 115%; letter-spacing: -.03em; }
.topic-head .section-intro { max-width: 52ch; }
.topic-note {
  display: flex;
  align-items: flex-start;
  gap: .7em;
  margin-top: clamp(36px, 4vw, 52px);
  padding: 14px 18px;
  border: var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-weight: 600;
  line-height: 1.5;
  max-width: 760px;
}
.topic-note .icon { flex: none; margin-top: .1em; }
.section--dark .topic-note { background: transparent; border-color: rgba(255, 255, 255, .45); color: var(--white); }
.section--dark .topic-note .icon { color: var(--yellow); }
.topic-note a { color: inherit; }
@media (max-width: 960px) { .topic-head { grid-template-columns: minmax(0, 1fr); justify-content: stretch; } }
@media (max-width: 600px) { .topic-head h2 { font-size: min(2.2rem, calc((100vw - 32px) / 9.6)); } }

/* --------------------------------------------------------------------------
   Extras: Leihkartons und Reinigung (gelbe Fläche)
   -------------------------------------------------------------------------- */
.extras-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}
.extra {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--depth);
}
.extra h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.extra p { line-height: 1.6; }
.extra-price { display: flex; align-items: baseline; gap: .5em; font-weight: 700; }
.extra-price strong {
  font-size: clamp(3rem, 2.2rem + 3vw, 4.6rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -.04em;
}
.extra-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.extra-note { font-size: .95rem; color: var(--grey-text); }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.ticks .icon {
  flex: none;
  width: 26px; height: 26px;
  padding: 4px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  border: var(--line);
  stroke-width: 3;
}
@media (max-width: 900px) { .extras-grid { grid-template-columns: minmax(0, 1fr); } }

/* Schnellrechner in der Leihkarton-Box */
.mini-calc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  padding: 16px;
  background: var(--grey-1);
  border-radius: 12px;
}
.mini-calc .field label { font-size: .88rem; }
.mini-calc-result {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
}
.mini-calc-value { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); font-weight: 900; font-stretch: 115%; line-height: 1.1; }
.mini-calc-cost { color: var(--yellow); font-weight: 750; }
.mini-calc-note { flex-basis: 100%; font-size: .85rem; color: rgba(255, 255, 255, .75); }
@media (max-width: 640px) { .mini-calc { grid-template-columns: minmax(0, 1fr); } }

/* kleine Zahl-Animation bei neuen Ergebnissen */
.is-bumped { animation: bump .35s var(--ease-pop); }
@keyframes bump { from { transform: scale(.9); } to { transform: scale(1); } }

/* --------------------------------------------------------------------------
   Ablauf in Schritten
   -------------------------------------------------------------------------- */
.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
}
.steps::before {
  content: "";
  position: absolute;
  left: 30px; right: 30px; top: 29px;
  border-top: 3px dashed var(--black);
}
.step { position: relative; }
.step-no {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 18px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 1.5rem;
  font-weight: 900;
  font-stretch: 120%;
  line-height: 1;
}
.step-title { margin-bottom: .45rem; font-size: 1.22rem; }
.step p { color: var(--grey-text); line-height: 1.55; }
.step--highlight .step-no { background: var(--black); color: var(--yellow); border-color: var(--black); }
.section--dark .steps::before { border-color: rgba(255, 255, 255, .5); }
.section--dark .step p { color: var(--on-dark); }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .steps::before { left: 29px; right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 3px dashed var(--black); }
  .step { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 18px; }
  .step-no { grid-row: span 2; margin-bottom: 0; }
  .step-title { align-self: end; }
}

/* --------------------------------------------------------------------------
   Formularfelder (allgemein)
   -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label,
.field legend { font-weight: 700; font-size: .95rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .65em .85em;
  border: var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 1rem;
  line-height: 1.4;
  transition: box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 2.4em;
  background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%), linear-gradient(135deg, var(--black) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--yellow);
}
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-l); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field--inline { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.field--inline legend { width: 100%; margin-bottom: 6px; float: left; }
.field--inline label, .field--checks label, .field--check-single label {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 500;
  cursor: pointer;
}
.field--checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
.field--checks legend { margin-bottom: 8px; float: left; width: 100%; }
.field--checks label { align-items: flex-start; line-height: 1.4; }
.field--checks label input { margin-top: .1em; }
.field--check-single { justify-content: flex-end; padding-bottom: 12px; }
input[type="checkbox"],
input[type="radio"] { width: 20px; height: 20px; accent-color: var(--black); flex: none; }
.field-hint { font-size: .9rem; color: var(--grey-text); }
.req { color: var(--red); }

@media (max-width: 640px) {
  .field-row, .field-row--3 { grid-template-columns: minmax(0, 1fr); }
  .field--check-single { justify-content: flex-start; padding-bottom: 0; }
}

/* --------------------------------------------------------------------------
   Einsatzgebiet-Teaser mit Stempel
   -------------------------------------------------------------------------- */
.area-teaser {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.area-teaser-copy h2 { margin-bottom: 1rem; }
.area-teaser-copy > p { color: var(--grey-text); font-size: var(--fs-lead); }
.stamp-wrap { position: relative; max-width: 360px; width: 100%; margin-inline: auto; }
.stamp-logo { position: absolute; left: 50%; top: 50%; width: 58%; height: auto; transform: translate(-50%, -50%); }
.stamp-svg { display: block; width: 100%; height: auto; }
.stamp-ring { transform-origin: 50% 50%; }
@media (hover: hover) {
  .stamp-wrap:hover .stamp-ring { animation: spin 12s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.town-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}
.town-chips li {
  padding: .3em .8em;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: .92rem;
  font-weight: 650;
}
.town-chips li.is-home { background: var(--yellow); }
@media (max-width: 860px) { .area-teaser { grid-template-columns: minmax(0, 1fr); } .stamp-wrap { max-width: 250px; } }

/* --------------------------------------------------------------------------
   Blog-Übersicht
   -------------------------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-bar[hidden] { display: none; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  padding: .4em 1em;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  cursor: pointer;
}
.filter-chip:hover { background: var(--yellow-soft); }
.filter-chip[aria-pressed="true"] { background: var(--black); color: var(--white); }
.filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.6em;
  padding: 0 .35em;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-size: .8rem;
}
.filter-empty { padding: 24px 0; color: var(--grey-text); }
.post-card[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Häufige Fragen
   -------------------------------------------------------------------------- */
.faq-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.faq-item {
  min-width: 0;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 14 6 6;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  transition: box-shadow .15s ease;
}
.faq-item[open] { box-shadow: var(--depth); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
  font-size: 1.08rem;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: var(--line);
  background: var(--white);
  transition: background-color .2s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2.5px;
  background: var(--black);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease-pop);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item summary:hover .faq-icon { background: var(--yellow-soft); }
.faq-item[open] .faq-icon { background: var(--yellow); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 22px 20px; color: var(--grey-text); }
.faq-answer p + p { margin-top: .8em; }
.faq-answer a { color: var(--black); font-weight: 600; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Abschluss-Band (schwarz)
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--black);
  color: var(--white);
  --focus: var(--yellow);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px; top: 34px;
  width: 340px; height: 46px;
  background: var(--yellow);
  border-block: 2px solid var(--black);
  transform: rotate(32deg);
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.cta-title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); font-stretch: 112%; margin-bottom: 1rem; color: var(--white); }
.cta-copy p { color: var(--on-dark); font-size: var(--fs-lead); max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.cta-band .btn--primary { --btn-shadow: var(--white); }
@media (max-width: 900px) {
  .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .cta-actions { justify-content: flex-start; }
  .cta-band::before { width: 200px; top: 18px; right: -70px; }
}

/* --------------------------------------------------------------------------
   Unterseiten: Kopfbereich mit großem Karton, der sich beim Laden öffnet
   -------------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(20px, 3vw, 32px) clamp(48px, 6vw, 80px);
  border-bottom: var(--line);
}
.page-hero--compact { padding-bottom: clamp(36px, 4vw, 56px); }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(20px, 3vw, 40px);
}
.page-hero-copy { max-width: 820px; }
.page-hero--compact .page-hero-copy { margin-top: clamp(20px, 3vw, 36px); }
.page-title {
  font-size: var(--fs-h1);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 1.2rem;
}
.page-hero .lead { margin-top: 0; }
.contact-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 1.4rem; font-weight: 650; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 1.8rem;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: .98rem;
}
.hero-facts li { display: inline-flex; align-items: center; gap: .45em; }

.hbox {
  --lid-h: 44px;
  --kbox-shadow: var(--black);
  --kbox-inside: var(--black);
  position: relative;
  max-width: 340px;
  margin: 70px 0 0 auto;
  padding-top: calc(var(--lid-h) - 2px);
}
.hbox .kbox-lid { z-index: 3; border-radius: 12px 12px 0 0; }
.hbox .kbox-flap::after { width: 26px; }
.hbox .kbox-flap--l { border-radius: 12px 0 0 0; }
.hbox .kbox-flap--r { border-radius: 0 12px 0 0; box-shadow: 8px 8px 0 var(--kbox-shadow); }
/* Inhalt, der aus dem Karton springt – unten abgeschnitten, damit er „im Karton“ liegt */
.hbox-inside {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; top: 0;
  height: var(--lid-h);
  display: grid;
  place-items: end center;
  clip-path: inset(-200px -60px 0 -60px);
  pointer-events: none;
}
.hbox-pop {
  display: grid;
  place-items: center;
  width: 92px; height: 92px;
  margin-bottom: -96px;
  border: var(--line);
  border-radius: 22px;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--black);
}
.hbox-pop .icon { width: 46px; height: 46px; }
.hbox-body {
  position: relative;
  z-index: 1;
  padding: 44px 22px 22px;
  background: var(--white);
  border: var(--line);
  border-radius: 0 0 14px 14px;
  box-shadow: 8px 8px 0 var(--kbox-shadow);
}
.hbox-body::before {
  content: "";
  position: absolute;
  top: -2px; left: 50%;
  width: 54px; height: 34px;
  transform: translateX(-50%);
  background: var(--yellow);
  border: var(--line);
  border-top: 0;
  border-radius: 0 0 4px 4px;
}
.hbox-label { border: var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.hbox-label-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  font-stretch: 110%;
}
.hbox-label-title .icon { color: var(--yellow); }
.hbox-label dl { margin: 0; }
.hbox-label dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
.hbox-label dl div + div { border-top: 2px solid var(--black); }
.hbox-label dt { padding: 8px 12px; background: var(--grey-1); border-right: 2px solid var(--black); font-size: .85rem; font-weight: 700; }
.hbox-label dd { margin: 0; padding: 8px 12px; font-weight: 650; font-size: .95rem; }

/* Öffnen beim Laden der Seite */
.hbox .kbox-flap--l { animation: flap-open-l .7s var(--ease-pop) .45s both; }
.hbox .kbox-flap--r { animation: flap-open-r .7s var(--ease-pop) .45s both; }
.hbox-pop { animation: pop-out .6s var(--ease-pop) .75s both; }
@keyframes flap-open-l { from { transform: rotate(0); } to { transform: rotate(-128deg); } }
@keyframes flap-open-r { from { transform: rotate(0); } to { transform: rotate(128deg); } }
@keyframes pop-out { from { transform: translateY(0) rotate(0); } to { transform: translateY(-150px) rotate(-8deg); } }

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-art { display: none; }
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: .88rem;
  color: var(--grey-text);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; color: var(--grey-line); padding-inline: 4px; }
.breadcrumbs a { text-decoration: none; font-weight: 600; color: var(--black); }
.breadcrumbs a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

/* --------------------------------------------------------------------------
   Leistungsseiten: Bausteine und „Gut zu wissen“
   -------------------------------------------------------------------------- */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 48px);
}
.feature-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: var(--line);
  border-radius: 12px;
  background: var(--yellow);
}
.feature-list h3 { margin: 4px 0 .35rem; font-size: 1.18rem; }
.feature-list p { color: var(--grey-text); line-height: 1.55; }
@media (max-width: 960px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-list { grid-template-columns: minmax(0, 1fr); } }

.notes-title { margin-top: clamp(48px, 5vw, 72px); margin-bottom: 18px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.note-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: var(--line);
  background: var(--yellow);
}
.note--off .note-icon { background: var(--black); color: var(--white); }
.note p { margin-top: 4px; color: var(--grey-text); font-size: .97rem; line-height: 1.5; }
.note .note-title { margin-top: 0; color: var(--black); font-size: 1rem; font-weight: 800; line-height: 1.3; }
.note a { color: var(--black); font-weight: 650; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
@media (max-width: 900px) { .notes { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Inhalt (Fließtext) mit Anfrage-Kasten
   -------------------------------------------------------------------------- */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.side-card { position: sticky; top: calc(var(--header-h) + 24px); }
.side-card-inner {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--depth);
}
.side-card-title { font-size: 1.35rem; font-weight: 850; font-stretch: 110%; line-height: 1.15; }
.side-card .ticks { margin: 0 0 6px; gap: 10px; font-size: .97rem; }
.side-card .ticks .icon { width: 22px; height: 22px; padding: 3px; }
.side-card-note { padding-top: 12px; border-top: 2px dashed var(--grey-line); font-size: .92rem; line-height: 1.45; color: var(--grey-text); }
.side-card-note strong { color: var(--black); }
@media (max-width: 960px) {
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .side-card { position: static; }
}

.prose { max-width: 74ch; min-width: 0; font-size: 1.075rem; line-height: 1.75; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.15rem);
  line-height: 1.15;
}
.prose h3 { margin-top: 1.8em; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose > :first-child { margin-top: 0; }
.prose a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-color: var(--black); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose ul { list-style: none; padding-left: 1.6em; }
.prose ul > li { position: relative; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: -1.35em; top: .62em;
  width: .55em; height: .55em;
  border: 2px solid var(--black);
  background: var(--yellow);
  border-radius: 2px;
  transform: rotate(45deg);
}
.prose ol { list-style: none; counter-reset: li; padding-left: 2.4em; }
.prose ol > li { position: relative; counter-increment: li; }
.prose ol > li::before {
  content: counter(li);
  position: absolute;
  left: -2.3em; top: .1em;
  display: grid;
  place-items: center;
  width: 1.65em; height: 1.65em;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: var(--yellow);
  font-size: .85em;
  font-weight: 800;
  line-height: 1;
}
.prose strong { font-weight: 750; }
.prose blockquote {
  padding: 1em 1.3em;
  border-left: 6px solid var(--yellow);
  background: var(--grey-1);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.prose hr { border: 0; border-top: 2px dashed var(--grey-line); margin-block: 2.5em; }
.prose .table-wrap { overflow-x: auto; border: var(--line); border-radius: var(--radius-sm); background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.5; }
.prose th, .prose td { padding: .75em 1em; text-align: left; vertical-align: top; border-bottom: 1px solid var(--grey-line); }
.prose thead th { background: var(--black); color: var(--white); font-weight: 750; white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td { background: var(--grey-1); }
.prose--legal { max-width: 80ch; font-size: 1rem; }
.prose--legal h2 { font-size: 1.45rem; margin-top: 2em; }
.prose--legal h3 { font-size: 1.15rem; }
.prose--center { margin-inline: auto; text-align: center; }

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px 20px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
  line-height: 1.6;
}
.callout > .icon { width: 28px; height: 28px; margin-top: 2px; }
.callout-body > * + * { margin-top: .6em; }
.callout--tip { background: var(--yellow-soft); }
.callout--info { background: var(--grey-1); }
.callout--warn { background: var(--yellow-soft); border-left-width: 10px; }
.callout--local { border-left-width: 10px; border-left-color: var(--yellow); }
.callout-title { font-weight: 800; }

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--yellow);
  --focus: var(--yellow);
}
.inline-cta p { margin: 0; font-weight: 700; font-size: 1.12rem; max-width: 40ch; }
.prose .inline-cta a.btn { text-decoration: none; color: var(--black); --btn-shadow: var(--white); }

/* --------------------------------------------------------------------------
   Blogartikel
   -------------------------------------------------------------------------- */
.post-hero {
  padding-block: clamp(20px, 3vw, 32px) clamp(40px, 5vw, 64px);
  border-bottom: var(--line);
}
.post-hero-inner { max-width: 900px; margin-top: clamp(24px, 3vw, 40px); }
.post-hero-tags { margin-bottom: 14px; }
.post-title {
  font-size: var(--fs-post-title, clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem));
  font-weight: 900;
  font-stretch: 110%;
  line-height: 1.03;
  letter-spacing: -.03em;
  margin-bottom: 1.1rem;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 1.5rem;
  font-size: .95rem;
  color: var(--grey-text);
}
.post-meta-author { display: inline-flex; align-items: center; gap: 10px; color: var(--black); }
.post-meta-author a { font-weight: 700; color: var(--black); }
.post-meta-item { display: inline-flex; align-items: center; gap: .4em; }
.k-badge { display: block; flex: none; width: 34px; height: 34px; border-radius: 9px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .25em .75em;
  border-radius: 999px;
  border: var(--line);
  background: var(--yellow);
  color: var(--black);
  font-size: .85rem;
  font-weight: 750;
  text-decoration: none;
}
.tag:hover { background: var(--yellow-deep); }

.post-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(40px, 5vw, 72px);
  align-items: start;
}
.post-layout > .post-body:only-child { grid-column: 1 / -1; margin-inline: auto; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-box { border: var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.toc-box summary {
  display: flex;
  align-items: center;
  gap: .5em;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  background: var(--yellow);
  border-bottom: var(--line);
}
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box ol { list-style: none; margin: 0; padding: 10px 10px 14px; counter-reset: toc; }
.toc-box li { counter-increment: toc; }
.toc-box a {
  display: grid;
  grid-template-columns: 1.6em 1fr;
  padding: 6px 8px;
  border-radius: 8px;
  text-decoration: none;
  font-size: .93rem;
  line-height: 1.35;
  color: var(--grey-text);
}
.toc-box a::before { content: counter(toc) "."; font-weight: 700; font-size: .85rem; color: var(--black); padding-top: 1px; }
.toc-box a:hover { background: var(--grey-1); color: var(--black); }
.toc-box a.is-active { background: var(--yellow-soft); color: var(--black); font-weight: 700; }
@media (max-width: 1000px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
}

.post-body { max-width: 760px; }
.author-box {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  margin-top: 3em !important;
  padding: 22px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.author-box .k-badge { width: 64px; height: 64px; border-radius: 14px; }
.author-name { font-weight: 850; font-size: 1.15rem; }
.author-role { font-size: .92rem; color: var(--grey-text); font-weight: 650; margin-top: 0 !important; }
.author-text { margin-top: .6em; font-size: 1rem; line-height: 1.6; color: var(--grey-text); }
.author-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: .6em; font-size: .95rem; }
.author-links a { white-space: nowrap; }
@media (max-width: 480px) {
  .author-box { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; }
}
.post-disclaimer {
  display: flex;
  gap: .6em;
  align-items: flex-start;
  font-size: .9rem !important;
  color: var(--grey-text);
  line-height: 1.5;
}
.post-disclaimer .icon { margin-top: .25em; }

/* --------------------------------------------------------------------------
   Checkliste (Blog)
   -------------------------------------------------------------------------- */
.checklist {
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.checklist-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--black);
  color: var(--white);
  --focus: var(--yellow);
}
.checklist-progress { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.checklist-bar { width: 160px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.checklist-bar span { display: block; height: 100%; width: 0; background: var(--yellow); transition: width .25s ease; }
.checklist-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.checklist-actions .btn { min-height: 40px; padding: .4em .9em; font-size: .9rem; box-shadow: none; }
.checklist-actions .btn--ghost { color: var(--white); border-color: var(--white); }
.checklist-actions .btn--ghost:hover { background: transparent; border-color: var(--yellow); }
.checklist-group { padding: 18px 20px 6px; }
.checklist-group + .checklist-group { border-top: 2px dashed var(--grey-line); }
.prose .checklist-group h3 { margin: 0 0 .6em; font-size: 1.12rem; display: flex; align-items: center; gap: .5em; }
.checklist-group h3 .badge {
  padding: .1em .65em;
  border-radius: 999px;
  border: var(--line);
  background: var(--yellow);
  font-size: .8rem;
  font-weight: 750;
}
.prose .checklist ul { list-style: none; padding: 0; margin: 0 0 12px; }
.prose .checklist ul > li::before { display: none; }
.prose .checklist li + li { margin-top: 2px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1.5;
}
.check-item:hover { background: var(--grey-1); }
.check-item input { margin-top: .2em; }
.check-item input:checked + span { text-decoration: line-through; text-decoration-color: var(--black); color: var(--grey-text); }

/* --------------------------------------------------------------------------
   Kartonrechner
   -------------------------------------------------------------------------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--depth);
  overflow: hidden;
}
.calc-head { grid-column: 1 / -1; padding: 20px 24px; background: var(--yellow); border-bottom: var(--line); }
.calc-title { display: flex; align-items: center; gap: .5em; font-weight: 850; font-size: 1.3rem; font-stretch: 110%; }
.calc-sub { margin-top: 2px; }
.calc-body { padding: 22px 24px; display: grid; gap: 22px; }
.calc-options { display: grid; gap: 18px; }
.calc-rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
.stepper {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-line);
}
.stepper-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--grey-1); border: var(--line); }
.stepper-label { font-weight: 700; line-height: 1.25; }
.stepper-label small { display: block; font-weight: 500; font-size: .8rem; color: var(--grey-text); }
.stepper-ctrl { display: inline-flex; align-items: center; border: var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.stepper-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: none; cursor: pointer; }
.stepper-btn:hover { background: var(--yellow); }
.stepper-ctrl input {
  width: 2.2em;
  height: 36px;
  border: 0;
  border-inline: 2px solid var(--black);
  text-align: center;
  font-weight: 800;
  background: var(--white);
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper-ctrl input::-webkit-outer-spin-button,
.stepper-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; margin-bottom: 8px; font-weight: 750; float: left; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .35em .9em;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 650;
  cursor: pointer;
}
.seg input:checked + span { background: var(--black); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 2px; }
.calc-result {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--black);
  color: var(--white);
  --focus: var(--yellow);
}
.calc-result-main { display: flex; flex-direction: column; gap: 2px; }
.calc-result-label { font-weight: 750; color: var(--yellow); }
.calc-big { display: inline-block; font-size: clamp(2.8rem, 2.2rem + 2.5vw, 4.2rem); font-weight: 900; font-stretch: 118%; line-height: 1; letter-spacing: -.03em; }
.calc-result-unit { font-weight: 700; font-size: 1.1rem; }
.calc-breakdown { list-style: none; padding: 0; display: grid; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 14px; }
.calc-breakdown li { display: flex; align-items: center; gap: 10px; }
.calc-breakdown .icon { color: var(--yellow); }
.calc-rent {
  padding: 14px 16px;
  border: 2px solid var(--yellow);
  border-radius: 12px;
  line-height: 1.45;
}
.calc-rent strong { color: var(--yellow); font-size: 1.15rem; }
.calc-note { font-size: .88rem; color: rgba(255, 255, 255, .72); line-height: 1.5; }
.calc-result .btn { margin-top: auto; --btn-shadow: var(--white); }
.prose .calc a.btn { color: var(--black); text-decoration: none; }
/* Der Rechner richtet sich nach seiner eigenen Breite (Seite „Rechner“ oder schmal im Blogtext) */
.calc-wrap { container-type: inline-size; }
@container (max-width: 1060px) {
  .calc-rooms { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 820px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
}
@container (min-width: 661px) and (max-width: 820px) {
  .calc-rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 560px) {
  .calc-body, .calc-result, .calc-head { padding-inline: 16px; }
}
@container (max-width: 339px) {
  .stepper { grid-template-columns: minmax(0, 1fr) auto; }
  .stepper-icon { display: none; }
}
/* Ältere Browser ohne Container-Abfragen */
@supports not (container-type: inline-size) {
  @media (max-width: 1100px) { .calc { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 760px) { .calc-rooms { grid-template-columns: minmax(0, 1fr); } }
}

/* --------------------------------------------------------------------------
   Kontakt & Anfrageformular
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.quote-form {
  padding: clamp(20px, 3vw, 32px);
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--depth);
}
.form-progress {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  gap: 8px;
}
.is-enhanced .form-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-progress li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 4px solid var(--grey-2);
  font-weight: 700;
  font-size: .92rem;
  color: var(--grey-text);
}
.form-progress li span {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: .85rem;
}
.form-progress li.is-current,
.form-progress li.is-done { color: var(--black); border-bottom-color: var(--yellow); }
.form-progress li.is-done span { background: var(--black); color: var(--white); border-color: var(--black); }
@media (max-width: 400px) {
  .form-progress li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: .85rem; }
}
.form-status:empty { display: none; }
.form-status {
  margin-bottom: 18px;
  padding: 12px 16px;
  border: 2px solid var(--red);
  border-radius: 10px;
  background: var(--red-l);
  font-weight: 650;
}
.form-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.form-step + .form-step { margin-top: 32px; padding-top: 28px; border-top: 2px dashed var(--grey-line); }
.is-enhanced .form-step { display: none; }
.is-enhanced .form-step.is-active { display: grid; margin-top: 0; padding-top: 0; border-top: 0; animation: step-in .35s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.form-step-title { padding: 0; font-size: 1.45rem; font-weight: 850; font-stretch: 108%; line-height: 1.2; margin-bottom: 4px; float: left; width: 100%; }
.form-group { display: grid; gap: 18px; }
.form-group[hidden] { display: none; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.quote-form:not(.is-enhanced) [data-next],
.quote-form:not(.is-enhanced) [data-prev] { display: none; }
.choice-group + .choice-group { margin-top: 6px; }
.choice-group-title { margin-bottom: 10px; font-weight: 800; font-size: 1rem; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px;
  border: var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.choice-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; border-radius: 10px; background: var(--grey-1); border: var(--line); }
.choice-title { font-weight: 800; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; }
.choice-hint { font-size: .85rem; color: var(--grey-text); line-height: 1.35; }
.choice:hover .choice-box { background: var(--grey-1); }
.choice input:checked + .choice-box { background: var(--yellow-soft); box-shadow: 4px 4px 0 var(--black); transform: translate(-2px, -2px); }
.choice input:checked + .choice-box .choice-icon { background: var(--yellow); }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--black); outline-offset: 3px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { display: flex; gap: .6em; font-size: .9rem; color: var(--grey-text); line-height: 1.5; }
.privacy-note .icon { margin-top: .2em; color: var(--black); }
.privacy-note a { color: var(--black); font-weight: 600; }

.contact-aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { padding: 22px; background: var(--white); border: var(--line); border-radius: var(--radius); display: grid; gap: 12px; }
.contact-card--yellow { background: var(--yellow); }
.contact-card-title { display: flex; align-items: center; gap: .45em; font-weight: 850; font-size: 1.15rem; font-stretch: 108%; }
.contact-card a { font-weight: 650; }
.contact-line { display: flex; gap: 14px; align-items: center; text-decoration: none; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.contact-line small { display: block; font-size: .85rem; font-weight: 650; color: var(--grey-text); }
.contact-line-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); border: var(--line); }
a.contact-line:hover span:last-child { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.mini-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; color: var(--grey-text); }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-aside { position: static; }
}
@media (max-width: 720px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .choice-box { padding: 12px; }
  .choice-icon { width: 36px; height: 36px; }
  .choice-title { font-size: .95rem; }
  .choice-hint { font-size: .8rem; }
}
@media (max-width: 400px) {
  .choice-box { padding: 12px 10px; }
  .choice-title { font-size: .92rem; }
}
@media (max-width: 349px) { .choice-grid { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Einfache Seiten (Danke, Fehler, 404)
   -------------------------------------------------------------------------- */
.simple-hero { padding-block: clamp(56px, 9vw, 128px); }
.simple-inner { text-align: center; }
.simple-icon {
  display: grid;
  place-items: center;
  width: 96px; height: 96px;
  margin: 0 auto 24px;
  border-radius: 24px;
  border: var(--line);
  background: var(--yellow);
  box-shadow: var(--depth);
  transform: rotate(-4deg);
}
.simple-icon .icon { width: 46px; height: 46px; }
.simple-icon--red { background: var(--black); color: var(--yellow); box-shadow: 6px 6px 0 var(--yellow); }

/* --------------------------------------------------------------------------
   Einsatzgebiet-Seite
   -------------------------------------------------------------------------- */
.area-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; margin-top: 1.5em; }
.area-group:first-child { grid-column: 1 / -1; }
.area-group { padding: 18px 20px; border: var(--line); border-radius: var(--radius); background: var(--white); }
.area-group--home { background: var(--yellow); }
.prose .area-group h3 { margin: 0 0 .5em; font-size: 1.1rem; }
.prose .area-group ul { padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.prose .area-group ul > li { margin: 0; padding: .2em .7em; border: 2px solid var(--black); border-radius: 999px; font-size: .92rem; font-weight: 600; background: var(--white); }
.prose .area-group ul > li::before { display: none; }
@media (max-width: 680px) { .area-groups { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */
.site-footer { background: var(--black); color: var(--on-dark); --focus: var(--yellow); }
.footer-tape { height: 14px; background: var(--yellow); border-bottom: 2px solid var(--black); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 80px) 32px;
}
.footer-logo-link { display: inline-block; line-height: 0; }
.footer-logo { display: block; width: 240px; max-width: 100%; height: auto; }
.footer-claim { margin-top: 18px; max-width: 38ch; line-height: 1.6; }
.footer-nap { display: grid; gap: 10px; margin-top: 20px; font-style: normal; }
.nap-line { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; line-height: 1.45; overflow-wrap: anywhere; }
.nap-line .icon { color: var(--yellow); margin-top: .15em; }
a.nap-line:hover span { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); }
.footer-title { margin-bottom: 14px; font-size: 1.05rem; font-weight: 800; font-stretch: 110%; color: var(--yellow); }
.footer-title--spaced { margin-top: 28px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { text-decoration: none; line-height: 1.4; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.footer-areas { line-height: 1.7; }
.footer-col .footer-more { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--yellow); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px 28px;
  background-image: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16));
  background-size: calc(100% - 2 * var(--gutter)) 1px;
  background-position: center top;
  background-repeat: no-repeat;
  font-size: .9rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); }
@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); } }

/* --------------------------------------------------------------------------
   Mobile Schnellkontakt-Leiste
   -------------------------------------------------------------------------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--black);
    border-top: 3px solid var(--yellow);
    --focus: var(--yellow);
  }
  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 750;
    text-decoration: none;
  }
  .mobile-cta-call { background: var(--white); color: var(--black); }
  .mobile-cta-offer { background: var(--yellow); color: var(--black); }
  body:not(.kind-contact) .site-footer { padding-bottom: 76px; }
  .nav-open .mobile-cta { display: none; }
}
@media (max-width: 350px) {
  .mobile-cta { gap: 8px; padding-inline: 8px; }
  .mobile-cta a { gap: .35em; font-size: .9rem; }
}

/* --------------------------------------------------------------------------
   Hilfsklassen
   -------------------------------------------------------------------------- */
.hide-sm { display: inline; }
@media (max-width: 520px) {
  .hide-sm { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Rechner innerhalb von Fließtext (Blog) */
.prose .calc ul { padding-left: 0; }
.prose .calc ul > li::before { display: none; }
.prose .calc ul > li + li { margin-top: 0; }
.prose .calc .calc-title { margin: 0; }
.prose .calc fieldset { margin: 0; }
.prose .callout-body a { font-weight: 650; }

/* Tabellen auf dem Smartphone als Karten */
@media (max-width: 640px) {
  .prose .table-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .prose tbody tr {
    margin-bottom: 12px;
    overflow: hidden;
    border: var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
  }
  .prose tbody tr:last-child { margin-bottom: 0; }
  .prose tbody tr:nth-child(even) td { background: transparent; }
  .prose td { padding: .6em .95em; border-bottom: 1px solid var(--grey-line); }
  .prose tbody tr td:last-child { border-bottom: 0; }
  .prose td:first-child { background: var(--yellow) !important; font-weight: 750; border-bottom: var(--line); }
  .prose td[data-label]:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: .8rem;
    font-weight: 750;
    color: var(--grey-text);
  }
}

/* --------------------------------------------------------------------------
   Bewegung reduzieren & Druck
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .tape-track { animation: none; }
}

@media print {
  .site-header, .site-footer, .mobile-cta, .cta-band, .toc, .breadcrumbs,
  .checklist-actions, .author-box, .skip-link, .hero-art, .page-hero-art, .tape-band { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .post-hero, .page-hero { border: 0; padding: 0 0 12pt; }
  .post-layout { display: block; padding: 0; }
  .checklist, .checklist-group { break-inside: avoid-page; }
  .checklist-head { background: #fff; color: #000; border-bottom: 1px solid #000; }
  a { text-decoration: none; }
}
