/* ==========================================================================
   Videoprojektor24 Service – Stylesheet
   Angelehnt an den Online-Shop: Weiß, Dunkelgrau, Shop-Blau, Lucida Grande
   ========================================================================== */

/* Ersatzschrift, falls Lucida nicht installiert ist (z. B. Handy) – wie im Shop */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --white: #fff;
  --alt: #f4f4f6;
  --tint: #e9f5fa;
  --text: #3e4346;
  --heading: #2b2f32;
  --muted: #6f7579;
  --line: #e3e5e8;
  --line-strong: #cfd3d7;
  --blue: #008ebd;
  --blue-dark: #007da6;
  --blue-hover: #00698c;
  --logo-blue: #1d44b8;
  --wa: #25d366;
  --error: #c0262d;
  --container: 1200px;
  --header-h: 92px;
  --font: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "Montserrat", Verdana, sans-serif;
}

/* ---------- Basis ---------- */

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }

a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue-hover); text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.005em;
  overflow-wrap: break-word;
  hyphens: auto;
}
h3 { font-size: 1.15rem; line-height: 1.4; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--heading); font-weight: 600; }

[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon--sm { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; }
.icon--flip { transform: rotate(180deg); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

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

.skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 10px 16px; background: var(--blue-dark); color: var(--white); }
.skip:focus { top: 12px; color: var(--white); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Typo-Bausteine ---------- */

.kicker {
  margin: 0 0 14px; color: var(--blue-dark);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase;
}

.h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.lead { color: var(--text); font-size: clamp(1.02rem, 1.3vw, 1.12rem); line-height: 1.75; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: .9rem; line-height: 1.6; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-dark); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .18s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border: 1px solid transparent; border-radius: 0;
  font-family: inherit; font-size: .82rem; font-weight: 600; line-height: 1.3;
  letter-spacing: .1em; text-align: center; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn .icon { width: 1.25em; height: 1.25em; }
.btn:hover { text-decoration: none; }
.btn[disabled] { opacity: .6; cursor: progress; }

.btn--primary { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--white); }

.btn--outline { background: var(--white); border-color: var(--blue-dark); color: var(--blue-dark); }
.btn--outline:hover { background: var(--tint); color: var(--blue-hover); }

.btn--whatsapp { background: var(--white); border-color: var(--line-strong); color: var(--text); }
.btn--whatsapp .icon { color: #1da851; }
.btn--whatsapp:hover { border-color: #1da851; color: var(--text); }

.btn--lg { min-height: 56px; padding: 0 32px; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- Kopfbereich ---------- */

.topbar { background: var(--alt); color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__shop { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.topbar__shop li:first-child { color: var(--muted); }
.topbar a { color: var(--text); font-weight: 600; }
.topbar a:hover { color: var(--blue-dark); text-decoration: none; }
.topbar__contact { display: flex; gap: 18px; white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(43, 47, 50, .07); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.logo { display: block; flex: none; margin-right: auto; }
.logo img { width: 210px; height: auto; }

.nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__list a {
  position: relative; display: block; padding: 10px 12px;
  color: var(--text); font-size: .9rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
}
.nav__list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.nav__list a:hover { color: var(--blue-dark); text-decoration: none; }
.nav__list a.is-active { color: var(--blue-dark); }
.nav__list a.is-active::after { transform: scaleX(1); }
.nav__cta, .nav__shop { display: none; }

.header-cta { flex: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 14px; margin-right: -6px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--text); cursor: pointer;
  font: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.nav-toggle .icon { width: 20px; height: 20px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1180px) {
  .nav__list a { padding: 10px 9px; font-size: .84rem; }
  .nav__list a::after { left: 9px; right: 9px; }
}

@media (max-width: 1060px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .logo img { width: 170px; }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    display: flex; flex-direction: column; gap: 28px;
    padding: 8px 20px calc(28px + env(safe-area-inset-bottom));
    background: var(--white); overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__list a::after { display: none; }
  .nav__cta { display: grid; gap: 10px; }
  .nav__shop { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .nav__shop ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 0; padding: 0; list-style: none; }
  .nav__shop a { color: var(--text); font-weight: 600; }
}

/* ---------- Abschnitte ---------- */

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--tight { padding: clamp(44px, 5vw, 68px) 0; }
.section--alt { background: var(--alt); }
.section--cta { background: var(--tint); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head .h2 { margin: 0; }
.section-head .lead { max-width: 560px; }
.section-head__side { display: grid; gap: 18px; justify-items: start; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* Raster mit feinen Linien */
.ruled { display: grid; gap: 1px; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--line); list-style: none; }
.ruled > * { background: var(--white); }
.ruled--2 { grid-template-columns: repeat(2, 1fr); }
.ruled--3 { grid-template-columns: repeat(3, 1fr); }
.ruled--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .ruled--3, .ruled--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ruled--2, .ruled--3, .ruled--4 { grid-template-columns: 1fr; } }

.cell { position: relative; padding: clamp(24px, 3vw, 34px); }
.cell__no { display: block; margin-bottom: 14px; color: var(--blue-dark); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cell__icon { display: block; width: 36px; height: 36px; margin-bottom: 18px; color: var(--blue); }
.cell__icon .icon { width: 100%; height: 100%; stroke-width: 1.5; }
.cell h3 { margin-bottom: 10px; }
.cell p { color: var(--text); font-size: .95rem; }
.cell .link-arrow { margin-top: 18px; }
.cell--link { transition: background .15s; }
.cell--link:hover { background: #fafbfc; }

.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.spaced { margin-top: clamp(36px, 5vw, 56px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.split--center { align-items: center; }
@media (max-width: 1020px) { .split { grid-template-columns: 1fr; } }

/* Fotos */
.frame img, .frame video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--alt); }
.caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 12px; color: var(--muted); font-size: .85rem; }
.caption b { color: var(--blue-dark); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Startseite: Hero ---------- */

.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.22; letter-spacing: -.015em; }
.hero__lead { max-width: 560px; margin-bottom: 30px; font-size: clamp(1.02rem, 1.3vw, 1.12rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero__note { color: var(--muted); font-size: .88rem; }

.facts { margin-top: clamp(44px, 6vw, 72px); }
.facts li { padding: 22px 24px; }
.facts strong { display: block; color: var(--blue-dark); font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 600; line-height: 1.2; }
.facts span { display: block; margin-top: 6px; color: var(--muted); font-size: .88rem; line-height: 1.5; }

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { max-width: 720px; }
}
@media (max-width: 560px) { .hero__actions .btn { flex: 1 1 100%; } }

/* Kunden-Leiste */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients__inner { display: flex; align-items: center; gap: 10px 28px; padding: 20px 0; }
.clients__label { flex: none; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.clients__list { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; padding: 0; list-style: none; }
.clients__list li { color: var(--heading); font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1020px) { .clients__inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Unterseiten-Kopf ---------- */

.page-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 5vw, 72px); background: var(--alt); }
.page-hero h1 { max-width: 900px; margin-bottom: 18px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.25; }
.page-hero .lead { max-width: 720px; margin-bottom: 28px; }
.page-hero .lead:last-child { margin-bottom: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero--split .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 1020px) { .page-hero--split .container { grid-template-columns: 1fr; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; color: var(--muted); font-size: .8rem; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "›"; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--text); }

/* Häkchen-Liste */
.checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 30px; line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px; background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") center / 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.page-hero .checklist { margin-top: 24px; }

/* Schnellstart (Installation) */
.quickstart { border: 1px solid var(--line-strong); background: var(--white); }
.quickstart__head { padding: 22px 24px 16px; }
.quickstart__head h2 { margin-bottom: 4px; font-size: 1.2rem; }
.quickstart__head p { color: var(--muted); font-size: .9rem; }
.quickstart__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.quickstart__list li + li { border-top: 1px solid var(--line); }
.quickstart__list a { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 14px; padding: 14px 24px; color: var(--text); transition: background .15s; }
.quickstart__list a:hover { background: var(--tint); text-decoration: none; }
.quickstart__list .icon { width: 24px; height: 24px; color: var(--blue); }
.quickstart__list strong { display: block; font-size: .95rem; line-height: 1.35; }
.quickstart__list span { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.quickstart__list a > .icon:last-child { width: 18px; height: 18px; color: var(--blue-dark); transition: transform .15s; }
.quickstart__list a:hover > .icon:last-child { transform: translateX(4px); }
.quickstart__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 24px; border-top: 1px solid var(--line); background: var(--alt); font-size: .88rem; }
.quickstart__foot a { font-weight: 600; }

/* ---------- Ablauf ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); background: var(--line); }
.step { position: relative; padding: 30px 26px; background: var(--white); }
.step::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: var(--blue); transform: scaleX(.18); transform-origin: left; }
.step__num { display: block; margin-bottom: 14px; color: var(--blue); font-size: 2rem; font-weight: 600; line-height: 1; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text); font-size: .93rem; }
.step__tag { display: inline-block; margin-bottom: 10px; padding: 2px 8px; border: 1px solid var(--blue); color: var(--blue-dark); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.steps-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 36px; }
.steps-cta p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Foto-Karten (Einsatzbereiche, Referenzen) ---------- */

.photo-card { position: relative; display: flex; flex-direction: column; color: var(--text); }
.photo-card:hover { color: var(--text); text-decoration: none; }
.photo-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--alt); }
.photo-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card:hover .photo-card__media img { transform: scale(1.03); }
.photo-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px 0 0; }
.photo-card__meta { margin-bottom: 6px; color: var(--blue-dark); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.photo-card h3 { margin-bottom: 6px; }
.photo-card:hover h3 { color: var(--blue-dark); }
.photo-card p { color: var(--text); font-size: .92rem; line-height: 1.65; }
.photo-card .link-arrow { margin-top: auto; padding-top: 14px; }

.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
@media (max-width: 1020px) { .refs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .refs { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.filter {
  margin-bottom: -1px; padding: 12px 14px; border-bottom: 2px solid transparent;
  color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.filter:hover { color: var(--blue-dark); text-decoration: none; }
.filter[aria-pressed="true"] { border-bottom-color: var(--blue); color: var(--blue-dark); }

/* ---------- Warum wir ---------- */

.points { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.points__no { color: var(--blue); font-size: 1.05rem; font-weight: 600; line-height: 1.5; }
.points h3 { margin-bottom: 4px; font-size: 1.02rem; }
.points p { color: var(--text); font-size: .92rem; }

/* ---------- Rechner ---------- */

.calc { display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--line-strong); background: var(--white); }
.calc > * { min-width: 0; }
.calc__form { display: grid; gap: 26px; padding: clamp(22px, 3.5vw, 36px); }
.calc__group > .label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--heading); font-size: .9rem; font-weight: 600; }
.calc__group output { color: var(--blue-dark); font-variant-numeric: tabular-nums; }
.calc__result { display: flex; flex-direction: column; padding: clamp(22px, 3.5vw, 36px); background: var(--alt); }
.calc__row { padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.calc__row:first-of-type { padding-top: 0; }
.calc__label { display: block; margin-bottom: 4px; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.calc__value { display: block; color: var(--blue-dark); font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.calc__sub { display: block; margin-top: 4px; color: var(--text); font-size: .88rem; }
.calc__hint { margin: 18px 0 22px; color: var(--muted); font-size: .84rem; }
.calc__result .btn { margin-top: auto; }

input[type="range"] { width: 100%; height: 26px; margin: 0; accent-color: var(--blue); cursor: pointer; }

.screen-preview { position: relative; height: 170px; margin: 16px 0 6px; }
.screen-preview__frame { position: absolute; left: 0; border: 2px solid var(--blue); background: repeating-linear-gradient(135deg, rgba(0, 142, 189, .14) 0 6px, rgba(0, 142, 189, .05) 6px 12px); transition: width .25s, height .25s, bottom .25s; }
.screen-preview__dim { position: absolute; left: 0; height: 12px; border-left: 1px solid var(--text); border-right: 1px solid var(--text); transition: width .25s, bottom .25s; }
.screen-preview__dim::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--text); }
.screen-preview__dim span { position: absolute; left: 50%; top: -2px; transform: translateX(-50%); padding: 0 6px; background: var(--alt); color: var(--heading); font-size: .72rem; font-weight: 600; line-height: 14px; white-space: nowrap; }
.screen-preview__person { position: absolute; bottom: 18px; color: var(--muted); transition: left .25s, height .25s, width .25s; }
.screen-preview__floor { position: absolute; left: 0; right: 0; bottom: 17px; height: 1px; background: var(--line-strong); }
.screen-preview__note { position: absolute; left: 0; bottom: -4px; color: var(--muted); font-size: .72rem; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Auswahlfelder ---------- */

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 15px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--text);
  font-size: .88rem; line-height: 1.3; transition: border-color .15s, background .15s, color .15s;
}
.seg span .icon { width: 18px; height: 18px; color: var(--blue); }
.seg label:hover span { border-color: var(--blue); }
.seg input:checked + span { border-color: var(--blue); background: var(--tint); color: var(--blue-hover); box-shadow: inset 0 0 0 1px var(--blue); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { position: relative; display: block; }
.tile input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tile__box {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px 16px 16px;
  border: 1px solid var(--line-strong); background: var(--white); color: var(--text);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.tile__box > .icon { width: 28px; height: 28px; color: var(--blue); }
.tile__title { color: var(--heading); font-size: .92rem; font-weight: 600; line-height: 1.35; }
.tile__text { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.tile:hover .tile__box { border-color: var(--blue); }
.tile__box::after { content: ""; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--white); }
.tile input:checked + .tile__box { border-color: var(--blue); background: var(--tint); box-shadow: inset 0 0 0 1px var(--blue); }
.tile input:checked + .tile__box::after {
  border-color: var(--blue-dark);
  background: var(--blue-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.tile input:focus-visible + .tile__box { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- Formulare ---------- */

.form-card { padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line-strong); background: var(--white); }
.form-card h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.form-intro { margin-bottom: 26px; color: var(--muted); }

fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > .label, .group-label { color: var(--heading); font-size: .88rem; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.field small { color: var(--muted); font-size: .84rem; }

.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]),
.field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--line-strong); border-radius: 0; background: var(--white);
  color: var(--heading); font: inherit; font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; padding-right: 42px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e4346' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 142, 189, .18); }
.field input::placeholder, .field textarea::placeholder { color: #9aa0a4; }
.was-validated .field :invalid { border-color: var(--error); }

.check { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: .9rem; line-height: 1.6; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue-dark); cursor: pointer; }

.form-foot { display: grid; gap: 18px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-foot .btn { justify-self: start; }
.form-note { margin: 0; color: var(--muted); font-size: .82rem; }

.upload { position: relative; padding: 24px 20px; border: 1px dashed var(--line-strong); background: var(--alt); text-align: center; transition: border-color .15s, background .15s; }
.upload:hover, .upload.is-drag { border-color: var(--blue); background: var(--tint); }
.upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload .icon { width: 26px; height: 26px; margin: 0 auto 8px; color: var(--blue); }
.upload strong { display: block; font-size: .92rem; }
.upload span { color: var(--muted); font-size: .84rem; }
.upload__list { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .86rem; }
.upload__list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; border: 1px solid var(--line); background: var(--white); }
.upload__list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload__list .is-error { border-color: var(--error); color: var(--error); }

.notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-left: 3px solid var(--blue); background: var(--tint); font-size: .92rem; }
.notice .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--blue-dark); }
.form-card > .notice { margin-bottom: 26px; }

@media (max-width: 640px) {
  .fields { grid-template-columns: 1fr; }
  .form-foot .btn { justify-self: stretch; }
}

/* Mehrstufiges Formular */
.stepper__head { display: none; }
.is-stepper .stepper__head { display: block; margin-bottom: 30px; }
.stepper__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.stepper__meta b { color: var(--blue-dark); }
.stepper__bar { height: 4px; background: var(--line); }
.stepper__bar span { display: block; width: 25%; height: 100%; background: var(--blue); transition: width .3s ease; }

.step-panel + .step-panel { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.is-stepper .step-panel + .step-panel { margin-top: 0; padding-top: 0; border: 0; }
.step-panel > legend { float: left; width: 100%; }
.step-panel > legend + * { clear: both; }
.step-panel__title { display: block; margin-bottom: 6px; color: var(--heading); font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 600; line-height: 1.3; }
.step-panel__lead { margin-bottom: 24px; color: var(--muted); }
.group { margin-bottom: 24px; }
.group:last-child { margin-bottom: 0; }
.group-label { display: block; margin-bottom: 10px; }

.step-nav { display: none; }
.is-stepper .step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.is-stepper .step-nav [data-next]:only-child { margin-left: auto; }

/* Formular mit Seitenleiste */
.request-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line-strong); }
.aside-card { padding: 24px; background: var(--alt); }
.aside-card + .aside-card { border-top: 1px solid var(--line-strong); }
.aside-card h2 { margin-bottom: 12px; font-size: 1.05rem; }
.aside-card p { font-size: .92rem; }
.mini-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: ms; }
.mini-steps li { position: relative; padding-left: 40px; font-size: .9rem; line-height: 1.55; counter-increment: ms; }
.mini-steps li::before { content: counter(ms, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--blue); font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
.mini-steps strong { display: block; }
.contact-lines { display: grid; gap: 10px; margin-top: 14px; }
.contact-lines .btn { justify-content: flex-start; }
@media (max-width: 1020px) {
  .request-layout { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
}

/* ---------- Kontakt ---------- */

.contact-grid .cell { display: flex; flex-direction: column; gap: 8px; }
.contact-grid .cell .cell__icon { margin-bottom: 6px; }
.contact-grid .cell h2 { margin: 0; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-grid__value { color: var(--heading); font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.contact-grid__value--sm { font-size: 1rem; }
a.contact-grid__value:hover { color: var(--blue-dark); }
.contact-grid .cell p { font-size: .9rem; }
.contact-grid .cell .btn { margin-top: auto; }

/* ---------- Verleih ---------- */

.tabs { position: sticky; top: var(--header-h); z-index: 5; display: flex; margin-bottom: 36px; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--white); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; flex: none; align-items: center; gap: 8px; margin-bottom: -1px; padding: 14px 18px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tab:hover { color: var(--blue-dark); text-decoration: none; }
.tab[aria-selected="true"] { border-bottom-color: var(--blue); color: var(--blue-dark); }
.tab .icon { width: 18px; height: 18px; }

.cat + .cat { margin-top: 72px; }
.js-tabs .cat + .cat { margin-top: 0; }
.cat__head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; align-items: end; margin-bottom: 28px; }
.cat__head h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.cat__head h2 .icon { width: 28px; height: 28px; color: var(--blue); }
.cat__head p { max-width: 520px; }
@media (max-width: 760px) { .cat__head { grid-template-columns: 1fr; } }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.product { display: flex; flex-direction: column; background: var(--white); }
.product__media { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 20px; border-bottom: 1px solid var(--line); background: var(--white); }
.product__media img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.product__media .icon { width: 60px; height: 60px; color: var(--line-strong); stroke-width: 1.3; }
.product__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px; }
.product h3 { margin: 0; font-size: 1.02rem; }
.product p { margin: 0; color: var(--text); font-size: .9rem; line-height: 1.6; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.specs li { padding: 2px 8px; border: 1px solid var(--line); background: var(--alt); color: var(--heading); font-size: .74rem; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { color: var(--heading); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.price small { display: block; margin-top: 4px; color: var(--muted); font-size: .74rem; font-weight: 400; }

.btn-add {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px;
  border: 1px solid var(--blue-dark); background: var(--white); color: var(--blue-dark); cursor: pointer;
  font: inherit; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.btn-add .icon { width: 15px; height: 15px; transition: transform .2s; }
.btn-add:hover { background: var(--tint); }
.btn-add.is-added { background: var(--blue-dark); color: var(--white); }
.btn-add.is-added .icon { transform: rotate(45deg); }

.sizes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sizes li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.sizes .price { font-size: 1.02rem; }
.sizes .btn-add { min-height: 34px; padding: 0 8px; }
.sizes__right { display: flex; align-items: center; gap: 12px; }
.catalog-note { margin-top: 22px; }

/* Info-Kasten: in der Karte (ohne JavaScript) oder als Fenster */
.info { border-top: 1px solid var(--line); }
.info__toggle {
  display: flex; align-items: center; gap: 6px; padding: 10px 0; cursor: pointer; list-style: none;
  color: var(--blue-dark); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.info__toggle::-webkit-details-marker { display: none; }
.info__toggle .icon { width: 15px; height: 15px; }
.info__toggle:hover { color: var(--blue-hover); }
.info--size { flex: 1; min-width: 0; border: 0; }
.info--size .info__toggle { padding: 0; color: var(--text); font-size: .9rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.info--size .info__toggle .icon { color: var(--blue); }
.info--size .info__toggle:hover { color: var(--blue-dark); text-decoration: underline; }
.info__content { padding: 6px 0 14px; }
.product .info__media { display: none; }
.product .info__head, .product .info__grid { grid-template-columns: 1fr; }

.info__head { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; margin-bottom: 26px; }
.info__media { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 14px; border: 1px solid var(--line); background: var(--white); }
.info__media img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.info__media .icon { width: 64px; height: 64px; color: var(--line-strong); stroke-width: 1.3; }
.info__title { margin-bottom: 4px; font-size: 1.3rem; }
.info__price { margin-bottom: 14px; color: var(--blue-dark); font-weight: 600; }
.info__kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; margin: 0; border: 1px solid var(--line); background: var(--line); }
.info__kpis div { padding: 8px 10px; background: var(--alt); }
.info__kpis dt { color: var(--muted); font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.info__kpis dd { margin: 0; color: var(--heading); font-size: .84rem; font-weight: 600; line-height: 1.4; }
.info__note { margin-top: 10px; }
.info__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; }
.info__grid h4 { margin-bottom: 10px; color: var(--blue-dark); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.info__grid .checklist li, .info__list li { font-size: .9rem; line-height: 1.55; }
.info__list { margin: 0; padding-left: 1.1em; }
.info__list li + li { margin-top: 6px; }
.info__table { width: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.5; }
.info__table th, .info__table td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info__table th { width: 38%; padding-right: 12px; color: var(--muted); font-weight: 600; }
.info__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.info__actions .btn-add { min-height: 50px; padding: 0 18px; }

.infobox { width: min(980px, calc(100% - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--line-strong); background: var(--white); color: var(--text); overflow: auto; box-shadow: 0 24px 60px rgba(43, 47, 50, .25); }
.infobox::backdrop { background: rgba(43, 47, 50, .55); }
.infobox__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 12px 24px; border-bottom: 1px solid var(--line); background: var(--white); }
.infobox__bar .kicker { margin: 0; }
.infobox__close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); background: var(--white); color: var(--text); cursor: pointer; }
.infobox__close:hover { border-color: var(--blue); color: var(--blue-dark); }
.infobox__close .icon { width: 20px; height: 20px; }
.infobox__body { padding: 26px 24px 24px; }
@media (max-width: 720px) {
  .info__head, .info__grid { grid-template-columns: 1fr; }
  .info__media { max-width: 280px; }
  .infobox__body { padding: 20px 16px; }
}

.rent-float {
  position: fixed; z-index: 55; right: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px;
  background: var(--blue-dark); color: var(--white); box-shadow: 0 10px 30px rgba(43, 47, 50, .2);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.rent-float:hover { background: var(--blue-hover); color: var(--white); text-decoration: none; }
.rent-float .icon { width: 18px; height: 18px; }
@media (max-width: 1020px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .rent-float { left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); justify-content: center; }
}
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }

/* ---------- Referenz-Detail ---------- */

.ref-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 26px; padding: 0; list-style: none; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ref-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.ref-text p { font-size: 1.05rem; }
.facts-box { padding: 24px; border: 1px solid var(--line-strong); background: var(--white); }
.facts-box h2 { font-size: 1.15rem; }
.facts-table { margin: 0; border-top: 1px solid var(--line-strong); }
.facts-table div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts-table dt { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .1em; line-height: 1.9; text-transform: uppercase; }
.facts-table dd { margin: 0; color: var(--heading); font-size: .92rem; }
.facts-box__sub { margin: 22px 0 12px; font-size: .95rem; }
.facts-box__cta { margin-top: 24px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.gallery__item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--alt); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--video { cursor: pointer; }
.gallery__play { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 7px 11px; background: var(--blue-dark); color: var(--white); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.gallery__play .icon { width: 14px; height: 14px; fill: currentColor; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 22px 26px; background: var(--white); color: var(--heading); }
.pager a:hover { background: var(--tint); text-decoration: none; }
.pager span { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pager strong { font-size: 1.05rem; }
.pager a:last-child { align-items: flex-end; text-align: right; }
@media (max-width: 1020px) { .ref-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .pager a:last-child { align-items: flex-start; text-align: left; } }

/* Lightbox */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 64px 76px; border: 0; background: transparent; color: var(--white); }
.lightbox::backdrop { background: rgba(25, 28, 30, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: calc(100vh - 150px); margin: auto; }
.lightbox__btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: var(--white); cursor: pointer; }
.lightbox__btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { top: 50%; left: 14px; transform: translateY(-50%); }
.lightbox__next { top: 50%; right: 14px; transform: translateY(-50%); }
.lightbox__count { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); color: #c9cdd0; font-size: .85rem; letter-spacing: .1em; }
@media (max-width: 640px) {
  .lightbox { padding: 72px 10px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; transform: none; }
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: 1fr 22px; align-items: center; gap: 18px; padding: 18px 0; color: var(--heading); font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 22px; height: 22px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 14px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 14px no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-dark); }
.faq details p { max-width: 820px; margin: -2px 0 22px; padding-right: 40px; font-size: .95rem; }

/* ---------- Abschluss-Aufruf ---------- */

.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 64px; align-items: center; }
.cta h2 { margin-bottom: 12px; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta p { max-width: 640px; }
.cta__actions { display: grid; gap: 10px; min-width: 290px; }
.cta .checklist { margin-top: 20px; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 26px; font-size: .9rem; }
@media (max-width: 900px) {
  .cta { grid-template-columns: 1fr; }
  .cta__actions { min-width: 0; }
  .cta .checklist { grid-template-columns: 1fr; }
}

/* ---------- Danke / Meldungen ---------- */

.message { max-width: 760px; }
.message h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.message .lead { margin-bottom: 28px; }
.message__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.message .mini-steps { max-width: 520px; margin-top: 30px; }
.message__note { margin-top: 28px; }
.errors { display: grid; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.errors li { padding: 10px 14px; border-left: 3px solid var(--error); background: #fdf2f2; color: var(--heading); }

/* ---------- Rechtstexte ---------- */

.prose { max-width: 860px; }
.prose h2 { margin-top: 2em; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.1rem; }
.prose h4 { margin-top: 1.4em; font-size: 1rem; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { overflow-wrap: anywhere; }
.prose code { padding: 1px 6px; background: var(--alt); font-size: .9em; }
.toc { display: flex; flex-wrap: wrap; margin: 0 0 40px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.toc li { flex: 1 1 260px; border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 9px 14px 9px 0; font-size: .9rem; }
.box { margin: 1.5em 0; padding: 18px 20px; border-left: 3px solid var(--blue); background: var(--alt); }
.kv { display: grid; grid-template-columns: 220px 1fr; margin: 0; border-top: 1px solid var(--line-strong); }
.kv dt, .kv dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); font-size: .76rem; font-weight: 600; letter-spacing: .1em; line-height: 2; text-transform: uppercase; }
.kv dd { color: var(--heading); }
.form-sample { margin: 1em 0; padding: 18px 20px; border: 1px dashed var(--line-strong); background: var(--alt); font-family: ui-monospace, Consolas, monospace; font-size: .86rem; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .kv { grid-template-columns: 1fr; }
  .kv dt { padding-bottom: 0; border-bottom: 0; }
}

/* ---------- Fußbereich (wie im Shop) ---------- */

.site-footer { background: var(--alt); color: var(--text); font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.footer-name { color: var(--heading); font-size: 1.35rem; font-weight: 400; letter-spacing: -.01em; }
.footer-name span { color: var(--logo-blue); }
.footer-brand p { max-width: 360px; margin: 14px 0 0; color: var(--muted); }
.footer-title { margin-bottom: 16px; color: var(--heading); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.footer-links, .footer-contact { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a, .link-button { color: var(--text); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a:hover, .link-button:hover { color: var(--blue-dark); text-decoration: none; }
.footer-contact { margin-top: 20px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.footer-contact a:hover { color: var(--blue-dark); text-decoration: none; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--blue); }
.link-button { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 20px 0; border-top: 1px solid var(--line-strong); color: var(--muted); font-size: .8rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.to-top .icon { width: 15px; height: 15px; }
@media (max-width: 1020px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Schnellkontakt (Handy) ---------- */

.action-bar { display: none; }
@media (max-width: 1060px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 1.5fr;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line-strong); background: var(--white);
    box-shadow: 0 -4px 16px rgba(43, 47, 50, .06);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px;
    color: var(--text); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  }
  .action-bar a:hover { text-decoration: none; }
  .action-bar a + a { border-left: 1px solid var(--line); }
  .action-bar a .icon { width: 20px; height: 20px; color: var(--blue); }
  .action-bar a:nth-child(2) .icon { color: #1da851; }
  .action-bar a.is-primary { flex-direction: row; gap: 8px; background: var(--blue-dark); color: var(--white); font-size: .74rem; }
  .action-bar a.is-primary .icon { color: var(--white); }
}

/* ---------- Cookie-Hinweis (wie im Shop: gleichwertige Buttons) ---------- */

.cookie {
  position: fixed; z-index: 90; left: 20px; bottom: 20px; max-width: 470px;
  padding: 22px; border: 1px solid var(--line-strong); background: var(--white); color: var(--text);
  font-size: .88rem; line-height: 1.6; box-shadow: 0 12px 40px rgba(43, 47, 50, .18);
}
.cookie__title { margin-bottom: 6px; color: var(--heading); font-size: 1rem; font-weight: 600; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookie .btn { min-height: 46px; padding: 0 12px; }
@media (max-width: 1060px) { .cookie { left: 10px; right: 10px; bottom: calc(72px + env(safe-area-inset-bottom)); max-width: none; } }

/* ---------- Bewegung reduzieren & Druck ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .topbar, .site-header, .action-bar, .cookie, .site-footer, .section--cta { display: none !important; }
}
