/* ==========================================================================
   CD Reinigungsservice – Stylesheet
   Mobile First · Breakpoints: 600px (Tablet), 1024px (Laptop/Desktop)
   ========================================================================== */

/* Inter (lokal eingebunden, DSGVO-konform, SIL Open Font License) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  /* Akzentfarbe aus dem Logo – wird von tools/logo-vorbereiten.py gesetzt */
  --accent: #4E90E2; /* LOGO-BLAU */
  --accent-dark: color-mix(in srgb, var(--accent) 82%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, #fff);

  --bg: #FFFFFF;
  --bg-alt: #F7F9FC;
  --text: #1A1F2B;
  --text-muted: #5A6272;
  --border: #E4E8EF;
  --danger: #C8373B;
  --success: #1F8F5F;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(26, 31, 43, .05), 0 1px 3px rgba(26, 31, 43, .04);
  --shadow: 0 4px 12px rgba(26, 31, 43, .06), 0 1px 3px rgba(26, 31, 43, .04);
  --shadow-lg: 0 14px 34px rgba(26, 31, 43, .10);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --mobilebar-h: 76px;

  --fs-h1: clamp(2rem, 1.35rem + 3.2vw, 3.5rem);
  --fs-h2: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  --fs-h3: clamp(1.1rem, 1.04rem + .3vw, 1.25rem);
  --fs-lead: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: .9375rem;

  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & 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);
  scroll-padding-bottom: calc(var(--mobilebar-h) + 16px);
}
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom));
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: var(--fs-h1); letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
ul, ol.progress__steps { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.section__head p { color: var(--text-muted); font-size: var(--fs-lead); margin: 0; }
.eyebrow {
  display: inline-block;
  font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: .75rem;
}

/* Platzhalter sichtbar markieren (bis sie ersetzt sind) */
.placeholder {
  background: #FFF4CC; color: #7A5B00; padding: 0 .3em; border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease),
              box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 28%, transparent); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn--soft { background: var(--accent-soft); color: var(--accent-dark); }
.btn--soft:hover { background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--accent-dark); }
.btn--lg { min-height: 56px; padding: 1rem 1.6rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff; text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.icon-btn:hover { background: var(--accent-dark); color: #fff; }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.site-header__phone-text { display: none; }
.site-header__cta { display: none; }

/* Logo in dunklem Badge (Logo hat schwarzen Hintergrund) */
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); min-width: 0; }
.brand__badge {
  display: flex; align-items: center; justify-content: center; flex: none;
  height: 48px; min-width: 48px; max-width: 150px; padding: 5px;
  background: #0B0D12; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.brand__badge img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.brand__name { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.15; }
.brand__name small { display: block; font-weight: 500; font-size: .78rem; color: var(--text-muted); letter-spacing: 0; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { max-width: 14ch; }
.hero__lead { font-size: var(--fs-lead); color: var(--text-muted); max-width: 34ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-direction: column; gap: .75rem; }
.hero__note { margin: 1.25rem 0 0; font-size: var(--fs-small); color: var(--text-muted); }
.hero__note a { font-weight: 600; white-space: nowrap; }

.hero__visual {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%;
  border-radius: var(--radius-lg); background: #1A1F2B;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero__visual picture, .hero__visual picture img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 28% 55%;
}
.hero__chip {
  position: absolute; right: 5%; top: 6%; z-index: 1;
  display: flex; align-items: center; gap: .6rem;
  background: #fff; border-radius: 999px; padding: .55rem 1rem .55rem .55rem;
  box-shadow: var(--shadow); font-size: .875rem; font-weight: 600;
}
.hero__chip span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; }
.hero__chip svg { width: 16px; height: 16px; }

/* ---------- Karten ---------- */
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card p { color: var(--text-muted); margin: 0; font-size: var(--fs-small); }
.card h3 { margin-bottom: .35rem; }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.1rem;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
}
.card__icon svg { width: 26px; height: 26px; }
.card--link { color: inherit; text-decoration: none; }
.card--link:hover { color: inherit; }
.card__more {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem;
  font-size: .9rem; font-weight: 600; color: var(--accent-dark);
}
.card__more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }

/* Referenzen */
.ref-card { flex-direction: row; gap: 1rem; align-items: flex-start; }
.ref-card .card__icon { margin: 0; flex: none; }
.ref-card h3 { font-size: 1.0625rem; }
.ref-card__tag { display: inline-block; margin-top: .6rem; font-size: .875rem; font-weight: 600; color: var(--accent-dark); }

/* ---------- Werte ---------- */
.values { display: grid; gap: 1rem; }
.value { display: flex; align-items: center; gap: .9rem; }
.value__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; }
.value__icon svg { width: 22px; height: 22px; }
.value strong { display: block; font-size: 1.0625rem; }
.value span { color: var(--text-muted); font-size: var(--fs-small); }

/* ---------- Kontakt ---------- */
.contact-box {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 3vw, 3rem); box-shadow: var(--shadow);
  display: grid; gap: 2rem;
}
.contact-box h2 { margin-bottom: .4rem; }
.contact-box p { color: var(--text-muted); margin: 0; }
.contact-box__owner { margin-top: 1rem !important; color: var(--text) !important; font-weight: 600; }
.contact-box__owner small { display: block; font-weight: 400; color: var(--text-muted); }
.contact-actions { display: grid; gap: .75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-block: 2.75rem 2rem; font-size: var(--fs-small); color: var(--text-muted); }
.site-footer__grid { display: grid; gap: 1.75rem; }
.site-footer strong { color: var(--text); display: block; margin-bottom: .5rem; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent-dark); text-decoration: underline; }
.site-footer li { padding-block: .3rem; }
.site-footer li a { display: inline-block; padding-block: .2rem; }
.site-footer__bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.site-footer__bottom nav { display: flex; gap: 1.25rem; }
.site-footer__bottom nav a { padding-block: .5rem; }

/* ---------- Sticky Mobile-Leiste ---------- */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(26, 31, 43, .06);
}
.mobile-bar .btn { min-height: 52px; padding-inline: .8rem; }

/* ---------- Unterseiten / Rechtstexte ---------- */
.page-head { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem) 0; }
.page-head p { color: var(--text-muted); font-size: var(--fs-lead); max-width: 52ch; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.prose address { font-style: normal; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; text-decoration: none; }
.back-link svg { width: 18px; height: 18px; }

/* ==========================================================================
   Anfrage-Formular
   ========================================================================== */
.call-hint {
  display: flex; flex-direction: column; gap: .9rem; align-items: flex-start;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, #fff);
  border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: 1.5rem;
}
.call-hint p { margin: 0; font-weight: 600; }
.call-hint p span { display: block; font-weight: 400; color: var(--text-muted); font-size: var(--fs-small); }

.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(1.25rem, .8rem + 2.5vw, 2.5rem);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.progress { margin-bottom: 1.75rem; }
.progress__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; }
.progress__label { font-weight: 700; font-size: 1.0625rem; }
.progress__count { font-size: .875rem; font-weight: 600; color: var(--accent-dark); white-space: nowrap; }
.progress__bar { height: 6px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.progress__fill { height: 100%; width: 33.33%; background: var(--accent); border-radius: inherit; transition: width .4s var(--ease); }
.progress__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .6rem; font-size: .875rem; color: var(--text-muted); }
.progress__steps li:nth-child(2) { text-align: center; }
.progress__steps li:nth-child(3) { text-align: right; }
.progress__steps li.is-active { color: var(--text); font-weight: 600; }

.step[hidden] { display: none; }
/* Ohne JavaScript: alle Schritte untereinander, direkt absenden */
html:not(.js) #btn-next, html:not(.js) #btn-back, html:not(.js) .progress, html:not(.js) #summary { display: none; }
html:not(.js) .step + .step { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.step h2 { font-size: clamp(1.3rem, 1.2rem + .6vw, 1.6rem); margin-bottom: .3rem; }
.step__intro { color: var(--text-muted); margin-bottom: 1.5rem; }

fieldset { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
legend { font-weight: 600; margin-bottom: .65rem; padding: 0; }
.field { margin-bottom: 1.25rem; }
.field label, .label { display: block; font-weight: 600; margin-bottom: .45rem; }
.optional { font-weight: 400; color: var(--text-muted); font-size: .875rem; }

.input, .textarea {
  display: block; width: 100%;
  min-height: 52px; padding: .8rem 1rem;
  font-size: 16px; /* verhindert Zoom auf iOS */
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:hover, .textarea:hover { border-color: #CBD2DD; }
.input:focus, .textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: .875rem; color: var(--text-muted); margin-top: .35rem; }
.error-msg { display: none; color: var(--danger); font-size: .9rem; font-weight: 500; margin-top: .45rem; }
.error-msg.is-visible { display: flex; gap: .4rem; align-items: flex-start; }
.error-msg svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }

/* Auswahlkacheln (Leistungen) */
.tiles { display: grid; gap: .65rem; grid-template-columns: 1fr; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile__body {
  display: flex; align-items: center; gap: .85rem;
  min-height: 64px; padding: .8rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  pointer-events: none;
}
.tile__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-alt); color: var(--accent); transition: background-color .2s, color .2s; }
.tile__icon svg { width: 22px; height: 22px; }
.tile__text { font-weight: 600; line-height: 1.3; flex: 1; min-width: 0; hyphens: auto; }
.tile__check {
  display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px;
  border: 1.5px solid #C5CCD8; color: transparent; transition: all .2s;
}
.tile__check svg { width: 14px; height: 14px; }
.tile input:hover + .tile__body { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.tile input:checked + .tile__body { border-color: var(--accent); background: var(--accent-soft); }
.tile input:checked + .tile__body .tile__icon { background: var(--accent); color: #fff; }
.tile input:checked + .tile__body .tile__check { background: var(--accent); border-color: var(--accent); color: #fff; }
.tile input:focus-visible + .tile__body { outline: 3px solid var(--accent); outline-offset: 2px; }
.tiles.is-invalid .tile__body { border-color: color-mix(in srgb, var(--danger) 55%, var(--border)); }

/* Segment-/Chip-Auswahl (Radio) */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.choices--3 { grid-template-columns: 1fr; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: .6rem .8rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: #fff; font-weight: 600; line-height: 1.25;
  transition: border-color .2s, background-color .2s, color .2s;
  pointer-events: none;
}
.choice input:hover + span { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.choices.is-invalid span { border-color: color-mix(in srgb, var(--danger) 55%, var(--border)); }

.checkbox { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; padding-block: .25rem; }
.checkbox input {
  flex: none; width: 24px; height: 24px; margin: 0; margin-top: 1px;
  accent-color: var(--accent); cursor: pointer;
}
.checkbox span { font-size: var(--fs-small); line-height: 1.5; }

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

.form-nav { display: flex; flex-direction: column-reverse; gap: .75rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.form-alert {
  display: none; margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius-sm);
  background: #FDEEEE; color: #8E2226; font-size: var(--fs-small);
}
.form-alert.is-visible { display: block; }

.success { text-align: center; padding-block: 1.5rem; }
.success__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%; background: color-mix(in srgb, var(--success) 12%, #fff); color: var(--success); }
.success__icon svg { width: 36px; height: 36px; }
.success h2 { margin-bottom: .5rem; }
.success p { color: var(--text-muted); max-width: 40ch; margin-inline: auto; }
.success .btn { margin-top: 1rem; }

.summary { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin-bottom: 1.5rem; font-size: var(--fs-small); }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.summary dt { color: var(--text-muted); }
.summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Scroll-Animationen ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-group > .reveal:nth-child(2) { transition-delay: .06s; }
.js .reveal-group > .reveal:nth-child(3) { transition-delay: .12s; }
.js .reveal-group > .reveal:nth-child(4) { transition-delay: .18s; }
.js .reveal-group > .reveal:nth-child(5) { transition-delay: .24s; }
.js .reveal-group > .reveal:nth-child(6) { transition-delay: .30s; }

/* ==========================================================================
   Nur Handy (bis 599px): kompakter, damit man schnell durchscrollt
   ========================================================================== */
@media (max-width: 899px) {
  .hero__visual { order: -1; }
}
@media (max-width: 599px) {
  .hero__lead { margin-bottom: 1.5rem; }
  .hero__grid { gap: 1.75rem; }
  .hero__visual { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .hero__visual picture img { object-position: 22% 60%; }
  .card--link { display: grid; grid-template-columns: 48px 1fr 20px; column-gap: 1rem; align-items: start; padding: 1.1rem 1.1rem; }
  .card--link .card__icon { margin: 0; grid-row: span 2; }
  .card--link h3 { grid-column: 2; margin: .1rem 0 .2rem; }
  .card--link p { grid-column: 2; }
  .card--link .card__more { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; font-size: 0; }
  .card--link .card__more svg { width: 18px; height: 18px; }
  .grid { gap: .75rem; }
}

/* ==========================================================================
   Tablet (600px – 1023px)
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 32px; --header-h: 76px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .values { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .value { flex-direction: column; align-items: flex-start; }
  .contact-actions { grid-template-columns: repeat(3, 1fr); }
  .contact-actions .btn { padding-inline: 1rem; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choices--3 { grid-template-columns: repeat(3, 1fr); }
  .choices--4 { grid-template-columns: repeat(4, 1fr); }
  .form-nav { flex-direction: row; justify-content: space-between; }
  .form-nav .btn { min-width: 170px; }
  .form-nav #btn-next, .form-nav #btn-submit { margin-left: auto; }
  .form-nav .btn--block { width: auto; }
  .call-hint { flex-direction: row; align-items: center; justify-content: space-between; }
  .site-header__cta { display: inline-flex; }
  .brand__badge { height: 52px; min-width: 52px; }
}

/* Tablet quer / kleine Laptops: Hero zweispaltig */
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; }
}

/* ==========================================================================
   Laptop / Desktop (ab 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --gutter: 40px; --header-h: 84px; }
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: 0; }
  .mobile-bar { display: none; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
  .hero__visual { aspect-ratio: 1 / 1; }
  .hero__visual picture img { object-position: 30% 55%; }
  .values { gap: 2rem; }
  .value { flex-direction: row; align-items: center; }
  .contact-box { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 3rem; }
  .contact-actions { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .site-header__phone-text { display: inline; }
  .site-header__phone { width: auto; padding-inline: 1.1rem; border-radius: 999px; gap: .5rem; display: inline-flex; align-items: center; font-weight: 600; }
  .anfrage-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
  .anfrage-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Hover-Effekte nur für Geräte mit echter Maus */
@media (hover: hover) and (pointer: fine) {
  .card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
  .card--link:hover .card__more svg { transform: translateX(4px); }
  .btn--primary:hover { box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 34%, transparent); transform: translateY(-1px); }
  .ref-card:hover { box-shadow: var(--shadow); }
}

/* Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Anfrage-Aside nur auf Desktop */
.anfrage-aside { display: none; }
@media (min-width: 1024px) { .anfrage-aside { display: block; } }
.aside-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.aside-card h2 { font-size: 1.125rem; }
.aside-card ul { display: grid; gap: .8rem; margin: 1rem 0 1.25rem; font-size: var(--fs-small); }
.aside-card li { display: flex; gap: .6rem; align-items: flex-start; }
.aside-card li svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 1px; }
.aside-card .btn { margin-top: .5rem; }


.aside-card--contact { margin-top: 1rem; font-size: var(--fs-small); }
.aside-card--contact p { margin-bottom: .75rem; }
.aside-card--contact address { font-style: normal; line-height: 1.7; }
.aside-card--contact a, .call-hint a { overflow-wrap: anywhere; }

.success__icon--mail { background: var(--accent-soft); color: var(--accent); }
.success__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1rem; }
.success__actions .btn { margin-top: 0; }
