/* Recorder Pur: eigener Auftritt, unabhaengig von der Firmenseite.
 *
 * Alles hier kommt aus der App (Stand 16.11.2026, Version 1.0.1):
 *   Siegellack    der Grund ist ein sehr dunkles Rotbraun, wie erkalteter Lack. Wachsrot ist
 *                 nur noch Akzent: Siegel, Wellenform, Hauptknopf, ein Schein hinter der Aufnahme.
 *                 (Erst war die Seite Papier wie die Firmenseite, dann ganz rot. Beides passte nicht.)
 *   Wachsrot      Siegel, Wellenform, Hauptknoepfe (#A8222C aus colors.xml)
 *   Rosenkacheln  die sechs Kacheln der Startseite, abgerundet, mit feinem Rand
 *   Gold          die Zierfarbe des Pro-Hinweises
 *   Wellenblock   die dichten roten Striche hinter der laufenden Zeit
 * Farben aus den Store-Bildern gemessen. Schrift ist die des Systems, wie in der App.
 */
:root {
    --grund: #1D1214;
    --grund-tief: #150C0E;
    --papier: #F3E8D9;
    --creme: #FBF5EA;
    --kachel: #E7C8BC;
    --kachel-rand: #D9AFA2;
    --rot: #A8222C;
    --rot-tief: #86181F;
    --gold: #CBA547;
    --gold-hell: #E9D08A;
    --tinte: #2B1B17;
    --matt: #6F5850;
    --hell: #FCF1E6;
    --hell-matt: #C9B3AC;
    --breite: 1060px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; color: var(--hell); background: var(--grund);
    font-family: Roboto, 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.05rem; line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold-hell); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.5rem, 8vw, 4.4rem); font-weight: 800; letter-spacing: -0.02em; color: var(--hell); }
h1 em { font-style: normal; color: #E0525D; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.7rem; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 0.9rem; max-width: 60ch; }
.bahn { max-width: var(--breite); margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.teil { padding-top: clamp(2.6rem, 7vw, 4.4rem); padding-bottom: clamp(2.6rem, 7vw, 4.4rem); }
.matt { color: var(--hell-matt); }

/* ---------- Kopf ---------- */
.kopf { padding: clamp(1.4rem, 4vw, 2.6rem) 0 clamp(2.4rem, 6vw, 3.6rem); overflow: hidden;
    background: radial-gradient(60rem 30rem at 82% 30%, rgba(168, 34, 44, 0.42), transparent 62%), radial-gradient(40rem 26rem at 8% 0%, rgba(203, 165, 71, 0.10), transparent 60%); }
.kopf .bahn { display: grid; gap: 2.4rem 3rem; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; }
.zeile-marke { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.6rem; font-weight: 700; color: var(--hell-matt); }
.zeile-marke img { width: 44px; height: 44px; border-radius: 12px; }
.unter { font-size: clamp(1.15rem, 3vw, 1.4rem); font-weight: 600; margin: 0.7rem 0 1rem; }
.knopf {
    display: inline-block; padding: 0.85rem 1.5rem; border-radius: 14px; border: 0; cursor: pointer;
    font: inherit; font-weight: 700; text-decoration: none; color: #fff; background: var(--rot);
    box-shadow: 0 2px 0 var(--rot-tief);
}
.knopf:hover { background: #BF2A35; }
.knopf.hell { color: var(--tinte); background: var(--kachel); box-shadow: inset 0 0 0 1px var(--kachel-rand); }
.knopf.hell:hover { background: #DDB8AA; }
.reihe { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.klein { margin-top: 1.1rem; font-size: 0.95rem; color: var(--hell-matt); }

/* Das Aufnahmefeld: Papierkarte mit laufender Wellenform, Nadel, Marken und dem Wachssiegel */
.aufnahme { color: var(--tinte); background: linear-gradient(180deg, #FDF8EE, var(--creme)); border: 1px solid var(--kachel-rand); border-radius: 30px; padding: 1.1rem 1.1rem 1rem; max-width: 430px; justify-self: center; width: 100%; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.85), 0 0 0 6px rgba(251, 245, 234, 0.06); }
.anzeige { display: flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; font-weight: 700; padding: 0 0.3rem 0.7rem; }
.anzeige .format { margin-left: auto; font-weight: 600; color: var(--matt); }
.lampe { width: 10px; height: 10px; border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 0 rgba(168, 34, 44, 0.6); animation: puls 1.6s ease-out infinite; }
.lampe.aus { background: var(--matt); animation: none; }
@keyframes puls { to { box-shadow: 0 0 0 9px rgba(168, 34, 44, 0); } }
.feld { position: relative; border-radius: 16px; overflow: hidden; background: #F4EADB; border: 1px solid var(--kachel-rand); }
.feld canvas { display: block; width: 100%; height: auto; }
.zeit { position: absolute; left: 0.9rem; bottom: 0.6rem; font-size: 2.2rem; font-weight: 500; letter-spacing: 0.02em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--tinte); background: rgba(244, 234, 219, 0.86); padding: 0.15rem 0.45rem; border-radius: 8px; }
.bedienung { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.8rem; margin-top: 0.9rem; }
.marke-knopf { justify-self: start; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.4rem; font: inherit; font-weight: 700; font-size: 0.93rem; padding: 0.55rem 0.95rem 0.55rem 0.75rem; border-radius: 999px; cursor: pointer; background: var(--creme); color: var(--tinte); border: 1.5px solid var(--tinte); }
.marke-knopf svg { width: 17px; height: 17px; fill: var(--gold); stroke: var(--tinte); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.marke-knopf:hover { background: var(--kachel); }
.marke-knopf:active { transform: translateY(1px); }
.siegel { width: 104px; height: 104px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; filter: drop-shadow(0 6px 7px rgba(90, 14, 20, 0.5)); transition: transform 0.15s; }
.siegel svg { display: block; width: 100%; height: 100%; }
.siegel:hover { transform: scale(1.04) rotate(-3deg); }
.siegel:active { transform: scale(0.96); }
.siegel[aria-pressed="false"] { filter: drop-shadow(0 4px 5px rgba(43, 27, 23, 0.4)) saturate(0.55); }
.marken { list-style: none; margin: 0.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; font-size: 0.86rem; }
.marken:empty { margin: 0; }
.marken li { padding: 0.1rem 0.6rem; border-radius: 999px; background: var(--gold-hell); border: 1px solid var(--gold); font-variant-numeric: tabular-nums; }
.aufnahme small { display: block; text-align: center; margin-top: 0.5rem; color: var(--matt); font-size: 0.84rem; }

/* ---------- Die sechs Kacheln der Startseite ---------- */
.kacheln { display: grid; gap: 0.9rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.4rem; }
.kachel { color: var(--tinte); background: var(--kachel); border: 1px solid var(--kachel-rand); border-radius: 18px; padding: 1.2rem 1.2rem 1.1rem; }
.kachel svg { width: 26px; height: 26px; fill: var(--rot); display: block; margin-bottom: 0.6rem; }
.kachel p { margin: 0.3rem 0 0; font-size: 0.95rem; max-width: none; }
.kachel .pro { display: inline-block; margin-left: 0.4rem; padding: 0 0.45rem; border-radius: 6px; font-size: 0.72rem; font-weight: 700; vertical-align: 0.1em; color: #4A3A10; background: var(--gold-hell); }
@media (max-width: 860px) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kacheln { grid-template-columns: 1fr; } }

/* ---------- Bilder aus dem Store: zum Durchschieben ---------- */
.streifen { display: flex; gap: 1rem; overflow-x: auto; padding: 0.4rem 1.25rem 1.2rem; scroll-snap-type: x mandatory; max-width: calc(var(--breite) + 2.5rem); margin: 1.2rem auto 0; }
.streifen img { flex: 0 0 auto; width: min(62vw, 250px); border-radius: 20px; scroll-snap-align: start; display: block; }

/* ---------- Sprache zu Text: ein Blatt mit Transkript ---------- */
.zwei { display: grid; gap: 2.2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); align-items: start; }
.blatt { color: var(--tinte); background: var(--creme); border: 1px solid var(--kachel-rand); border-radius: 18px; padding: 1.3rem 1.4rem; }
.blatt .leiste { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.blatt .leiste span { padding: 0.25rem 0.7rem; border-radius: 10px; font-size: 0.85rem; font-weight: 600; background: var(--kachel); border: 1px solid var(--kachel-rand); }
.blatt .leiste span:first-child { color: var(--rot); }
.blatt p { margin-bottom: 0.8rem; }
.blatt mark { background: var(--gold-hell); color: inherit; padding: 0 0.15em; border-radius: 3px; }
.fakten { list-style: none; margin: 1rem 0 0; padding: 0; }
.fakten li { padding: 0.65rem 0; border-top: 1px solid rgba(252, 241, 230, 0.28); }
.fakten b { display: block; }

/* ---------- Gratis und Pro ---------- */
.band { background: var(--grund-tief); }
.listen { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); margin-top: 1.3rem; }
.liste { color: var(--tinte); background: var(--creme); border: 1px solid var(--kachel-rand); border-radius: 18px; padding: 1.3rem 1.4rem; }
.liste.pro { background: linear-gradient(180deg, #F3E2AE, var(--gold-hell)); border-color: var(--gold); }
.liste ul { margin: 0.7rem 0 0; padding-left: 1.15rem; }
.liste li { margin-bottom: 0.3rem; }

/* ---------- Was die App nicht tut ---------- */
.nicht { display: grid; gap: 0.8rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); margin-top: 1.2rem; padding: 0; list-style: none; }
.nicht li { padding-left: 1.9rem; position: relative; }
.nicht li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 1.2rem; height: 3px; background: var(--gold); border-radius: 2px; }

/* ---------- Fragen ---------- */
.fragen details { border-top: 1px solid rgba(252, 241, 230, 0.28); max-width: 780px; }
.fragen details:last-of-type { border-bottom: 1px solid rgba(252, 241, 230, 0.28); }
.fragen summary { cursor: pointer; padding: 0.95rem 0; font-weight: 700; }
.fragen details p { padding-bottom: 0.9rem; margin: 0; }

.fuss { background: #0E0708; color: #FBEFE6; border-top: 3px solid var(--rot); padding: 2rem 0 2.4rem; font-size: 0.96rem; }
.fuss a { color: #fff; margin-right: 1.3rem; }
.fuss p { max-width: 80ch; margin: 0.9rem 0 0; color: #F2D5CE; font-size: 0.9rem; }

@media (max-width: 800px) { .kopf .bahn { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lampe { animation: none; } .siegel { transition: none; } }

/* ---------- Formate ---------- */
.tafel-rahmen { overflow-x: auto; margin-top: 1.2rem; }
.tafel { color: var(--tinte); width: 100%; max-width: 760px; border-collapse: collapse; background: var(--creme); border: 1px solid var(--kachel-rand); border-radius: 16px; overflow: hidden; }
.tafel th, .tafel td { padding: 0.65rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--kachel-rand); }
.tafel tr:last-child td { border-bottom: 0; }
.tafel th { background: var(--kachel); font-weight: 700; }
.tafel td:first-child { font-weight: 700; color: var(--rot); white-space: nowrap; }
.zwei h3 { margin-top: 1.1rem; }
.zwei h3:first-child { margin-top: 0; }

/* Auf rotem Grund: Text in den Papierkarten bleibt dunkel, Verweise darin rot. */
.aufnahme a, .kachel a, .blatt a, .liste a, .tafel a { color: var(--rot); }
.blatt .fakten li { border-top-color: var(--kachel-rand); }
