/* Unterseite Einlagerung. Baut auf site.css auf (Farben, Schrift, Knöpfe, Formular, Fragen, Kopf, Fuß).
   Eigene Klassen mit Präfix el-. Bewegung nur als Antwort auf eine Handlung (Emil Kowalski, Apple). */

/* Aktuelle Seite im Menü */
.nav a[aria-current="page"]:not(.knopf) { color: var(--titel); background-size: 100% 2px; }

/* 1. Einstieg: hell, Text links, Halle rechts, Belege direkt unter dem Bild */
.el-kopf { background: var(--flaeche); padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.el-kopf__in { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.el-kopf .krumen { margin-bottom: clamp(20px, 3vw, 36px); }
.el-kopf h1 { font: 400 clamp(38px, 4.2vw, 60px)/1.06 var(--serif); letter-spacing: -0.028em; color: var(--titel); text-wrap: balance; }
.el-kopf h1 em { display: block; margin-top: 10px; padding-bottom: 2px; font-size: 0.62em; line-height: 1.2; letter-spacing: -0.01em; font-style: italic; color: var(--akzent-text); }
.el-kopf__lead { margin-top: 22px; max-width: 32em; font-size: 19px; color: var(--text-2); text-wrap: pretty; }
.el-kopf__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.el-tel { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 700; font-size: 18px; color: var(--titel); text-decoration: none; white-space: nowrap; }
.el-tel .i { color: var(--gold); }
.el-kopf__bild { margin: 0; }
.el-kopf__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 60%; border-radius: var(--r); }
.el-belege { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.el-belege li, .el-belege a { display: inline-flex; align-items: center; gap: 8px; }
.el-belege a { color: inherit; text-decoration: underline; text-decoration-color: var(--linie); text-underline-offset: 4px; }
.el-belege .i { width: 18px; height: 18px; color: var(--gold); }

/* 2. Anlass wählen: Sprungmarken als große Antwortzeilen */
.el-anlass { padding-block: var(--abstand) clamp(40px, 5vw, 64px); }
.el-wahl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3vw, 40px); }
.el-wahl a { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--linie); background: var(--karte); font-weight: 600; font-size: 17px; color: var(--titel); text-decoration: none; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.12s var(--ease); }
.el-wahl .i { width: 22px; height: 22px; color: var(--gold); }
.el-wahl a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .el-wahl a:hover { border-color: var(--titel); } }

/* Gemeinsame Textbausteine */
.el-text { margin-top: 20px; max-width: 34em; color: var(--text-2); text-wrap: pretty; }
.el-punkte { display: grid; gap: 12px; margin-top: 24px; }
.el-punkte li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.el-punkte .i { width: 22px; height: 22px; margin-top: 3px; color: var(--gold); }

/* 3. Wasserschaden */
.el-ws { background: var(--flaeche); padding-block: var(--abstand); scroll-margin-top: 96px; }
.el-ws__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.el-anruf { display: flex; align-items: center; gap: 18px; max-width: 460px; margin-top: 28px; padding: 18px 22px; border-radius: var(--r); background: var(--tief); color: #fff; text-decoration: none; box-shadow: var(--schatten); transition: transform 0.12s var(--ease); }
.el-anruf:active { transform: scale(0.97); }
.el-anruf__kreis { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--gold); color: var(--tief); }
.el-anruf__kreis .i { width: 24px; height: 24px; }
.el-anruf small { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.el-anruf b { display: block; font: 400 clamp(26px, 2.4vw, 32px)/1.2 var(--serif); font-variant-numeric: tabular-nums; }
.el-ws__bild { margin-top: 32px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; border-radius: var(--r); }

/* Liste zum Abhaken: echte Checkboxen, Haken zeichnet sich in 200 ms, Fortschritt per clip-path */
.el-liste { padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r); background: var(--karte); box-shadow: var(--schatten); border: 1px solid var(--linie); }
.el-liste__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.el-liste__kopf h3 { font: 400 clamp(24px, 2vw, 30px)/1.2 var(--serif); color: var(--titel); }
.el-liste__stand { flex: none; font-size: 15px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.el-liste__balken { height: 4px; margin-top: 14px; border-radius: 4px; background: var(--flaeche-2); overflow: hidden; }
.el-liste__balken i { display: block; height: 100%; background: var(--gold); clip-path: inset(0 100% 0 0 round 4px); transition: clip-path 0.3s var(--ease); }
.el-liste ul { display: grid; gap: 4px; margin-top: 16px; }
.el-liste label { display: flex; gap: 14px; padding: 12px; border-radius: 12px; cursor: pointer; transition: background-color 0.15s ease, transform 0.12s var(--ease); }
.el-liste label:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .el-liste label:hover { background: var(--flaeche); } }
.el-liste input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.el-haken { display: grid; place-items: center; width: 28px; height: 28px; flex: none; margin-top: 1px; border-radius: 50%; border: 2px solid var(--linie); background: var(--karte); transition: background-color 0.2s ease, border-color 0.2s ease; }
.el-haken svg { width: 16px; height: 16px; fill: none; stroke: var(--tief); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.el-haken path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.12s ease-out; }
.el-liste input:checked + .el-haken { border-color: var(--gold); background: var(--gold); }
.el-liste input:checked + .el-haken path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.2s var(--ease) 0.04s; }
.el-liste input:focus-visible + .el-haken { outline: 3px solid var(--gold); outline-offset: 2px; }
.el-liste label > span:last-child { display: grid; gap: 2px; font-size: 16px; line-height: 1.45; color: var(--text-2); }
.el-liste b { font-weight: 600; font-size: 17px; color: var(--text); transition: color 0.2s ease; }
.el-liste input:checked ~ span:last-child b { color: var(--text-2); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.el-liste__fertig { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--flaeche); font-size: 16px; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); transform-origin: top center; }
@starting-style { .el-liste__fertig { opacity: 0; transform: scale(0.97); } }
.el-liste__fertig a { color: var(--titel); font-weight: 700; white-space: nowrap; }
.el-liste__hinweis { margin-top: 14px; font-size: 14px; color: var(--text-2); }

/* 4. Renovierung */
.el-reno { padding-block: var(--abstand); scroll-margin-top: 96px; }
.el-reno__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.el-reno__bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 15%; border-radius: var(--r); }

/* 5. Weitere Anlässe: Zeilen mit kleinem Foto, durch Linien getrennt */
.el-mehr { background: var(--flaeche); padding-block: var(--abstand); }
.el-mehr__liste { display: grid; margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--linie); }
.el-mehr article { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding-block: 28px; border-bottom: 1px solid var(--linie); scroll-margin-top: 96px; }
.el-mehr img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.el-mehr h3 { font: 400 clamp(26px, 2.4vw, 32px)/1.2 var(--serif); color: var(--titel); }
.el-mehr p { margin-top: 10px; max-width: 40em; color: var(--text-2); }
#kleinere-wohnung img { object-position: 35% 50%; }
#nachlass img { object-position: 62% 50%; }

/* 6. Ablauf */
.el-ablauf { padding-block: var(--abstand); }
.el-ablauf__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(32px, 4vw, 56px); counter-reset: s; }
.el-ablauf__liste li { counter-increment: s; display: grid; gap: 10px; align-content: start; }
.el-ablauf__liste img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.el-ablauf__liste li:nth-child(1) img { object-position: 60% 35%; }
.el-ablauf__liste li:nth-child(3) img { object-position: 50% 65%; }
.el-ablauf__liste li:nth-child(4) img { object-position: 35% 45%; }
.el-ablauf__liste h3 { display: flex; align-items: baseline; gap: 10px; font: 400 23px/1.25 var(--serif); color: var(--titel); }
.el-ablauf__liste h3::before { content: counter(s); font-size: 0.8em; color: var(--akzent-text); font-variant-numeric: tabular-nums; }
.el-ablauf__liste p { font-size: 16px; color: var(--text-2); }

/* 7. Lager */
.el-lager { background: var(--flaeche); padding-block: var(--abstand); }
.el-lager__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.el-lager__gross { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 75% 55%; border-radius: var(--r); }
.el-fakten { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 28px; }
.el-fakten div { padding-block: 14px; border-top: 1px solid var(--linie); }
.el-fakten dt { font-size: 15px; font-weight: 600; color: var(--text-2); }
.el-fakten dd { margin: 2px 0 0; font: 400 20px/1.3 var(--serif); color: var(--titel); }

/* 8. Kosten: nutzt .kosten aus site.css, eigener Abstand */
.el-kosten { padding-block: var(--abstand); }
.el-kosten .kosten { margin-top: 0; }

/* Sprungziele nicht unter dem Kopf verstecken */
#wasserschaden, #renovierung, #zwischenlagerung, #kleinere-wohnung, #nachlass, #ablauf, #lager, #anfrage { scroll-margin-top: 110px; }

/* Weniger Bewegung: nur sanfte Überblendungen bleiben */
@media (prefers-reduced-motion: reduce) {
  .el-wahl a, .el-anruf, .el-liste label, .el-haken path, .el-liste__balken i { transition: none; }
  .el-wahl a:active, .el-anruf:active, .el-liste label:active { transform: none; }
  @starting-style { .el-liste__fertig { transform: none; } }
}

/* Tablet und Handy */
@media (max-width: 960px) {
  .el-kopf__in, .el-ws__in, .el-reno__in, .el-lager__in { grid-template-columns: 1fr; }
  .el-ablauf__liste { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .el-wahl a { width: 100%; }
  .el-mehr article { grid-template-columns: 1fr; gap: 16px; }
  .el-ablauf__liste { grid-template-columns: 1fr; }
  .el-fakten { grid-template-columns: 1fr; }
  .el-anruf { max-width: none; }
}

/* Formular am Handy: lange Antworten umbrechen statt die Spalte aufzudrücken */
.el .form, .el .form__schritt, .el .form__karten { min-width: 0; }
.el .karte span { text-align: center; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 960px) { .el .anfrage__in { grid-template-columns: minmax(0, 1fr); } }

/* Anlässe als ruhige Aufzählung (ersetzt die Auswahl zum Antippen) */
.el-gruende { padding-block: var(--abstand); background: #fff; }
@media (prefers-color-scheme: dark) { .el-gruende { background: var(--grund); } }
.el-gruende .vorspann { margin-top: 18px; max-width: 36em; font-size: 18px; line-height: 1.7; color: var(--text-2); }
.el-gruende__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; list-style: none; }
.el-gruende__liste li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; padding-top: 24px; border-top: 1px solid var(--linie); }
.el-gruende__symbol { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: #fff; }
.el-gruende__symbol .i { width: 24px; height: 24px; }
.el-gruende__liste h3 { font: 400 clamp(21px, 1.9vw, 25px)/1.2 var(--serif); color: var(--titel); }
.el-gruende__liste p { margin-top: 8px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
@media (max-width: 960px) { .el-gruende__liste { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .el-gruende__liste { grid-template-columns: 1fr; gap: 24px; } }

/* Vorteile: weiße Karte auf Fläche, links Text mit drei Haken, rechts Foto bis zum Kartenrand */
.el-vorteile { background: var(--flaeche); padding-block: var(--abstand); }
.el-vorteile__karte { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); border-radius: 24px; overflow: hidden; background: var(--karte); box-shadow: 0 0 0 1px var(--linie), var(--schatten); }
.el-vorteile__text { padding: clamp(32px, 5vw, 64px); }
.el-vorteile__zeit { font-size: 15px; font-weight: 600; color: var(--akzent-text); }
.el-vorteile .titel { margin-top: 12px; }
.el-vorteile__lead { margin-top: 20px; max-width: 34em; font-size: 18px; line-height: 1.75; color: var(--text-2); }
.el-vorteile__liste { margin-top: 28px; display: grid; gap: 16px; }
.el-vorteile__liste li { display: flex; gap: 14px; align-items: flex-start; }
.el-vorteile__liste b { display: block; font-size: 17px; color: var(--titel); }
.el-vorteile__liste p { margin-top: 2px; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.el-vorteile__haken { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--gold); color: #fff; }
.el-vorteile__haken .i { width: 15px; height: 15px; }
.el-vorteile__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 40px; }
.el-vorteile__bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
@media (max-width: 960px) {
  .el-vorteile__karte { grid-template-columns: 1fr; }
  .el-vorteile__bild { order: -1; aspect-ratio: 4 / 3; }
  .el-vorteile__text { padding: 28px 22px 32px; }
}
.el-lager { background: var(--grund); }

/* Kosten: grau gegen Navy, flach, gleiche Rundung und Haken wie die Vorteile-Karte */
.el-kosten { background: var(--grund); }
.el-kosten__kopf { max-width: 760px; padding-inline: clamp(0px, 4vw, 64px); }
.el-kosten__lead { margin-top: 20px; max-width: 34em; font-size: 18px; line-height: 1.75; color: var(--text-2); }
.el-kosten__paar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
.el-kosten__grau, .el-kosten__navy { padding: clamp(28px, 4vw, 52px); border-radius: 24px; }
.el-kosten__grau { background: var(--flaeche); }
.el-kosten__navy { background: var(--tief); color: #fff; }
.el-kosten__paar h3 { margin-bottom: 22px; font: 400 clamp(24px, 2.2vw, 30px)/1.2 var(--serif); color: var(--titel); }
.el-kosten__navy h3 { color: #fff; }
.el-kosten__liste { display: grid; gap: 16px; }
.el-kosten__liste li { display: flex; gap: 14px; align-items: flex-start; }
.el-kosten__liste p { margin-top: 2px; font-size: 16px; line-height: 1.7; color: var(--text-2); }
.el-kosten__liste b { padding-top: 2px; font-size: 17px; color: #fff; }
.el-kosten__x { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: #e4e7ec; color: #6b7280; }
.el-kosten__x .i { width: 12px; height: 12px; }
.el-kosten__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.el-kosten__navy .hero__tel { color: #fff; }
.el-kosten__navy .hero__tel .i { color: var(--gold-hell); }
@media (max-width: 960px) {
  .el-kosten__kopf { padding-inline: 0; }
  .el-kosten__paar { grid-template-columns: 1fr; }
  .el-kosten__navy { order: -1; }
}
@media (prefers-color-scheme: dark) { .el-kosten__x { background: var(--flaeche-2); color: var(--text-2); } }

/* Kundenstimmen: die graue Fläche der Vorteile läuft weiter, weiße Karten mit gleicher Rundung */
.el-vorteile { padding-bottom: clamp(56px, 6vw, 88px); }
.el-stimmen { background: var(--flaeche); padding-bottom: var(--abstand); }
.el-stimmen__kopf { max-width: 760px; padding-inline: clamp(0px, 4vw, 64px); }
.el-stimmen__reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(32px, 4vw, 48px); }
.el-stimmen figure { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: clamp(24px, 2.6vw, 34px); border-radius: 24px; background: var(--karte); }
.el-stimmen blockquote { flex: 1; margin: 0; }
.el-stimmen blockquote p { font: 400 19px/1.5 var(--serif); color: var(--titel); }
.el-stimmen mark { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--gold) 35%, transparent) 62%); color: inherit; }
.el-stimmen figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-top: 14px; border-top: 1px solid var(--linie); font-size: 14px; color: var(--text-2); }
.el-stimmen figcaption b { color: var(--titel); white-space: nowrap; }
.el-stimmen figcaption .bw__g { width: 16px; height: 16px; }
@media (max-width: 960px) { .el-stimmen__kopf { padding-inline: 0; } .el-stimmen__reihe { grid-template-columns: 1fr; } }

/* Formular: Spalten dürfen schmaler werden als ihr Inhalt, sonst ragt das Formular über den Rand */
.el .form__karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.el .form__karten--klein { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.el .form__schritt { min-inline-size: 0; }
/* Ohne Bild daneben darf das Formular nicht nach rechts überstehen */
.el .anfrage .form { margin-right: 0; }
/* Schrittanzeige in einer Zeile lesen, nicht über die Breite verteilt */
.el .form__stand { display: block; }
/* Drei Haken neben dem Formular */
.el .anfrage__punkte { display: grid; gap: 10px; margin-top: 22px; }
.el .anfrage__punkte li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text); }
.el .anfrage__punkte .i { width: 20px; height: 20px; flex: none; color: var(--gold); }
.el .anfrage__tel { margin-top: 22px; }

/* Rückruf-Formular: nur Name und Telefon */
.el-rueckruf .form__schritt { display: grid; gap: 14px; }
.el-rueckruf legend { margin-bottom: 4px; font: 400 clamp(24px, 2.2vw, 30px)/1.2 var(--serif); color: var(--titel); }
.el-rueckruf .form__hilfe { margin: 0 0 6px; }
.el-rueckruf .form__senden { width: 100%; margin-top: 6px; }
.el-rueckruf .form__danke { text-align: center; padding-block: 24px; }
.el-rueckruf .form__danke .i { width: 44px; height: 44px; color: var(--gold); }
.el-rueckruf .form__danke h3 { margin-top: 12px; font: 400 26px/1.2 var(--serif); color: var(--titel); }
.el-rueckruf .form__danke p { margin-top: 8px; color: var(--text-2); }
/* Auf dem Handy steht das Formular direkt unter der Überschrift */
@media (max-width: 960px) {
  .el .anfrage__text { display: contents; }
  .el .anfrage__in > * , .el .anfrage__text > * { order: 5; }
  .el .anfrage__text .titel { order: 1; } .el .anfrage__lead { order: 2; } .el .anfrage .form { order: 3; margin-top: 24px; }
  .el .anfrage__punkte { order: 4; margin-top: 28px; }
}
