/* =============================================================
   Renovierung Kassel (R11, 10.11.2026) · seitenspezifische Bausteine
   .rk-check (Renovierungs-Check) · .rk-arbeiten (Querkarten mit Foto)
   .rk-anlaesse (vier Anlässe, dunkel) · .rk-zusagen (Zusagen als Zeilen)
   Nur Bestands-Tokens aus styles.css: keine neuen Farben, Radien, Schatten.
   ============================================================= */

/* ---------- Kopf: Küchenfoto, Ausschnitt mobil auf die Küchenzeile ---------- */
.rk-kopf .hero-bg { object-position: 50% 40%; }
@media (max-width: 600px) { .rk-kopf .hero-bg { object-position: 38% 50%; } }

/* ---------- 2 · Renovierungs-Check ---------- */
.rk-check-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.rk-check-intro .section-title { margin-bottom: 16px; }
.rk-check-intro > p { font-size: 17px; color: var(--muted-aa); max-width: 44ch; margin-bottom: 30px; }
.rk-check-bild { margin: 0; }
.rk-check-bild img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); border: 1px solid var(--line); }

.rk-check { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r-m); overflow: hidden; }
.rk-check fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rk-check legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rk-check-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 24px 16px; border-bottom: 1px solid var(--line-soft); }
.rk-check-kopf b { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.rk-stand { font-family: var(--font-display); font-size: 13.5px; font-weight: 700; color: var(--muted-aa); white-space: nowrap; }
.rk-check.hat-auswahl .rk-stand { color: var(--red-deep); }

.rk-punkte { list-style: none; margin: 0; padding: 0; }
.rk-punkte li + li { border-top: 1px solid var(--line-soft); }
.rk-punkt { position: relative; display: flex; align-items: center; gap: 16px; min-height: 62px; padding: 11px 24px; cursor: pointer; transition: background .2s var(--ease); -webkit-tap-highlight-color: transparent; }
.rk-punkt:hover { background: var(--concrete); }
.rk-punkt input { position: absolute; left: 24px; top: 50%; width: 28px; height: 28px; margin: -14px 0 0; opacity: 0; cursor: pointer; }
.rk-box { flex: 0 0 28px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--muted); border-radius: var(--r-s); background: #fff; transition: background .18s var(--ease), border-color .18s var(--ease); }
.rk-box i { font-size: 19px; line-height: 1; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .18s var(--ease), transform .18s var(--ease); }
.rk-punkt-text { display: flex; flex-direction: column; min-width: 0; }
.rk-punkt-text b { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.rk-punkt-text span { font-size: 14.5px; line-height: 1.45; color: var(--muted-aa); }
.rk-punkt input:checked ~ .rk-box { background: var(--red); border-color: var(--red); }
.rk-punkt input:checked ~ .rk-box i { opacity: 1; transform: none; }
.rk-punkt input:checked ~ .rk-punkt-text span { color: var(--text); }
.rk-punkt:has(input:checked) { background: var(--red-soft); }
.rk-punkt input:focus-visible ~ .rk-box { outline: 3px solid var(--red); outline-offset: 3px; }

.rk-check-fuss { padding: 20px 24px 22px; border-top: 1px solid var(--line); background: var(--concrete); }
.rk-check-fuss .btn { width: 100%; justify-content: center; white-space: nowrap; }
.rk-check-fuss p { margin-top: 12px; font-size: 14px; color: var(--muted-aa); text-align: center; }
.rk-fachbetrieb { margin-top: 26px; max-width: 86ch; font-size: 13.5px; line-height: 1.55; color: var(--muted-aa); }

@media (max-width: 860px) {
  .rk-check-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .rk-check-intro > p { margin-bottom: 20px; }
  .rk-check-bild { display: none; }
  .rk-check-kopf, .rk-check-fuss { padding-left: 16px; padding-right: 16px; }
  .rk-punkt { padding: 10px 16px; gap: 14px; min-height: 60px; }
  .rk-punkt input { left: 16px; }
  .rk-punkt-text b { font-size: 16px; }
  .rk-punkt-text span { font-size: 13.5px; }
  .rk-fachbetrieb { margin-top: 20px; font-size: 13px; }
}
@media (max-width: 400px) { .rk-check-fuss .btn { padding-left: 10px; padding-right: 10px; font-size: 14px; gap: 6px; } }

/* ---------- 3 · Arbeiten: Einleitung mit Ausgangsfoto, darunter 4 Querkarten ---------- */
.rk-arbeiten-kopf { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; margin-bottom: clamp(36px, 4.5vw, 56px); }
.rk-arbeiten-kopf .section-title { margin-bottom: 18px; }
.rk-arbeiten-kopf p { font-size: 16.5px; max-width: 54ch; }
.rk-arbeiten-kopf p + p { margin-top: 12px; }
.rk-vorher { margin: 0; }
.rk-vorher img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-m); border: 1px solid var(--line); }
.rk-vorher figcaption { margin-top: 10px; font-size: 14px; color: var(--muted-aa); }

.rk-arbeiten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rk-arbeit { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.rk-arbeit img { display: block; width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.rk-arbeit-text { display: flex; flex-direction: column; justify-content: center; padding: 24px 22px; border-left: 4px solid var(--red); }
.rk-arbeit h3 { font-size: 20px; margin-bottom: 8px; }
.rk-arbeit p { font-size: 15px; line-height: 1.6; }
.rk-arbeit:nth-child(4n+2) img, .rk-arbeit:nth-child(4n+3) img { order: 2; }
.rk-arbeit:nth-child(4n+2), .rk-arbeit:nth-child(4n+3) { grid-template-columns: minmax(0, 1fr) minmax(0, 34%); }
.rk-arbeit:nth-child(4n+2) .rk-arbeit-text, .rk-arbeit:nth-child(4n+3) .rk-arbeit-text { border-left: 0; border-right: 4px solid var(--red); }
@media (max-width: 1239px) {
  .rk-arbeiten { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .rk-arbeit:nth-child(n) { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); }
  .rk-arbeit:nth-child(n) img { order: 0; }
  .rk-arbeit:nth-child(n) .rk-arbeit-text { border-right: 0; border-left: 4px solid var(--red); }
}
@media (max-width: 1100px) {
  .rk-arbeiten-kopf { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 600px) {
  .rk-arbeit:nth-child(n) { grid-template-columns: minmax(0, 1fr); }
  .rk-arbeit img { min-height: 0; height: auto; aspect-ratio: 3 / 2; }
  .rk-arbeit:nth-child(n) .rk-arbeit-text { border-left: 0; border-top: 4px solid var(--red); padding: 18px 18px 20px; }
  .rk-arbeit h3 { font-size: 18px; }
}

/* ---------- 4 · Anlässe: vier Felder ohne Foto, dunkel ---------- */
.rk-dunkel .eyebrow { color: #ff6b6f; }
.rk-dunkel .section-title .hl { color: #ff6b6f; }
.rk-dunkel .section-title { margin-bottom: 0; }
.rk-anlaesse { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(30px, 4vw, 48px); border-top: 1px solid var(--line-dark); }
.rk-anlass { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 20px; padding: 30px 40px 32px 0; border-bottom: 1px solid var(--line-dark); }
.rk-anlass:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line-dark); }
.rk-anlass-nr { grid-row: 1 / span 3; font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .08em; color: #ff6b6f; padding-top: 7px; }
.rk-anlass h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 800; margin-bottom: 10px; }
.rk-anlass p { font-size: 16px; line-height: 1.6; color: #d9dadd; max-width: 46ch; margin-bottom: 16px; }
.rk-anlass-los { justify-self: start; align-self: end; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.5); }
.rk-anlass-los i { color: #ff6b6f; font-size: 18px; transition: transform .2s var(--ease); }
.rk-anlass-los:hover { text-decoration-color: #fff; }
.rk-anlass-los:hover i { transform: translateX(3px); }
.rk-anlass-los:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 860px) {
  .rk-anlaesse { grid-template-columns: minmax(0, 1fr); }
  .rk-anlass, .rk-anlass:nth-child(even) { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; padding: 22px 0 20px; border-left: 0; }
  .rk-anlass p { font-size: 15px; margin-bottom: 8px; }
}

/* ---------- 5 · Drei Zusagen als Zeilen, Bedingung am Rand ---------- */
.rk-zusagen { list-style: none; margin: clamp(26px, 3.5vw, 40px) 0 0; padding: 0; border-top: 2px solid var(--ink); }
.rk-zusage { display: grid; grid-template-columns: 84px minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.rk-zusage-nr { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; color: var(--red); letter-spacing: -.03em; }
.rk-zusage h3 { font-size: 22px; margin-bottom: 8px; }
.rk-zusage-haupt p { font-size: 16px; line-height: 1.6; max-width: 62ch; }
.rk-zusage-bedingung { padding: 14px 18px; background: var(--concrete); border-left: 4px solid var(--red); border-radius: var(--r-s); font-size: 14px; line-height: 1.5; color: var(--text); }
.rk-zusage-bedingung b { display: block; margin-bottom: 2px; font-family: var(--font-display); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-aa); }
@media (max-width: 860px) {
  .rk-zusage { grid-template-columns: 48px minmax(0, 1fr); gap: 6px 14px; align-items: start; padding: 22px 0; }
  .rk-zusage-nr { font-size: 2.1rem; padding-top: 2px; }
  .rk-zusage h3 { font-size: 19px; }
  .rk-zusage-bedingung { grid-column: 2; margin-top: 10px; font-size: 13.5px; }
}

/* ---------- 7 · Verweis-Block: zwei kurze Absätze ---------- */
.rk-weiter p { max-width: 52ch; }
.rk-weiter p + p { margin-top: 10px; }

/* ---------- Feinschliff ---------- */
#ablauf .pstep p { max-width: 26ch; margin-left: auto; margin-right: auto; }
.rk-faq-link { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 359px) {
  #check .section-title, #fragen .section-title { font-size: 1.45rem; }
  .rk-anlass-los { font-size: 13.5px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .rk-box, .rk-box i, .rk-punkt, .rk-anlass-los i { transition: none; }
}

/* ---------- R11 Chef-Runde C-05 (10.11.2026): lange H2 bei 320–440 px in 2 Zeilen, Farbteil bleibt eigene Zeile ---------- */
@media (max-width: 600px) {
  #arbeiten .section-title { font-size: clamp(1.1rem, 6.1vw, 1.8rem); }
}
@media (max-width: 359px) {
  #anlaesse .section-title--lang { font-size: 5.9vw; }
}

/* Auto-Abhaken (Florian 10.11.2026): Haken springt weich ein, Zeile färbt sich sanft */
.rk-demo .rk-box i { transition: opacity .22s var(--ease), transform .38s cubic-bezier(.34,1.56,.64,1); }
.rk-demo .rk-punkt { transition: background .35s var(--ease); }
@media (prefers-reduced-motion: reduce) { .rk-demo .rk-box i, .rk-demo .rk-punkt { transition: none; } }
