/* Ruhig und gut lesbar für jedes Alter: große Schrift, viel Abstand, ein Thema pro Abschnitt */
:root {
  --anthrazit: #2B3036;
  --anthrazit-hell: #3A4048;
  --creme: #F1EAD7;
  --creme-hell: #FAF7EF;
  --salbei: #B5C8AC;
  --salbei-dunkel: #4F6B48;
  --flamme: #E8B65A;
  --text: #24282D;
  --text-leise: #454A51;
  --text-hell: #E4DECF;
  --rand: #CFC8B5;
  --fehler-grund: #F6E1DC;
  --fehler-text: #8A2F1E;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --breite: 1080px;
  --schmal: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.7;
  color: var(--text);
  background: var(--creme-hell);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--salbei-dunkel); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.2rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.gross { font-size: 1.15rem; }

.inhalt { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.schmal { max-width: var(--schmal); }
.abschnitt { padding-block: 84px; }
.abschnitt--creme { background: var(--creme); }
.abschnitt--dunkel { background: var(--anthrazit); color: var(--creme); }
.abschnitt--dunkel .gross { color: var(--text-hell); max-width: 640px; }

/* Kopfzeile */
.kopf {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--anthrazit);
  border-bottom: 1px solid var(--anthrazit-hell);
}
.kopf .inhalt { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--creme); text-decoration: none; }
.marke img { width: 46px; height: 46px; }
.marke span { font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; }
.marke em { font-size: 1rem; opacity: .85; }

/* Knöpfe: groß und eindeutig */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px;
  background: var(--flamme);
  color: var(--anthrazit);
  border: 0; border-radius: 12px;
  font: inherit; font-size: 1.1rem; font-weight: 700;
  text-decoration: none; cursor: pointer; text-align: center; line-height: 1.3;
}
.knopf:hover { background: #F0C46E; }
.knopf--klein { min-height: 46px; padding: 0 20px; font-size: 1rem; }

/* Startbereich */
.start { background: var(--anthrazit); color: var(--creme); padding-block: 64px 80px; }
.start .inhalt { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.start .gross { color: var(--text-hell); max-width: 520px; margin-bottom: 30px; }
.vorzeile { color: var(--salbei); letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; font-weight: 600; margin-bottom: 12px; }
.allerheiligen { margin: 22px 0 0; color: var(--salbei); font-size: 1rem; }
.start-bild { border-radius: 16px; }

/* Vorher/Nachher zum Schieben: oben liegt "vorher", der Regler schneidet es von rechts ab */
.vergleich { --p: 50%; position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--anthrazit-hell); }
.vergleich img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vergleich-vorher { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.vergleich-strich { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: var(--creme); pointer-events: none; }
.vergleich-griff { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; translate: -50% -50%; border-radius: 50%; background: var(--flamme); box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.vergleich-griff::before, .vergleich-griff::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; translate: 0 -50%; border: 8px solid transparent; }
.vergleich-griff::before { left: 8px; border-right-color: var(--anthrazit); border-left-width: 0; }
.vergleich-griff::after { right: 8px; border-left-color: var(--anthrazit); border-right-width: 0; }
.vergleich-regler { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; border: 0; box-shadow: none; }
.vergleich-regler:focus-visible { opacity: 0; }
.vergleich:has(.vergleich-regler:focus-visible) { outline: 3px solid var(--flamme); outline-offset: 3px; }
.vergleich-hinweis { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; padding: 6px 14px; border-radius: 999px; background: rgba(43,48,54,.88); color: var(--creme); font-size: .95rem; font-weight: 600; white-space: nowrap; pointer-events: none; }
.vergleich.benutzt .vergleich-hinweis { display: none; }

/* Fotos antippen zum Vergrößern */
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; }
.zoom:focus-visible { outline: 3px solid var(--flamme); outline-offset: 3px; }
.zoom-hinweis { margin: 18px 0 0; color: var(--text-hell); font-size: 1rem; }
.foto-gross { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 64px 12px 24px; background: rgba(20,22,25,.94); overflow: hidden; touch-action: none; overscroll-behavior: contain; user-select: none; -webkit-user-select: none; }
.foto-gross[hidden] { display: none; }
.foto-gross img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; transform-origin: center; will-change: transform; -webkit-user-drag: none; cursor: grab; }
.foto-knoepfe { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 10px; }
.foto-knoepfe button { width: 56px; height: 56px; border: 0; border-radius: 12px; background: var(--flamme); color: var(--anthrazit); font: inherit; font-size: 1.9rem; font-weight: 700; line-height: 1; cursor: pointer; }
.foto-hinweis { position: absolute; left: 12px; bottom: 18px; max-width: calc(100% - 160px); margin: 0; color: var(--text-hell); font-size: .95rem; line-height: 1.35; pointer-events: none; }
.foto-zu { position: absolute; top: 12px; right: 12px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--flamme); color: var(--anthrazit); font: inherit; font-weight: 700; cursor: pointer; }

/* Leistungen als einfache Liste */
.haken { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.haken li {
  position: relative; padding: 14px 0 14px 46px;
  border-bottom: 1px solid var(--rand); font-size: 1.15rem;
}
.haken li::before {
  content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 30px; height: 30px; border-radius: 50%; background: var(--salbei);
}
.haken li::after {
  content: ""; position: absolute; left: 9px; top: 50%; translate: 0 -70%;
  width: 12px; height: 7px; border-left: 3px solid var(--anthrazit); border-bottom: 3px solid var(--anthrazit);
  rotate: -45deg;
}
.hinweis {
  margin: 30px 0 0; padding: 20px 24px;
  background: var(--creme); border-radius: 12px; color: var(--text-leise);
}

/* Vorher-Nachher */
#vorher-nachher figure { margin: 34px 0 0; }
#vorher-nachher img { border-radius: 12px; }

/* Preise: drei ruhige Kacheln */
.eroeffnung { display: inline-block; margin: 0 0 4px; padding: 6px 14px; border-radius: 10px; background: var(--anthrazit); color: var(--flamme); font-weight: 700; font-size: 1rem; }
.eroeffnung[hidden] { display: none; }
.preise { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.preise li { background: #fff; border: 1px solid var(--rand); border-radius: 16px; padding: 26px 24px; }
.preise h3 { margin-bottom: .3em; }
.preis { margin: 0; font-family: var(--serif); font-size: 2rem; color: var(--anthrazit); }
#preise .hinweis { background: var(--creme-hell); }

/* Direkter Kontakt (erst nach der Gewerbeanmeldung sichtbar) */
.direkt { margin-top: 26px; }
.direkt[hidden] { display: none; }
.telefon { display: block; margin: 4px 0 16px; font-family: var(--serif); font-size: clamp(1.9rem, 6vw, 2.4rem); color: var(--anthrazit); text-decoration: none; }
.knopf--whatsapp { width: 100%; }
.direkt-oder { margin: 26px 0 0; font-weight: 700; }

/* Ablauf: echte Reihenfolge, deshalb nummeriert */
.schritte { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: schritt; }
.schritte li { counter-increment: schritt; }
.schritte li::before {
  content: counter(schritt);
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 16px;
  background: var(--anthrazit); color: var(--flamme);
  font-family: var(--serif); font-size: 1.5rem;
}
.schritte p { color: var(--text-leise); margin: 0; }

/* Persönlich */
.persoenlich { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; max-width: 860px; }
.persoenlich img { width: 120px; height: 120px; border-radius: 50%; }
.persoenlich p { color: var(--text-leise); }
.persoenlich p:last-child { margin-bottom: 0; }

/* Fragen: offen lesbar, nichts zum Aufklappen */
.fragen { margin: 28px 0 0; }
.fragen dt { font-family: var(--serif); font-size: 1.3rem; margin-top: 28px; }
.fragen dt:first-child { margin-top: 0; }
.fragen dd { margin: 6px 0 0; color: var(--text-leise); }

/* Formular: eine Spalte, große Felder */
.formular { margin-top: 30px; background: #fff; border: 1px solid var(--rand); border-radius: 16px; padding: 34px; }
.feld { margin-bottom: 24px; }
label { display: block; font-weight: 700; margin-bottom: 8px; }
.optional { font-weight: 400; color: var(--text-leise); }
input, textarea {
  width: 100%; min-height: 56px;
  font: inherit; font-size: 1.1rem; color: var(--text);
  padding: 12px 16px; border: 2px solid var(--rand); border-radius: 10px; background: var(--creme-hell);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--salbei-dunkel); background: #fff; box-shadow: 0 0 0 4px rgba(181,200,172,.5); }
.feld-hilfe { margin: 8px 0 0; font-size: .95rem; color: var(--text-leise); }
.zustimmung { display: flex; gap: 14px; align-items: flex-start; font-weight: 400; color: var(--text-leise); cursor: pointer; }
.zustimmung input { width: 28px; height: 28px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--salbei-dunkel); }
.auswahl { border: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.auswahl legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.auswahl .zustimmung { color: var(--text); margin: 0; }
.formular .knopf { width: 100%; }
.formular .knopf:disabled { opacity: .6; cursor: wait; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.feld-fehler { margin: 10px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--fehler-grund); color: var(--fehler-text); font-weight: 600; font-size: 1rem; }
[aria-invalid="true"] { border-color: var(--fehler-text); }
.meldung { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 10px; }
.meldung--ok { display: block; background: rgba(181,200,172,.4); }
.meldung--fehler { display: block; background: var(--fehler-grund); color: var(--fehler-text); font-weight: 600; }

/* Fußzeile */
.fuss { background: var(--anthrazit); color: #B8B3A5; padding-block: 36px; font-size: 1rem; }
.fuss .inhalt { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.fuss nav { display: flex; gap: 24px; }
.fuss nav a { color: var(--creme); }

/* Rechtstexte */
.rechtstext { max-width: 760px; padding: 60px 20px 80px; margin: 0 auto; }
.rechtstext h2 { font-size: 1.4rem; margin-top: 1.8em; }
.platzhalter { background: #FFF3C9; padding: 0 4px; border-radius: 3px; }

/* Barrierefreiheit */
.springen {
  position: absolute; left: 12px; top: -80px; z-index: 20;
  background: var(--flamme); color: var(--anthrazit); padding: 12px 18px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.springen:focus { top: 12px; }
a:focus-visible, button:focus-visible, .zustimmung input:focus-visible { outline: 3px solid var(--flamme); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Handy */
@media (max-width: 860px) {
  body { font-size: 18px; }
  .abschnitt { padding-block: 60px; }
  .start { padding-block: 44px 56px; }
  .start .inhalt { grid-template-columns: 1fr; gap: 36px; }
  .start .knopf { width: 100%; }
  .schritte { grid-template-columns: 1fr; gap: 30px; }
  .preise { grid-template-columns: 1fr; gap: 14px; }
  .preise li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 20px; }
  .preise h3 { margin: 0; font-size: 1.15rem; }
  .preis { font-size: 1.6rem; white-space: nowrap; }
  .persoenlich { grid-template-columns: 1fr; gap: 20px; }
  .persoenlich img { width: 84px; height: 84px; }
  /* Formular am Handy kompakter, Felder bleiben gut treffbar */
  #kontakt { padding-block: 52px; }
  .formular { margin-top: 20px; }
  .feld { margin-bottom: 18px; }
  label { margin-bottom: 6px; }
  input, textarea { min-height: 50px; font-size: 1.05rem; }
  textarea { min-height: 96px; }
}
@media (max-width: 520px) {
  .marke { gap: 8px; }
  .marke img { width: 38px; height: 38px; }
  .marke span { font-size: 1.1rem; }
  .marke em { font-size: .9rem; }
  .kopf .knopf--klein { padding: 0 16px; }
  .formular { padding: 18px; }
}
@media (max-width: 359px) {
  .inhalt { padding: 0 16px; }
  .marke img { width: 32px; height: 32px; }
  .marke span { font-size: 1rem; }
  .kopf .knopf--klein { padding: 0 12px; font-size: .95rem; }
}
