/* Startseite und Unterseiten. Zuerst ein Werkzeug, ein Schritt nach dem anderen, darunter das Angebot.
   Planblau, Meterstab-Gelb, Weiss, eine Schrift. Die Seite KI-Sichtbarkeit hat eigene Stildateien. */
@font-face { font-family: 'Schibsted'; src: url('/schrift/schibsted.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }

:root { --blau: #1c39b5; --blau-tief: #0c1a5c; --gelb: #ffd21e; --weiss: #fff; --rot: #b3190c; --grau: #50597f; --linie: #c9cfe6; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--blau); color: var(--weiss); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 1.0625rem/1.45 'Schibsted', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 850; line-height: 1.05; letter-spacing: -0.022em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ol, ul { margin: 0; padding: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }
.kopf :focus-visible { outline-color: var(--gelb); }
h2[tabindex]:focus { outline: none; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.sprung { position: absolute; left: 12px; top: -80px; z-index: 30; padding: 10px 14px; border-radius: 6px; background: var(--weiss); color: var(--blau-tief); font-weight: 700; }
.sprung:focus { top: 12px; }
.kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px 0; max-width: 1180px; margin: 0 auto; }
.marke { display: block; padding: 6px 0; }
.marke-zeichen { display: block; height: 20px; aspect-ratio: 2862 / 646; background: var(--weiss); -webkit-mask: url('/bilder/marke.png') center / contain no-repeat; mask: url('/bilder/marke.png') center / contain no-repeat; }
.kopf-rechts { display: flex; align-items: center; gap: clamp(12px, 2.6vw, 36px); }
.kopf-link, .kopf-kontakt { white-space: nowrap; padding: 8px 0; font-size: 0.95rem; }
.kopf-link { font-weight: 500; text-decoration: none; }
.kopf-link:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.kopf-kontakt { font-weight: 700; text-underline-offset: 0.25em; text-decoration-color: var(--gelb); text-decoration-thickness: 2px; }
@media (max-width: 420px) { .kopf-link, .kopf-kontakt { font-size: 0.85rem; } .marke-zeichen { height: 17px; } }
@media (max-width: 340px) { .kopf { gap: 8px; padding-inline: 12px; } .kopf-rechts { gap: 10px; } .kopf-link, .kopf-kontakt { font-size: 0.76rem; } .marke-zeichen { height: 14px; } }

.messer { padding: 10px 12px 24px; max-width: 34rem; margin: 0 auto; scroll-margin-top: 0; }
.oben { padding: 0 4px; }
.messer h1 { font-size: clamp(1.55rem, 7.2vw, 2.4rem); }
.satz { margin-top: 4px; font-size: 0.97rem; }
.reihe small { display: block; font-size: 0.8rem; font-weight: 550; color: var(--grau); }
.anzeige { margin-top: 6px; }
.zahl { display: flex; align-items: baseline; column-gap: 10px; flex-wrap: wrap; }
.zahl b { font-size: 3.1rem; font-weight: 900; line-height: 1; letter-spacing: -0.045em; color: var(--gelb); font-variant-numeric: tabular-nums; }
.zahl span { font-size: 1.15rem; font-weight: 750; }
.tage { font-weight: 600; font-size: 0.97rem; min-height: 1.45em; }

/* Meterstab: die Spur ist der Massstab, das Gelb zeigt die gemessenen Stunden */
.meter { margin-top: 4px; }
.meter-spur { position: relative; height: 28px; border-radius: 6px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px 5%) top / 100% 9px no-repeat, rgba(255, 255, 255, 0.12); }
.glied { position: absolute; top: 0; bottom: 0; background: var(--gelb); border-radius: 6px; box-shadow: 0 0 0 1.5px var(--blau-tief); transition: width 0.35s ease, left 0.35s ease; overflow: hidden; display: grid; place-items: end center; }
.glied::before { content: ''; position: absolute; inset: 0 0 auto; height: 9px; background: repeating-linear-gradient(90deg, var(--blau-tief) 0 1.5px, transparent 1.5px var(--strich, 17px)) var(--ab, 0) 0; }
.glied i { font-style: normal; font-weight: 900; font-size: 1.05rem; line-height: 1.15; color: var(--rot); }
.meter-zahlen { position: relative; height: 1.2rem; margin-top: 3px; font-size: 0.75rem; font-weight: 700; color: #d5dcff; }
.meter-zahlen span { position: absolute; top: 0; white-space: nowrap; }

.karte { display: block; margin-top: 8px; padding: 11px 12px 14px; background: var(--weiss); color: var(--blau-tief); border-radius: 10px; }
.feld { display: block; font-weight: 800; }
#aufgabe { width: 100%; margin-top: 5px; padding: 10px 12px; border: 2px solid var(--linie); border-radius: 6px; font-size: 1.05rem; }
#aufgabe:focus { border-color: var(--blau); }
.vorschlaege { display: flex; flex-wrap: wrap; gap: 5px; padding: 7px 0 2px; }
.vorschlaege button { flex: 1 0 auto; padding: 6px 7px; border: 1.5px solid var(--linie); border-radius: 999px; background: #f2f4fc; font-size: 0.88rem; font-weight: 600; }
.reihe { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.reihe > label { font-weight: 800; line-height: 1.2; }
.zaehler { display: grid; grid-template-columns: 44px 56px 44px 34px; align-items: center; gap: 4px; flex: none; }
.zaehler button { height: 44px; border: 0; border-radius: 6px; background: var(--blau-tief); color: var(--weiss); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.zaehler input { width: 100%; height: 44px; border: 2px solid var(--linie); border-radius: 6px; text-align: center; font-size: 1.2rem; font-weight: 850; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.zaehler input::-webkit-inner-spin-button { -webkit-appearance: none; }
.zaehler span { font-weight: 700; font-size: 0.95rem; }
.takt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 8px 0 0; padding: 0; border: 2px solid var(--blau-tief); border-radius: 7px; overflow: hidden; }
.takt label { position: relative; text-align: center; }
.takt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.takt span { display: block; padding: 8px 2px; font-weight: 750; font-size: 0.97rem; }
.takt input:checked + span { background: var(--blau-tief); color: var(--weiss); }
.takt input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: -4px; }
.takt input:checked:focus-visible + span { outline-color: var(--gelb); }
.hinweis { margin-top: 6px; font-size: 0.83rem; color: var(--grau); }
.hinweis:empty { display: none; }

.knopf { display: block; width: 100%; margin-top: 12px; padding: 14px 16px; border: 0; border-radius: 7px; background: var(--gelb); color: var(--blau-tief); font-weight: 850; font-size: 1.12rem; line-height: 1.25; text-align: center; text-decoration: none; box-shadow: 0 3px 0 #b98f00; }
.knopf:active { transform: translateY(2px); box-shadow: 0 1px 0 #b98f00; }
.knopf.zweit { margin-top: 12px; background: var(--weiss); box-shadow: inset 0 0 0 2px var(--blau-tief); font-size: 1rem; padding: 11px 16px; }
[data-senden] { margin-top: 10px; }
.jetzt { margin-top: 10px; font-size: 0.92rem; line-height: 1.4; text-align: center; }
.leise { border: 0; background: none; padding: 10px 4px; text-decoration: underline; text-underline-offset: 0.2em; font-weight: 650; font-size: 0.95rem; }
[data-zurueck], [data-zur-liste] { display: block; margin: 6px auto 0; }

.karte h2 { font-size: 1.3rem; }
/* In der Liste braucht der Platz das Ergebnis, nicht die Überschrift */
@media (max-width: 899px), (max-height: 500px) {
  [data-stand="liste"] h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  [data-stand="liste"] .satz { display: none; }
}
.karte h2 span { overflow-wrap: anywhere; }
.haken { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; margin-top: 8px; padding: 9px 11px; border: 2px solid var(--linie); border-radius: 8px; font-size: 1rem; font-weight: 600; line-height: 1.3; cursor: pointer; }
.haken input { width: 28px; height: 28px; margin: 0; accent-color: var(--blau-tief); }
.haken:has(input:checked) { border-color: var(--blau-tief); background: #fff7d1; }

[data-liste] { list-style: none; margin-top: 6px; }
[data-liste] li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 28px; column-gap: 8px; align-items: start; padding: 8px 0; border-bottom: 1.5px solid var(--linie); }
.nr { width: 28px; height: 28px; display: grid; place-items: center; background: var(--gelb); color: var(--rot); font-weight: 900; border-radius: 4px; }
.titel-zeile { font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.std { font-weight: 900; font-size: 1.15rem; white-space: nowrap; }
.menge, .urteil { grid-column: 2 / -1; font-size: 0.86rem; line-height: 1.35; }
.menge { color: var(--grau); }
.urteil b::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; background: #8b93b5; }
.urteil.gut b::before { background: #137a3d; }
.urteil.teil b::before { background: #d99a00; }
.weg-damit::after { content: ''; position: absolute; inset: -8px; }
.weg-damit { position: relative; grid-column: 4; grid-row: 1; width: 28px; height: 28px; margin-top: -2px; padding: 0; border: 0; border-radius: 5px; background: #eef0f9; color: var(--grau); font-size: 1.25rem; line-height: 1; }
.titel-zeile { hyphens: auto; }
@media (max-width: 480px) and (orientation: portrait) {
  [data-liste] li { grid-template-columns: 28px auto minmax(0, 1fr) 28px; }
  [data-liste] .titel-zeile { grid-column: 2 / 4; grid-row: 1; }
  [data-liste] .std { grid-column: 2; grid-row: 2; font-size: 1.05rem; }
  [data-liste] .menge { grid-column: 3 / -1; grid-row: 2; align-self: baseline; }
}
@media (max-width: 640px) and (orientation: landscape) and (max-height: 500px) {
  [data-liste] li { grid-template-columns: 28px auto minmax(0, 1fr) 28px; }
  [data-liste] .titel-zeile { grid-column: 2 / 4; grid-row: 1; }
  [data-liste] .std { grid-column: 2; grid-row: 2; }
  [data-liste] .urteil { grid-column: 3 / -1; grid-row: 2; align-self: center; }
}
.rat:empty { display: none; }
[data-liste] li.zuerst { margin: 0 -8px; padding-left: 8px; padding-right: 8px; background: #fff3bf; border-radius: 7px; }
.urteil strong { display: block; font-weight: 850; }
.rat { margin-top: 10px; padding: 10px 12px; background: #fff3bf; border-radius: 7px; font-weight: 700; }
.neben-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 18px; margin-top: 4px; }
textarea { width: 100%; margin-top: 6px; border: 2px solid var(--linie); border-radius: 6px; padding: 8px; font-size: 1rem; }

/* Das Angebot: kurz, alles auf einen Blick */
.angebot { background: var(--weiss); color: var(--blau-tief); padding: 40px max(20px, calc((100vw - 34rem) / 2)) 44px; }
.angebot h2 { font-size: clamp(2rem, 8.6vw, 2.8rem); }
.gross { margin-top: 14px; font-size: 1.22rem; font-weight: 650; }
.angebot ul { list-style: none; margin-top: 10px; display: grid; gap: 10px; }
.angebot li { position: relative; padding-left: 34px; font-size: 1.15rem; line-height: 1.35; }
.angebot li::before { content: ''; position: absolute; left: 3px; top: 0.25em; width: 18px; height: 10px; border-left: 4px solid var(--blau); border-bottom: 4px solid var(--blau); transform: rotate(-45deg); }
.pilot { margin-top: 24px; padding: 18px; background: var(--gelb); border-radius: 10px; }
.pilot h3 { font-size: 1.35rem; }
.pilot p { margin-top: 6px; font-weight: 550; }
.person { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; margin-top: 24px; }
.person img { width: 76px; height: auto; border-radius: 6px; }
.angebot .knopf { margin-top: 20px; }
.klein { margin-top: 12px; text-align: center; font-size: 0.97rem; }
.klein a { display: inline-block; padding: 8px 6px; }

/* Bereiche und Fragen: alles da, aber erst auf Wunsch offen, damit die Seite kurz bleibt */
.mehr { background: #eef0f9; color: var(--blau-tief); padding: 14px max(20px, calc((100vw - 46rem) / 2)) 20px; }
.gruppe + .gruppe, .mehr section + section { border-top: 2px solid var(--blau-tief); }
.gruppe > summary { position: relative; display: block; padding: 20px 40px 20px 0; cursor: pointer; list-style: none; }
.gruppe > summary::-webkit-details-marker { display: none; }
.gruppe > summary::after { content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 2.2rem; font-weight: 700; line-height: 1; color: var(--blau); }
.gruppe[open] > summary::after { content: '\2212'; }
.gruppe > summary h2 { font-size: clamp(1.4rem, 5.6vw, 1.9rem); }
.gruppe[open] { padding-bottom: 20px; }
.klappen { margin-top: 14px; border-top: 2px solid var(--blau-tief); }
.klappen details { border-bottom: 1.5px solid var(--linie); }
.klappen summary { position: relative; display: block; padding: 15px 40px 15px 0; cursor: pointer; list-style: none; }
.klappen summary::-webkit-details-marker { display: none; }
.klappen summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 700; line-height: 1; color: var(--blau); }
.klappen details[open] > summary::after { content: '\2212'; }
.klappen h3 { font-size: 1.12rem; font-weight: 750; line-height: 1.3; letter-spacing: -0.01em; }
.klappen p { max-width: 40rem; padding-bottom: 14px; }
.klappen .bsp { color: var(--grau); }
.klappen .bsp b { color: var(--blau-tief); }
.nachsatz { margin-top: 18px; }
.mehr a { text-decoration-color: var(--blau); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }

.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 28px max(20px, calc((100vw - 1100px) / 2)) max(28px, env(safe-area-inset-bottom)); background: var(--blau-tief); color: #d5dcff; font-size: 0.95rem; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fuss a { display: inline-block; padding: 8px 0; text-underline-offset: 0.2em; }
.fuss :focus-visible { outline-color: var(--gelb); }

/* Unterseiten: Impressum, Datenschutz, 404 */
.unterseite { background: var(--weiss); color: var(--blau-tief); }
.unterseite .kopf { max-width: none; padding: 10px max(16px, calc((100vw - 1100px) / 2)); background: var(--blau); color: var(--weiss); }
.recht { max-width: 44rem; margin: 0 auto; padding: clamp(32px, 6vw, 80px) 20px clamp(64px, 8vw, 120px); }
.recht h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 0.6em; overflow-wrap: break-word; hyphens: auto; }
.recht h2 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); margin: 2.2em 0 0.5em; scroll-margin-top: 24px; }
.recht p { margin-bottom: 0.9em; max-width: 40rem; }
.recht a { text-decoration-color: var(--blau); text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.recht .stand { color: var(--grau); font-size: 0.95rem; }
.recht :target { background: linear-gradient(transparent 62%, rgba(255, 210, 30, 0.55) 62%); }

@media (max-width: 899px) and (max-height: 700px) {
  .messer { padding-top: 4px; }
  .anzeige { margin-top: 3px; }
  .reihe { margin-top: 7px; }
  .zahl b { font-size: 2.7rem; }
  .meter-spur { height: 24px; }
  .meter-zahlen { margin-top: 1px; }
  .karte { padding-bottom: 11px; }
  .vorschlaege { padding-top: 5px; }
}
/* Ganz niedrige Bildschirme hochkant: ohne Untertitel und Vorschläge bleibt «Weiter» im Bild */
@media (orientation: portrait) and (max-height: 580px) {
  .satz, .vorschlaege { display: none; }
  .reihe { margin-top: 6px; }
  .messer h1 { font-size: 1.4rem; }
  .zahl b { font-size: 2.3rem; }
  .meter-spur { height: 20px; }
  .glied i { font-size: 0.9rem; line-height: 1.1; }
  .karte { margin-top: 6px; padding-top: 9px; }
  /* In den Häkchen zählt der Platz für die Fragen */
  [data-stand="eignung"] h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .karte h2 { font-size: 1.08rem; }
  .haken { margin-top: 5px; padding: 6px 9px; grid-template-columns: 24px 1fr; gap: 9px; font-size: 0.9rem; line-height: 1.25; }
  .haken input { width: 24px; height: 24px; }
  .karte .knopf { margin-top: 8px; padding-block: 11px; }
}

/* Sehr schmale Handys */
@media (max-width: 340px) {
  .zaehler { grid-template-columns: 38px 46px 38px 30px; }
  .zaehler button { height: 42px; }
  .vorschlaege { gap: 4px; }
  .vorschlaege button { font-size: 0.76rem; padding-inline: 2px; }
}

/* Ohne JavaScript verschwindet der Messer, es bleiben Überschrift, Hinweis und Angebot */
@media (scripting: none) { .messer form, .anzeige, .meter, .start .knopf { display: none; } }

@media (min-width: 900px) {
  .kopf { padding: 24px 40px 0; }
  .marke-zeichen { height: 28px; }
  .unterseite .kopf { padding-top: 18px; padding-bottom: 18px; }
  .messer { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr) 30rem; column-gap: 64px; align-items: start; padding: 36px 40px 56px; }
  .oben { padding-top: 24px; }
  .messer h1 { font-size: 3.35rem; line-height: 1.02; }
  .satz { margin-top: 16px; font-size: 1.3rem; }
  .anzeige { margin-top: 40px; }
  .zahl b { font-size: 7rem; }
  .zahl span { font-size: 1.5rem; }
  .tage { font-size: 1.2rem; }
  .meter { margin-top: 16px; }
  .meter-spur { height: 52px; }
  .glied i { font-size: 1.6rem; line-height: 1.5; }
  .karte { margin-top: 0; padding: 22px 24px 24px; }
}
/* Handy quer: links das Ergebnis, rechts die Eingabe, alles so flach wie möglich. Steht nach den Desktop-Regeln. */
@media (orientation: landscape) and (max-height: 500px) {
  .kopf { padding: 4px 16px 0; }
  .marke-zeichen { height: 17px; }
  .unterseite .kopf { padding-block: 6px; }
  .messer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 12px; align-items: start; max-width: 62rem; padding: 6px 12px 12px; }
  .oben { padding-top: 0; }
  .messer h1 { font-size: clamp(1.25rem, 3.4vw, 1.9rem); line-height: 1.06; }
  .satz { margin-top: 4px; font-size: 0.88rem; }
  .anzeige { margin-top: 8px; }
  .zahl b { font-size: 2.7rem; }
  .zahl span { font-size: 1rem; }
  .tage { font-size: 0.86rem; }
  .meter { margin-top: 6px; }
  .meter-spur { height: 26px; }
  .glied i { font-size: 1rem; line-height: 1.15; }
  .karte { margin-top: 0; padding: 8px 10px 10px; }
  .feld, .reihe > label { font-size: 0.95rem; }
  #aufgabe { margin-top: 3px; padding: 5px 10px; font-size: 1rem; }
  .vorschlaege { display: none; }
  .reihe { margin-top: 5px; }
  .reihe small { display: none; }
  .zaehler button, .zaehler input { height: 38px; }
  .takt { margin-top: 5px; }
  .takt span { padding: 6px 2px; }
  .karte .knopf { margin-top: 7px; padding: 9px 14px; font-size: 1rem; }
  .karte h2 { font-size: 1.05rem; }
  .haken { margin-top: 5px; padding: 6px 9px; grid-template-columns: 24px 1fr; gap: 9px; font-size: 0.9rem; line-height: 1.22; }
  .haken input { width: 24px; height: 24px; }
  [data-zurueck], [data-zur-liste] { margin-top: 2px; padding-block: 8px; }
  [data-liste] { margin-top: 2px; }
  [data-liste] li { padding-block: 4px; }
  .titel-zeile { font-size: 0.95rem; }
  .std { font-size: 1rem; }
  .menge { display: none; }
  .urteil strong { display: inline; margin-left: 8px; }
}
@media (orientation: landscape) and (max-height: 500px) and (max-width: 640px) {
  .messer { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr); column-gap: 8px; padding-inline: 8px; }
  .zahl span { font-size: 0.9rem; }
}

/* Erste Ansicht: Überschrift, ein Satz, ein Knopf. Alles andere kommt erst danach.
   Steht am Ende und ist genauer gefasst als die Regeln für einzelne Bildschirmgrössen. */
.start { display: none; }
.karte:focus { outline: none; }
/* Ist der Rechner offen, braucht das Handy den Platz für Ergebnis und Eingabe */
@media (max-width: 899px) and (orientation: portrait) {
  [data-stand="eingabe"] h1, [data-stand="eignung"] h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  [data-stand="eingabe"] .satz, [data-stand="eignung"] .satz { display: none; }
}
@media (orientation: landscape) and (max-height: 500px) {
  [data-stand="eingabe"] .satz, [data-stand="eignung"] .satz { display: none; }
}
[data-stand="start"] .start { display: block; }
[data-stand="start"] .kopf-kontakt, [data-stand="start"] .anzeige, [data-stand="start"] .meter-zahlen { display: none; }
[data-stand="start"] .kopf-link { display: block; }
[data-stand="start"] .messer { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 84px); min-height: calc(100svh - 84px); max-width: 34rem; padding: 16px 20px 32px; }
[data-stand="start"] .oben { padding: 0; text-align: center; }
[data-stand="start"] .messer h1 { font-size: clamp(2.1rem, 10.4vw, 3.1rem); line-height: 1.04; }
[data-stand="start"] .satz { display: block; margin: 16px auto 0; max-width: 24rem; font-size: 1.14rem; line-height: 1.45; }
.start .knopf { margin-top: 28px; padding: 19px 18px; font-size: 1.28rem; }
.start p { margin-top: 8px; }
.start a { display: inline-block; padding: 10px 6px; font-size: 0.98rem; font-weight: 600; text-underline-offset: 0.25em; text-decoration-color: var(--gelb); text-decoration-thickness: 2px; }
.start :focus-visible { outline-color: var(--gelb); }
[data-stand="start"] .meter { margin-top: 36px; }
[data-stand="start"] .meter-spur { height: 46px; }
[data-stand="start"] .glied i { font-size: 1.3rem; line-height: 1.35; }
@media (min-width: 900px) and (min-height: 501px) {
  [data-stand="start"] .messer { max-width: 60rem; min-height: calc(100vh - 118px); min-height: calc(100svh - 118px); padding: 24px 40px 56px; }
  [data-stand="start"] .messer h1 { font-size: 4.6rem; max-width: 17ch; margin: 0 auto; }
  [data-stand="start"] .satz { margin-top: 24px; max-width: 34rem; font-size: 1.35rem; }
  .start .knopf { display: inline-block; width: auto; margin-top: 36px; padding: 20px 56px; }
  [data-stand="start"] .meter { max-width: 44rem; width: 100%; margin: 52px auto 0; }
  [data-stand="start"] .meter-spur { height: 58px; }
  [data-stand="start"] .glied i { font-size: 1.6rem; }
}
@media (orientation: portrait) and (max-height: 580px) {
  [data-stand="start"] .messer h1 { font-size: 2rem; }
  [data-stand="start"] .satz { margin-top: 10px; font-size: 1.02rem; }
  .start .knopf { margin-top: 18px; padding-block: 15px; }
  [data-stand="start"] .meter { margin-top: 18px; }
  [data-stand="start"] .meter-spur { height: 32px; }
  [data-stand="start"] .glied i { font-size: 1rem; line-height: 1.2; }
}
@media (orientation: landscape) and (max-height: 500px) {
  [data-stand="start"] .messer { max-width: 40rem; min-height: calc(100svh - 62px); padding: 4px 20px 14px; }
  [data-stand="start"] .messer h1 { font-size: 1.75rem; }
  [data-stand="start"] .satz { margin-top: 6px; max-width: 34rem; font-size: 0.98rem; }
  .start .knopf { margin-top: 12px; padding-block: 11px; font-size: 1.1rem; }
  .start p { margin-top: 0; }
  .start a { padding-block: 7px; }
  [data-stand="start"] .meter { margin-top: 6px; }
  [data-stand="start"] .meter-spur { height: 24px; }
  [data-stand="start"] .glied i { font-size: 0.9rem; line-height: 1.15; }
}

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

/* Gedruckt wird nur die eigene Liste */
@media print {
  html, body { background: #fff; color: #000; }
  .jetzt, .start, .sprung, .kopf, .angebot, .mehr, .fuss, .oben .satz, .meter, .knopf, .neben-knoepfe, .weg-damit, textarea, [data-meldung] { display: none !important; }
  h1 { display: none; }
  .anzeige { margin: 0 0 12px; }
  .zahl b { color: #000; font-size: 2.4rem; }
  .messer { display: block; max-width: none; padding: 0; }
  .karte { color: #000; padding: 0; }
  .karte h2::after { content: ' | Gemessen auf schertler-ai.ch'; font-size: 0.9rem; font-weight: 500; }
  .nr, .rat, .zuerst, .urteil b::before { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
