/* Herz & Harmonie – Homepage. Systemschriften, keine externen Quellen. Farben als Tokens; Dunkel per System oder Wahl. */
:root {
  --bg: #fbf5ea;
  --bg-2: #f4e8d4;
  --surface: #fffdf8;
  --surface-2: #fff6e6;
  --ink: #1f2a33;
  --muted: #5d6a74;
  --line: #e7d8bf;
  --sea: #1f78a8;
  --sea-deep: #0f4a6b;
  --sun: #ffc94a;
  --sun-ink: #3b2a05;
  --coral: #e6684e;
  --leaf: #3f9a6e;
  --title: #ffd34d;
  --title-edge: #1d4f86;
  --sky-1: #ffd9b0;
  --sky-2: #ffe9cf;
  --sky-3: #bfe3f2;
  --isle-far: #9cc7cf;
  --isle-mid: #5f9f8a;
  --isle-near: #3f7c69;
  --wave-1: #4aa6cf;
  --wave-2: #2c86b5;
  --focus: #1f78a8;
  --err: #b8382a;
  --ok: #2f7d57;
  --shadow: 0 1px 2px rgba(60, 40, 10, .06), 0 8px 24px rgba(60, 40, 10, .08);
  --radius: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1b28; --bg-2: #0f2232; --surface: #13293a; --surface-2: #183247; --ink: #edf3f7; --muted: #a8b9c6; --line: #24435a;
    --sea: #6cc0ea; --sea-deep: #9dd6f2; --sun: #ffcf5a; --sun-ink: #2a1d02; --coral: #ff8f72; --leaf: #6fcf9f;
    --title: #ffd765; --title-edge: #0b2f55; --sky-1: #20284a; --sky-2: #2c3563; --sky-3: #18405e;
    --isle-far: #26506a; --isle-mid: #1d4a46; --isle-near: #15382f; --wave-1: #1b5f86; --wave-2: #134c6e;
    --focus: #8fd3f7; --err: #ff9b8a; --ok: #7fdcaa; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1b28; --bg-2: #0f2232; --surface: #13293a; --surface-2: #183247; --ink: #edf3f7; --muted: #a8b9c6; --line: #24435a;
  --sea: #6cc0ea; --sea-deep: #9dd6f2; --sun: #ffcf5a; --sun-ink: #2a1d02; --coral: #ff8f72; --leaf: #6fcf9f;
  --title: #ffd765; --title-edge: #0b2f55; --sky-1: #20284a; --sky-2: #2c3563; --sky-3: #18405e;
  --isle-far: #26506a; --isle-mid: #1d4a46; --isle-near: #15382f; --wave-1: #1b5f86; --wave-2: #134c6e;
  --focus: #8fd3f7; --err: #ff9b8a; --ok: #7fdcaa; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
svg { flex: none; }

/* ---------- Kopfzeile ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top-in { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 1.08rem/1 var(--font-round); letter-spacing: .01em; white-space: nowrap; }
.brand i { font-style: normal; color: var(--coral); }
.brand img { flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--surface-2); }
.theme { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: none; }
:root[data-theme="dark"] .theme .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .sun { display: none; }
  :root:not([data-theme="light"]) .theme .moon { display: block; }
}
@media (max-width: 720px) {
  .top-in { height: 56px; gap: 8px; }
  .nav { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 8px 10px; font-size: .9rem; white-space: nowrap; }
}
@media (max-width: 480px) { .top:has(.nav a:nth-child(3)) .brand span { display: none; } }
@media (max-width: 400px) { .brand span { display: none; } }

/* ---------- Kopfbereich (Hero) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 7vw, 96px) 0 clamp(150px, 18vw, 230px); }
.sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 45%, var(--sky-3) 100%); }
.sun-disc { position: absolute; width: clamp(160px, 22vw, 300px); aspect-ratio: 1; right: 12%; top: 12%; border-radius: 50%;
  background: radial-gradient(circle, #fff3c9 0%, var(--sun) 55%, color-mix(in srgb, var(--sun) 0%, transparent) 72%); opacity: .9; }
:root[data-theme="dark"] .sun-disc { background: radial-gradient(circle, #fffbe8 0%, #f3e7c1 38%, transparent 66%); opacity: .55; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sun-disc { background: radial-gradient(circle, #fffbe8 0%, #f3e7c1 38%, transparent 66%); opacity: .55; } }
.isles { position: absolute; left: 0; right: 0; bottom: 70px; width: 100%; height: clamp(120px, 20vw, 260px); }
.isle.far { fill: var(--isle-far); }
.isle.mid { fill: var(--isle-mid); }
.isle.near { fill: var(--isle-near); }
.sail path { fill: var(--surface); }
.waves { position: absolute; left: 0; bottom: 0; width: 200%; height: 110px; animation: drift 26s linear infinite; }
.waves .w1 { fill: var(--wave-1); opacity: .9; }
.waves .w2 { fill: var(--wave-2); }
.waves + * { position: relative; }
@keyframes drift { to { transform: translateX(-50%); } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: var(--wave-2); z-index: -1; }

.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 24px; }
.eyebrow { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--sea-deep); }
.title { font: 900 clamp(2.9rem, 8.4vw, 6rem)/1.02 var(--font-round); margin: 12px 0 18px; color: var(--title); letter-spacing: -.01em;
  -webkit-text-stroke: .1em var(--title-edge); paint-order: stroke fill; text-shadow: 0 .07em 0 color-mix(in srgb, var(--title-edge) 55%, transparent); }
.title span { color: #ff9c7a; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 36em; color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hint { margin-top: 14px; font-size: .92rem; color: var(--muted); }

.hero-art { position: relative; height: clamp(240px, 30vw, 380px); }
.mon { position: absolute; height: auto; filter: drop-shadow(0 14px 14px rgba(30, 40, 50, .22)); }
.m1 { width: 62%; left: 20%; top: 4%; z-index: 2; animation: bob 5.5s ease-in-out infinite; }
.m2 { width: 46%; left: -2%; bottom: 0; animation: bob 6.5s ease-in-out -2s infinite; }
.m3 { width: 46%; right: -4%; bottom: 2%; animation: bob 6s ease-in-out -4s infinite; }
.lapras { position: absolute; height: auto; width: clamp(80px, 8vw, 120px); right: 32%; bottom: 22px; z-index: 1; animation: swim 9s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes swim { 50% { transform: translate(14px, -4px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .waves, .mon, .lapras { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 820px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { height: 210px; max-width: 340px; width: 100%; margin: 6px auto 0; }
  .hero { padding-bottom: 130px; }
  .lapras { width: 72px; right: auto; left: 5%; bottom: 16px; }
}

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 800 1.02rem/1.1 var(--font-round); text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background-color .12s; }
.btn svg { width: 20px; height: 20px; }
.btn.play { background: var(--sun); color: var(--sun-ink); border-color: color-mix(in srgb, var(--sun-ink) 70%, transparent); box-shadow: 0 4px 0 color-mix(in srgb, var(--sun-ink) 75%, transparent); }
.btn.play svg { fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cta .btn.play { font-size: 1.2rem; min-height: 58px; padding: 14px 30px; }
.btn.play:hover { transform: translateY(-1px); box-shadow: 0 5px 0 color-mix(in srgb, var(--sun-ink) 75%, transparent); }
.btn.play:active { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--sun-ink) 75%, transparent); }
.btn.soft { background: color-mix(in srgb, var(--surface) 85%, transparent); color: var(--ink); border-color: var(--line); }
.btn.soft:hover { background: var(--surface); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn.small { min-height: 44px; padding: 10px 18px; font-size: .98rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: default; transform: none; }

/* ---------- Bänder ---------- */
.band { padding: clamp(48px, 7vw, 88px) 0; scroll-margin-top: 60px; }
.band .head { max-width: 44em; margin-bottom: 28px; }
.band h2 { font: 800 clamp(1.6rem, 3.2vw, 2.2rem)/1.15 var(--font-round); }
.band .head p { margin-top: 10px; color: var(--muted); }
.features { background: var(--wave-2); color: #f3fbff; padding-top: 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.feature { background: color-mix(in srgb, #ffffff 10%, transparent); border: 1px solid color-mix(in srgb, #ffffff 22%, transparent); border-radius: var(--radius); padding: 22px 22px 24px; }
.feature h2 { font-size: 1.25rem; margin: 12px 0 6px; color: #fff; }
.feature p { color: #dcefff; }
.dot { display: block; width: 44px; height: 44px; border-radius: 14px; background: #fff3d6 center/26px no-repeat; }
.dot.heart { background-image: url("herz.svg"); }
.dot.wave { background-color: #d9f1ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f78a8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M2 9c3-3 5 3 8 0s5 3 8 0 3-1 4 0M2 16c3-3 5 3 8 0s5 3 8 0 3-1 4 0'/%3E%3C/svg%3E"); }
.dot.isle { background-color: #dff5e7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 18c4-6 7-8 10-8s6 2 10 8z' fill='%233f9a6e'/%3E%3Ccircle cx='17' cy='6' r='3' fill='%23f5b400'/%3E%3C/svg%3E"); }

/* ---------- Karten ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card h3 { display: flex; align-items: center; gap: 10px; font: 800 1.2rem/1.2 var(--font-round); margin-bottom: 12px; }
.card h3 svg { width: 26px; height: 26px; fill: none; stroke: var(--sea); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.steps { margin: 0 0 18px; padding-left: 1.3em; display: grid; gap: 8px; }
.steps li::marker { color: var(--sea); font-weight: 800; }
.app .btn { margin-top: 4px; }
.url { display: block; margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); border: 1px dashed var(--line); font: 600 .92rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; user-select: all; }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); background: color-mix(in srgb, var(--leaf) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--leaf) 30%, var(--line)); }
.note svg { width: 24px; height: 24px; fill: none; stroke: var(--leaf); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.apps { background: var(--bg-2); }
.card.link { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); transition: transform .12s ease, border-color .12s; }
.card.link:hover { transform: translateY(-2px); border-color: var(--sea); }
.card.link img { width: 72px; height: 72px; border-radius: 50%; background: var(--surface-2); }
.card.link b { display: block; font: 800 1.15rem/1.2 var(--font-round); }
.card.link small { display: block; color: var(--muted); font-size: .94rem; margin-top: 4px; }
.card.link .arrow { margin-left: auto; font-size: 1.4rem; color: var(--sea); }

/* ---------- Wer spielt? ---------- */
.who { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.tile { appearance: none; font: inherit; color: var(--ink); display: grid; justify-items: center; gap: 6px; width: 132px; padding: 14px 10px 12px; border-radius: var(--radius);
  background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); cursor: pointer; text-align: center; transition: transform .12s, border-color .12s; }
.tile:hover { transform: translateY(-2px); }
.tile[aria-pressed="true"] { border-color: var(--sea); background: color-mix(in srgb, var(--sea) 8%, var(--surface)); }
.tile .name { font: 800 1rem/1.2 var(--font-round); overflow-wrap: break-word; hyphens: auto; }
.tile small { font-size: .78rem; color: var(--muted); line-height: 1.3; overflow-wrap: anywhere; }
.pic { width: 72px; height: 72px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line); display: grid; place-items: center; overflow: hidden; font: 800 1.6rem var(--font-round); color: var(--muted); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.tile.add .pic { border-style: dashed; font-size: 2rem; }
@media (max-width: 520px) { .who { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; } .tile { width: auto; } .pic { width: 60px; height: 60px; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 30px); }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.panel-head .pic { width: 56px; height: 56px; }
.panel-head > div:not(.actions) { flex: 1 1 0; min-width: 0; }
.panel-head h3 { font: 800 1.35rem/1.2 var(--font-round); }
.panel-head p { color: var(--muted); font-size: .94rem; }
.panel-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.info { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); color: var(--muted); font-size: .94rem; margin-bottom: 16px; }
.info.warn { background: color-mix(in srgb, var(--coral) 12%, var(--surface)); color: var(--ink); }

/* Formulare */
.auth { max-width: 460px; display: grid; gap: 14px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); justify-self: start; }
.tabs button { appearance: none; border: 0; background: transparent; color: var(--muted); font: 700 .95rem var(--font); padding: 8px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.field { display: grid; gap: 6px; }
.field > span:first-child { font-weight: 700; font-size: .95rem; }
.field input { width: 100%; font: 500 1rem var(--font); color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 12px; padding: 11px 14px; min-height: 48px; }
.field input:focus { outline: none; border-color: var(--focus); }
.field.bad input { border-color: var(--err); }
.field .err { color: var(--err); font-size: .88rem; min-height: 0; }
.field .err:empty { display: none; }
.pw { position: relative; display: block; }
.pw input { padding-right: 76px; }
.reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--sea); font: 700 .85rem var(--font); padding: 8px 10px; cursor: pointer; border-radius: 8px; }
.auth:not(.register) .reg { display: none; }
.msg { color: var(--err); font-weight: 600; }
.msg:empty { display: none; }
.msg.ok { color: var(--ok); }
.submit { justify-self: start; }

/* Profil anlegen */
.newp { display: grid; gap: 14px; max-width: 640px; }
.portraits { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.portraits button { appearance: none; border: 2px solid var(--line); background: var(--surface-2); border-radius: 14px; padding: 4px; cursor: pointer; }
.portraits button[aria-pressed="true"] { border-color: var(--sea); background: color-mix(in srgb, var(--sea) 12%, var(--surface)); }
.portraits img { width: 100%; height: auto; aspect-ratio: 1; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Spielstände */
.saves { display: grid; gap: 14px; }
.save { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.save h4 { margin: 0; font: 800 1.12rem/1.25 var(--font-round); }
.save .chapter { color: var(--sea-deep); font-weight: 700; font-size: .95rem; margin-top: 2px; }
.save .line { color: var(--muted); font-size: .92rem; }
.save .meta { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.team { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding: 0; list-style: none; }
.team li { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); }
.team li img { width: 100%; height: 100%; }
.team li.partner { border-color: var(--coral); }
.team li.partner::after { content: "♥"; position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.team li .fallback { display: grid; place-items: center; height: 100%; font-weight: 800; color: var(--muted); }
.save .go { align-self: center; }
@media (max-width: 600px) { .save { grid-template-columns: 1fr; } .save .go { justify-self: stretch; } }
.empty { text-align: center; padding: 26px 12px; color: var(--muted); }
.empty img { width: 96px; margin: 0 auto 8px; opacity: .9; }
.skeleton { height: 112px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface-2), var(--bg), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Fuß ---------- */
.foot { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); color: var(--muted); font-size: .9rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }
.foot-in p:first-child { max-width: 46em; }
.foot b { color: var(--ink); }
.version:empty { display: none; }

@media (min-width: 1600px) {
  body { font-size: 18px; }
  .wrap { width: min(1280px, 100% - 64px); }
}

/* ---------- Zugang, Tippflächen, Handy ---------- */
[hidden] { display: none !important; }
.nav a, .btn.ghost, .tabs button, .reveal { min-height: 44px; }
.nav a { display: inline-flex; align-items: center; }
.reveal { min-width: 44px; }
.theme { width: 44px; height: 44px; flex: none; }
.teaser { background: var(--bg-2); }
.teaser-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.teaser-list li { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.teaser-list b { font: 800 1.05rem/1.2 var(--font-round); }
.teaser-list span { color: var(--muted); font-size: .94rem; }
.band { scroll-margin-top: 64px; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 24px 0 108px; }
  .title { font-size: clamp(2.4rem, 12.5vw, 3.2rem); margin: 8px 0 12px; }
  .lead { font-size: 1rem; }
  .cta { margin-top: 18px; }
  .cta .btn.play { width: 100%; font-size: 1.1rem; padding-inline: 18px; }
  .hero-art { height: 150px; max-width: 250px; }
  .band { padding: 36px 0; }
  .band .head { margin-bottom: 18px; }
  .feature, .card { padding: 18px; }
  .panel { padding: 16px; border-radius: var(--radius); }
  .panel-head .actions { width: 100%; margin-left: 0; }
  .panel-head .actions .btn { flex: 1 1 auto; }
  .tabs { display: flex; justify-self: stretch; }
  .tabs button { flex: 1 1 0; }
  .submit, .app .btn { width: 100%; }
  /* Profile als eine wischbare Reihe statt mehrerer Zeilen */
  .who { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 18px; padding: 2px 16px 8px; scrollbar-width: thin; }
  .tile { flex: 0 0 112px; scroll-snap-align: start; }
  .card.link { gap: 12px; padding: 16px; }
  .card.link img { width: 56px; height: 56px; }
  .foot { padding-top: 24px; }
}

/* Handy im Querformat: wenig Höhe – Kopfzeile scrollt mit, Hero niedrig und zweispaltig */
@media (max-height: 520px) and (orientation: landscape) {
  .top { position: static; }
  .hero { padding: 18px 0 92px; }
  .hero-in { grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr); gap: 12px; }
  .hero-art { height: 150px; margin: 0; }
  .title { font-size: clamp(2.2rem, 6.5vw, 3.2rem); margin: 6px 0 10px; }
  .lead { font-size: 1rem; }
  .cta { margin-top: 14px; }
  .cta .btn.play { width: auto; min-height: 52px; }
  .band { padding: 32px 0; scroll-margin-top: 0; }
  .lapras { display: none; }
}
