/* Versuchsprotokoll – Landingpage im Stil der App (app/style.css): gleiche Farben, Schrift, Karten und Knöpfe. */
/* Layout: oben Text links und eine Vorschau der App rechts, darunter wenige kurze Abschnitte in einer ruhigen Spalte. */
:root {
  --bg: #f2e9dc;
  --grid: #e6dccb;
  --card: #f8f2e8;
  --ink: #202947;
  --mute: #5f6380;
  --line: #ddd2c0;
  --acc: #af3e3a;
  --acc-hover: #93322e;
  --acc-ink: #fff8ef;
  --acc-soft: #ecd3c9;
  --acc-text: #af3e3a;
  --warn: #8a5300;
  --ghs-bg: transparent;
  --schatten: 0 1px 2px rgba(32, 41, 71, 0.06), 0 8px 24px rgba(32, 41, 71, 0.08);

  --font: "Manrope", "Manrope Lokal", system-ui, sans-serif;
  --breite: 72rem;
  --rand: max(16px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #202947; --grid: #262f52; --card: #29335a; --ink: #f2e9dc; --mute: #a9adc4; --line: #3a4570;
  --acc: #e0574e; --acc-hover: #e8776e; --acc-ink: #1b2240; --acc-soft: #3a2a3e; --acc-text: #e8776e; --warn: #e9b04c; --ghs-bg: #ffffff;
  --schatten: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25); color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #202947; --grid: #262f52; --card: #29335a; --ink: #f2e9dc; --mute: #a9adc4; --line: #3a4570;
  --acc: #e0574e; --acc-hover: #e8776e; --acc-ink: #1b2240; --acc-soft: #3a2a3e; --acc-text: #e8776e; --warn: #e9b04c; --ghs-bg: #ffffff;
  --schatten: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25); color-scheme: dark;
}

@font-face { font-family: "Manrope Lokal"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope Lokal"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
/* Punktraster wie in der App */
body { margin: 0; background-color: var(--bg); background-image: radial-gradient(var(--grid) 1.2px, transparent 1.4px); background-size: 24px 24px; color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; } /* taste-skill-ignore */
h1, h2, h3, p, figure, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); font-weight: 800; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 800; line-height: 1.1; }
h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p { max-width: 60ch; text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--acc); color: var(--acc-ink); }
.skip { position: absolute; left: var(--rand); top: -4rem; z-index: 10; background: var(--ink); color: var(--bg); padding: 0.6rem 1rem; border-radius: 999px; }
.skip:focus { top: 0.5rem; }

/* Knöpfe wie in der App: rund, kräftig */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.25rem; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color 160ms ease, transform 140ms var(--ease); }
.knopf.gross { min-height: 52px; padding: 0 1.75rem; font-size: 1.0625rem; }
.knopf.zweit { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.knopf:active, .stoff:active { transform: scale(0.97); }
@media (hover: hover) { .knopf:hover { background: var(--acc-hover); } .knopf.zweit:hover { background: var(--bg); } }

.karte { background: var(--card); border-radius: 18px; box-shadow: var(--schatten); padding: 1.5rem; } /* taste-skill-ignore */
.logo { display: inline-grid; flex: none; width: 40px; height: 40px; }
.logo svg { width: 100%; height: 100%; display: block; border-radius: 23%; box-shadow: 0 0 0 1px var(--line); }
.logo.klein { width: 30px; height: 30px; }
.luecke { color: var(--warn); font-weight: 700; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--breite); margin: 0 auto; padding: 0.75rem var(--rand); }
.marke { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.0625rem; text-decoration: none; letter-spacing: -0.01em; }
.links { display: flex; gap: 0.25rem; }
.links a { padding: 0.55rem 0.9rem; border-radius: 999px; font-weight: 600; color: var(--mute); text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.links a:hover { background: var(--card); color: var(--ink); }
.bar-akt { display: flex; align-items: center; gap: 0.5rem; }
.sprache { min-width: 44px; min-height: 44px; border-radius: 999px; font-weight: 700; background: var(--card); border: 1.5px solid var(--line); }
.sprache:hover { background: var(--acc-soft); }

main { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
main > section { scroll-margin-top: 4.5rem; padding-block: clamp(3.5rem, 7vw, 6rem); }

/* ---------- Start ---------- */
.start { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-top: clamp(2.5rem, 6vw, 5rem) !important; }
.start-text h1 { max-width: 12ch; }
.lead { margin-top: 1.5rem; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.5; color: var(--mute); max-width: 34ch; }
.start-akt { margin-top: 2rem; }
.hinweis { margin-top: 1rem; font-size: 0.9375rem; color: var(--mute); }

.vorschau { min-width: 0; padding: 1.25rem; border-radius: 24px; background: var(--bg); box-shadow: var(--schatten), inset 0 0 0 1px var(--line); display: grid; gap: 0.75rem; } /* taste-skill-ignore */
.v-kopf { display: flex; align-items: center; gap: 0.6rem; font-size: 1.0625rem; }
.v-kopf b { font-weight: 800; }
.v-reiter { display: flex; gap: 0.35rem; overflow: hidden; font-size: 0.875rem; font-weight: 600; color: var(--mute); }
.v-reiter span { padding: 0.4rem 0.75rem; border-radius: 999px; white-space: nowrap; }
.v-reiter .an { background: var(--card); color: var(--ink); }
.v-fort { display: flex; justify-content: space-between; font-size: 0.875rem; font-weight: 600; color: var(--mute); }
.v-balken { height: 8px; border-radius: 999px; background: var(--grid); overflow: hidden; }
.v-balken i { display: block; width: 71%; height: 100%; border-radius: inherit; background: var(--acc); }
.v-karte { background: var(--card); border-radius: 14px; padding: 0.9rem 1rem; box-shadow: var(--schatten); } /* taste-skill-ignore */
.v-titel { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; }
.v-titel b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--acc-soft); color: var(--acc-text); font-size: 0.875rem; font-weight: 800; }
.v-feld { margin-top: 0.6rem; padding: 0.6rem 0.75rem; border-radius: 10px; background: var(--bg); font-size: 0.9375rem; line-height: 1.5; max-width: none; }
.mini-ghs { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.mini-ghs img { width: 44px; height: 44px; border-radius: 6px; background: var(--ghs-bg); }
.mini-ghs img:not([src]) { display: none; }

/* ---------- So funktioniert's ---------- */
.film h2, .ablauf h2, .funktionen h2, .fragen h2 { margin-bottom: 1.75rem; }
.film h2 + .unter, .ablauf h2 + .unter, .funktionen h2 + .unter { margin-top: -0.75rem; }
.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.schritte li { display: grid; gap: 0.6rem; align-content: start; }
.nr { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--acc-soft); color: var(--acc-text); font-weight: 800; }
.fb-karte p { color: var(--mute); }

/* ---------- Ausprobieren ---------- */
.probe { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.probe-text { display: grid; gap: 1.25rem; }
.probe-text p { font-size: 1.125rem; }
.stoffe { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stoff { min-height: 44px; padding: 0 1rem; border-radius: 999px; background: var(--card); font-weight: 600; border: 1.5px solid var(--line); transition: background-color 160ms ease, color 160ms ease, transform 140ms var(--ease); }
.stoff[aria-pressed="true"] { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
@media (hover: hover) { .stoff:not([aria-pressed="true"]):hover { background: var(--acc-soft); } }
.ergebnis { display: grid; gap: 0.9rem; }
.erg-stoff { font-weight: 700; }
.erg-ghs { display: flex; flex-wrap: wrap; gap: 1rem; min-height: 6.25rem; }
.erg-ghs figure { width: 5.5rem; text-align: center; font-size: 0.8125rem; line-height: 1.3; color: var(--mute); }
.erg-ghs img { width: 64px; height: 64px; margin: 0 auto 0.3rem; border-radius: 8px; background: var(--ghs-bg); }
.erg-ghs b { display: block; color: var(--ink); font-weight: 700; }
.erg-ghs figure.neu { animation: stempel 380ms var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.erg-h li { display: grid; grid-template-columns: 3.75rem 1fr; gap: 0.5rem; }
.erg-h li + li { margin-top: 0.35rem; }
.erg-h b { font-weight: 700; }

/* ---------- Funktionen ---------- */
.raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.raster .karte { display: grid; gap: 0.5rem; align-content: start; }
.bild { padding-top: 0.75rem; }
.bild picture { display: grid; place-items: center; min-height: 11rem; margin-bottom: 0.75rem; padding: 0.75rem; border-radius: 12px; background: var(--bg); }
.bild img { width: 100%; border-radius: 8px; }
.export { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: center; margin-top: 1rem; overflow: hidden; }
.export img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 12px; background: #ffffff; }
.export figcaption { display: grid; gap: 0.5rem; }
.export figcaption p { color: var(--mute); }

/* ---------- Fragen ---------- */
.fragen .liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem; align-items: start; }
.fragen details { background: var(--card); border-radius: 14px; box-shadow: var(--schatten); } /* taste-skill-ignore */
.fragen summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: 0.75rem 1.25rem; font-weight: 700; cursor: pointer; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--acc-soft); color: var(--acc-text); font-weight: 800; transition: transform 200ms var(--ease); }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { padding: 0 1.25rem 1.1rem; color: var(--mute); }

/* ---------- Feedback ---------- */
.fb-karte { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem 3rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.75rem); }
.fb-karte p { margin-top: 0.75rem; }
.fb-akt { display: grid; gap: 0.75rem; justify-items: start; }
.kopie { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0 !important; color: var(--ink) !important; }
.adr { user-select: all; font-weight: 600; }

/* Ergänzungen: Untertitel, Bildunterschrift der Vorschau, Hinweise */
.unter { margin: -1rem 0 1.75rem; font-size: 1.125rem; color: var(--mute); }
.vorschau-rahmen { min-width: 0; display: grid; gap: 0.9rem; }
.v-text { font-size: 0.9375rem; color: var(--mute); max-width: 52ch; }
.wahl-titel { font-weight: 700; margin-bottom: -0.5rem; }
.angezeigt { margin-top: 0.5rem; }
.punkte { display: grid; gap: 0.5rem; }
.punkte li { padding-left: 1.1rem; position: relative; }
.punkte li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 2px; background: var(--acc); }
.punkte b { font-weight: 700; }
.probe-rechts { display: grid; gap: 1rem; }
.wichtig { padding: 1rem 1.25rem; border-radius: 14px; background: var(--acc-soft); font-size: 0.9375rem; max-width: none; }
.wichtig b { font-weight: 800; }
.clp { margin-top: 1rem; display: grid; gap: 0.4rem; background: var(--acc-soft); box-shadow: none; } /* taste-skill-ignore */
.clp p { color: var(--ink); max-width: 80ch; }
.fb-karte p + p { margin-top: 0.6rem; }
.kopie a.adr { text-decoration: none; }

.ohne-js { padding: 0.75rem 1rem; border-radius: 12px; background: var(--acc-soft); font-size: 0.9375rem; }
.js .ohne-js { display: none; }

/* ---------- Feedback-Formular ---------- */
.fb-akt { min-width: 0; }
.fb-form { display: grid; gap: 0.4rem; width: 100%; }
.fb-form label { font-weight: 700; margin-top: 0.5rem; }
.fb-form textarea, .fb-form select { width: 100%; min-height: 44px; padding: 0.65rem 0.8rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; resize: vertical; }
.fb-form textarea:focus, .fb-form select:focus { border-color: var(--acc); outline: none; box-shadow: 0 0 0 3px var(--acc-soft); } /* taste-skill-ignore */
.fb-form .knopf { justify-self: start; margin-top: 0.75rem; border: 0; cursor: pointer; }
.fb-form .knopf[disabled] { opacity: 0.6; cursor: default; }
.fb-hinweis { font-size: 0.875rem; color: var(--mute) !important; margin-top: 0.25rem !important; }
.fb-status { font-weight: 700; min-height: 1.5em; margin: 0 !important; }
.fb-status.ok { color: var(--acc-text) !important; }
.fb-status.fehler { color: var(--warn) !important; }
.fb-oder { margin: 0.75rem 0 -0.25rem !important; font-weight: 700; }
.fb-liste { margin-top: 1rem; display: grid; gap: 0.75rem; }
.fb-liste ol { display: grid; gap: 0.75rem; }
.fb-liste li { padding: 0.9rem 1rem; border-radius: 12px; background: var(--bg); display: grid; gap: 0.3rem; }
.fb-kopf { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; color: var(--mute); }
.fb-liste li b { font-weight: 700; }
.fb-weg { min-height: 36px; padding: 0 0.8rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 700; font-size: 0.875rem; cursor: pointer; }

/* ---------- Video ---------- */
.film-karte { padding: 0.75rem; }
.film-karte video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: var(--bg); }

/* ---------- Fuß ---------- */
.fuss { max-width: var(--breite); margin: 0 auto; padding: 1.5rem var(--rand) 3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.9375rem; color: var(--mute); }
.fuss p:last-child { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.fuss a { text-underline-offset: 0.2em; }

/* ---------- Bewegung: ruhig, nur beim Laden und Hineinscrollen ---------- */
@keyframes stempel { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes steigen { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { animation: steigen 700ms var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms + 100ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .karte, .v-karte { transition: transform 200ms var(--ease); }
  .raster .karte:hover, .schritte .karte:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Tablet und Handy ---------- */
@media (max-width: 56em) {
  .links { display: none; }
  .start, .probe { grid-template-columns: 1fr; }
  .schritte, .raster { grid-template-columns: 1fr; }
  .fb-karte { grid-template-columns: 1fr; }
}
@media (max-width: 40em) {
  .fragen .liste { grid-template-columns: 1fr; }
  .export { grid-template-columns: 1fr; }
  .bar-akt .knopf { padding: 0 1rem; }
}
@media (max-width: 30em) { .v-reiter span:nth-child(4) { display: none; } }
@media (max-width: 26em) { .marke-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
