/* Dachrinnenreinigung mit Konfigurator. Eigene Klassen (dr-), damit die Seite
   nicht von den vorhandenen Tailwind-Klassen in site.css abhängt.
   Zielgruppe 45 bis 80 Jahre: große Schrift, große Knöpfe. */

.dr { font-size: 1.125rem; line-height: 1.6; color: hsl(var(--foreground)); }
.dr *, .dr *::before, .dr *::after { box-sizing: border-box; }
.dr-wrap { max-width: 68rem; margin: 0 auto; padding: 0 1rem; }
.dr-narrow { max-width: 46rem; margin: 0 auto; padding: 0 1rem; }
.dr section { padding: 3.5rem 0; }
.dr h2 { font-size: 1.75rem; line-height: 1.25; font-weight: 700; margin: 0 0 .5rem; text-wrap: balance; }
.dr .dr-lead { font-size: 1.25rem; font-weight: 600; margin: 0 0 1.5rem; }
.dr p { margin: 0 0 1rem; }
.dr a.dr-link { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 3px; }
.dr-grau { background: hsl(var(--muted)); }
@media (min-width: 768px) { .dr h2 { font-size: 2.125rem; } .dr section { padding: 4.5rem 0; } }

/* Kopfbereich */
.dr-hero { background: linear-gradient(135deg, #0d3d6e, hsl(var(--primary)) 55%, #1a5ea5); color: #fff; padding: 7rem 0 3.5rem !important; }
.dr-hero h1 { font-size: 2.125rem; line-height: 1.15; font-weight: 700; margin: 0 0 1rem; text-wrap: balance; max-width: 20ch; }
.dr-hero p { font-size: 1.2rem; color: rgba(255,255,255,.92); max-width: 40rem; }
.dr-hero .dr-name { font-weight: 600; color: #fff; margin-top: -.5rem; }
.dr-hero ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; font-size: 1.05rem; }
.dr-hero li { display: flex; gap: .6rem; align-items: flex-start; }
.dr-hero li svg { flex: none; width: 1.4rem; height: 1.4rem; margin-top: .15rem; color: #7dd3fc; }
.dr-hero li a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) { .dr-hero h1 { font-size: 3rem; } .dr-hero { padding: 8.5rem 0 4.5rem !important; } }

/* Knöpfe */
.dr-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.5rem; padding: .9rem 1.75rem;
  font: inherit; font-size: 1.2rem; font-weight: 700; border-radius: .6rem; border: 2px solid transparent; cursor: pointer; text-decoration: none;
  background: hsl(var(--primary)); color: #fff; transition: background .15s, transform .05s; }
.dr-btn:hover { background: #0d3d6e; }
.dr-btn:active { transform: translateY(1px); }
.dr-btn:focus-visible, .dr-kachel:focus-visible, .dr-zahl button:focus-visible, .dr-feld input:focus-visible, .dr-feld textarea:focus-visible {
  outline: 3px solid #f59e0b; outline-offset: 2px; }
.dr-btn-hell { background: #fff; color: #0d3d6e; }
.dr-btn-hell:hover { background: #e0f2fe; }
.dr-btn-leise { background: transparent; color: hsl(var(--primary)); border-color: hsl(var(--border)); font-weight: 600; font-size: 1.05rem; min-height: 3rem; padding: .6rem 1.1rem; }
.dr-btn-leise:hover { background: hsl(var(--muted)); }
.dr-btn[disabled] { opacity: .6; cursor: progress; }
.dr-btn-voll { width: 100%; }

/* Konfigurator */
.dr-konfig { scroll-margin-top: 5rem; padding-top: 2.5rem !important; }
.dr-karte { background: #fff; border: 1px solid hsl(var(--border)); border-radius: 1rem; box-shadow: 0 8px 24px hsl(var(--foreground) / .08); padding: 1.25rem; }
@media (min-width: 768px) { .dr-karte { padding: 2rem 2.25rem; } }
.dr-fort { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; font-size: .95rem; color: hsl(var(--muted-foreground)); font-weight: 600; }
.dr-fort-bahn { flex: 1; height: .5rem; border-radius: 99px; background: hsl(var(--muted)); overflow: hidden; }
.dr-fort-balken { height: 100%; width: 20%; border-radius: 99px; background: hsl(var(--primary)); transition: width .25s; }
.dr-schritt[hidden] { display: none; }
.dr-schritt h3 { font-size: 1.5rem; line-height: 1.25; font-weight: 700; margin: 0 0 .35rem; }
.dr-schritt h3:focus { outline: none; }
.dr-schritt .dr-hinweis { color: hsl(var(--muted-foreground)); font-size: 1rem; margin: 0 0 1.1rem; }
.dr-kacheln { display: grid; gap: .75rem; margin: 1rem 0 0; }
@media (min-width: 640px) { .dr-kacheln.dr-haus { grid-template-columns: 1fr 1fr; } }
.dr-kachel { display: flex; align-items: center; gap: 1rem; width: 100%; min-height: 4.5rem; padding: .9rem 1.1rem; text-align: left;
  font: inherit; font-size: 1.15rem; font-weight: 600; color: hsl(var(--foreground)); background: #fff;
  border: 2px solid hsl(var(--border)); border-radius: .75rem; cursor: pointer; transition: border-color .15s, background .15s; }
.dr-kachel:hover { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .04); }
.dr-kachel[aria-pressed="true"] { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .08); }
.dr-kachel svg { flex: none; width: 4.5rem; height: 3rem; color: hsl(var(--primary)); }
.dr-kachel small { display: block; font-size: .95rem; font-weight: 400; color: hsl(var(--muted-foreground)); }

.dr-zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid hsl(var(--border)); font-size: 1.15rem; font-weight: 600; }
.dr-zeile:last-of-type { border-bottom: 0; }
.dr-zahl { display: flex; align-items: center; gap: .25rem; }
.dr-zahl button { width: 3.25rem; height: 3.25rem; font: inherit; font-size: 1.6rem; font-weight: 700; line-height: 1; color: hsl(var(--primary)); background: #fff;
  border: 2px solid hsl(var(--border)); border-radius: .6rem; cursor: pointer; }
.dr-zahl button:hover:not([disabled]) { border-color: hsl(var(--primary)); }
.dr-zahl button[disabled] { opacity: .35; cursor: default; }
.dr-zahl output { min-width: 2.75rem; text-align: center; font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.dr-fuss { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.dr-fuss .dr-btn:not(.dr-btn-leise) { flex: 1 1 14rem; }

.dr-schritt h3.dr-preis { font-size: 3rem; line-height: 1.1; font-weight: 800; color: #0d3d6e; margin: .25rem 0 .4rem; font-variant-numeric: tabular-nums; }
.dr-schritt h3.dr-preis span { font-size: 1.4rem; font-weight: 700; display: block; color: hsl(var(--foreground)); margin-bottom: .2rem; }
.dr-schritt h3.dr-preis b { font-weight: 800; }
.dr-preis-zusatz { font-size: 1.05rem; color: hsl(var(--muted-foreground)); margin: 0 0 .25rem; }
.dr-preis-teile { font-size: .95rem; color: hsl(var(--muted-foreground)); margin: 0 0 1rem; }
@media (min-width: 768px) { .dr-schritt h3.dr-preis { font-size: 3.75rem; } }

.dr-haken { list-style: none; padding: 0; margin: 1rem 0 1.25rem; display: grid; gap: .6rem; }
.dr-haken li { display: flex; gap: .7rem; align-items: flex-start; }
.dr-haken li::before { content: ""; flex: none; width: 1.5rem; height: 1.5rem; margin-top: .15rem; border-radius: 50%;
  background: #15803d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat; }
.dr-klein { font-size: 1rem; color: hsl(var(--muted-foreground)); }

/* Formular */
.dr-felder { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .dr-felder { grid-template-columns: 1fr 1fr; } .dr-feld-breit { grid-column: 1 / -1; } .dr-plzort { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; grid-column: 1 / -1; } }
@media (max-width: 639px) { .dr-plzort { display: grid; grid-template-columns: 7rem 1fr; gap: .75rem; } }
.dr-feld label { display: block; font-size: 1.05rem; font-weight: 600; margin-bottom: .3rem; }
.dr-feld label span { font-weight: 400; color: hsl(var(--muted-foreground)); }
.dr-feld input, .dr-feld textarea { width: 100%; font: inherit; font-size: 1.15rem; padding: .75rem .9rem; min-height: 3.4rem; color: hsl(var(--foreground));
  background: #fff; border: 2px solid hsl(215 16% 70%); border-radius: .6rem; }
.dr-feld textarea { min-height: 5.5rem; resize: vertical; }
.dr-feld input[aria-invalid="true"] { border-color: #b91c1c; }
.dr-fehler { color: #b91c1c; font-size: 1rem; font-weight: 600; margin: .3rem 0 0; }
.dr-fehler:empty { display: none; }
.dr-plz-hinweis { background: #fef9c3; border: 1px solid #fde047; border-radius: .6rem; padding: .75rem .9rem; font-size: 1.05rem; grid-column: 1 / -1; }
.dr-plz-hinweis[hidden] { display: none; }
.dr-check { display: flex; gap: .8rem; align-items: flex-start; grid-column: 1 / -1; font-size: 1.05rem; }
.dr-check input { flex: none; width: 1.6rem; height: 1.6rem; margin-top: .15rem; accent-color: hsl(var(--primary)); }
.dr-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dr-meldung { background: #fee2e2; border: 1px solid #fca5a5; border-radius: .6rem; padding: .9rem 1rem; margin-top: 1rem; font-weight: 600; }
.dr-meldung[hidden] { display: none; }
.dr-zusammen { background: hsl(var(--primary) / .06); border: 1px solid hsl(var(--primary) / .2); border-radius: .6rem; padding: .75rem 1rem; font-weight: 600; margin: .75rem 0 0; }

/* Inhaltsabschnitte */
.dr-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .dr-liste.dr-zwei { grid-template-columns: 1fr 1fr; } }
.dr-liste > li { background: #fff; border: 1px solid hsl(var(--border)); border-radius: .75rem; padding: 1.1rem 1.25rem; }
.dr-liste strong { display: block; font-size: 1.15rem; margin-bottom: .2rem; }
.dr-ablauf { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .dr-ablauf { grid-template-columns: repeat(4, 1fr); } }
.dr-ablauf li { counter-increment: s; background: #fff; border: 1px solid hsl(var(--border)); border-radius: .75rem; padding: 1.1rem 1.25rem; }
.dr-ablauf li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: hsl(var(--primary)); color: #fff; font-weight: 700; font-size: 1.2rem; margin-bottom: .6rem; }
.dr-ablauf strong { display: block; font-size: 1.15rem; }
.dr-sterne { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.3rem; font-weight: 700; }
.dr-sterne svg { width: 7rem; height: 1.4rem; color: #f59e0b; }
.dr-faq { display: grid; gap: .75rem; }
.dr-faq details { background: #fff; border: 1px solid hsl(var(--border)); border-radius: .75rem; padding: 0 1.25rem; }
.dr-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; min-height: 3.5rem; }
.dr-faq summary::-webkit-details-marker { display: none; }
.dr-faq summary h3 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.dr-faq summary svg { flex: none; width: 1.4rem; height: 1.4rem; color: hsl(var(--muted-foreground)); transition: transform .2s; }
.dr-faq details[open] summary svg { transform: rotate(180deg); }
.dr-faq details p { margin: 0 0 1.1rem; }
.dr-schluss { background: linear-gradient(135deg, #0d3d6e, hsl(var(--primary))); color: #fff; text-align: center; }
.dr-schluss h2 { margin-bottom: 1.5rem; }
.dr-schluss p { margin: 1.25rem 0 0; font-size: 1.15rem; }
.dr-schluss a.dr-tel { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Leiste unten auf dem Handy */
.dr-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid hsl(var(--border)); box-shadow: 0 -4px 16px rgba(0,0,0,.12); transition: transform .2s; }
.dr-leiste.dr-weg { transform: translateY(110%); }
.dr-leiste .dr-btn { flex: 1; min-height: 3rem; padding: .5rem .6rem; font-size: 1rem; }
.dr-leiste .dr-btn-dunkel { background: hsl(var(--foreground)); flex: 0 0 auto; padding: .5rem 1rem; }
@media (min-width: 1024px) { .dr-leiste { display: none; } }
@media (max-width: 1023px) { .dr-mit-leiste footer.bg-foreground { padding-bottom: 6rem; } }

/* Danke-Seite */
.dr-danke { padding: 8rem 0 4rem !important; }
.dr-danke h1 { font-size: 2rem; line-height: 1.2; font-weight: 700; margin: 0 0 1.5rem; }
.dr-kopf-dunkel header.fixed { background-color: #0d3d6e !important; }

@media (prefers-reduced-motion: reduce) { .dr * { transition: none !important; } }

/* Fassung 2: Bilder und mehr Gliederung */
.dr-mitte { text-align: center; }
.dr-hero h1 { max-width: 17ch; }
.dr-hero-raster { display: grid; gap: 2rem; align-items: center; }
.dr-hero-bild { margin: 0; }
.dr-hero-bild img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.9); }
@media (min-width: 900px) { .dr-hero-raster { grid-template-columns: 1.05fr .95fr; gap: 3rem; } .dr-hero-bild img { transform: rotate(1.5deg); } }
@media (max-width: 899px) { .dr-hero-bild img { aspect-ratio: 16 / 10; } }
.dr-hero ul.dr-chips { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.5rem; font-size: 1.05rem; font-weight: 600; }
.dr-chips li { align-items: center; }
.dr-chips a { display: inline-flex; align-items: center; gap: .5rem; }
.dr-chips li svg[viewBox="0 0 120 24"] { width: 6rem; height: 1.2rem; color: #fbbf24; margin: 0; }

.dr-teiler { display: grid; gap: 2rem; align-items: center; }
.dr-teiler figure { margin: 0; }
.dr-teiler figure img { width: 100%; height: auto; border-radius: 1rem; box-shadow: 0 12px 32px hsl(var(--foreground) / .18); }
@media (min-width: 900px) { .dr-teiler { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; } .dr-teiler-um { grid-template-columns: 1.1fr 1fr; }
  .dr-teiler-schmal { grid-template-columns: 17rem 1fr; align-items: start; } }
.dr-portrait { text-align: center; }
.dr-teiler .dr-portrait img { width: 11rem; height: 11rem; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 8px 24px hsl(var(--foreground) / .2); }
.dr-portrait figcaption { margin-top: .75rem; font-size: 1.05rem; line-height: 1.5; color: hsl(var(--muted-foreground)); }
.dr-portrait figcaption b { display: block; font-size: 1.25rem; color: hsl(var(--foreground)); }
@media (max-width: 899px) { .dr-teiler-um figure { order: -1; } }

.dr-ablauf { margin-top: 2rem; }
.dr-ablauf h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 .3rem; }
.dr-ablauf p { margin: 0; font-size: 1.05rem; }

.dr-band { background: #0d3d6e; color: #fff; }
.dr-band p { color: rgba(255,255,255,.9); }
.dr-zahlen { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 1.5rem 0 0; }
.dr-zahlen dt { font-size: 2.25rem; font-weight: 800; line-height: 1.1; color: #7dd3fc; font-variant-numeric: tabular-nums; }
.dr-zahlen dd { margin: 0; font-size: 1rem; color: rgba(255,255,255,.85); }

.dr-stimmen { display: grid; gap: 1rem; }
@media (min-width: 900px) { .dr-stimmen { grid-template-columns: repeat(3, 1fr); } }
.dr-stimmen blockquote { margin: 0; background: #fff; border: 1px solid hsl(var(--border)); border-radius: .9rem; padding: 1.25rem 1.4rem; box-shadow: var(--elevation-2); display: flex; flex-direction: column; }
.dr-stimmen svg { width: 6.5rem; height: 1.3rem; color: #f59e0b; margin-bottom: .6rem; }
.dr-stimmen p { font-size: 1.08rem; flex: 1; }
.dr-stimmen footer { font-size: .98rem; font-weight: 600; color: hsl(var(--muted-foreground)); }

.dr-norman { display: flex; gap: 1rem; align-items: flex-start; background: hsl(var(--muted)); border-radius: .75rem; padding: 1rem; margin: 0 0 1rem; }
.dr-norman img { flex: none; width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; }
.dr-norman p { margin: 0; font-size: 1.05rem; }
.dr-norman b { display: inline-block; margin-top: .35rem; }

/* Fassung 3: Ja-Kette */
.dr-hero p + p { font-weight: 600; color: #fff; }
.dr-drei { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
@media (min-width: 900px) { .dr-drei { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.dr-drei li { background: hsl(var(--muted)); border-radius: 1rem; padding: 1.5rem; }
.dr-drei svg { width: 2.75rem; height: 2.75rem; padding: .55rem; border-radius: 50%; background: hsl(var(--primary)); color: #fff; margin-bottom: .9rem; }
.dr-drei h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; margin: 0 0 .4rem; }
.dr-drei p { margin: 0; }
.dr-schmal { max-width: 42rem; margin-left: auto !important; margin-right: auto !important; }
.dr-gross { font-size: 1.6rem; font-weight: 800; color: #0d3d6e; margin: 1.25rem 0 0 !important; }
.dr-konfig h2 { margin-bottom: .5rem; }
@media (min-width: 768px) { .dr-ablauf.dr-ablauf-drei { grid-template-columns: repeat(3, 1fr); } }
.dr-konfig { padding-top: 3.5rem !important; }
