/* Studiomatik – Website v1
   Farbwelt C aus dem CI-Guide (strategy/marke-studiomatik/brand/README.md)
   Tinte #23282B · Orange #C4653A · Creme #F4F2EF · Schrift Lora (selbst gehostet) */

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/lora-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/lora-latin-italic.woff2") format("woff2");
}

:root {
  --tinte: #23282B;
  --orange: #C4653A;
  --creme: #F4F2EF;
  --creme-dunkel: #EAE6E0;
  --linie: #D6D1C9;
  --grau: #5C6165;
  --weiss: #FFFFFF;
  --mass: 68rem;
  --schrift: "Lora", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--creme);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tinte); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.wrap { max-width: var(--mass); margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.abschnitt { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.vorspann { max-width: 40rem; color: var(--grau); }
.kicker {
  display: inline-block; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.75rem;
}

/* Wortmarke als Text – gleiche Schrift, gleiche Farben wie die PNG-Fassung, scharf in jeder Größe */
.wortmarke { font-family: var(--schrift); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.01em; text-decoration: none; color: var(--tinte); }
.wortmarke em { font-style: normal; color: var(--orange); }
.wortmarke:hover { color: var(--tinte); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 10; background: rgba(244, 242, 239, 0.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 3.75rem; }
.kopf nav a { font-size: 0.95rem; }

/* Held */
.held { padding-block: clamp(3rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.held .wrap { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 52rem) { .held .wrap { grid-template-columns: 1.15fr 1fr; } }
.held p.lead { font-size: 1.15rem; max-width: 34rem; }
.knopf {
  display: inline-block; background: var(--tinte); color: var(--creme); padding: 0.85rem 1.4rem;
  border-radius: 4px; text-decoration: none; font-weight: 500; border: 1px solid var(--tinte);
}
.knopf:hover { background: var(--orange); border-color: var(--orange); color: var(--creme); }

/* Bildplätze – Platzhalter, bis die Bilder da sind */
.bild {
  position: relative; background: var(--creme-dunkel); border: 1px solid var(--linie); border-radius: 6px;
  overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%;
}
.bild.breit { aspect-ratio: 16 / 10; }
.bild.hoch { aspect-ratio: 4 / 5; max-width: 22rem; }
.bild img { width: 100%; height: 100%; object-fit: cover; }
.bild .platzhalter {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  padding: 1rem; color: var(--grau); font-size: 0.9rem; font-style: italic;
  background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(35,40,43,0.04) 14px 15px);
}
.bild .platzhalter b { display: block; font-style: normal; font-weight: 500; color: var(--tinte); margin-bottom: 0.25rem; }

/* Stufen */
.klammer { max-width: 44rem; font-size: 1.2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.stufen { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .stufen { grid-template-columns: repeat(3, 1fr); } }
.stufe { background: var(--weiss); border: 1px solid var(--linie); border-radius: 6px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.stufe .bild { aspect-ratio: 3 / 2; }
.stufe .nr { font-size: 0.85rem; color: var(--grau); letter-spacing: 0.06em; text-transform: uppercase; }
.stufe h3 { margin: 0.2rem 0 0; }
.stufe .preis { font-size: 1.35rem; font-weight: 500; margin: 0; }
.stufe .preis small { font-size: 0.9rem; font-weight: 400; color: var(--grau); }
.stufe ul { margin: 0; padding-left: 1.1rem; color: var(--grau); font-size: 0.97rem; }
.stufe li { margin-bottom: 0.35rem; }
.stufe li strong { color: var(--tinte); font-weight: 500; }
.stufe .hinweis { font-size: 0.92rem; color: var(--grau); margin-top: auto; padding-top: 0.5rem; border-top: 1px dashed var(--linie); }

/* Beweis */
/* minmax(0, 1fr): Die Dateinamen im Vorher-Bild stehen ohne Umbruch und hätten die Spalte sonst auf ~570 px aufgedrückt (Überlauf am Handy, gequetschtes Nachher-Bild am Tablet). */
.vergleich { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); margin-block: 2rem; }
@media (min-width: 48rem) { .vergleich { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.vergleich figure { margin: 0; }
.vergleich figcaption { margin-top: 0.6rem; font-size: 0.92rem; color: var(--grau); }
.vergleich figcaption b { color: var(--tinte); font-weight: 500; }

/* Nachher: Hauptbild + drei Vorschaubilder der echten Oberfläche, je ein Klick auf die große Fassung */
a.bild { display: block; }
a.bild:hover { border-color: var(--orange); }
.galerie { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.galerie a { display: block; text-decoration: none; color: var(--grau); font-size: 0.85rem; }
.galerie img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--linie); border-radius: 4px; background: var(--creme-dunkel); }
.galerie span { display: block; margin-top: 0.3rem; }
.galerie a:hover span { color: var(--orange); }
.galerie a:hover img { border-color: var(--orange); }

/* Vorher-Symbolbild: ein Dateichaos, gebaut aus Text – bewusst als Sinnbild, nicht als Screenshot */
.chaos { aspect-ratio: 16 / 10; background: var(--weiss); padding: 1rem; font-size: 0.78rem; line-height: 1.45; overflow: hidden; }
.chaos .fenster { border: 1px solid var(--linie); border-radius: 4px; height: 100%; overflow: hidden; background: #FBFAF8; }
.chaos .leiste { background: var(--creme-dunkel); padding: 0.35rem 0.6rem; border-bottom: 1px solid var(--linie); color: var(--grau); }
.chaos ul { list-style: none; margin: 0; padding: 0.4rem 0.6rem; columns: 2; column-gap: 1rem; }
.chaos li { break-inside: avoid; padding: 0.12rem 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tinte); }
.chaos li::before { content: "▤ "; color: var(--grau); }
.chaos li.neu { color: var(--orange); }
.zahl { background: var(--weiss); border-left: 3px solid var(--orange); padding: 1rem 1.25rem; margin-block: 2rem; max-width: 44rem; }
.zahl p { margin: 0; }
.zahl small { color: var(--grau); }

/* Über mich */
.ueber .wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 52rem) { .ueber .wrap { grid-template-columns: 22rem 1fr; } }
.ueber .kontaktzeile { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--linie); color: var(--grau); }

/* Kontakt */
.kontakt .wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .kontakt .wrap { grid-template-columns: 1fr 1.2fr; } }
form { background: var(--weiss); border: 1px solid var(--linie); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2rem); }
.feld { margin-bottom: 1.1rem; }
label { display: block; font-weight: 500; margin-bottom: 0.35rem; }
label small { font-weight: 400; color: var(--grau); }
input, textarea {
  width: 100%; font: inherit; color: var(--tinte); background: var(--creme); border: 1px solid var(--linie);
  border-radius: 4px; padding: 0.7rem 0.85rem;
}
input:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
textarea { min-height: 7rem; resize: vertical; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hinweis { font-size: 0.9rem; color: var(--grau); margin-top: 0.8rem; }
.rueckmeldung { margin-top: 1rem; padding: 1rem; border-radius: 4px; display: none; }
.rueckmeldung.ok { display: block; background: #EEF3EC; border: 1px solid #B9CDB3; }
.rueckmeldung.fehler { display: block; background: #F7ECE6; border: 1px solid #E2BFAE; }
button[type="submit"] { cursor: pointer; font: inherit; font-weight: 500; }
button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }

/* Fuß */
.fuss { background: var(--tinte); color: var(--creme); padding-block: 2.5rem; font-size: 0.95rem; }
.fuss .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.fuss a { color: var(--creme); }
.fuss .wortmarke { color: var(--creme); }
.fuss nav a { margin-right: 1.25rem; }
.fuss .claim { color: #B9BDBF; }

/* Unterseiten (Impressum, Datenschutz) */
.text { max-width: 44rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.text h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.text h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.offen { background: #FFF4E8; border: 1px dashed var(--orange); padding: 0.15em 0.4em; border-radius: 3px; }
.zurueck { display: inline-block; margin-bottom: 1.5rem; font-size: 0.95rem; }

/* Sprungziele nicht unter dem klebenden Kopf verstecken (Knöpfe wie „Termin buchen“ springen auf Abschnitte) */
section[id] { scroll-margin-top: 4rem; }
.kopf nav { display: flex; gap: 1.1rem; }
.kopf nav a { white-space: nowrap; }
@media (max-width: 30rem) { .nur-breit { display: none; } }

/* Startseite: Hinweis auf den kostenlosen Check (führt auf /check) */
.check-band { padding-block: 0 clamp(2.5rem, 6vw, 4rem); }
.check-karte {
  display: grid; gap: 0.35rem; max-width: 44rem; padding: 1.1rem 1.25rem; text-decoration: none; color: var(--tinte);
  background: var(--weiss); border: 1px solid var(--linie); border-left: 3px solid var(--orange); border-radius: 6px;
}
.check-karte .kicker { margin-bottom: 0; color: var(--orange); }
.check-karte strong { font-size: 1.2rem; font-weight: 500; line-height: 1.3; }
.check-karte span { color: var(--grau); }
.check-karte .pfeil { color: var(--tinte); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.check-karte:hover { color: var(--tinte); border-color: var(--orange); }
.check-karte:hover .pfeil { color: var(--orange); }

/* Seite „Kostenloser Check“ (check.html) */
.check-held { padding-bottom: clamp(1rem, 3vw, 2rem); }
.check-held .wrap { align-items: start; }
.knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.leise { font-size: 0.97rem; }
.steckbrief { background: var(--weiss); border: 1px solid var(--linie); border-radius: 6px; padding: 1.25rem 1.4rem; }
.steckbrief-titel { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.8rem; }
.steckbrief dl { margin: 0; }
.steckbrief dt { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); margin-top: 0.9rem; }
.steckbrief dt:first-child { margin-top: 0; }
.steckbrief dd { margin: 0.15rem 0 0; }

.teile { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 48rem) { .teile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.teile .stufe > p { margin-bottom: 0; }

.schritte { list-style: none; counter-reset: schritt; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; max-width: 46rem; }
.schritte li { position: relative; background: var(--weiss); border: 1px solid var(--linie); border-radius: 6px; padding: 1.25rem 1.25rem 1.25rem 3.6rem; }
.schritte li:not(.pause) { counter-increment: schritt; }
.schritte li::before {
  content: counter(schritt); position: absolute; left: 1rem; top: 1.15rem; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  display: grid; place-content: center; background: var(--tinte); color: var(--creme); font-size: 0.95rem;
}
.schritte li.pause { background: transparent; border-style: dashed; }
.schritte li.pause::before { content: ""; background: transparent; border: 1px dashed var(--grau); }
.schritte h3 { margin-bottom: 0.4rem; }
@media (min-width: 48rem) { .schritte li { padding-left: 4.25rem; } .schritte li::before { left: 1.25rem; } }
.klein { max-width: 40rem; font-size: 0.92rem; color: var(--grau); }

.muster { max-width: 46rem; margin-top: 2rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: 6px; overflow: hidden; }
.muster-kopf { margin: 0; padding: 0.6rem 1.1rem; background: var(--creme-dunkel); border-bottom: 1px solid var(--linie); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grau); }
.ampel-liste { list-style: none; margin: 0; padding: 0; }
.ampel-liste li { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); align-items: start; gap: 0.9rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--linie); }
.ampel-liste b { display: block; font-weight: 500; }
.ampel-liste p { margin: 0.1rem 0 0; color: var(--grau); font-size: 0.97rem; }
.ampel { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; line-height: 1.6; color: var(--tinte); }
.ampel::before { content: ""; flex: none; width: 0.85rem; height: 0.85rem; border-radius: 50%; }
.ampel.rot::before { background: #B8402C; }
.ampel.gelb::before { background: #E2A813; }
.ampel.gruen::before { background: #4B8A45; }
.muster-massnahme { margin: 0; padding: 1rem 1.1rem; background: #FBFAF8; }

.zahlen { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); margin-top: 2rem; }
@media (min-width: 52rem) { .zahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kachel { margin: 0; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem; background: var(--weiss); border: 1px solid var(--linie); border-top: 3px solid var(--orange); border-radius: 6px; }
.kachel .gross { margin: 0; font-size: 2.4rem; line-height: 1; font-weight: 500; }
.kachel p { margin: 0; }
.kachel figcaption { margin-top: auto; padding-top: 0.6rem; border-top: 1px dashed var(--linie); font-size: 0.85rem; color: var(--grau); }
.kachel figcaption a { color: var(--grau); overflow-wrap: anywhere; }

.grenze { max-width: 46rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--weiss); border: 1px solid var(--linie); border-left: 3px solid var(--tinte); border-radius: 6px; }

.offen.platzhalter-buchung { display: block; max-width: 34rem; padding: 0.6rem 0.8rem; font-size: 0.92rem; }
.wer { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; align-items: start; max-width: 40rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); }
.wer img { width: 5rem; height: 5rem; object-fit: cover; object-position: top; border-radius: 50%; border: 1px solid var(--linie); }
.wer .kontaktzeile { margin-top: 0.75rem; color: var(--grau); font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
