/* =============================================================
   Sanierung Kassel (R11, 10.11.2026) · seitenspezifische Bausteine
   .sk-strecke (Gewerke-Strecke als Zeitlinie) · .sk-tabs (Umfang, Reiter oben)
   .sk-phasen (Baustellenfotos, dunkel) · .sk-fest (drei Festlegungen als Angebotsblatt)
   .sk-fuer (zwei Listen: privat / Bestand)
   Nur Bestands-Werte aus styles.css: keine neuen Farben, Radien, Schatten.
   ============================================================= */

/* ---------- Kopf: Bildausschnitt auf die geöffnete Decke ---------- */
.sk-kopf .hero-bg { object-position: 50% 30%; }

/* ---------- 2 · Gewerke-Strecke ---------- */
.sk-strecke-kopf { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: end; margin-bottom: clamp(30px, 4vw, 48px); }
.sk-strecke-kopf .section-title { margin-bottom: 0; }
.sk-strecke-kopf > p { font-size: 17px; line-height: 1.6; color: var(--muted-aa); margin: 0 0 4px; }

.sk-linie { list-style: none; margin: 0; padding: 0; position: relative; border-top: 2px solid var(--ink); }
.sk-linie::before { content: ""; position: absolute; left: 21px; top: 36px; bottom: 36px; width: 2px; background: var(--line); }
.sk-station { position: relative; display: grid; grid-template-columns: 44px minmax(0, 330px) minmax(0, 1fr); column-gap: 26px; align-items: center; padding: 14px 0; }
.sk-station + .sk-station::after { content: ""; position: absolute; left: 70px; right: 0; top: 0; height: 1px; background: var(--line-soft); }
.sk-nr { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 17px; line-height: 1; box-shadow: 0 0 0 5px #fff; }
.sk-station--fach .sk-nr { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.sk-station--ziel .sk-nr { background: var(--red); }
.sk-st-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
.sk-st-kopf h3 { font-size: 20px; font-weight: 800; line-height: 1.2; }
.sk-marke { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; color: var(--text); background: var(--concrete); border: 1px solid var(--line); border-radius: var(--r-s); padding: 5px 8px; }
.sk-st-satz { font-size: 16px; line-height: 1.5; color: var(--text); margin: 0; }
.sk-strecke-fuss { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.sk-strecke-fuss .weiter-hinweis { margin: 0; max-width: 66ch; font-size: 14.5px; line-height: 1.55; }
.sk-strecke-fuss .btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 1100px) {
  .sk-strecke-kopf { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sk-station { grid-template-columns: 44px minmax(0, 250px) minmax(0, 1fr); column-gap: 20px; }
  .sk-station + .sk-station::after { left: 64px; }
}
@media (max-width: 860px) {
  .sk-strecke-kopf > p { font-size: 15.5px; }
  .sk-linie::before { left: 18px; top: 30px; bottom: 50px; }
  .sk-station { grid-template-columns: 38px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 14px 0; }
  .sk-station + .sk-station::after { left: 54px; }
  .sk-nr { width: 38px; height: 38px; font-size: 15.5px; grid-row: 1 / span 2; box-shadow: 0 0 0 4px #fff; }
  .sk-st-kopf { min-height: 38px; gap: 6px 10px; }
  .sk-st-kopf h3 { font-size: 17.5px; }
  .sk-st-satz { grid-column: 2; font-size: 14.5px; margin-top: 2px; }
  .sk-strecke-fuss { flex-direction: column; align-items: stretch; margin-top: 18px; padding-top: 18px; }
  .sk-strecke-fuss .weiter-hinweis { font-size: 13.5px; }
  .sk-strecke-fuss .btn { width: 100%; }
}

/* ---------- 3 · Umfang: Reiter oben, Bild links ---------- */
.sk-tabs.svc-tabs { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 8px; }
.sk-tabs .tab-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--concrete-2); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-m) var(--r-m) 0 0; overflow: hidden; }
.sk-tabs .tab-btn { justify-content: center; text-align: center; min-height: 60px; padding: 14px 12px; border: 0; border-radius: 0; border-top: 4px solid transparent; background: transparent; font-size: 16px; color: var(--text); }
.sk-tabs .tab-btn + .tab-btn { border-left: 1px solid var(--line); }
.sk-tabs .tab-btn:hover { color: var(--ink); background: var(--concrete); }
.sk-tabs .tab-btn.active { background: #fff; color: var(--ink); border-top-color: var(--red); }
.sk-tabs .tab-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.sk-tabs .tab-panel { border-radius: 0 0 var(--r-m) var(--r-m); }
.sk-tabs .tab-block.active { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 460px; }
.sk-tabs .tb-media { order: -1; min-height: 320px; }
.sk-tabs .tb-content { padding: clamp(26px, 3.4vw, 44px); }
.sk-tabs .tab-block h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 12px; }
.sk-tabs .tb-content > p { font-size: 16px; line-height: 1.6; margin-bottom: 20px; max-width: 58ch; }
.sk-tabs .tb-content > p:has(+ p) { margin-bottom: 10px; }
.sk-tabs .tb-bullets li { font-size: 15.5px; white-space: normal; align-items: flex-start; }
.sk-umfang .sk-weiter { margin-top: 22px; font-size: 15.5px; color: var(--muted-aa); text-align: center; }

@media (max-width: 860px) {
  .sk-tabs .tab-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sk-tabs .tab-btn { min-height: 52px; font-size: 15px; padding: 12px 8px; border-top-width: 3px; }
  .sk-tabs .tab-btn:nth-child(odd) { border-left: 0; }
  .sk-tabs .tab-btn:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sk-tabs .tab-block.active { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .sk-tabs .tb-media { min-height: 0; aspect-ratio: 16 / 10; }
  .sk-tabs .tb-content { padding: 24px 20px 26px; }
  .sk-tabs .tb-content > p { font-size: 15px; }
  .sk-tabs .tb-bullets li { font-size: 15px; }
  .sk-umfang .sk-weiter { text-align: left; font-size: 15px; }
}

/* ---------- 4 · Baustellenfotos (dunkel) ---------- */
.sk-phasen .eyebrow, .sk-phasen .section-title .hl { color: #ff6b6f; }   /* Rot auf Dunkel wie .statement im Bestand */
.sk-phasen .section-sub { color: #d9dadd; max-width: 74ch; margin-bottom: 36px; }
.sk-phasen-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto; gap: 16px; }
.sk-foto { position: relative; margin: 0; border-radius: var(--r-m); overflow: hidden; background: var(--anthra-2); }
.sk-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sk-foto--hoch { grid-row: 1 / span 2; }
.sk-foto--hoch img { position: absolute; inset: 0; }
.sk-foto--quer img { aspect-ratio: 16 / 9; }
.sk-foto--quer + .sk-foto--quer img { aspect-ratio: 2 / 1; }
.sk-phasen-grid--zwei { grid-template-rows: auto; }
.sk-phasen-grid--zwei .sk-foto--hoch { grid-row: auto; }
.sk-phasen-grid--zwei .sk-foto--quer img { aspect-ratio: 4 / 3; }
.sk-foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 20px 16px; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.35; color: #fff; background: linear-gradient(180deg, rgba(18,19,22,0) 0%, rgba(18,19,22,.82) 62%); }

@media (max-width: 860px) {
  .sk-phasen-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sk-foto--hoch { grid-row: auto; }
  .sk-foto--hoch img { position: static; aspect-ratio: 4 / 5; }
  .sk-foto--quer + .sk-foto--quer img { aspect-ratio: 4 / 3; }
  .sk-foto figcaption { font-size: 14px; padding: 40px 16px 14px; }
}

/* ---------- 5 · Drei Festlegungen: Zeilen wie Positionen in einem Angebot ---------- */
.sk-fest { list-style: none; margin: 20px 0 0; padding: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.sk-fest > li { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr) minmax(0, 230px); column-gap: clamp(24px, 3.4vw, 48px); align-items: start; padding: 30px 0; }
.sk-fest > li + li { border-top: 1px solid var(--line); }
.sk-fest-nr { display: block; font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .1em; color: var(--red-deep); margin-bottom: 8px; }
.sk-fest h3 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); font-weight: 800; }
.sk-fest p { font-size: 16px; line-height: 1.62; color: var(--text); margin: 0; }
.sk-fest .sk-fest-bedingung { padding-left: 18px; border-left: 3px solid var(--red); font-family: var(--font-display); font-weight: 700; font-size: 14.5px; line-height: 1.45; color: var(--ink); }

@media (max-width: 1100px) {
  .sk-fest > li { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); row-gap: 16px; }
  .sk-fest .sk-fest-bedingung { grid-column: 2; }
}
@media (max-width: 600px) {
  .sk-fest > li { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 24px 0; }
  .sk-fest-kopf { display: flex; align-items: baseline; gap: 12px; }
  .sk-fest-nr { margin-bottom: 0; }
  .sk-fest p { font-size: 15.5px; }
  .sk-fest .sk-fest-bedingung { grid-column: 1; margin-top: 4px; padding-left: 14px; font-size: 14px; }
}

/* ---------- 6 · Privat oder im Bestand: zwei Listen ---------- */
.sk-fuer .section-sub { max-width: 68ch; margin-bottom: 34px; }
.sk-fuer-listen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.sk-fuer-spalte { padding: clamp(24px, 3vw, 40px); }
.sk-fuer-spalte + .sk-fuer-spalte { border-left: 1px solid var(--line); }
.sk-fuer-spalte h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 800; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--red); }
.sk-fuer-spalte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sk-fuer-spalte li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.45; color: var(--text); }
.sk-fuer-spalte li i { color: var(--red); font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.sk-fuer-knopf { margin-top: 28px; }

@media (max-width: 600px) {
  .sk-fuer .section-sub { margin-bottom: 24px; }
  .sk-fuer-listen { grid-template-columns: minmax(0, 1fr); }
  .sk-fuer-spalte { padding: 22px 20px; }
  .sk-fuer-spalte + .sk-fuer-spalte { border-left: 0; border-top: 1px solid var(--line); }
  .sk-fuer-spalte li { font-size: 15.5px; }
  .sk-fuer-knopf { margin-top: 22px; }
  .sk-fuer-knopf .btn { width: 100%; }
}

/* ---------- 7 · Ansprechpartner: Person rechts ---------- */
@media (min-width: 861px) { .sk-vorort .vorort-person { order: 2; } }

/* ---------- 9 · Anfrage: Überschrift in zwei festen Zeilen ---------- */
.sk-anfrage h2 { max-width: none; font-size: clamp(1.7rem, 3.1vw, 2.45rem); }
@media (min-width: 861px) { .sk-anfrage h2 .sk-zeile { display: block; white-space: nowrap; } }

/* ---------- Umbruch: keine einzelnen Wörter in der letzten Zeile ---------- */
.sk-st-satz, .sk-foto figcaption, .sk-fest .sk-fest-bedingung, .sk-fuer-spalte li, .sk-tabs .tb-bullets li, .sk-weiter, .faq-item summary { text-wrap: balance; }
.sk-kopf .hero-text, .sk-strecke-kopf > p, .sk-fest p, .sk-tabs .tb-content > p, .sk-anfrage .cta-sub, .sk-strecke-fuss .weiter-hinweis, .sk-fuer .section-sub, .sk-phasen .section-sub, .faq-a { text-wrap: pretty; }

/* ---------- Sehr schmale Handys: lange H2 bleiben bei höchstens 3 Zeilen ---------- */
@media (max-width: 374px) {
  .sk-phasen .section-title, #zusagen.sk-zusagen .section-title { font-size: 1.1rem; }
}
@media (max-width: 359px) {
  #zusagen.sk-zusagen .section-title { font-size: 1rem; }
}

/* ---------- R11 Chef-Runde C-05 (10.11.2026): Anfrage-H2 auch mobil in 2 festen Zeilen ---------- */
@media (max-width: 860px) {
  .sk-anfrage h2 { font-size: clamp(1.2rem, 6.4vw, 1.7rem); }
  .sk-anfrage h2 .sk-zeile { display: block; }
}
