/* Rechtstexte (Impressum, Datenschutz) und 404: schmale weiße Karte im Stil von Entwurf D */
.seite { padding: clamp(7rem, 12vw, 9rem) 1.25rem 5rem; background: #F6FAFD; }
.seite__text { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; max-width: 760px; margin: 0 auto; background: #fff; border-radius: 28px; padding: clamp(1.75rem, 5vw, 3.5rem); box-shadow: 0 1px 2px rgba(15,40,30,.05), 0 18px 48px rgba(15,40,30,.07); line-height: 1.65; color: #23302A; }
.seite__text h1 { font-size: clamp(1.9rem, 7vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 1.6rem; color: #0F2A1E; }
.seite__text h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; color: #0F2A1E; letter-spacing: -.01em; max-width: none; }
.seite__text h3 { font-size: 1.08rem; margin: 1.5rem 0 .4rem; color: #0F2A1E; }
.seite__text p { margin: 0 0 .9rem; }
.seite__text ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.seite__text li { margin: .25rem 0; }
.seite__text a { color: #0F6B36; text-decoration: underline; text-underline-offset: 3px; }
.seite__stand { margin-top: 2.5rem; font-size: .9rem; color: #5B6B63; }

.seite__text ul:not(.seite__zahlen) { list-style: disc; padding-left: 1.3rem; }
.seite__text ol { list-style: decimal; padding-left: 1.4rem; margin: 0 0 1rem; }
.seite__text li::marker { color: #0F6B36; }

/* Handy kompakter (17.11.2026) */
@media (max-width: 720px) {
  .seite { padding: 5.25rem 0.6rem 2.5rem; }
  .seite__text { padding: 1.4rem 1.15rem; border-radius: 22px; }
  .seite__text h1 { margin-bottom: 1rem; }
  .seite__text h2 { margin-top: 1.7rem; }
}

/* ---------- Inhaltsseiten Leistungen, Sonderreinigung, Referenzen, Öffentliche Auftraggeber ----------
   17.11.2026 (Webdesign-Feedback, wie die Startseite): breit statt schmaler Karte, Seitenkopf in voller Breite,
   kurze Bausteine statt Absätze, Nachweise je eine Zeile, echte Fotos statt Illustrationen, am Handy kompakt. */
.useite { display: block; padding-bottom: clamp(3rem, 6vw, 5rem); }
.useite .wrap { max-width: 1200px; }
.useite a:not(.btn) { color: var(--gruen); text-decoration: underline; text-underline-offset: 3px; }
.useite a:not(.btn):hover { color: var(--tinte); }

.ukopf { padding: var(--rand) var(--rand) 0; }
.ukopf__flaeche { background: var(--blau-hell); border-radius: var(--r-xl); padding: calc(var(--header-h) + 2.6rem) 0 clamp(2rem, 4vw, 3rem); }
.ukrumen { margin-bottom: 1rem; }
.ukrumen a { color: inherit !important; text-decoration: none !important; }
.ukrumen a:hover { text-decoration: underline !important; }
.ukrumen span[aria-hidden] { margin: 0 0.3em; opacity: 0.5; }
/* H1 wie der Startseiten-Hero: 700, ausbalanciert; 28ch statt 22ch, damit die langen Seitentitel zweizeilig bleiben */
.ukopf h1 { font-size: clamp(2.3rem, 4.2vw, 3.8rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; max-width: 28ch; text-wrap: balance; hyphens: manual; }
.ukopf__satz { max-width: 62ch; margin-top: 1.1rem; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.5; color: var(--grau); text-wrap: pretty; }
.ukopf__knoepfe { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.ukopf__knoepfe .btn { min-height: 48px; }
.ukopf__kurz { display: none; }
.ukopf__bild { margin-top: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 7 / 2; background: var(--gruen-tief); }
.ukopf__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 14%; }
.ukopf__paar { margin-top: clamp(1.6rem, 3vw, 2.4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 860px; }
.ukopf__paar > div { position: relative; overflow: hidden; border-radius: var(--r-s); aspect-ratio: 4 / 3; background: #d9d4cc; }
.ukopf__paar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ukopf__marke { position: absolute; left: 10px; bottom: 10px; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(14, 26, 20, 0.66); color: #fff; font: 500 0.75rem/1.2 var(--ui); }
.ukopf__paar figcaption { grid-column: 1 / -1; font-size: 0.82rem; color: var(--grau); }
/* Referenzen: Satz und Knöpfe links, Vorher/Nachher rechts daneben (H1 bleibt darüber in voller Breite) */
.ukopf__zeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 1.5rem clamp(2rem, 4vw, 3.5rem); align-items: end; }
.ukopf__zeile .ukopf__paar { margin-top: 1.1rem; }

.ublock { padding-top: clamp(2.4rem, 4.5vw, 3.6rem); }
.useite h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); max-width: 28ch; margin-bottom: 1.2rem; }
.ublock__satz { margin-top: 1rem; max-width: 70ch; color: var(--grau); font-size: 0.95rem; line-height: 1.5; }
.ublock__satz strong { color: var(--tinte); font-weight: 600; }
.ublock__text, .uzwei p { max-width: 62ch; font-size: 1.02rem; line-height: 1.55; }
.uzwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem clamp(2rem, 5vw, 4rem); }
.uzwei h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 0.7rem; }

.bausteine { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.bausteine li { display: grid; gap: 0.35rem; align-content: start; padding: 1.15rem 1.25rem; border-radius: var(--r-s); background: var(--papier); }
.bausteine h3 { font-size: 1.15rem; line-height: 1.2; }
.bausteine h3 a { color: var(--tinte) !important; text-decoration-color: var(--gelb) !important; text-decoration-thickness: 3px; }
.bausteine p { font-size: 0.95rem; line-height: 1.45; color: var(--grau); }
.bausteine .baustein__ref { margin-top: 0.15rem; font: 600 0.74rem/1.3 var(--ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gruen); }

.schritte { counter-reset: s; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.schritte li { position: relative; padding-top: 2.6rem; font-size: 0.95rem; line-height: 1.4; color: var(--grau); }
.schritte li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--gelb); color: var(--tinte); font: 700 0.9rem/32px var(--display); text-align: center; }
.schritte strong { display: block; font: 600 1.05rem/1.25 var(--display); color: var(--tinte); letter-spacing: -0.01em; }

.nachweise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3rem); border-top: 1px solid var(--linie); }
.nachweise li { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); align-items: baseline; gap: 0.7rem; padding: 0.7rem 0; border-bottom: 1px solid var(--linie); font-size: 0.97rem; }
.nachweise strong { font-weight: 600; color: var(--tinte); }

.uzahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.uzahlen li { display: grid; gap: 0.35rem; align-content: start; padding: 1rem 1.1rem; border-radius: var(--r-s); background: var(--gruen-tief); color: rgba(255, 255, 255, 0.9); font-size: 0.92rem; line-height: 1.35; }
.uzahlen strong { font: 700 clamp(2rem, 3vw, 2.6rem)/1 var(--display); letter-spacing: -0.03em; color: var(--gelb); }

.utabelle { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.utabelle th, .utabelle td { text-align: left; padding: 0.65rem 0.8rem 0.65rem 0; border-top: 1px solid var(--linie); vertical-align: top; }
.utabelle thead th { border-top: 0; padding-top: 0; font: 600 0.75rem/1.3 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--grau); }
.utabelle td:first-child { font-weight: 600; color: var(--tinte); }
.utabelle td:last-child { white-space: nowrap; color: var(--gruen); font-size: 0.88rem; padding-right: 0; }

@media (max-width: 900px) {
  .ukopf__zeile { grid-template-columns: 1fr; gap: 0; }
  .schritte { grid-template-columns: 1fr; gap: 0.55rem; }
  .schritte li { padding: 0.15rem 0 0 2.6rem; min-height: 32px; }
  .schritte strong { display: inline; font-size: 1rem; }
  .nachweise { grid-template-columns: 1fr; }
  .uzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .useite { padding-bottom: 2rem; }
  .ukopf__flaeche { padding: calc(var(--header-h) + 1.4rem) 0 1.5rem; }
  .ukrumen { margin-bottom: 0.6rem; }
  .ukopf h1 { font-size: clamp(1.7rem, 6.9vw, 2.2rem); max-width: none; text-wrap: pretty; }
  .ukopf__satz { margin-top: 0.8rem; font-size: 0.98rem; }
  .ukopf__knoepfe { margin-top: 1.1rem; gap: 0.5rem; }
  .ukopf__knoepfe .btn { flex: 1 1 auto; padding-left: 1rem; padding-right: 1rem; }
  .ukopf__lang { display: none; }
  .ukopf__kurz { display: inline; }
  .ukopf__bild { margin-top: 1.2rem; aspect-ratio: 5 / 2; }
  .ukopf__paar { margin-top: 1.2rem; gap: 8px; }
  .ukopf__paar > div { aspect-ratio: 4 / 3; }
  .ukopf__paar figcaption { font-size: 0.78rem; }

  .ublock { padding-top: 1.75rem; }
  .useite h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }
  .uzwei { grid-template-columns: 1fr; gap: 1.6rem; }
  .uzwei h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
  .ublock__text, .uzwei p { font-size: 0.98rem; }
  .ublock__satz { margin-top: 0.8rem; font-size: 0.92rem; }

  /* Bausteine am Handy als flache Liste statt Kacheln */
  .bausteine { gap: 0; border-top: 1px solid var(--linie); }
  .bausteine li { padding: 0.6rem 0; border-radius: 0; background: none; border-bottom: 1px solid var(--linie); gap: 0.1rem; }
  .bausteine h3 { font-size: 1.04rem; }
  .bausteine p { font-size: 0.92rem; }

  .nachweise li { grid-template-columns: 10.4rem minmax(0, 1fr); padding: 0.5rem 0; font-size: 0.9rem; gap: 0.5rem; }
  .uzahlen { gap: 8px; }
  .uzahlen li { grid-template-columns: auto 1fr; align-items: center; gap: 0.6rem; padding: 0.65rem 0.8rem; font-size: 0.82rem; line-height: 1.25; }
  .uzahlen strong { font-size: 1.7rem; }

  .utabelle thead { display: none; }
  .utabelle, .utabelle tbody { display: block; }
  .utabelle tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 0.8rem; padding: 0.6rem 0; border-top: 1px solid var(--linie); }
  .utabelle td:first-child { min-width: 0; hyphens: auto; -webkit-hyphens: auto; }
  .utabelle td { padding: 0; border: 0; }
  .utabelle td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 0.9rem; color: var(--grau); }
  .utabelle td:last-child { grid-column: 2; grid-row: 1; font-size: 0.8rem; padding-top: 0.15rem; }
}

/* Gegenprüfung 17.11.: ausgewogene Umbrüche, keine Lücke bei ungerader Nachweis-Zahl */
main h1, main h2, main h3 { text-wrap: balance; }
.nachweise li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Passende Ratgeber (Stufe 1, 20.11.2026): Links von den neuen Seiten in die Ratgeber */
.rlinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.rlinks a { display: block; height: 100%; padding: 0.9rem 1.1rem; border-radius: var(--r-s); background: var(--papier); color: var(--tinte); text-decoration: none; font-weight: 600; line-height: 1.35; }
.rlinks a::after { content: " →"; color: var(--gruen); }
.rlinks a:hover { background: var(--gruen-hell); }
