/* Hamburg Fensterputzer – Stylesheet v2.4 (Okt. 2026)
   Farben und Wiedererkennung von der alten Seite: Blau, Koralle, WhatsApp-Grün.
   Keine externen Schriften: Systemschriften, damit keine Daten an Google gehen. */

:root {
  --blau: #0e5da7;
  --blau-dunkel: #0a447c;
  --blau-tief: #08355f;
  --koralle: #d63356;
  --koralle-hell: #f2506d;
  --gruen: #0d7f37;
  --tinte: #10233a;
  --hell: #f2f6fa;
  --weiss: #ffffff;
  --text-auf-blau: #e9f1f9;
  --schrift: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1160px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65; color: var(--tinte); background: var(--weiss); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
a:hover { color: var(--koralle); }
:focus-visible { outline: 3px solid var(--koralle-hell); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem; }
.schmal { max-width: 46rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--weiss); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* Kopfzeile */
.kopf { background: var(--blau-tief); color: var(--weiss); position: sticky; top: 0; z-index: 50; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.marke { color: var(--weiss); text-decoration: none; font-weight: 800; font-size: 1.15rem; line-height: 1.15; white-space: nowrap; }
.marke small { display: block; font-weight: 400; font-size: .78rem; opacity: .8; }
.marke:hover { color: var(--weiss); }
.nav-knopf { display: none; background: var(--weiss); color: var(--koralle); border: 0; border-radius: var(--radius); width: 46px; height: 44px; font-size: 1.5rem; cursor: pointer; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .2rem; }
.nav a { white-space: nowrap; display: block; color: var(--weiss); text-decoration: none; padding: .55rem .6rem; font-size: .95rem; font-weight: 600; border-radius: 4px; }
.nav a:hover, .nav a[aria-current="page"] { color: #ff8fa3; }
.nav .tel { background: var(--koralle); margin-left: .4rem; white-space: nowrap; }
.nav .tel:hover { background: #bf2d4e; color: var(--weiss); }
.nav .hat-sub { position: relative; }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; background: var(--blau-tief); min-width: 270px; padding: .4rem; flex-direction: column; align-items: stretch; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.nav .hat-sub:hover .sub, .nav .hat-sub:focus-within .sub { display: flex; }

@media (max-width: 1180px) {
  .nav-knopf { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blau-tief); padding: .5rem 1.25rem 1.25rem; }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav .sub { display: flex; position: static; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
  .nav .tel { margin: .6rem 0 0; text-align: center; }
}

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; font-size: 1rem; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; }
.knopf-koralle { background: var(--koralle); color: var(--weiss); }
.knopf-koralle:hover { background: #bf2d4e; color: var(--weiss); }
.knopf-gruen { background: var(--gruen); color: var(--weiss); }
.knopf-gruen:hover { background: #0a6a2e; color: var(--weiss); }
.knopf-hell { background: var(--weiss); color: var(--blau-dunkel); }
.knopf-hell:hover { color: var(--koralle); }
.knopf svg { width: 1.3em; height: 1.3em; flex: none; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero Startseite */
.hero { position: relative; color: var(--weiss); background: var(--blau-tief); overflow: hidden; }
.hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,30,55,.82) 0%, rgba(8,30,55,.55) 55%, rgba(8,30,55,.25) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(4rem, 12vw, 9rem); padding-bottom: 3rem; }
.hero h1 { max-width: 12ch; margin-bottom: .25em; }
.hero .unterzeile { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 700; margin-bottom: 1.6rem; max-width: 30ch; }
.ruf-box { position: relative; z-index: 2; background: var(--koralle); color: var(--weiss); display: block; text-decoration: none; padding: 1.4rem 1.6rem; margin-top: 2.5rem; max-width: 480px; margin-left: auto; }
.ruf-box:hover { background: #bf2d4e; color: var(--weiss); }
.ruf-box span { display: block; font-weight: 700; font-size: 1.05rem; }
.ruf-box strong { display: block; font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.2; }
@media (max-width: 700px) {
  .hero::after { background: rgba(8,30,55,.66); }
  .hero .wrap { text-align: center; }
  .hero h1, .hero .unterzeile { margin-left: auto; margin-right: auto; }
  .hero .knopfreihe { flex-direction: column; }
  .ruf-box { margin: 2rem auto 0; text-align: center; }
}

/* Seitenkopf Unterseiten */
.seitenkopf { position: relative; background: var(--blau-tief); color: var(--weiss); overflow: hidden; }
.seitenkopf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.seitenkopf .wrap { position: relative; padding-top: 3.2rem; padding-bottom: 2.6rem; }
.seitenkopf h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 20ch; }
.seitenkopf p { font-size: 1.15rem; max-width: 40rem; color: var(--text-auf-blau); }
.krumen { font-size: .85rem; margin-bottom: 1rem; color: var(--text-auf-blau); }
.krumen a { color: var(--weiss); }
.krumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.krumen li + li::before { content: "/"; margin-right: .3rem; opacity: .6; }

/* Abschnitte */
.abschnitt { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.blau { background: var(--blau); color: var(--weiss); }
.blau a:not(.knopf) { color: var(--weiss); }
.blau p, .blau li { color: var(--text-auf-blau); }
.grau { background: var(--hell); }
.zentriert { text-align: center; }
.zentriert .schmal { margin-left: auto; margin-right: auto; }
.einleitung { font-size: 1.15rem; }

.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.zweispaltig.text-breit { grid-template-columns: 5fr 7fr; }
.zweispaltig .bild img { border-radius: var(--radius); width: 100%; }
@media (max-width: 820px) { .zweispaltig, .zweispaltig.text-breit { grid-template-columns: 1fr; } .zweispaltig .bild { order: -1; } }

/* Leistungskacheln mit Koralle beim Überfahren */
.kacheln { display: grid; grid-template-columns: 1fr 1fr; }
.kachel { position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(220px, 28vw, 340px); color: var(--weiss); text-decoration: none; overflow: hidden; }
.kachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kachel::after { content: ""; position: absolute; inset: 0; background: rgba(8,30,55,.6); transition: background .25s ease; }
.kachel:hover::after, .kachel:focus-visible::after { background: rgba(242,80,109,.92); }
.kachel span { position: relative; z-index: 2; font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; text-align: center; padding: 1rem; }
.kachel span small { display: block; font-size: .95rem; font-weight: 600; margin-top: .4rem; }
.kachel:hover { color: var(--weiss); }
@media (max-width: 640px) { .kacheln { grid-template-columns: 1fr; } }

/* Argumente */
.argumente { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; margin-top: 2.5rem; }
.argumente h3 { margin-bottom: .35em; }
.argumente p { margin: 0; }
.argumente div { border-top: 3px solid var(--koralle-hell); padding-top: 1rem; }
@media (max-width: 900px) { .argumente { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .argumente { grid-template-columns: 1fr; } }

/* Ablauf (echte Reihenfolge, daher nummeriert) */
.ablauf { list-style: none; counter-reset: schritt; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ablauf li { counter-increment: schritt; position: relative; padding-top: 3.2rem; }
.ablauf li::before { content: counter(schritt); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--koralle); color: var(--weiss); font-weight: 800; display: grid; place-items: center; }
.ablauf strong { display: block; font-size: 1.1rem; margin-bottom: .2rem; }
@media (max-width: 820px) { .ablauf { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ablauf { grid-template-columns: 1fr; } }

/* Preise */
.preise { width: 100%; border-collapse: collapse; margin: 1rem 0 .6rem; background: var(--weiss); }
.preise th, .preise td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid #d5e0eb; }
.preise td:last-child, .preise th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.preise thead th { background: var(--blau-dunkel); color: var(--weiss); }
.hinweis { font-size: .92rem; opacity: .9; }

/* Bewertungen */
.stimmen { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.stimme { background: var(--weiss); color: var(--tinte); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.3rem; margin: 0; }
.stimme .sterne { color: #e8a200; letter-spacing: .1em; font-size: 1.15rem; }
.stimme blockquote { margin: .5rem 0 1rem; font-size: 1.08rem; }
.stimme figcaption { font-size: .9rem; color: #4a5c70; }
@media (max-width: 720px) { .stimmen { grid-template-columns: 1fr; } }

/* Leistungsliste (Seite Leistungen) */
.leistungen { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.leistung { background: var(--weiss); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.leistung img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.leistung .ohne-bild { aspect-ratio: 16 / 10; background: var(--blau); display: grid; place-items: center; color: var(--weiss); }
.leistung .ohne-bild svg { width: 72px; height: 72px; opacity: .9; }
.leistung div.inhalt { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.leistung p { flex: 1; }
@media (max-width: 760px) { .leistungen { grid-template-columns: 1fr; } }

/* Listen */
.haken { list-style: none; padding: 0; margin: 0 0 1.2em; }
.haken li { position: relative; padding-left: 1.8rem; margin-bottom: .45rem; }
.haken li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .55rem; height: .9rem; border: solid var(--koralle); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.blau .haken li::before { border-color: var(--koralle-hell); }
.stadtteile { columns: 3 12rem; padding: 0; list-style: none; margin: 1rem 0 1.5rem; }
.stadtteile li { padding: .3rem 0; break-inside: avoid; font-weight: 600; }

/* FAQ */
.faq details { border-bottom: 1px solid #cfdbe7; }
.faq summary { cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .75rem; font-size: 1.6rem; color: var(--koralle); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: .6rem; }

/* Formular */
.formular { background: var(--weiss); color: var(--tinte); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.formular .reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .formular .reihe { grid-template-columns: 1fr; } }
.formular label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.formular .feld { margin-bottom: 1rem; }
.formular input, .formular select, .formular textarea { width: 100%; font: inherit; padding: .7rem .8rem; border: 1.5px solid #9fb3c8; border-radius: 4px; background: var(--weiss); color: var(--tinte); }
.formular input:focus, .formular select:focus, .formular textarea:focus { border-color: var(--blau); outline: 2px solid var(--blau); outline-offset: 0; }
.formular textarea { min-height: 120px; resize: vertical; }
.formular .klein { font-size: .85rem; color: #4a5c70; }
.formular .falle { position: absolute; left: -5000px; }
.formular button { width: 100%; font-size: 1.1rem; }
.meldung { padding: 1rem 1.2rem; border-radius: 4px; margin-bottom: 1rem; font-weight: 600; }
.meldung.fehler { background: #fde8ec; color: #8a1230; }

.kontaktwege { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.kontaktwege li { margin-bottom: 1rem; }
.kontaktwege span { display: block; font-size: .9rem; opacity: .85; }
.kontaktwege a, .kontaktwege strong { font-size: 1.25rem; font-weight: 700; text-decoration: none; }

/* Rechtstexte */
.rechtstext h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.6rem; }

/* Fußzeile */
.fuss { background: var(--blau-tief); color: var(--text-auf-blau); padding: 3rem 0 6rem; font-size: .95rem; }
.fuss a { color: var(--weiss); }
.fuss .spalten { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.fuss h2 { font-size: 1.05rem; color: var(--weiss); margin-bottom: .6rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .35rem; }
.fuss .betreiber { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .85rem; }
@media (max-width: 760px) { .fuss .spalten { grid-template-columns: 1fr; } }
@media (min-width: 761px) { .fuss { padding-bottom: 3rem; } }

/* Feste Leiste unten auf dem Handy */
.handyleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 14px rgba(0,0,0,.18); }
.handyleiste a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem .5rem; color: var(--weiss); font-weight: 700; text-decoration: none; }
.handyleiste a:first-child { background: var(--koralle); }
.handyleiste a:last-child { background: var(--gruen); }
.handyleiste svg { width: 1.3em; height: 1.3em; }
@media (max-width: 760px) { .handyleiste { display: grid; } }

/* Weiße Karten innerhalb blauer Abschnitte behalten dunkle Schrift */
.blau .stimme p, .blau .formular p { color: var(--tinte); }
.blau .formular .klein { color: #4a5c70; }
.blau .formular a:not(.knopf) { color: var(--blau); }
.ablauf.zwei { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .ablauf.zwei { grid-template-columns: 1fr; } }
.kontaktwege a, .kontaktwege strong { overflow-wrap: anywhere; }
@media (max-width: 480px) { .kontaktwege a, .kontaktwege strong { font-size: 1.08rem; } }
@media (max-width: 560px) { .formular .reihe { gap: 0; } }
.formular { box-shadow: 0 0 0 1px #cfdbe7; }
.blau .formular { box-shadow: none; }

/* Auf einen Blick (Faktenkasten) */
.fakten { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.5rem; margin: 1.5rem 0 0; background: var(--weiss); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: 0 0 0 1px #cfdbe7; }
.fakten dt { font-weight: 700; }
.fakten dd { margin: 0; }
@media (max-width: 560px) { .fakten { grid-template-columns: 1fr; gap: .1rem; } .fakten dd { margin-bottom: .6rem; } }
.ablauf + h3 { margin-top: 2.2rem; }
/* Tabellen auf schmalen Handys */
.preise.intervalle td:last-child, .preise.intervalle th:last-child { white-space: normal; }
@media (max-width: 480px) { .preise th, .preise td { padding: .7rem .6rem; } }
/* Lange deutsche Wörter auf kleinen Handys umbrechen */
h1, h2, h3, .preise th, .preise td { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.zweispaltig > *, .leistungen > *, .argumente > *, .stimmen > *, .kacheln > * { min-width: 0; }
@media (max-width: 380px) { .preise { font-size: .92rem; } .preise th, .preise td { padding: .6rem .45rem; } }

/* v2.4: Sprungziele (#anfrage, #inhalt) nicht unter dem festen Kopf oder der Handyleiste verstecken */
html { scroll-padding-top: 76px; }
@media (max-width: 760px) { html { scroll-padding-bottom: 70px; } }
