/* ArFahrzeugaufbereitung – Stylesheet */

:root {
  --dunkel: #0a0e13;
  --dunkel-2: #111923;
  --dunkel-3: #1a2430;
  --hell-text: #eaf0f6;
  --hell-gedaempft: #9fb0c2;
  --weiss: #ffffff;
  --grau: #f3f6f9;
  --linie: #e2e8ef;
  --text: #0e1620;
  --gedaempft: #526173;
  --akzent: #1fa8ff;
  --akzent-hell: #5cc3ff;
  --akzent-dunkel: #0a6fd1;
  --primaer: #0b74e0;
  --primaer-hover: #095fba;
  --whatsapp: #25d366;
  --whatsapp-text: #052b14;
  --fehler: #d92d3a;
  --radius: 14px;
  --radius-gross: 22px;
  --schatten: 0 10px 30px -12px rgba(10, 20, 35, .25);
  --schatten-gross: 0 30px 60px -25px rgba(0, 0, 0, .55);
  --schrift: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --schrift-kopf: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --kopf-hoehe: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primaer); }
h1, h2, h3 { font-family: var(--schrift-kopf); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--akzent); color: #000; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.wrap--schmal { width: min(820px, 100% - 2.5rem); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--klein { padding: .55em 1.1em; font-size: .95rem; }
.btn--gross { padding: 1em 1.4em; font-size: 1.04rem; }
.btn--voll { width: 100%; }
.btn--primaer { background: var(--primaer); color: #fff; box-shadow: 0 8px 22px -8px rgba(11, 116, 224, .7); }
.btn--primaer:hover { background: var(--primaer-hover); transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(11, 116, 224, .8); }
.btn--whatsapp { background: var(--whatsapp); color: var(--whatsapp-text); }
.btn--whatsapp:hover { background: #2fe172; transform: translateY(-1px); }
.btn--umriss { border-color: var(--text); color: var(--text); background: transparent; }
.btn--umriss:hover { background: var(--text); color: #fff; }
.btn--hell { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--hell:hover { background: rgba(255,255,255,.18); }
.btn--text { background: none; color: var(--gedaempft); padding-inline: .4em; }
.btn--text:hover { color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Logo ---------- */
/* Ein Wort in einer Größe – nur die Farbe trennt „ArFa“ vom Rest. */
.logo {
  display: inline-flex; align-items: baseline; text-decoration: none; font-family: var(--schrift-kopf); line-height: 1; white-space: nowrap;
  font-size: clamp(1.1rem, 5.6vw, 1.45rem); font-weight: 800; letter-spacing: -.03em;
}
.logo__haupt { color: #fff; }
.logo__rest { color: var(--akzent); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50; height: var(--kopf-hoehe);
  background: rgba(10, 14, 19, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.kopf.ist-gescrollt { background: rgba(10, 14, 19, .95); box-shadow: 0 8px 24px -12px rgba(0,0,0,.6); }
.kopf__innen { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--hell-gedaempft); text-decoration: none; font-weight: 600; font-size: .97rem; transition: color .15s; }
.nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--hell-text);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(31, 168, 255, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(31, 168, 255, .10), transparent 60%),
    linear-gradient(180deg, var(--dunkel) 0%, var(--dunkel-2) 100%);
  /* Hero läuft unter den transparenten Kopf, damit der Kopf nicht grau auf Weiß liegt. */
  margin-top: calc(-1 * var(--kopf-hoehe));
  padding: calc(var(--kopf-hoehe) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3.5rem, 7vw, 6rem);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero__raster { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45em; margin-bottom: 1.1rem;
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--akzent-hell);
}
.eyebrow--dunkel { color: var(--akzent-dunkel); }
.glanz {
  background: linear-gradient(100deg, #fff 0%, var(--akzent-hell) 45%, #fff 55%, var(--akzent) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: glanz 6s ease-in-out infinite;
}
@keyframes glanz { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--hell-gedaempft); max-width: 36em; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.8rem; }
.hero__vorteile { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-weight: 600; font-size: .97rem; }
.hero__vorteile li { display: inline-flex; align-items: center; gap: .45em; }
.hero__vorteile .i { color: var(--whatsapp); }
.hero__bild { position: relative; margin: 0; }
.hero__bild img { border-radius: var(--radius-gross); box-shadow: var(--schatten-gross), 0 0 0 1px rgba(255,255,255,.08); aspect-ratio: 1; object-fit: cover; }
.hero__badge {
  position: absolute; left: -1.2rem; bottom: 1.6rem; display: flex; flex-direction: column;
  background: #fff; color: var(--text); padding: .85rem 1.15rem; border-radius: var(--radius);
  box-shadow: var(--schatten-gross); line-height: 1.3;
}
.hero__badge strong { font-size: 1.02rem; }
.hero__badge span { font-size: .85rem; color: var(--gedaempft); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.abschnitt--grau { background: var(--grau); }
.abschnitt--dunkel { background: var(--dunkel); color: var(--hell-text); }
.kopfzeile { max-width: 720px; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.kopfzeile__text { color: var(--gedaempft); font-size: 1.1rem; }
.kopfzeile--hell .kopfzeile__text { color: var(--hell-gedaempft); }
.raster { display: grid; gap: 1.4rem; }
.raster--3 { grid-template-columns: repeat(3, 1fr); }
.raster--4 { grid-template-columns: repeat(4, 1fr); }

/* Probleme */
.problem { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.problem:hover { transform: translateY(-4px); box-shadow: var(--schatten); border-color: transparent; }
.problem__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #e8f5ff; color: var(--akzent-dunkel); margin-bottom: 1.1rem; }
.problem__icon svg { width: 28px; height: 28px; fill: currentColor; }
.problem h3 { font-size: 1.12rem; }
.problem p { color: var(--gedaempft); font-size: .98rem; margin: 0; }

/* Leistungen */
.leistung {
  position: relative; display: flex; flex-direction: column; background: var(--weiss);
  border-radius: var(--radius-gross); padding: 2rem 1.8rem 1.8rem; border: 1px solid var(--linie); box-shadow: 0 2px 0 rgba(0,0,0,.02);
}
.leistung .btn { margin-top: auto; align-self: flex-start; }
.leistung__kopf { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1rem; }
.leistung__kopf h3 { margin: 0; font-size: 1.35rem; }
.leistung__nr { font-family: var(--schrift-kopf); font-weight: 800; color: var(--akzent); font-size: 1rem; }
.leistung--hervor { background: var(--dunkel); color: var(--hell-text); border-color: transparent; box-shadow: var(--schatten-gross); transform: translateY(-10px); }
.leistung--hervor .haken li { color: var(--hell-text); }
.leistung__band {
  position: absolute; top: -.85rem; left: 1.8rem; background: var(--akzent); color: #031a2b;
  font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .35em .9em; border-radius: 999px;
}
.haken { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .75rem; }
.haken li { position: relative; padding-left: 1.9rem; color: var(--text); }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--akzent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23031a2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat;
}
.haken--hell li { color: var(--hell-text); }

/* Anlässe */
.anlass { padding: 1.8rem; border-radius: var(--radius); background: linear-gradient(180deg, #f7fafc, #fff); border: 1px solid var(--linie); }
.anlass p { color: var(--gedaempft); }
.textlink { font-weight: 700; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* Galerie */
.galerie { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto 1fr; gap: 1.2rem; }
.galerie__item { position: relative; padding: 0; border: 0; border-radius: var(--radius-gross); overflow: hidden; cursor: zoom-in; background: var(--dunkel-2); }
.galerie__item--gross { grid-row: span 2; aspect-ratio: 1; }
.galerie__item--breit { aspect-ratio: 960 / 524; }
.galerie__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galerie__item--unten img { object-position: center 90%; }
.galerie__item:not(.galerie__item--gross) .galerie__label { top: 1rem; bottom: auto; }
.galerie__item:hover img { transform: scale(1.03); }
.galerie__label {
  position: absolute; left: 1rem; bottom: 1rem; background: rgba(10,14,19,.8); color: #fff; backdrop-filter: blur(6px);
  font-weight: 700; font-size: .92rem; padding: .45em .9em; border-radius: 999px;
}

/* Ablauf */
.schritte { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; position: relative; }
.schritt { position: relative; padding: 1.6rem 1.4rem; border-radius: var(--radius); background: var(--grau); }
.schritt__nr {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 1rem;
  background: var(--dunkel); color: var(--akzent-hell); font-weight: 800; font-size: 1.15rem; font-family: var(--schrift-kopf);
}
.schritt h3 { font-size: 1.12rem; }
.schritt p { color: var(--gedaempft); margin: 0; font-size: .98rem; }
.preisbox {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: 2rem 2.2rem; border-radius: var(--radius-gross);
  background: linear-gradient(120deg, #e9f6ff, #f5fbff); border: 1px solid #cfe9fb;
}
.preisbox > div { flex: 1 1 420px; }
.preisbox h3 { font-size: 1.45rem; }
.preisbox p { margin: 0; color: var(--gedaempft); }

/* ---------- Anfrage ---------- */
.abschnitt--anfrage {
  color: var(--hell-text);
  background:
    radial-gradient(800px 500px at 10% 0%, rgba(31,168,255,.18), transparent 60%),
    linear-gradient(180deg, var(--dunkel-2), var(--dunkel));
}
.anfrage__raster { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.anfrage__info > p:not(.eyebrow) { color: var(--hell-gedaempft); font-size: 1.1rem; }
.anfrage__info .haken { margin: 1.6rem 0 2.2rem; }
.anfrage__direkt { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; }
.anfrage__direkt p { font-weight: 700; margin-bottom: .8rem; }
.anfrage__direkt-btns { display: flex; gap: .7rem; flex-wrap: wrap; }

.formular {
  background: var(--weiss); color: var(--text); border-radius: var(--radius-gross);
  padding: clamp(1.5rem, 3.5vw, 2.4rem); box-shadow: var(--schatten-gross); position: relative; overflow: hidden;
}
.formular__fortschritt { position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--linie); }
.formular__fortschritt span { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--akzent), var(--primaer)); transition: width .35s ease; }
.formular__fortschritt span.ist-voll { width: 100%; }
.formular__schritt-info { font-size: .85rem; font-weight: 700; color: var(--gedaempft); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; }
.formular__schritt { border: 0; padding: 0; margin: 0; min-width: 0; }
.formular__schritt + .formular__schritt { margin-top: 2rem; }
.js .formular__schritt + .formular__schritt { margin-top: 0; }
.js .formular__schritt[hidden] { display: none; }
.formular legend { font-family: var(--schrift-kopf); font-size: 1.45rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: 1.1rem; padding: 0; }
.formular__aktionen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .4rem; }
.formular__aktionen .btn--primaer { flex: 1; }
.formular__meldung { margin: 1rem 0 0; font-weight: 600; color: var(--fehler); min-height: 0; }
.formular__meldung:empty { display: none; }
.formular__hinweis { display: flex; align-items: center; gap: .5em; margin: 1.3rem 0 0; font-size: .88rem; color: var(--gedaempft); }
.formular__hinweis .i { color: var(--akzent-dunkel); }
.js-nur { display: none; }
.js .js-nur { display: inline-flex; }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .4em; padding: .6em 1.05em; border-radius: 999px;
  border: 1.5px solid var(--linie); background: var(--grau); font-weight: 600; font-size: .95rem; transition: all .15s ease; user-select: none;
}
.chip:hover span { border-color: #b7c6d6; }
.chip input:checked + span { background: #e3f3ff; border-color: var(--akzent); color: var(--akzent-dunkel); }
.chip input:checked + span::before { content: "✓"; font-weight: 900; }
.chip input:focus-visible + span { outline: 3px solid var(--akzent); outline-offset: 2px; }

.feld { margin-bottom: 1.15rem; }
.feld label, .feld__label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .4rem; }
.feld input[type="text"], .feld input[type="tel"], .feld input[type="email"], .feld textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--weiss);
  border: 1.5px solid #cdd7e1; border-radius: 12px; padding: .85em 1em; transition: border-color .15s, box-shadow .15s;
}
.feld textarea { resize: vertical; min-height: 92px; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--akzent); box-shadow: 0 0 0 4px rgba(31,168,255,.18); }
.feld.hat-fehler input { border-color: var(--fehler); }
.feld__fehler { color: var(--fehler); font-size: .88rem; font-weight: 600; margin: .35rem 0 0; }
.feld__fehler:empty { display: none; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.pflicht { color: var(--fehler); }
.optional { font-weight: 500; color: var(--gedaempft); }
.feld--versteckt { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.segmente { display: inline-flex; background: var(--grau); border-radius: 12px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.segmente label { margin: 0; position: relative; cursor: pointer; }
.segmente input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmente span { display: block; padding: .5em 1.05em; border-radius: 9px; font-weight: 600; font-size: .95rem; color: var(--gedaempft); transition: all .15s; }
.segmente input:checked + span { background: var(--weiss); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.segmente input:focus-visible + span { outline: 3px solid var(--akzent); }

.einwilligung { display: flex !important; gap: .7rem; align-items: flex-start; font-weight: 500 !important; font-size: .9rem !important; color: var(--gedaempft); line-height: 1.5; cursor: pointer; }
.einwilligung input { width: 20px; height: 20px; margin-top: .1rem; flex: none; accent-color: var(--primaer); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--schatten); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 3.4rem 1.2rem 1.4rem; font-weight: 700; font-size: 1.06rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--grau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230e1620' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/60% no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: #e3f3ff; }
.faq details p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--gedaempft); }

/* ---------- Schluss & Fuß ---------- */
.schluss { padding: clamp(3.5rem, 7vw, 5.5rem) 0; text-align: center; background: linear-gradient(120deg, var(--akzent-dunkel), var(--primaer) 50%, var(--akzent)); color: #fff; }
.schluss__innen { max-width: 760px; }
.schluss p { font-size: 1.15rem; opacity: .92; margin-bottom: 2rem; }
.schluss .btn--primaer { background: #fff; color: var(--primaer); box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.schluss .btn--primaer:hover { background: #f0f7ff; }

.fuss { background: var(--dunkel); color: var(--hell-gedaempft); padding: 2.8rem 0 2.2rem; font-size: .95rem; }
.fuss__innen { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.fuss p { margin: .8rem 0 0; }
.fuss nav { display: flex; gap: 1.4rem; }
.fuss nav a { color: var(--hell-text); text-decoration: none; font-weight: 600; }
.fuss nav a:hover { text-decoration: underline; }
.fuss__copy { width: 100%; border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.4rem; font-size: .88rem; }

/* ---------- Mobile Aktionsleiste ---------- */
.aktionsleiste { display: none; }

/* ---------- Lightbox & Toast ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 8, 12, .88); backdrop-filter: blur(4px); }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--radius); }
.lightbox__zu {
  position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--text); font-size: 1.7rem; line-height: 1; box-shadow: var(--schatten);
}
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 150%); z-index: 90;
  background: var(--dunkel); color: #fff; padding: .9rem 1.3rem; border-radius: 12px; box-shadow: var(--schatten-gross);
  font-weight: 600; width: max-content; max-width: min(92vw, 460px); text-align: center; pointer-events: none;
  opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s ease, visibility 0s linear .3s;
}
.toast.ist-sichtbar { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .3s ease, opacity .3s ease; }

/* ---------- Einblend-Animation ---------- */
.js .enthuellen { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .enthuellen.ist-sichtbar { opacity: 1; transform: none; }
.js .leistung--hervor.enthuellen.ist-sichtbar { transform: translateY(-10px); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .raster--4 { grid-template-columns: repeat(2, 1fr); }
  .schritte { grid-template-columns: repeat(2, 1fr); }
  .raster--3 { grid-template-columns: 1fr; max-width: 640px; }
  .leistung--hervor, .js .leistung--hervor.enthuellen.ist-sichtbar { transform: none; }
}

/* Menü klappt früher ein, damit das lange Logo nie mit der Navigation kollidiert. */
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--kopf-hoehe) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dunkel); padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-120%); transition: transform .25s ease; visibility: hidden;
  }
  .nav.ist-offen { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1.05rem; color: var(--hell-text); }
  .nav .btn { margin-top: 1.1rem; padding: .95em; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 880px) {
  :root { --kopf-hoehe: 64px; }
  .hero__raster, .anfrage__raster { grid-template-columns: 1fr; }
  .hero__bild { max-width: 560px; }
  .hero__badge { left: .8rem; bottom: .8rem; }
  .galerie { grid-template-columns: 1fr; grid-template-rows: none; }
  .galerie__item--gross { grid-row: auto; }
  .galerie__item--unten { aspect-ratio: 1; }
  .galerie__item--unten img { object-position: center; }

  body { padding-bottom: 72px; }
  .aktionsleiste {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(10,14,19,.96); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .aktionsleiste a {
    display: flex; align-items: center; justify-content: center; gap: .4em; padding: .8em .4em; border-radius: 12px;
    font-weight: 700; font-size: .95rem; text-decoration: none; color: #fff; background: rgba(255,255,255,.08);
  }
  .aktionsleiste .aktionsleiste__wa { background: var(--whatsapp); color: var(--whatsapp-text); }
  .aktionsleiste .aktionsleiste__cta { background: var(--primaer); }
  .toast { bottom: 5.5rem; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .btn { white-space: normal; text-align: center; }
  .raster--4, .schritte { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .feld-reihe { grid-template-columns: 1fr; }
  .preisbox { padding: 1.6rem; }
  .preisbox .btn { width: 100%; }
  .lightbox__zu { top: 8px; right: 8px; }
}

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