/* Lehren Lieben. Studio – eigene Seiten. Farben und Schriften wie lehrenlieben.de */
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/fonts/playfair-display-latin-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --creme: #FDF8F2;
  --pergament: #F5EEE4;
  --tinte: #2A2018;
  --tinte2: #4A3F35;
  --grau: #9A8F87;
  --amber: #E8953A;
  --amber-dunkel: #C9771F;
  --teal: #25B397;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Nunito", system-ui, sans-serif;
  --schatten: 0 8px 40px rgba(80, 55, 30, 0.10);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: var(--sans); background: var(--creme); color: var(--tinte); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

/* Wortmarke wie im Kopf von lehrenlieben.de */
.marke { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.marke img { height: 2.6em; width: auto; display: block; }
.marke span { font-family: var(--serif); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.marke em { color: var(--amber); font-style: normal; }

/* Seiten vor dem Raum: Creme, eine Spalte */
.seite { min-height: 100%; display: flex; flex-direction: column; }
.mitte { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.blatt { width: 100%; max-width: 560px; }
.blatt .marke { font-size: 30px; margin-bottom: 40px; }
h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 5vw, 44px); line-height: 1.15; margin-bottom: 18px; }
.blatt p { font-size: 18px; font-weight: 300; color: var(--tinte2); margin-bottom: 14px; max-width: 34em; }
.blatt p strong { font-weight: 700; color: var(--tinte); }
.feld { display: block; margin: 28px 0 8px; font-weight: 700; font-size: 15px; }
input[type="text"] { width: 100%; font: inherit; font-size: 18px; padding: 14px 16px; border: 1.5px solid rgba(42, 32, 24, 0.18); border-radius: 12px; background: #fff; color: var(--tinte); }
input[type="text"]:focus-visible, .knopf:focus-visible, a:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.knopf { display: inline-flex; align-items: center; justify-content: center; margin-top: 22px; padding: 14px 32px; border: 0; border-radius: 100px; background: var(--amber); color: #fff; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; text-decoration: none; transition: background 0.2s; }
.knopf:hover { background: var(--amber-dunkel); }
.knopf[disabled] { opacity: 0.5; cursor: default; }
.leise { margin-top: 26px; font-size: 15px !important; color: var(--grau) !important; }

.fuss { padding: 22px 24px; font-size: 13px; color: var(--grau); display: flex; gap: 6px 22px; flex-wrap: wrap; justify-content: center; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--tinte2); text-decoration: underline; }

/* Im Raum: dunkel, damit die Videos wirken */
body.raum { background: var(--tinte); color: var(--creme); overflow: hidden; }
.raumkopf { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.raumkopf .marke { font-size: 17px; color: var(--creme); }
.raumkopf .marke img { height: 34px; }
.raumtitel { font-size: 15px; color: rgba(253, 248, 242, 0.6); }
.raumtitel strong { color: var(--creme); font-weight: 700; }
.buehne { position: absolute; inset: 56px 0 0 0; }
.buehne iframe { width: 100%; height: 100%; border: 0; display: block; background: var(--tinte); }
[hidden] { display: none !important; }

@media (max-width: 520px) {
  .blatt .marke { font-size: 22px; margin-bottom: 28px; }
  .raumkopf .marke span { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ── Technik-Check ───────────────────────────────────────────────── */
.blatt.breit { max-width: 640px; }
.fortschritt { font-size: 14px; font-weight: 700; color: var(--grau); margin-bottom: 10px; }
.balken { height: 4px; background: rgba(42, 32, 24, 0.10); border-radius: 4px; margin-bottom: 30px; overflow: hidden; }
.balken div { height: 100%; width: 20%; background: var(--teal); border-radius: 4px; transition: width 0.3s ease; }
.vorschau { width: 100%; aspect-ratio: 16 / 9; background: var(--pergament); border-radius: 16px; object-fit: cover; display: block; margin: 20px 0 16px; transform: scaleX(-1); }
.tipps { margin: 6px 0 4px 1.2em; font-size: 17px; font-weight: 300; color: var(--tinte2); }
.tipps li { margin-bottom: 6px; padding-left: 4px; }
.tipps li::marker { color: var(--amber); }
select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid rgba(42, 32, 24, 0.18); border-radius: 12px; background: #fff; color: var(--tinte); }
select:focus-visible, audio:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.pegel { height: 12px; background: rgba(42, 32, 24, 0.08); border-radius: 12px; overflow: hidden; margin: 16px 0 6px; }
.pegel div { height: 100%; width: 0; background: var(--teal); border-radius: 12px; transition: width 0.08s linear; }
.knopfzeile { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.knopfzeile .knopf { margin-top: 0; }
.knopf.zweit { background: rgba(42, 32, 24, 0.06); color: var(--tinte2); }
.knopf.zweit:hover { background: rgba(42, 32, 24, 0.11); }
.knopf.klein { padding: 10px 22px; font-size: 16px; margin-top: 14px; }
audio { width: 100%; margin-top: 14px; }
.hinweis { margin-top: 14px; padding: 14px 16px; background: var(--pergament); border-radius: 12px; font-size: 16px !important; color: var(--tinte2); }
.hinweis.warn { background: rgba(232, 149, 58, 0.14); }
.ergebnis { list-style: none; margin: 8px 0 18px; font-size: 17px; }
.ergebnis li { padding: 10px 0; border-bottom: 1px solid rgba(42, 32, 24, 0.10); display: flex; gap: 12px; }
.ergebnis li span:first-child { color: var(--teal); font-weight: 700; }
.ergebnis li.offen span:first-child { color: var(--grau); }
.ergebnis small { display: block; color: var(--grau); font-size: 14px; }
h2 { font-family: var(--serif); font-weight: 700; font-size: 22px; margin: 28px 0 8px; }
