/* =========================================================
   Vimex-Service – Unterseiten /abriss-entkernung und /erdarbeiten (Stufe 2, 14.10.2026)
   Baut auf styles.css auf (gleiche Tokens, gleiche Bausteine).
   ========================================================= */

/* ---------- Hero (A4, Stufe 1): links Inhalt, rechts Quiz-Karte ---------- */
.ab-hero {
  background:
    linear-gradient(125deg, rgba(8,34,44,.93) 0%, rgba(14,59,76,.86) 55%, rgba(20,85,107,.80) 100%),
    #0c3645 url('../images/gewerk-erdbau.webp') center/cover no-repeat;
}
.ab-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: center;
  padding-top: 34px; padding-bottom: 68px; text-align: left;
}
.ab-crumbs {
  display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 13px; line-height: 1.4; color: #B9CDD4; margin: 0 0 14px;
}
.ab-crumbs a { color: #D2E0E5; text-decoration: underline; text-underline-offset: 3px; }
.ab-crumbs a:hover { color: #fff; }

/* Kicker = H1: nur Text in Akzentfarbe, voller Gegen-Scope zu .hero h1 / .ab-hero h1 */
.ab-hero h1.ab-kicker {
  font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: .1px; text-transform: none;
  color: var(--teal-bright); max-width: none; margin: 0 0 10px; padding: 0;
  background: none; border: 0;
}
/* Verkaufszeile: eigenes Element, farbiger Teil allein auf seiner Zeile */
.ab-claim {
  font-size: clamp(30px, 4.1vw, 46px); font-weight: 600; line-height: 1.12; letter-spacing: -.5px;
  color: #fff; margin: 0 0 16px; text-wrap: balance;
}
.ab-claim em { font-style: normal; display: block; color: var(--teal-bright); }
.ab-hero .hero-sub { font-size: 16px; line-height: 1.55; color: #D2E0E5; max-width: 520px; margin: 0 0 18px; }
.ab-hero .hero-usps {
  flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: flex-start;
  gap: 9px; max-width: none; margin: 0 0 24px;
}
.ab-hero .hero-usps li { font-size: 15px; line-height: 1.4; color: #fff; }
.ab-hero .hero-cta { justify-content: flex-start; }

/* ---------- Hero-Quiz: helle Insel mit vollständigem Gegen-Scope ---------- */
.komponente [hidden] { display: none !important; }
.ab-quiz {
  position: relative; background: #fff; color: var(--text); text-align: left;
  border-radius: var(--radius-lg); padding: 22px 22px 16px;
  box-shadow: 0 24px 60px rgba(4,20,27,.38);
  scroll-margin-top: 84px;
}
.ab-quiz :where(p) { margin: 0; }
.abq-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.abq-title { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--petrol); letter-spacing: 0; }
.abq-progress-text { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #4a6470; white-space: nowrap; font-variant-numeric: tabular-nums; }
.abq-bar { height: 6px; border-radius: 99px; background: #E3EEF0; overflow: hidden; margin-bottom: 18px; }
.abq-bar-fill { display: block; height: 100%; border-radius: 99px; background: var(--teal); transition: width .3s ease; }
.abq-form { display: block; }
.abq-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.abq-q {
  font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); margin: 0 0 12px;
  text-transform: none; letter-spacing: 0;
}
.abq-q:focus { outline: none; }
.abq-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.abq-tiles-list { grid-template-columns: 1fr; }
.abq-tile {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 58px; padding: 10px 12px;
  font: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--petrol); text-align: left;
  background: var(--bg-alt); border: 1.5px solid #DCE7EA; border-radius: 12px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.abq-tile i { font-size: 24px; line-height: 1; color: var(--teal); flex-shrink: 0; }
.abq-tile span { min-width: 0; overflow-wrap: break-word; hyphens: manual; }
.abq-tile:hover { border-color: var(--teal); background: #E8F6F7; }
.abq-tile:active { transform: scale(.99); }
.abq-tile[aria-pressed="true"] { border-color: var(--teal); background: #E8F6F7; }
.abq-tile:focus-visible,
.abq-back:focus-visible,
.ab-quiz .btn:focus-visible { outline: 3px solid rgba(23,150,168,.45); outline-offset: 2px; }
.abq-fields { display: grid; grid-template-columns: 1fr; gap: 10px; }
.abq-fields input {
  font: inherit; font-size: 15px; line-height: 1.3; color: var(--ink); width: 100%; min-width: 0;
  padding: 12px 14px; border-radius: 9px; border: 1px solid #D5E0E3; background: #fff;
}
.abq-fields input::placeholder { color: #6B7C81; opacity: 1; }
.abq-fields input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,150,168,.15); }
.abq-hp { display: none; }
.abq-consent {
  display: flex; gap: 9px; align-items: flex-start; margin: 12px 0 12px;
  font-size: 12.5px; font-weight: 400; line-height: 1.45; color: var(--text); text-align: left;
}
.abq-consent input { width: 17px; height: 17px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--teal); cursor: pointer; }
.abq-consent a { color: #12798A; text-decoration: underline; text-underline-offset: 2px; }
.abq-error {
  background: #fff3f0; color: #9c3326; border: 1px solid #f3c5bd; border-radius: 9px;
  padding: 10px 12px; margin: 0 0 12px; font-size: 13.5px; line-height: 1.45;
}
.abq-error a { color: inherit; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.abq-submit { margin-top: 2px; }
.abq-back {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 2px;
  font: inherit; font-size: 13.5px; font-weight: 500; line-height: 1.3; color: #4a6470;
  background: none; border: 0; cursor: pointer;
}
.abq-back:hover { color: var(--petrol); }
.abq-trust {
  display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px;
  font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--petrol); text-align: center;
}
.abq-trust i { color: var(--teal); font-size: 18px; }
.abq-done { text-align: center; padding: 18px 6px 10px; }
.abq-done:focus { outline: none; }
.abq-done i { font-size: 48px; color: var(--teal); }
.abq-done-title { font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--ink); margin: 8px 0 6px; }
.abq-done p { font-size: 14.5px; line-height: 1.5; color: var(--text); }
.abq-done-urgent { margin-top: 10px; font-weight: 600; }
.abq-done-urgent a { color: #12798A; }

/* Quiz, Stufe 2: Hinweis unter Schritt 3, WhatsApp-Knopf im Danke, flache Variante im Anfrage-Block */
.ab-quiz .abq-hint {
  display: block; margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: #4a6470; text-align: left;
}
.ab-quiz .abq-done-wa { margin-top: 16px; font-size: 15.5px; }
.abq-done .btn i { font-size: 20px; color: inherit; }
.ab-quiz-flat { box-shadow: var(--shadow); border: 1px solid #DCE7EA; }

/* Kopfzeile mobil: Logo · Telefon · WhatsApp · kurze Anfrage (kein Burger) */
.ab-head-cta { padding: 10px 14px; font-size: 14px; border-radius: 10px; box-shadow: none; }

/* WhatsApp-Grün trägt dunkle Schrift (6,4 : 1), auch in der Sticky-Leiste */
.page-abriss .btn-wa { background: #25D366; color: #073B1F; box-shadow: 0 10px 24px rgba(37,211,102,.26); }
.page-abriss .btn-wa:hover { background: #1EBE5D; color: #073B1F; }
.page-abriss .btn-wa i { color: inherit; }

/* =========================================================
   Stufe 2: Typo-Grundregeln der LP
   ========================================================= */
/* Kicker: nur Text in Akzentfarbe, keine Versalien, kein Sperrsatz, keine Pille */
.page-abriss .eyebrow {
  text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 600; line-height: 1.4;
  color: #12798A; margin-bottom: 8px; background: none; border: 0; padding: 0;
}
.page-abriss .ab-dark .eyebrow,
.page-abriss .eyebrow-light { color: var(--teal-bright); }
.page-abriss .section-final-cta .eyebrow-light { color: #A8EEF6; }
.page-abriss .ab-chat-copy .eyebrow,
.page-abriss .ab-split-text .eyebrow,
.page-abriss .ab-bridge-text .eyebrow { text-align: left; }
/* Farbiger Teil einer Überschrift: eigene Zeile, nie kursiv */
.page-abriss h2 em,
.page-abriss h3 em { font-style: normal; display: block; color: #12798A; }
.page-abriss .ab-dark h2 em { color: var(--teal-bright); }
.page-abriss .section-sub.ab-sub-wide { max-width: 760px; margin-left: auto; margin-right: auto; }
.page-abriss ol { padding-left: 0; list-style: none; }

/* Hero: Foto-Tipp unter den Knöpfen (mobil entfällt er mit den Knöpfen) */
.ab-hero-tip { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: #B9CDD4; max-width: 520px; }

/* =========================================================
   Leistungen: Kette mit 7 Gliedern
   Desktop zwei Spalten (1–4 links, 5–7 rechts), mobil eine Spalte
   ========================================================= */
.ab-chain {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto);
  grid-auto-flow: column; column-gap: 28px; row-gap: 0; margin: 0;
}
.ab-glied {
  position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px;
  padding-bottom: 18px;
}
.ab-glied::before {
  content: ''; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px; border-radius: 2px;
  background: #CFE6EA;
}
.ab-glied:nth-child(4)::before,
.ab-glied:nth-child(7)::before { display: none; }
.ab-glied-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--petrol); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
  font-variant-numeric: tabular-nums; box-shadow: 0 0 0 5px #E8F4F6;
}
.ab-glied-card {
  background: #fff; border: 1px solid #E1ECEE; border-radius: 18px; padding: 18px 20px 19px;
  box-shadow: var(--shadow-sm);
}
.ab-glied-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ab-glied-icon {
  width: 40px; height: 40px; border-radius: 11px; background: #E8F6F7; color: var(--teal);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ab-glied-icon i { font-size: 22px; line-height: 1; }
.ab-glied-head h3 { font-size: 16.5px; line-height: 1.3; color: var(--ink); }
.ab-glied-card p { font-size: 14.5px; line-height: 1.6; color: var(--text); }

/* =========================================================
   Chat (A25): WhatsApp-Verlauf als Beispiel, Telefon links, Text rechts
   ========================================================= */
.ab-chat-grid {
  display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 64px; align-items: center;
}
.ab-chat-label {
  display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 0 12px;
  font-size: 13.5px; font-weight: 600; line-height: 1.4; color: #3A4A50; text-align: center;
}
.ab-chat-label i { font-size: 18px; color: #128C7E; }

/* Telefon: helle Insel mit vollständigem Gegen-Scope */
.ab-phone {
  max-width: 360px; margin: 0 auto; padding: 10px; border-radius: 36px; background: #13232A;
  box-shadow: 0 30px 60px rgba(14,59,76,.22), 0 2px 0 rgba(255,255,255,.06) inset;
  text-align: left;
}
.ab-phone-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 27px 27px 0 0;
  background: #075E54; color: #fff;
}
.ab-phone-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; object-fit: contain; padding: 4px; flex-shrink: 0;
}
.ab-phone-who { display: flex; flex-direction: column; min-width: 0; }
.ab-phone-name { font-size: 15px; font-weight: 600; line-height: 1.25; color: #fff; }
.ab-phone-status {
  display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 400; line-height: 1.3; color: #D7F5EC;
}
.ab-phone-dot { width: 7px; height: 7px; border-radius: 50%; background: #5BEA97; flex-shrink: 0; }
.ab-phone-wa { margin-left: auto; font-size: 23px; line-height: 1; color: rgba(255,255,255,.92); }
.ab-phone-body {
  position: relative; overflow: hidden; padding: 12px 10px 14px; border-radius: 0 0 27px 27px;
  background-color: #ECE5DD;
  background-image: radial-gradient(rgba(14,59,76,.07) 1px, transparent 1.2px);
  background-size: 14px 14px;
}
.ab-phone.is-anim .ab-phone-body { height: 452px; }
.ab-feed {
  display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none;
  transition: transform .55s cubic-bezier(.2,.8,.2,1); will-change: transform;
}
.ab-feed > li { margin: 0; padding: 0; text-align: left; text-wrap: wrap; }
.ab-day { align-self: center; margin: 4px 0 2px !important; }
.ab-day span {
  display: inline-block; padding: 4px 10px; border-radius: 8px; background: #fff;
  font-size: 11.5px; font-weight: 500; line-height: 1.3; color: #54656F; letter-spacing: 0; text-transform: none;
  box-shadow: 0 1px .5px rgba(11,20,26,.13);
}
.ab-feed .ab-msg {
  position: relative; max-width: 84%; padding: 6px 9px 5px !important; border-radius: 10px;
  box-shadow: 0 1px .5px rgba(11,20,26,.13);
}
.ab-feed .ab-in { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.ab-feed .ab-out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; }
.ab-feed .ab-msg p {
  margin: 0; font-size: 13.5px; font-weight: 400; line-height: 1.42; color: #111B21; text-align: left;
  text-transform: none; letter-spacing: 0;
}
.ab-time {
  display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin-top: 2px;
  font-size: 11px; font-weight: 400; line-height: 1.2; color: #5F6F76; font-variant-numeric: tabular-nums;
}
.ab-ticks { width: 16px; height: 10px; color: #53BDEB; flex-shrink: 0; }
.ab-feed .ab-msg-fotos {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 224px; padding: 4px 4px 3px !important;
}
.ab-foto {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: 7px;
  background: linear-gradient(140deg, #7FA3AE 0%, #4F7380 100%); color: rgba(255,255,255,.92);
}
.ab-foto + .ab-foto { background: linear-gradient(140deg, #A9A08F 0%, #7D7565 100%); }
.ab-foto i { font-size: 30px; line-height: 1; }
.ab-msg-fotos .ab-time { grid-column: 1 / -1; padding: 0 4px 1px; }
/* Tipp-Anzeige (nur mit JS) */
.ab-typing {
  align-self: flex-end; display: flex; gap: 4px; padding: 10px 12px !important; border-radius: 10px;
  border-top-right-radius: 2px; background: #D9FDD3; box-shadow: 0 1px .5px rgba(11,20,26,.13);
}
.ab-typing span { width: 6px; height: 6px; border-radius: 50%; background: #6B8F7A; animation: abTipp 1s infinite ease-in-out; }
.ab-typing span:nth-child(2) { animation-delay: .15s; }
.ab-typing span:nth-child(3) { animation-delay: .3s; }
.ab-typing:not(.is-on) { display: none; }
.ab-phone.is-anim .ab-feed > li:not(.is-on) { display: none; }
.ab-phone.is-anim .ab-feed > li.is-on { animation: abChatIn .34s cubic-bezier(.2,.8,.2,1) both; }
@keyframes abChatIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes abTipp { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* Rechte Spalte */
.ab-chat-copy h2 {
  font-size: clamp(23px, 3vw, 30px); line-height: 1.2; letter-spacing: -.2px; margin: 0 0 14px; text-align: left;
}
.ab-chat-copy > p { font-size: 16px; line-height: 1.65; color: var(--text); margin: 0 0 20px; max-width: 540px; }
.ab-chat-points { display: grid; gap: 10px; margin: 0 0 26px; }
.ab-chat-points li { display: flex; align-items: center; gap: 12px; }
.ab-chat-points i {
  width: 38px; height: 38px; border-radius: 10px; background: #E1F1F3; color: #12798A;
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.ab-chat-points span { font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--petrol); }
.ab-chat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ab-chat-tel {
  display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; color: var(--petrol);
}
.ab-chat-tel i { font-size: 19px; color: #12798A; }
.ab-chat-tel:hover { text-decoration: underline; text-underline-offset: 3px; }

/* CTA-Band nach dem Chat: Abstand zum hellgrauen Abschnitt davor; ab 1001 px Text und Knöpfe in einer Reihe */
.ab-band-sec { padding: 44px 0; }
@media (min-width: 1001px) {
  .ab-band-sec .cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; padding: 30px 34px; }
}

/* =========================================================
   Maschinenpark (dunkle Sektion, ohne Bild bis zu eigenen Gerätefotos, A29)
   ========================================================= */
.ab-dark { background: linear-gradient(150deg, var(--petrol-dark) 0%, var(--petrol) 100%); }
.ab-dark .section-title { color: #fff; }
.ab-dark .section-sub { color: #B9CDD4; max-width: 680px; margin-left: auto; margin-right: auto; }
.ab-machine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ab-machine {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 26px 24px;
}
.ab-machine i { font-size: 40px; color: var(--teal-bright); display: block; margin-bottom: 14px; }
.ab-machine p { color: #C4D6DC; font-size: 14.5px; }
.ab-dark .ab-machine .ab-machine-title { color: #fff; font-size: 19px; font-weight: 600; margin-bottom: 8px; }

/* =========================================================
   Bauschutt-Recycling: Text links, Karte rechts
   ========================================================= */
.ab-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 56px; align-items: center; }
.ab-split-text h2 { font-size: clamp(23px, 3vw, 30px); line-height: 1.2; margin: 0 0 14px; }
.ab-split-text p { font-size: 15.5px; line-height: 1.7; color: var(--text); margin: 0 0 12px; }
.ab-split-text p:last-child { margin-bottom: 0; }
.ab-split-card {
  background: linear-gradient(160deg, #F0F7F8 0%, #E6F3F5 100%); border: 1px solid #D6EAED;
  border-radius: 20px; padding: 28px 26px;
}
.ab-split-icon {
  width: 56px; height: 56px; border-radius: 15px; background: var(--petrol); color: var(--teal-bright);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.ab-split-icon i { font-size: 30px; line-height: 1; }
.ab-ticklist { display: grid; gap: 14px; }
.ab-ticklist li { display: flex; align-items: flex-start; gap: 10px; }
.ab-ticklist i { font-size: 21px; line-height: 1.2; color: var(--teal); flex-shrink: 0; }
.ab-ticklist span { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--petrol); }

/* =========================================================
   Karten mit Symbol (Vorab-Check, Erdarbeiten-Leistungen)
   ========================================================= */
.ab-check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ab-check {
  display: flex; flex-direction: column; background: #fff; border: 1px solid #E1ECEE; border-radius: 18px;
  padding: 24px 24px 22px; box-shadow: var(--shadow-sm);
}
.ab-check-icon {
  width: 48px; height: 48px; border-radius: 13px; background: #E8F6F7; color: var(--teal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.ab-check-icon i { font-size: 25px; line-height: 1; }
.ab-check h3 { font-size: 18px; line-height: 1.3; margin: 0 0 8px; }
.ab-check p { font-size: 14.5px; line-height: 1.65; color: var(--text); }
.ab-check-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px;
  font-size: 14.5px; font-weight: 600; color: #12798A;
}
.ab-check-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ab-cta-row { margin-top: 32px; }

/* =========================================================
   Projekt: Vorher, während, nachher (Projektfotos, A29)
   ========================================================= */
.ab-projekt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.ab-pcard {
  margin: 0; background: #fff; border: 1px solid #E1ECEE; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ab-pcard img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #DCE7EA; border: 0; }
.ab-pcard figcaption { padding: 15px 18px 18px; }
.ab-pcard-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #EBF0F1;
}
.ab-pcard-title { font-size: 12.5px; font-weight: 700; line-height: 1.3; letter-spacing: .8px; text-transform: uppercase; color: var(--petrol); }
.ab-pcard-chip {
  font-size: 12px; font-weight: 600; line-height: 1.3; color: #0F6D7C; background: #E8F6F7;
  padding: 3px 9px; border-radius: 99px; white-space: nowrap;
}
.ab-pcard p { font-size: 14.5px; line-height: 1.55; color: var(--text); }

/* =========================================================
   Vergleich (A24): Tabelle, unter 620 px Karten
   ========================================================= */
.ab-compare-wrap {
  max-width: 880px; margin: 0 auto 26px; background: #fff; border: 1px solid #E1ECEE; border-radius: 20px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.ab-compare { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.ab-compare th, .ab-compare td { padding: 14px 18px; text-align: left; vertical-align: middle; border-top: 1px solid #EBF0F1; }
.ab-compare thead th { border-top: 0; padding: 18px; vertical-align: middle; }
.ab-compare thead th.ab-cmp-them { font-size: 15px; font-weight: 600; color: #4F5F64; }
.ab-cmp-logo { height: 36px; width: auto; display: block; }
.ab-compare tbody th { width: 26%; font-size: 14.5px; font-weight: 600; color: var(--petrol); }
.ab-compare .ab-cmp-us { background: #F1F9FA; }
.ab-compare td { position: relative; padding-left: 48px; }
.ab-compare td > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 21px; line-height: 1; }
.ab-compare td.ab-cmp-us > i { color: var(--teal); }
.ab-compare td.ab-cmp-them > i { color: #A3B0B4; }
.ab-compare td.ab-cmp-us span { font-weight: 600; color: var(--petrol); }
.ab-compare td.ab-cmp-them span { color: #4F5F64; }
.page-abriss .ab-note { text-align: center; max-width: 600px; margin: 0 auto 26px; font-size: 15px; line-height: 1.6; color: var(--petrol); }

/* =========================================================
   Ablauf: 6 Schritte (3 Spalten) bzw. 4 Schritte auf /erdarbeiten
   ========================================================= */
.ab-steps {
  list-style: none; padding: 0; margin: 50px 0 42px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px;
}
.ab-steps.ab-steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ab-steps .step-card { padding: 30px 22px 24px; }
.ab-steps .step-title { font-size: 16.5px; }
.ab-steps .step-text { font-size: 14px; }

/* =========================================================
   Brücke zu /erdarbeiten (A20)
   ========================================================= */
.ab-bridge-sec { padding: 44px 0; }
.ab-bridge {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center;
  background: #E8F6F7; border: 1px solid #CFE8EC; border-radius: 20px; padding: 28px 32px;
}
.ab-bridge-icon {
  width: 64px; height: 64px; border-radius: 17px; background: #fff; color: var(--teal);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.ab-bridge-icon i { font-size: 32px; line-height: 1; }
.ab-bridge-text .eyebrow { margin-bottom: 4px; }
.ab-bridge-text h2 { font-size: 22px; line-height: 1.25; margin: 0 0 6px; }
.ab-bridge-text p { font-size: 15px; line-height: 1.6; color: var(--text); max-width: 560px; }
.ab-bridge-btn { white-space: normal; text-align: center; justify-content: center; background: #fff; }

/* =========================================================
   Einzugsgebiet (A18): Inhalt links, Karte rechts ohne Kreis
   ========================================================= */
.ab-region-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.region-left .btn { white-space: normal; }
.page-abriss .region-left .checks { margin-bottom: 14px; }
.ab-region-note { font-size: 15px; line-height: 1.6; color: var(--text); margin: 0 0 22px; }
.ab-btn-line { background: transparent; color: var(--petrol); border: 2px solid var(--petrol); padding: 13px 26px; }
.ab-btn-line:hover { background: var(--petrol); color: #fff; }
.ab-btn-line i { color: inherit; }
.ab-map { position: relative; }
.ab-map-img {
  border-radius: 0;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
}

/* ---------- Anfrage ---------- */
#anfrage .contact-grid { align-items: start; }

/* =========================================================
   FAQ: große, fast durchsichtige Bildmarke statt Punkteraster
   ========================================================= */
.page-abriss #faq::after {
  top: 50%; right: -70px; bottom: auto; width: 540px; height: 505px; transform: translateY(-50%);
  background: url('../images/abriss-bildmarke.webp') center / contain no-repeat;
  opacity: .06; -webkit-mask-image: none; mask-image: none;
}

/* ---------- Fuß: vier Spalten (Marke, Leistungen, Navigation, Kontakt) ---------- */
.ab-footer-brand .footer-logo-wrap { margin-bottom: 16px; }
.site-footer .ab-footer-claim { max-width: 270px; margin: 0 0 26px; font-size: 14px; line-height: 1.55; color: #9FB5BD; }
.ab-footer-brand .footer-hours { max-width: 270px; }
.page-abriss .footer-bottom { padding-left: 24px; padding-right: 24px; }
@media (max-width: 480px) { .page-abriss .footer-bottom { padding-left: 16px; padding-right: 16px; } }

/* ---------- Finale CTA ---------- */
.ab-final { background-image: url('../images/hero.webp'); }

/* ---------- Sticky-Leiste mobil ---------- */
.ab-sticky { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .ab-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px; }
  .ab-steps.ab-steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-chat-grid { gap: 44px; }
  .ab-check-grid { grid-template-columns: 1fr; max-width: 680px; margin-left: auto; margin-right: auto; }
}

/* Hero mobil: Text oben, Quiz direkt darunter; Telefon und WhatsApp tragen Kopfzeile und Sticky-Leiste */
@media (max-width: 820px) {
  .ab-hero-grid { grid-template-columns: 1fr; gap: 22px; padding-top: 18px; padding-bottom: 40px; }
  .ab-hero .hero-cta, .ab-hero-tip { display: none; }
  .ab-hero .hero-usps { margin-bottom: 0; }
  .ab-claim { font-size: clamp(28px, 7.4vw, 40px); }
  .ab-quiz { max-width: 560px; width: 100%; }

  .ab-chain { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; max-width: 640px; margin: 0 auto; }
  .ab-glied:nth-child(4)::before { display: block; }

  .ab-chat-grid { grid-template-columns: 1fr; gap: 34px; }
  .ab-chat-copy { max-width: 600px; }

  .ab-machine-grid { grid-template-columns: 1fr; }
  .ab-split { grid-template-columns: 1fr; gap: 28px; }
  .ab-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-bridge { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; }
  .ab-bridge-btn { justify-self: start; }
  .page-abriss #faq::after { width: 320px; height: 300px; right: -90px; opacity: .05; }

  .ab-sticky {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); box-shadow: 0 -6px 20px rgba(14,59,76,.14);
  }
  .ab-sticky a {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 46px; border-radius: 10px; font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap;
  }
  .ab-sticky a i { font-size: 18px; }
  .ab-sticky-tel { background: var(--petrol); }
  .ab-sticky a.ab-sticky-wa { background: #25D366; color: #073B1F; }
  .ab-sticky-form { background: var(--teal); }
  body.page-abriss { padding-bottom: 66px; }
}
@media (max-width: 760px) {
  .ab-projekt-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .ab-steps, .ab-steps.ab-steps-4 { grid-template-columns: 1fr; }
  .final-cta-actions .btn { width: 100%; max-width: 340px; justify-content: center; }
  .ab-chat-actions .btn { width: 100%; justify-content: center; }
  .ab-chat-actions { justify-content: center; }
  .ab-bridge-btn { justify-self: stretch; padding: 13px 18px; font-size: 15px; }
  .ab-phone.is-anim .ab-phone-body { height: 430px; }
}
/* Vergleich: unter 620 px wird jede Zeile eine Karte */
@media (max-width: 619px) {
  .ab-compare-wrap { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
  .ab-compare thead { display: none; }
  .ab-compare, .ab-compare tbody, .ab-compare tr, .ab-compare th, .ab-compare td { display: block; width: 100%; }
  .ab-compare tr {
    background: #fff; border: 1px solid #E1ECEE; border-radius: 16px; margin-bottom: 12px; overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .ab-compare tbody th { width: 100%; border-top: 0; padding: 13px 16px 11px; font-size: 15.5px; }
  .ab-compare td { padding: 10px 16px 12px 48px; }
  .ab-compare td[data-spalte]::before {
    content: attr(data-spalte); display: block; margin-bottom: 1px;
    font-size: 12px; font-weight: 600; line-height: 1.4; color: #4F5F64;
  }
  .ab-compare td > i { top: 30px; transform: none; }
}
@media (max-width: 480px) {
  .logo-img { height: 36px; }
  .ab-hero .hero-sub { font-size: 15px; margin-bottom: 14px; }
  .ab-hero .hero-usps li { font-size: 14.5px; }
  .ab-quiz { padding: 18px 16px 14px; }
  .abq-tile { min-height: 56px; padding: 9px 10px; font-size: 14px; gap: 8px; }
  .abq-tile i { font-size: 22px; }
  .ab-glied { grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; }
  .ab-glied-num { width: 34px; height: 34px; font-size: 14px; box-shadow: 0 0 0 4px #E8F4F6; }
  .ab-glied::before { left: 16px; top: 40px; }
  .ab-glied-card { padding: 16px 16px 17px; }
  .ab-glied-icon { width: 36px; height: 36px; border-radius: 10px; }
  .ab-glied-icon i { font-size: 20px; }
  .ab-glied-head h3 { font-size: 16px; }
  .ab-check { padding: 22px 20px 20px; }
  .ab-split-card { padding: 24px 20px; }
}
@media (max-width: 380px) {
  .logo-img { height: 32px; }
  .site-header .icon-btn { width: 40px; height: 40px; }
  .ab-head-cta { padding: 9px 11px; font-size: 13.5px; }
  .ab-sticky a { font-size: 13px; gap: 4px; }
  .ab-sticky a i { font-size: 16px; }
}
@media (max-width: 345px) {
  .logo-img { height: 28px; }
  .header-actions.mobile-only { gap: 6px; }
  .abq-tiles { grid-template-columns: 1fr; }
}

/* ---------- Umbruch-Feinschliff: kleinste Handys (rgn-typo-umbruch, 07.10.2026) ---------- */
@media (max-width: 359px) {
  .ab-final .final-cta-title { font-size: 27px; }
  .ab-final .final-cta-sub { font-size: 16.4px; }
}

/* Tablet (641–820 px): Maschinen-Absätze laufen einspaltig über die volle Breite, 6 % kleiner gegen kurze Restzeilen */
@media (min-width: 641px) and (max-width: 820px) {
  .ab-machine p:not(.ab-machine-title) { font-size: 13.6px; }
}

/* 360er-Handys: Ablauf-H2 samt Unterzeile 2,7 % kleiner, sonst steht „ab" allein */
@media (max-width: 370px) {
  #ablauf .section-title { font-size: 21.4px; }
  #ablauf .section-sub { font-size: 14.6px; }
}

/* Umbruch (Waisenwort-Check 14.10.2026): Überschriften gleichmäßig umbrechen,
   Fließtext und Listen ohne einzelnes Wort auf der letzten Zeile */
.page-abriss main :where(h2, h3), .abq-title { text-wrap: balance; }
.page-abriss main :where(p, li) { text-wrap: pretty; }
.page-abriss main .section-sub { text-wrap: balance; }
/* Fortschrittsanzeige einzeilig: text-wrap-Kurzform oben würde white-space: nowrap aufheben */
.page-abriss main .abq-progress-text { text-wrap: nowrap; white-space: nowrap; }
/* Waisen: Claim, Hero-Punkte und FAQ-Fragen ausbalancieren (die p/li-Regel oben ist spezifischer als .ab-claim) */
.page-abriss main .ab-kicker, .page-abriss main .ab-claim, .page-abriss main .ab-hero .hero-usps li, .page-abriss main .faq summary { text-wrap: balance; }
/* Handy: Quiz-Titel über die volle Kartenbreite, Fortschritt darunter (sonst steht „anfragen" allein) */
@media (max-width: 480px) {
  .abq-head { flex-wrap: wrap; row-gap: 2px; }
  .abq-title { flex: 1 1 100%; }
}

/* Kontrast (kontrast.mjs 14.10.2026): gedämpfte Grautöne nur auf der LP auf mind. 4,5 : 1.
   :where() hält die Spezifität bei 0,1,0, damit .ab-dark .section-sub (hell auf dunkel) gewinnt. */
.page-abriss :where(.section-sub, .form-note, .co-label, .steps-cta-sub) { color: var(--text); }
.page-abriss .final-cta-trust span { color: rgba(255,255,255,.92); }
/* Finale CTA: Verlauf rechts unten dunkler, sonst liegt weiße Schrift mobil bei 4,1 : 1 */
.page-abriss .ab-final .final-cta-overlay { background: linear-gradient(135deg, rgba(14,59,76,.94) 0%, rgba(16,96,114,.88) 100%); }

/* Bewegung nur, wenn erwünscht */
@media (prefers-reduced-motion: reduce) {
  .ab-feed { transition: none; }
  .ab-typing span { animation: none; }
}
