/* bodengleiche-dusche-graz.at, Stilwelt Klar + Illustration (Anker C, 16.11.2026).
   Gerade Kanten 0 bis 3 px, feine Linien und Flächenwechsel statt Schatten. */
@font-face { font-family: "Gloock"; src: url("/assets/fonts/gloock-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Onest"; src: url("/assets/fonts/onest-300-800.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --nacht: #12204A; --nacht-2: #24397A; --gelb: #F3BF1A; --gelb-tief: #6B5200;
  --hell: #EEF2F8; --linie: #CBD4E3; --linie-2: #8E9AB2; --weiss: #fff; --text: #12204A; --text-2: #3A4766;
  --serif: "Gloock", Georgia, serif; --sans: "Onest", system-ui, sans-serif; --ecke: 6px;
  --breit: 1240px; --rand: 56px;
  /* Karte (microsite_teile.py karte) */
  --k-grund: #EEF2F8; --k-linie: #8E9AB2; --k-flaeche: #DCE3EE; --k-akzent: #12204A; --k-text: #12204A;
  --k-mur: #5B7BC4; --k-knopf: #12204A;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.6 var(--sans); color: var(--text); background: var(--weiss); }
::selection { background: var(--gelb); color: var(--nacht); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
p a, li a, dd a, td a { color: var(--nacht-2); font-weight: 500; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gelb); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h2 { font: 400 clamp(30px, 3.4vw, 44px)/1.12 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
h3 { font: 600 20px/1.3 var(--sans); }
.innen { max-width: var(--breit); margin: 0 auto; padding: 0 var(--rand); }
.sprung { position: absolute; left: -999px; top: 0; background: var(--gelb); padding: 12px 16px; z-index: 50; }
.sprung:focus { left: 8px; }
.vermittlungshinweis { font-size: 13px; line-height: 1.35; }

/* Rinne: Signature, gelbes Band mit Schlitzen */
.rinne { height: 10px; background: repeating-linear-gradient(90deg, var(--gelb) 0 34px, var(--nacht) 34px 42px); }
.abschnitt > .innen > .rinne, .abschnitt .rinne { max-width: 420px; margin-bottom: 28px; }

/* Kopf, deckend */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.kopf .innen { display: flex; align-items: center; gap: 32px; height: 76px; max-width: 1440px; }
.marke-kopf { display: flex; align-items: center; gap: 12px; font: 500 17px/1.1 var(--sans); text-decoration: none; flex: none; }
.marke-kopf svg { width: 34px; height: 34px; flex: none; }
.marke-kopf b { font-weight: 700; }
.menue { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: 16px; }
.menue a { text-decoration: none; padding: 10px 0; }
.menue a:hover, .menue a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.menue-knopf { display: none; }
.kopf-tel { display: flex; flex-direction: column; padding-left: 26px; border-left: 1px solid var(--linie); }
.kopf-tel a { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 17px; }
.kopf-tel svg { width: 20px; height: 20px; }
.kopf .knopf[data-nach-hero] { display: none; height: 46px; padding: 0 20px; font-size: 16px; }
.js .kopf .knopf[data-nach-hero].zeigen { display: inline-flex; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px;
  border: 0; border-radius: var(--ecke); background: var(--nacht); color: var(--weiss); font: 600 18px/1 var(--sans);
  text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--nacht-2); }
.nacht .knopf, .abschluss .knopf { background: var(--gelb); color: var(--nacht); }
.nacht .knopf:hover, .abschluss .knopf:hover { background: #FFD24A; }
.tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 600 20px/1 var(--sans);
  text-decoration: none; border-bottom: 2px solid currentColor; }
.tel svg { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; border-bottom: 0; }
.hero .boden { height: 10px; background: var(--nacht); }
.hero .innen { display: grid; align-items: center; max-width: 1440px; }
.hero-marke { font: 400 clamp(54px, 7.4vw, 112px)/0.98 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.hero .rinne { max-width: 520px; margin: 18px 0 0; }
.hero h1 { font: 600 20px/1.3 var(--sans); margin-top: 22px; }
.hero-h2 { font: 400 25px/1.3 var(--sans); margin-top: 8px; }
.hero-text { font-size: 20px; margin-top: 8px; max-width: 34em; }
.aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 30px;
  font-size: 15px; font-weight: 500; }
.badges li { display: flex; align-items: center; gap: 9px; }
.badges svg { width: 20px; height: 20px; flex: none; }
.brotkrume ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; margin-bottom: 18px; color: var(--text-2); }
.brotkrume li + li::before { content: "/"; margin-right: 6px; color: var(--linie-2); }
.hero-start .innen { grid-template-columns: minmax(0, 620px) 1fr; gap: 72px; padding: 0 var(--rand) 0 32px; min-height: 640px; }
.hero-start .bild { align-self: end; }
.hero-start .illu { margin-bottom: -2px; }
.hero-illu .innen { grid-template-columns: minmax(0, 440px) 1fr; gap: 64px; min-height: 520px; padding-left: 32px; }
.hero-illu .bild { align-self: end; background: var(--hell); }
.hero-illu .hero-marke { font-size: clamp(50px, 6vw, 88px); }
.hero-foto .innen { grid-template-columns: 1fr 1fr; gap: 56px; min-height: 560px; padding-right: 0; }
.hero-foto .text { padding: 48px 0; }
.hero-foto .bild { align-self: stretch; position: relative; }
.hero-foto .bild img { width: 100%; height: 100%; object-fit: cover; }
.hero-foto .hero-marke { font-size: clamp(46px, 5.4vw, 80px); }
.bildnachweis { display: block; font-size: 12px; color: var(--text-2); margin-top: 6px; }
.hero-foto .bildnachweis { position: absolute; right: 0; bottom: 0; margin: 0; padding: 4px 8px; background: rgba(255,255,255,.92); color: var(--text); }
.hero.schlicht { padding: 56px 0 48px; border-bottom: 10px solid var(--nacht); }

/* Antwortabsatz */
.antwort { padding: 44px 0 8px; }
.antwort p { max-width: 64ch; font-size: 20px; line-height: 1.6; }

/* Abschnitte */
.abschnitt { padding: 80px 0; }
.abschnitt + .abschnitt:not(.hell):not(.nacht) { border-top: 1px solid var(--linie); }
.abschnitt.hell { background: var(--hell); }
.abschnitt.nacht { background: var(--nacht); color: var(--weiss); }
.abschnitt.nacht p a, .abschnitt.nacht li a, .abschnitt.nacht dd a { color: var(--gelb); }
.abschnitt.nacht .icon { color: var(--gelb); }
.abschnitt p { max-width: 68ch; margin-top: 16px; }
.abschnitt h2 + p { margin-top: 20px; }
.icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--nacht-2); }
.icon svg { width: 40px; height: 40px; }
.zwei { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.zwei > figure { align-self: start; }
.zeichnung { background: var(--hell); border-bottom: 10px solid var(--nacht); }
.hell .zeichnung { background: var(--weiss); }
.foto img { width: 100%; }

/* Bauformen Klar */
.preise { width: 100%; max-width: 860px; border-collapse: collapse; margin-top: 28px; font-variant-numeric: tabular-nums; }
.preise th { text-align: left; font-size: 14px; font-weight: 600; padding: 0 0 10px; border-bottom: 2px solid var(--nacht); }
.preise td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.preise td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-right: 0; }
.preise small { display: block; font-size: 13px; font-weight: 400; color: var(--text-2); margin-top: 4px; white-space: normal; }
.nacht .preise small { color: #C9D2E6; }
.preishinweis { font-size: 15px; color: var(--text-2); }
.pflichten { display: grid; grid-template-columns: 220px 1fr; max-width: 900px; margin-top: 28px; border-top: 2px solid currentColor; }
.pflichten dt, .pflichten dd { padding: 18px 0; border-bottom: 1px solid var(--linie); }
.nacht .pflichten dt, .nacht .pflichten dd { border-color: var(--nacht-2); }
.pflichten dt { font-weight: 700; padding-right: 24px; }
.schritte { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px; margin-top: 36px; counter-reset: s; }
.schritte li { counter-increment: s; border-top: 2px solid var(--nacht); padding-top: 16px; }
.nacht .schritte li { border-color: var(--gelb); }
.schritte li::before { content: counter(s); display: block; font: 400 44px/1 var(--serif); margin-bottom: 12px; }
.schritte p { margin-top: 8px; font-size: 17px; }
.fuerwider { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 32px; border-top: 2px solid var(--nacht); }
.fuerwider > div { padding: 24px 32px 8px 0; }
.fuerwider > div + div { padding-left: 32px; border-left: 1px solid var(--linie); }
.fuerwider ul { padding-left: 1.1em; margin-top: 12px; }
.fuerwider li { margin-top: 8px; }
.leistungen { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; border-top: 2px solid var(--nacht); }
.leistungen li { border-bottom: 1px solid var(--linie); }
.leistungen li:not(:nth-child(3n)) { border-right: 1px solid var(--linie); }
.leistungen a { display: grid; gap: 8px; height: 100%; padding: 24px 24px 26px; text-decoration: none; color: var(--text); font-weight: 400; }
.leistungen a:hover { background: var(--hell); }
.leistungen svg { width: 30px; height: 30px; color: var(--nacht-2); }
.leistungen b { font-size: 19px; font-weight: 600; }
.leistungen span { font-size: 16px; color: var(--text-2); }
.fragen .frage { max-width: 860px; padding: 24px 0; border-bottom: 1px solid var(--linie); }
.fragen .frage:first-of-type { border-top: 2px solid var(--nacht); margin-top: 28px; }
.fragen .frage p { margin-top: 8px; }
.abschluss { background: var(--nacht); color: var(--weiss); }
.abschluss .knopf { margin-top: 28px; }
.abschluss h2 { color: var(--weiss); }

/* Karte */
#karte .innen > div[data-karte], #karte .fplie-karte { margin-top: 28px; }
.fplie-karte { border-radius: 0; }

/* Formular */
.anfrage { max-width: 760px; margin-top: 28px; border: 1px solid var(--linie); border-top: 4px solid var(--gelb); padding: 32px; background: var(--weiss); }
.anfrage fieldset { border: 0; padding: 0; margin: 0; }
.anfrage legend { font: 400 30px/1.2 var(--serif); padding: 0; }
.anfrage .schritt { font-size: 14px; font-weight: 600; color: var(--text-2); margin-top: 6px; }
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.kacheln label { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--linie); border-radius: var(--ecke); cursor: pointer; font-weight: 500; }
.kacheln label:has(input:checked) { border-color: var(--nacht); background: var(--hell); }
.kacheln input { accent-color: var(--nacht); width: 18px; height: 18px; }
.feld { display: grid; gap: 6px; margin-top: 18px; }
.feld label { font-weight: 600; font-size: 16px; }
.feld input, .feld textarea, .feld select { font: inherit; padding: 12px 14px; border: 1px solid var(--linie-2); border-radius: var(--ecke); background: var(--weiss); color: var(--text); min-height: 48px; }
.haken { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 16px; }
.haken input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--nacht); flex: none; }
.fehler { color: #A3122A; font-weight: 600; min-height: 1em; margin-top: 12px; }
.knoepfe { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.knopf.zurueck { background: var(--weiss); color: var(--nacht); border: 1px solid var(--nacht); }
.anfrage .hinweis { margin-top: 22px; font-size: 15px; color: var(--text-2); }

/* Fuß */
.fuss { background: var(--nacht); color: var(--weiss); padding-bottom: 32px; }
.fuss .reihe { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 48px; }
.fuss-marke { font: 400 28px/1.1 var(--serif); margin-bottom: 12px; }
.fuss p { margin-top: 6px; font-size: 16px; }
.fuss-tel a { font: 600 24px/1.2 var(--sans); text-decoration: none; }
.fuss-tel small { display: block; margin-top: 8px; }
.fuss nav { display: grid; gap: 8px; font-size: 16px; align-content: start; }
.fuss nav a { padding: 4px 0; }
.fuss .klein { font-size: 13px; color: #C9D2E6; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--nacht-2); max-width: none; }
.anrufleiste { display: none; }

/* Tablet und Handy */
@media (max-width: 1100px) {
  :root { --rand: 32px; }
  .kopf-tel { display: none; }
  .hero-start .innen, .hero-illu .innen { grid-template-columns: 1fr 1fr; gap: 40px; }
  .leistungen { grid-template-columns: 1fr 1fr; }
  .leistungen li:not(:nth-child(3n)) { border-right: 0; }
  .leistungen li:nth-child(odd) { border-right: 1px solid var(--linie); }
}
@media (max-width: 900px) {
  :root { --rand: 20px; }
  body { font-size: 17px; padding-bottom: 76px; }
  .kopf .innen { height: 64px; gap: 12px; }
  .marke-kopf { font-size: 15px; }
  .marke-kopf svg { width: 30px; height: 30px; }
  .menue-knopf { display: inline-flex; align-items: center; margin-left: auto; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--nacht); border-radius: var(--ecke); background: var(--weiss); color: var(--nacht); font: 600 16px/1 var(--sans); }
  .menue { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--weiss); flex-direction: column;
    gap: 0; padding: 8px var(--rand) 16px; border-bottom: 2px solid var(--nacht); }
  .menue.offen { display: flex; }
  .menue a { padding: 12px 0; border-bottom: 1px solid var(--linie); }
  .kopf .knopf[data-nach-hero] { display: none !important; }
  .hero-start .innen, .hero-illu .innen, .hero-foto .innen { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 32px var(--rand) 0; }
  .hero-start .bild, .hero-illu .bild { order: 2; max-width: 420px; justify-self: center; width: 100%; }
  .hero-foto .bild { margin: 0 calc(var(--rand) * -1); }
  .hero-foto .text { padding: 0; }
  .hero-marke { font-size: clamp(44px, 12vw, 64px); }
  .hero .rinne { max-width: 100%; }
  .hero-h2 { font-size: 21px; }
  .aktion { gap: 16px 24px; }
  .antwort p { font-size: 18px; }
  .abschnitt { padding: 56px 0; }
  .zwei, .fuerwider { grid-template-columns: 1fr; gap: 32px; }
  .fuerwider > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--linie); }
  .pflichten { grid-template-columns: 1fr; }
  .pflichten dt { padding-bottom: 0; border-bottom: 0; }
  .leistungen, .kacheln { grid-template-columns: 1fr; }
  .leistungen li:nth-child(odd) { border-right: 0; }
  .preise td:last-child { white-space: normal; }
  .anfrage { padding: 20px; }
  .fuss .reihe { grid-template-columns: 1fr; gap: 28px; }
  .anrufleiste { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; gap: 12px;
    padding: 10px var(--rand); background: var(--weiss); border-top: 2px solid var(--nacht); }
  .anrufleiste .tel { border: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 18px; min-height: 0; }
  .anrufleiste .tel a { text-decoration: none; font-weight: 700; }
  .anrufleiste small { font-size: 11px; font-weight: 400; }
  .anrufleiste .knopf { margin-left: auto; min-height: 48px; padding: 0 16px; font-size: 16px; display: none; }
  .js .anrufleiste .knopf.zeigen { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
.frage-klein { font-weight: 600; margin-top: 22px; }
.anfrage .frage-klein + .kacheln { margin-top: 10px; }
.datei-name { font-size: 14px; color: var(--text-2); }
.ergebnis { display: none; }
.anfrage.fertig form { display: none; }
.anfrage.fertig .ergebnis { display: block; }
.ergebnis p + p { margin-top: 12px; }
.ergebnis-titel { font: 400 28px/1.2 var(--serif); }
[aria-invalid="true"] { border-color: #A3122A !important; }

/* Sichtung 16.11.2026 */
.geteilt { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 24px 72px; align-items: start; }
.geteilt .kopfspalte { position: sticky; top: 100px; }
.geteilt .textspalte > :first-child { margin-top: 0; }
.geteilt .textspalte p { max-width: 64ch; }
.geteilt .preise, .geteilt .pflichten { margin-top: 0; }
.geteilt .pflichten { grid-template-columns: 180px 1fr; }
.abschnitt .foto img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.geteilt .foto, .abschnitt > .innen > .foto { max-width: 760px; margin-top: 24px; }
.abschluss a:not(.knopf), .nacht a:not(.knopf) { color: var(--gelb); }
.leistungen a { align-content: start; }
.leistungen li:last-child:nth-child(3n+2) { grid-column: span 2; }
.preise th:last-child { text-align: right; }
.hero-illu .innen { padding-left: var(--rand); }
@media (max-width: 1100px) { .leistungen li:last-child:nth-child(3n+2) { grid-column: auto; } }
@media (max-width: 900px) {
  .geteilt { grid-template-columns: 1fr; gap: 16px; }
  .geteilt .kopfspalte { position: static; }
  .geteilt .pflichten { grid-template-columns: 1fr; }
}

/* Abstand zu entkalkungsanlage-graz.at (design_vergleich 16.11.2026): 6 px Ecken, Fotoband, mehr Nachtblau */
.bildband { position: relative; margin: 0; }
.bildband img { width: 100%; height: 560px; object-fit: cover; }
.bildband .bildnachweis { position: absolute; right: 0; bottom: 0; margin: 0; padding: 4px 8px; background: rgba(255,255,255,.92); color: var(--text); }
.zeichnung, .foto img, .anfrage, .fplie-karte, .leistungen a, .frage-karte { border-radius: var(--ecke); }
.zeichnung { overflow: hidden; }
@media (max-width: 900px) { .bildband img { height: 300px; } }
.schritte li, .pflichten, .fuerwider, .fragen .frage, .kacheln label, .preise { border-radius: var(--ecke); }
.geteilt .textspalte p, .abschnitt p { max-width: 74ch; }
@media (min-width: 901px) { .geteilt { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px 56px; } }

/* craft.py 16.11.2026: Berührungsflächen ab 44 px */
.marke-kopf, .kopf-tel a, .fuss nav a, .fuss-tel a, .anrufleiste .tel a { min-height: 44px; display: inline-flex; align-items: center; }
.kopf-tel a { display: flex; }
.fuss nav { gap: 0; }
.sprung { left: 8px; top: 8px; clip-path: inset(50%); }
.sprung:focus { left: 8px; clip-path: none; }
.geteilt .kopfspalte h2 { font-size: clamp(26px, 2.5vw, 36px); hyphens: auto; overflow-wrap: break-word; }
.bezirke { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 24px; margin: 16px 0 28px; border-top: 1px solid var(--linie); }
.bezirke a { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--linie); text-decoration: none; font-weight: 500; }
.bezirke a:hover { text-decoration: underline; }
/* Critic 16.11.2026 */
@media (min-width: 1101px) { .schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.geteilt .kopfspalte h2 { font-size: clamp(24px, 2.2vw, 31px); hyphens: manual; overflow-wrap: normal; }
@media (min-width: 900px) and (max-width: 1280px) { .hero-marke { max-width: calc(100% - 90px); } }
@media (max-width: 900px) { .hero-start .bild, .hero-illu .bild { max-width: 100%; } }
@media (max-width: 900px) { .hero-marke { font-size: clamp(34px, 9.6vw, 64px); } }
@media (min-width: 901px) and (max-width: 1100px) { .hero-marke { font-size: clamp(44px, 5.4vw, 64px); } }
.schritte h3, .schritte p, .leistungen span, .pflichten dd { hyphens: auto; overflow-wrap: break-word; }
