/* =========================================================
   Rohrreinigung Knappe – Stylesheet
   Schrift: Archivo (SIL OFL 1.1), lokal gehostet
   ========================================================= */

@font-face {
  font-family: 'Archivo';
  src: url('../schriften/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
                 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  src: url('../schriften/archivo-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink:        #15242b;
  --ink-2:      #44585f;
  --ink-3:      #6c7f86;
  --paper:      #ffffff;
  --wash:       #f1f4f3;
  --wash-2:     #e7ecea;
  --line:       #dce3e1;
  --signal:     #f5e909;
  --signal-2:   #ddd200;
  --drop:       #16766f;
  --drop-dark:  #0f5a55;
  --ok:         #4a9b35;
  --alert:      #c4421f;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);

  --step-0: 1.0625rem;
  --step-1: clamp(1.15rem, 0.5vw + 1rem, 1.3rem);
  --step-2: clamp(1.4rem, 1vw + 1.1rem, 1.75rem);
  --step-3: clamp(1.75rem, 1.8vw + 1.2rem, 2.4rem);
  --step-4: clamp(2.1rem, 3vw + 1.2rem, 3.4rem);
  --step-5: clamp(2.5rem, 4.6vw + 1rem, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.1em; max-width: 68ch; }
a { color: var(--drop); }
a:hover { color: var(--drop-dark); }

:focus-visible {
  outline: 3px solid var(--drop);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
.wrap-schmal { width: min(100% - (var(--gut) * 2), 820px); margin-inline: auto; }

.nur-screenreader {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprung-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem;
  text-decoration: none; transition: top .15s;
}
.sprung-link:focus { top: 1rem; color: #fff; }

/* ---------- Kopfzeile ---------- */

.info-band {
  background: var(--ink);
  color: #c9d5d9;
  font-size: .875rem;
  line-height: 1.4;
}
.info-band .wrap {
  display: flex; flex-wrap: wrap; gap: .35rem 1.6rem;
  align-items: center; justify-content: flex-end;
  padding: .5rem 0;
}
.info-band a { color: #e4ecee; text-decoration: none; }
.info-band a:hover { color: var(--signal); }
.info-band span { display: inline-flex; align-items: center; gap: .45rem; }
.info-band svg { width: 15px; height: 15px; flex: none; opacity: .75; }

.kopf {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.kopf .wrap {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 78px; padding: .6rem 0;
}
.marke { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.marke img { width: 108px; height: auto; }
.marke b {
  display: none; font-stretch: 118%; font-weight: 700;
  font-size: 1.05rem; color: var(--ink); letter-spacing: -.01em; line-height: 1.15;
}
@media (min-width: 420px) { .marke b { display: block; } }
.marke b em { display: block; font-style: normal; font-weight: 400; font-size: .8rem; color: var(--ink-3); font-stretch: 100%; }

.haupt-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.haupt-nav a {
  display: block; padding: .6rem .85rem; border-radius: 4px;
  color: var(--ink); text-decoration: none; font-weight: 500;
  font-size: 1rem;
}
.haupt-nav a:hover { background: var(--wash); color: var(--ink); }
.haupt-nav a[aria-current="page"] { background: var(--wash); box-shadow: inset 0 -3px 0 var(--signal); }

.tel-knopf {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--signal); color: var(--ink);
  padding: .7rem 1.1rem; border-radius: 4px;
  font-weight: 700; font-stretch: 105%; text-decoration: none;
  white-space: nowrap; font-size: 1.05rem;
  transition: background .15s;
}
.tel-knopf:hover { background: var(--signal-2); color: var(--ink); }
.tel-knopf svg { width: 18px; height: 18px; flex: none; }

.menue-knopf {
  display: none; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--line); border-radius: 4px;
  padding: .6rem .8rem; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
}
.menue-knopf svg { width: 20px; height: 20px; }

@media (max-width: 950px) {
  .menue-knopf { display: inline-flex; }
  .haupt-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -16px rgba(21, 36, 43, .35);
  }
  .haupt-nav.offen { display: block; }
  .haupt-nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gut) 1rem; }
  .haupt-nav a { padding: .85rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .haupt-nav a[aria-current="page"] { background: none; box-shadow: inset 3px 0 0 var(--signal); }
}
@media (max-width: 620px) {
  .tel-knopf span.lang { display: none; }
  .kopf .wrap { gap: .6rem; }
  .marke img { width: 86px; }
}

/* ---------- Bühne ---------- */

.buehne { position: relative; background: var(--ink); overflow: hidden; }
.buehne > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 50%; opacity: .55;
}
.buehne::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(21,36,43,.94) 0%, rgba(21,36,43,.82) 42%, rgba(21,36,43,.25) 100%);
}
.buehne .wrap { position: relative; z-index: 2; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.buehne h1 { color: #fff; max-width: 21ch; margin-bottom: .45em; }
.buehne p.vorspann {
  color: #cfdbdf; font-size: var(--step-1); max-width: 46ch; margin-bottom: 2rem;
}

.ruf-slab {
  display: inline-flex; flex-direction: column; gap: .15rem;
  background: var(--signal); color: var(--ink);
  padding: .85rem 1.6rem 1rem; border-radius: 5px; text-decoration: none;
  transition: transform .15s, background .15s;
}
.ruf-slab:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.ruf-slab .klein { font-size: .9rem; font-weight: 600; letter-spacing: .01em; }
.ruf-slab .nummer {
  font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; font-stretch: 112%;
  line-height: 1.05; letter-spacing: -.02em;
}
.ruf-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.ruf-zeile .zeiten { color: #cfdbdf; font-size: .95rem; line-height: 1.5; }
.ruf-zeile .zeiten strong { color: #fff; display: block; font-weight: 600; }

/* ---------- Soforthilfe-Leiste ---------- */

.soforthilfe { background: var(--wash); border-bottom: 1px solid var(--line); }
.soforthilfe ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.soforthilfe li { border-right: 1px solid var(--line); }
.soforthilfe li:last-child { border-right: 0; }
.soforthilfe a {
  display: block; padding: 1.5rem clamp(1rem, 2.5vw, 1.9rem);
  text-decoration: none; color: var(--ink); height: 100%;
  transition: background .15s;
}
.soforthilfe a:hover { background: #fff; color: var(--ink); }
.soforthilfe h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.soforthilfe p { font-size: .95rem; color: var(--ink-2); margin: 0; }
@media (max-width: 760px) {
  .soforthilfe li { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Abschnitte ---------- */

.abschnitt { padding: clamp(3.25rem, 7vw, 5.5rem) 0; }
.abschnitt.wash { background: var(--wash); }
.abschnitt.dunkel { background: var(--ink); color: #d4dee1; }
.abschnitt.dunkel h2, .abschnitt.dunkel h3 { color: #fff; }

.titel-block { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.titel-block h2 { max-width: 20ch; }
.titel-block p { color: var(--ink-2); font-size: var(--step-1); margin-bottom: 0; max-width: 50ch; }
.abschnitt.dunkel .titel-block p { color: #b9c8cd; }
.abschnitt.dunkel p { color: #c3d1d6; }

/* ---------- Leistungsliste ---------- */

.leistungen { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.leistungen li { border-bottom: 1px solid var(--line); }
.leistungen a, .leistungen div.zeile {
  display: grid; gap: .3rem 2rem; align-items: baseline;
  grid-template-columns: minmax(0, 1fr);
  padding: 1.35rem .25rem; text-decoration: none; color: var(--ink);
  transition: background .15s, padding-left .15s;
}
.leistungen a:hover { background: var(--wash); padding-left: .9rem; color: var(--ink); }
.leistungen .name {
  font-size: clamp(1.2rem, 1vw + .95rem, 1.45rem);
  font-weight: 700; font-stretch: 110%; line-height: 1.22;
  overflow-wrap: break-word; hyphens: auto;
}
.leistungen .text { color: var(--ink-2); max-width: 60ch; margin: 0; font-size: 1rem; }
.leistungen .art { font-size: .875rem; color: var(--ink-2); display: inline-flex; align-items: flex-start; gap: .5rem; line-height: 1.45; }
.leistungen .art::before {
  content: ''; width: 9px; height: 9px; margin-top: .45em; border-radius: 50%; background: var(--ok); flex: none;
}
.leistungen .art.notfall::before { background: var(--signal); box-shadow: 0 0 0 1px var(--signal-2); }
.leistungen .art.vorsorge::before { background: var(--drop); }
@media (min-width: 880px) {
  .leistungen a, .leistungen div.zeile {
    grid-template-columns: minmax(0, 19rem) minmax(0, 1fr) minmax(0, 13rem);
    align-items: start; gap: .3rem 2.5rem;
  }
  .leistungen .name { grid-row: 1; }
  .leistungen .art { justify-self: end; text-align: right; padding-top: .3rem; white-space: normal; }
}

.legende { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; font-size: .9rem; color: var(--ink-2); }
.legende span { display: inline-flex; align-items: center; gap: .45rem; }
.legende i { width: 9px; height: 9px; border-radius: 50%; flex: none; }

/* ---------- Hervorgehobener Block (Rückstau) ---------- */

.feature { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1.05fr 1fr; }
  .feature.bild-links .bild { order: -1; }
}
.feature .bild { position: relative; }
.feature .bild img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature h2 { margin-bottom: .5em; }

.haken { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .7rem; }
.haken li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .35rem; align-items: start; font-weight: 500; }
.haken li::before {
  content: ''; width: 1.1rem; height: 1.1rem; margin-top: .3rem; border-radius: 50%;
  background: var(--signal); flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
  background-color: var(--drop);
}
.abschnitt.dunkel .haken li::before { background-color: var(--signal); }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 4px; text-decoration: none;
  font-weight: 700; font-stretch: 105%; border: 2px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.knopf-voll { background: var(--ink); color: #fff; }
.knopf-voll:hover { background: var(--drop); color: #fff; }
.knopf-gelb { background: var(--signal); color: var(--ink); }
.knopf-gelb:hover { background: var(--signal-2); color: var(--ink); }
.knopf-linie { border-color: var(--ink); color: var(--ink); }
.knopf-linie:hover { background: var(--ink); color: #fff; }
.abschnitt.dunkel .knopf-linie { border-color: #6f8188; color: #fff; }
.abschnitt.dunkel .knopf-linie:hover { background: #fff; color: var(--ink); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Vertrauens-Streifen ---------- */

.belege { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
@media (min-width: 700px) { .belege { grid-template-columns: repeat(4, 1fr); } }
.belege div { background: var(--paper); padding: 1.6rem 1.4rem; }
.belege .zahl {
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; font-stretch: 112%;
  line-height: 1; color: var(--ink); display: block; margin-bottom: .35rem;
}
.belege p { font-size: .95rem; color: var(--ink-2); margin: 0; }

/* ---------- Gebiet ---------- */

.orte { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.orte li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 100px;
  padding: .4rem .95rem; font-size: .95rem; color: var(--ink-2);
}
.abschnitt.dunkel .orte li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #d4dee1; }

/* ---------- Kontaktdaten ---------- */

.kontakt-raster { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 880px) { .kontakt-raster { grid-template-columns: 1fr 1fr; } }

.daten { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.daten > li { display: grid; grid-template-columns: 2.9rem 1fr; gap: 1rem; align-items: start; }
.daten .symbol {
  width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--signal);
  display: grid; place-items: center; flex: none;
}
.daten .symbol svg { width: 20px; height: 20px; color: var(--ink); }
.daten h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.daten p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.daten a { color: var(--ink); text-decoration: none; font-weight: 600; }
.daten a:hover { color: var(--drop); text-decoration: underline; }
.daten .gross { font-size: 1.35rem; font-weight: 700; font-stretch: 108%; letter-spacing: -.01em; }

/* ---------- Notfallband ---------- */

.notband { background: var(--signal); color: var(--ink); }
.notband .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem 2rem; padding: clamp(1.75rem, 4vw, 2.5rem) 0;
}
.notband h2 { font-size: var(--step-2); margin: 0 0 .2rem; }
.notband p { margin: 0; max-width: 52ch; }

/* ---------- Textseiten ---------- */

.seiten-kopf { background: var(--ink); color: #cfdbdf; }
.seiten-kopf .wrap { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.seiten-kopf h1 { color: #fff; font-size: var(--step-4); max-width: 20ch; }
.seiten-kopf p { color: #cfdbdf; font-size: var(--step-1); max-width: 54ch; margin-bottom: 0; }

.brotkrumen { font-size: .875rem; color: #9fb1b7; margin-bottom: 1.25rem; }
.brotkrumen a { color: #cfdbdf; text-decoration: none; }
.brotkrumen a:hover { color: var(--signal); text-decoration: underline; }

.fliesstext h2 { font-size: clamp(1.3rem, 1vw + 1.05rem, 1.65rem); margin-top: 2.5rem; }
.fliesstext h2:first-child { margin-top: 0; }
.fliesstext h3 { font-size: var(--step-1); margin-top: 1.75rem; }
.fliesstext p, .fliesstext dd { color: var(--ink-2); }
.fliesstext dd a, .fliesstext p a { color: var(--drop); }
.fliesstext ul { padding-left: 1.2rem; max-width: 68ch; }
.fliesstext li { margin-bottom: .4rem; }
.fliesstext dl { max-width: 68ch; }
.fliesstext dt { font-weight: 700; margin-top: 1.1rem; }
.fliesstext dd { margin: 0; color: var(--ink-2); }

/* ---------- Leistungsdetails ---------- */

.detail { padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.detail:last-of-type { border-bottom: 0; }
.detail .feature .bild img { aspect-ratio: 3 / 2; }

/* ---------- Häufige Fragen ---------- */

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: 1rem; justify-content: space-between;
  padding: 1.25rem .25rem; cursor: pointer; list-style: none;
  font-size: clamp(1.1rem, .8vw + .95rem, 1.3rem); font-weight: 700; font-stretch: 110%;
  line-height: 1.3; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 1.3rem; height: 1.3rem; margin-top: .15rem;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--drop); }
.faq .antwort { padding: 0 .25rem 1.4rem; }
.faq .antwort p { color: var(--ink-2); margin: 0 0 .8em; }
.faq .antwort p:last-child { margin-bottom: 0; }

/* ---------- Fußzeile ---------- */

.fuss { background: var(--ink); color: #a9bbc1; padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; font-size: .95rem; }
.fuss-raster { display: grid; gap: 2rem clamp(2rem, 5vw, 4rem); }
@media (min-width: 760px) { .fuss-raster { grid-template-columns: 1.3fr 1fr 1fr; } }
.fuss h2 { font-size: 1rem; color: #fff; margin-bottom: .9rem; font-stretch: 108%; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.fuss a { color: #cfdbdf; text-decoration: none; }
.fuss a:hover { color: var(--signal); text-decoration: underline; }
.fuss img { width: 104px; background: #fff; border-radius: 4px; padding: .4rem .5rem; margin-bottom: 1rem; }
.fuss p { margin: 0 0 .6rem; max-width: 40ch; }
.fuss .schluss {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .875rem; color: #8ba0a7;
}
.fuss .schluss p { margin: 0; max-width: none; }

/* ---------- Mobiler Anruf-Balken ---------- */

.ruf-balken {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; background: var(--signal); border-top: 1px solid var(--signal-2);
}
.ruf-balken a {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem;
}
.ruf-balken svg { width: 19px; height: 19px; }
@media (max-width: 620px) {
  .ruf-balken { display: block; }
  body { padding-bottom: 3.6rem; }
}

@media print {
  .kopf, .info-band, .ruf-balken, .soforthilfe, .notband { display: none; }
  body { color: #000; }
}
