/* Wekala - Gestaltung */

/* ---------- Schriften (lokal, keine Fremdserver) ---------- */
@font-face { font-family: 'Messiri'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(fonts/messiri-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; }
@font-face { font-family: 'Messiri'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(fonts/messiri-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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: 'Messiri'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(fonts/messiri-cyrillic.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Messiri'; font-style: normal; font-display: swap; font-weight: 400 700; src: url(fonts/messiri-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'Plex'; font-style: normal; font-display: swap; font-weight: 100 700; src: url(fonts/plex-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; }
@font-face { font-family: 'Plex'; font-style: normal; font-display: swap; font-weight: 100 700; src: url(fonts/plex-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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: 'Plex'; font-style: normal; font-display: swap; font-weight: 100 700; src: url(fonts/plex-cyrillic.woff2) format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Plex'; font-style: normal; font-display: swap; font-weight: 100 700; src: url(fonts/plex-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'PlexAr'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/plexar-400.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'PlexAr'; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/plexar-600.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: 'PlexAr'; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/plexar-700.woff2) format('woff2'); unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }

/* ---------- Farben ---------- */
:root {
  --bg: #F6F2EA; --bg2: #FFFFFF; --bg3: #EFE8DB; --ink: #0F1831; --ink2: #4B5672; --line: #E3DACB;
  --brand: #3159C4; --brand-d: #0A1640; --brand-t: rgba(49, 89, 196, .09);
  --gold: #D6A43F; --gold-d: #9C7219; --gold-ink: #2B1E05; --gold-t: rgba(214, 164, 63, .14);
  --ok: #1D7F52; --ok-t: rgba(29, 127, 82, .1); --warn: #9A6412; --warn-t: rgba(214, 150, 40, .14); --err: #B3261E; --err-t: rgba(179, 38, 30, .09);
  --wa: #178A4F; --focus: #F2C14E;
  --r: 16px; --r-s: 12px; --shadow: 0 1px 2px rgba(15, 24, 49, .05), 0 8px 24px -12px rgba(15, 24, 49, .18);
  --shadow-l: 0 2px 4px rgba(15, 24, 49, .06), 0 24px 48px -20px rgba(15, 24, 49, .35);
  --f-body: 'Plex', 'PlexAr', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-disp: 'Messiri', 'PlexAr', Georgia, serif;
  --top-h: 64px; --tab-h: 64px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0A1024; --bg2: #121A33; --bg3: #18223F; --ink: #EDF0F8; --ink2: #A3ADC6; --line: #26314F;
  --brand: #7E9BFF; --brand-d: #050A1C; --brand-t: rgba(126, 155, 255, .12);
  --gold: #E3B85A; --gold-d: #E3B85A; --gold-t: rgba(227, 184, 90, .14);
  --ok: #4CC38A; --ok-t: rgba(76, 195, 138, .12); --warn: #F0B25A; --warn-t: rgba(240, 178, 90, .12); --err: #FF8A80; --err-t: rgba(255, 138, 128, .1);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6); --shadow-l: 0 24px 48px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1024; --bg2: #121A33; --bg3: #18223F; --ink: #EDF0F8; --ink2: #A3ADC6; --line: #26314F;
    --brand: #7E9BFF; --brand-d: #050A1C; --brand-t: rgba(126, 155, 255, .12);
    --gold: #E3B85A; --gold-d: #E3B85A; --gold-t: rgba(227, 184, 90, .14);
    --ok: #4CC38A; --ok-t: rgba(76, 195, 138, .12); --warn: #F0B25A; --warn-t: rgba(240, 178, 90, .12); --err: #FF8A80; --err-t: rgba(255, 138, 128, .1);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6); --shadow-l: 0 24px 48px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100svh; }
[lang="ar"] body, body [lang="ar"] { font-family: 'PlexAr', 'Plex', system-ui, sans-serif; }
html[lang="ar"] body { font-size: 16.5px; line-height: 1.75; }
h1, h2, h3 { font-family: var(--f-disp); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; }
p { margin: 0 0 .8em; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
code { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: .88em; background: var(--bg3); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.muted { color: var(--ink2); }
.small { font-size: .86rem; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .flip { transform: scaleX(-1); }
main { position: relative; z-index: 1; outline: none; min-height: calc(100svh - var(--top-h)); padding-top: var(--top-h); }
body[data-route="home"] main, body[data-route="auth"] main { padding-top: 0; }

/* ---------- Himmel (3D und Ersatzbild) ---------- */
.sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #0d1a45; }
.sky[hidden] { display: none; }
.sky-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sky-fb { position: absolute; inset: 0; transition: opacity 1.2s ease; }
.sky.is3d .sky-fb { opacity: 0; pointer-events: none; }
.sky-fb svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 62%; }
.sky[data-mood="day"] .sky-fb { background: linear-gradient(#2d6bd4 0%, #71aaef 45%, #f2e5c7 78%); }
.sky[data-mood="dusk"] .sky-fb { background: linear-gradient(#2b2f6d 0%, #a15f88 40%, #f7a865 76%); }
.sky[data-mood="night"] .sky-fb { background: radial-gradient(1px 1px at 20% 20%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 70% 12%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 45% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 85% 35%, #fff 50%, transparent 51%), linear-gradient(#050b26 0%, #0d1a45 50%, #1f3163 80%); }
.sky-fb .fb-far path { fill: #d9b07a; } .sky-fb .fb-pyr path { fill: #e6c28b; } .sky-fb .fb-pyr .fb-shade { fill: #b98b57; } .sky-fb .fb-near path { fill: #caa36c; }
.sky[data-mood="dusk"] .fb-far path { fill: #b9755a; } .sky[data-mood="dusk"] .fb-pyr path { fill: #d99a63; } .sky[data-mood="dusk"] .fb-pyr .fb-shade { fill: #8e5a45; } .sky[data-mood="dusk"] .fb-near path { fill: #a8664e; }
.sky[data-mood="night"] .fb-far path { fill: #2a2f55; } .sky[data-mood="night"] .fb-pyr path { fill: #4a4d78; } .sky[data-mood="night"] .fb-pyr .fb-shade { fill: #2c2f55; } .sky[data-mood="night"] .fb-near path { fill: #1d2146; }

/* ---------- Kopfzeile ---------- */
.top { position: fixed; top: 0; inset-inline: 0; z-index: 40; height: var(--top-h); transition: background .25s, box-shadow .25s, color .25s; }
.top.solid { background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top.over:not(.solid) { color: #fff; }
.bar { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.brand .logo { width: 38px; height: 38px; filter: drop-shadow(0 4px 10px rgba(10, 22, 64, .3)); }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-t b { font-family: var(--f-disp); font-size: 1.28rem; font-weight: 700; letter-spacing: .01em; }
.brand-ar { font-size: .78rem; opacity: .75; margin-top: 3px; }
.topnav { display: flex; gap: 4px; margin-inline-start: 12px; }
.topnav a { color: inherit; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 500; opacity: .88; }
.topnav a:hover, .topnav a[aria-current] { opacity: 1; background: color-mix(in srgb, currentColor 9%, transparent); }
.bar-acts { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 42px; height: 42px; padding: 0 8px; border: 0; border-radius: 12px; background: transparent; color: inherit; text-decoration: none; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.lang-btn span { font-size: .78rem; font-weight: 600; text-transform: uppercase; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(145deg, var(--gold), #b9832a); color: var(--gold-ink); font-weight: 700; text-decoration: none; flex: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.avatar.sm { width: 34px; height: 34px; font-size: .9rem; }
.dot-n { position: absolute; top: 4px; inset-inline-end: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #E5484D; color: #fff; font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.top.over:not(.solid) .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }

/* ---------- Schaltflaechen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-s); border: 1.5px solid transparent; font-weight: 600; text-decoration: none; line-height: 1.2; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.btn.wide { width: 100%; }
.btn.primary { background: linear-gradient(180deg, #3A64D0, #2A4DB0); color: #fff; box-shadow: 0 8px 20px -10px rgba(49, 89, 196, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn.primary:hover { box-shadow: 0 12px 26px -10px rgba(49, 89, 196, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.gold { background: linear-gradient(180deg, #E4B656, #CF9A33); color: var(--gold-ink); box-shadow: 0 8px 20px -10px rgba(207, 154, 51, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink2); }
.btn.ghost[aria-pressed="true"] { border-color: var(--err); color: var(--err); }
.btn.danger { background: var(--err); color: #fff; }
.btn.wa { background: var(--wa); color: #fff; }
.danger-t { color: var(--err) !important; }
.link { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Startseite: Held ---------- */
.hero { position: relative; min-height: min(84svh, 760px); display: flex; align-items: flex-end; color: #fff; padding: calc(var(--top-h) + 40px) 0 96px; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 38, .35) 0%, rgba(5, 11, 38, 0) 26%, rgba(5, 11, 38, 0) 55%, rgba(5, 11, 38, .38) 80%, var(--bg) 100%); pointer-events: none; }
.hero-in { position: relative; }
.hero-t { font-size: clamp(2.3rem, 6.2vw, 4.7rem); font-weight: 700; line-height: 1.04; max-width: 15ch; text-shadow: 0 2px 30px rgba(5, 11, 38, .45); margin-bottom: .35em; }
html[lang="ru"] .hero-t, html[lang="pl"] .hero-t, html[lang="cs"] .hero-t, html[lang="de"] .hero-t { max-width: 19ch; font-size: clamp(2.1rem, 5.4vw, 4.2rem); }
.hero-s { font-size: clamp(1.02rem, 1.6vw, 1.25rem); max-width: 46ch; opacity: .95; text-shadow: 0 1px 16px rgba(5, 11, 38, .5); }
.live { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 14px; border-radius: 999px; background: rgba(10, 22, 64, .35); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .88rem; margin-bottom: 18px; }
.live b { font-weight: 700; color: #FFD98A; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF5A5F; box-shadow: 0 0 0 0 rgba(255, 90, 95, .6); animation: pulse 2s infinite; }
.live-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .35); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 95, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 90, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0); } }

/* Auf der Startseite liegt alles unter dem Held auf festem Grund */
body[data-route="home"] main > *:not(.hero):not(.search) { background: var(--bg); position: relative; }
.search { position: relative; z-index: 3; margin-top: -62px; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px; padding: 10px; background: var(--bg2); border-radius: 20px; box-shadow: var(--shadow-l); border: 1px solid var(--line); max-width: 1000px; }
.search label { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: var(--bg3); color: var(--ink2); }
.search input, .search select { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; color: var(--ink); outline: none; }
.search .btn { min-height: 52px; padding: 0 28px; border-radius: 14px; }
body[data-route="home"] main > .search { background: var(--bg2); }

/* ---------- Abschnitte ---------- */
.sec { padding-top: 56px; padding-bottom: 8px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.sec-t { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.page { padding-top: 28px; padding-bottom: 72px; }
.page.narrow, .narrow { max-width: 820px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { margin: 0; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink2); text-decoration: none; font-weight: 500; margin-bottom: 14px; }
.back:hover { color: var(--ink); }

/* Kategorien als 3D-Kacheln */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; perspective: 900px; }
.cat { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; transform-style: preserve-3d; }
.cat:hover { transform: translateY(-4px) rotateX(6deg); box-shadow: var(--shadow-l); }
.cat .gem { grid-row: span 2; }
.cat-t { font-weight: 600; }
.cat-d { font-size: .84rem; color: var(--ink2); line-height: 1.35; }
.gem { display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; color: #fff; background: linear-gradient(150deg, var(--g1), var(--g2)); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .38), inset 0 -10px 18px rgba(0, 0, 0, .22), 0 10px 18px -10px var(--g2); position: relative; overflow: hidden; transform: translateZ(20px); }
.gem::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 45%); pointer-events: none; }
.gem-m { width: 54px; height: 54px; } .gem-m .ic { width: 28px; height: 28px; stroke-width: 1.5; }
.gem-s { width: 44px; height: 44px; border-radius: 13px; } .gem-s .ic { width: 23px; height: 23px; stroke-width: 1.5; }
.gem-l { width: 96px; height: 96px; border-radius: 26px; } .gem-l .ic { width: 50px; height: 50px; stroke-width: 1.3; }

/* Anzeigenkarten */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 20px; margin-top: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.card-img { aspect-ratio: 4 / 3; background: var(--bg3); overflow: hidden; }
.card-img img, .card-img .art { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img, .card:hover .card-img .art { transform: scale(1.04); }
.card-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-t { font-family: var(--f-body); font-size: 1rem; font-weight: 600; line-height: 1.35; margin: 2px 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-t a { color: var(--ink); text-decoration: none; }
.stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.loc { display: flex; align-items: center; gap: 5px; color: var(--ink2); font-size: .86rem; margin: 0; }
.loc .ic { width: 16px; height: 16px; }
.price { margin: 6px 0 0; }
.price b { font-size: 1.12rem; font-weight: 700; }
.price span { color: var(--ink2); font-size: .88rem; }
.price.big b { font-size: 1.8rem; font-family: var(--f-body); }
.approx { color: var(--ink2); font-size: .8rem; margin: 0; min-height: 1.2em; }
.fav { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .88); color: #0F1831; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fav[aria-pressed="true"] { color: #E5484D; }
.fav[aria-pressed="true"] .ic, .btn[aria-pressed="true"] .ic { fill: currentColor; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; line-height: 1.4; }
.tag .ic { width: 14px; height: 14px; }
.tag-lic { background: var(--ok-t); color: var(--ok); }
.tag-ok { background: var(--gold-t); color: var(--gold-d); }
.tag-ex { background: var(--brand-t); color: var(--brand); }
.tag-warn { background: var(--warn-t); color: var(--warn); }

/* Reiseziele */
.dest-sec { padding-top: 56px; }
.dests { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 240px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px max(20px, calc((100vw - 1160px) / 2)) 22px; scrollbar-width: thin; }
.dest { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; scroll-snap-align: start; box-shadow: var(--shadow); transition: transform .3s; }
.dest:hover { transform: translateY(-5px) scale(1.01); }
.dest .art { position: absolute; inset: 0; width: 100%; height: 100%; }
.dest::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 11, 38, .7)); }
.dest-t { position: relative; z-index: 1; font-family: var(--f-disp); font-size: 1.5rem; font-weight: 700; padding: 0 16px; }
.dest-n { position: relative; z-index: 1; font-size: .84rem; opacity: .9; padding: 0 16px 16px; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(150deg, #E4B656, #B9832A); color: var(--gold-ink); font-weight: 700; font-family: var(--f-disp); font-size: 1.2rem; margin-bottom: 12px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.steps p { color: var(--ink2); margin: 0; }

/* Vertrauen */
.trust-sec { margin-top: 64px; padding: 56px 0; background: radial-gradient(900px 400px at 85% 0%, rgba(49, 89, 196, .45), transparent 60%), linear-gradient(160deg, #0A1640, #060C24) !important; color: #EAF0FF; }
.trust-sec .sec-t { color: #fff; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 18px; }
.trust-i .ic { width: 34px; height: 34px; color: #E4B656; stroke-width: 1.4; margin-bottom: 10px; }
.trust-i h3 { color: #fff; }
.trust-i p { color: #B9C4E4; margin: 0; }

/* Gut zu wissen und Notrufe */
.gtk { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; padding-bottom: 56px; }
.tips { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; gap: 10px; }
.tips li { display: flex; gap: 10px; align-items: flex-start; }
.tips .ic { color: var(--brand); margin-top: 2px; }
.sos { background: var(--bg2); border: 1px solid var(--line); border-top: 4px solid #D64545; border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.sos dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sos dt { color: var(--ink2); font-size: .84rem; }
.sos dd { margin: 0; }
.sos dd a { font-size: 1.6rem; font-weight: 700; color: var(--ink); text-decoration: none; font-family: var(--f-body); }

/* Fuss */
.foot { background: #060C24; color: #B9C4E4; padding: 48px 0 calc(40px + var(--tab-h)); position: relative; z-index: 1; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 28px; }
.foot-brand .logo { width: 44px; height: 44px; margin-bottom: 12px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; align-content: flex-start; }
.foot a, .foot .link { color: #E7ECFA; }
.foot .link { font-weight: 500; }
.foot-meta p { margin: 0 0 6px; }

/* ---------- Hinweise, Leerseiten ---------- */
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-s); background: var(--brand-t); color: var(--ink); margin: 12px 0; }
.note > .ic { color: var(--brand); margin-top: 2px; }
.note.warn { background: var(--warn-t); } .note.warn > .ic { color: var(--warn); }
.note.err { background: var(--err-t); } .note.err > .ic { color: var(--err); }
.note.ok { background: var(--ok-t); } .note.ok > .ic { color: var(--ok); }
.note .btn { margin-inline-start: auto; }
.empty { text-align: center; padding: 48px 20px; max-width: 520px; margin: 0 auto; }
.empty-art .logo { width: 72px; height: 72px; margin: 0 auto 18px; opacity: .9; }
.empty p { color: var(--ink2); }
.empty-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Suche und Filter ---------- */
.filters { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.f-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.fi { display: flex; align-items: center; gap: 8px; background: var(--bg3); border-radius: var(--r-s); padding: 0 12px; min-height: 46px; color: var(--ink2); }
.fi.grow { flex: 1 1 260px; }
.fi input, .fi select { border: 0; background: transparent; color: var(--ink); min-height: 46px; outline: none; min-width: 0; }
.fi.grow input { flex: 1; }
.fi.sm { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 12px; min-height: 0; }
.fi.sm span { font-size: .74rem; }
.fi.sm input { min-height: 28px; width: 130px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip, .chip-check span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg2); color: var(--ink); font-weight: 500; font-size: .92rem; }
.chip[aria-pressed="true"], .chip-check input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg2); }
.chip-check { position: relative; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Detail ---------- */
.d-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.d-side { position: sticky; top: calc(var(--top-h) + 16px); display: grid; gap: 16px; }
.gallery .g-main { aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: var(--bg3); box-shadow: var(--shadow); }
.gallery .g-main img, .gallery .g-main .art { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.g-thumbs button { width: 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; }
.g-thumbs button:hover { border-color: var(--brand); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.d-head { margin: 20px 0 10px; }
.d-title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 8px 0 6px; }
.d-alt { color: var(--ink2); font-size: 1.05rem; margin-bottom: 6px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 18px 0; padding: 0; }
.facts > div { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 14px; }
.facts dt { color: var(--ink2); font-size: .8rem; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.d-sec { margin-top: 26px; }
.d-sec h2 { display: flex; align-items: center; gap: 8px; }
.prose p { margin: 0 0 .9em; }
.prose.other { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink2); }
.prose h2 { font-size: 1.15rem; margin-top: 1.6em; }
.lic-box { background: var(--ok-t); border-radius: var(--r); padding: 18px; }
.lic-box h2 { color: var(--ok); font-size: 1.1rem; }
.lic-no { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 1.02rem; }
.price-box, .contact-box, .safety { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.contact-box { display: grid; gap: 10px; }
.contact-box h2, .safety h2 { font-size: 1.1rem; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.contact-box .who { font-weight: 600; margin: 0; }
.phone-num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.safety ul { margin: 6px 0 0; padding-inline-start: 18px; color: var(--ink2); font-size: .92rem; }
.safety li { margin-bottom: 6px; }
.d-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.d-acts .btn { flex: 1 1 auto; min-height: 42px; }

/* ---------- Formulare ---------- */
.fl { display: grid; gap: 6px; margin-bottom: 14px; }
.fl > span { font-weight: 600; font-size: .92rem; }
.fl em { font-style: normal; font-weight: 400; color: var(--ink2); }
.fl small, .hint { color: var(--ink2); font-size: .82rem; display: block; margin: -6px 0 12px; }
.fl input, .fl select, .fl textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--bg2); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.fl textarea { resize: vertical; line-height: 1.55; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-t); }
.f-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.f-3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0 16px; }
.f-h { font-size: 1.05rem; margin: 22px 0 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.check.strong { background: var(--bg3); padding: 12px 14px; border-radius: var(--r-s); }
.radios { border: 0; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.radios legend { font-weight: 600; margin-bottom: 10px; }
.radio { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.radio input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brand); flex: none; }
.card-radio { border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; background: var(--bg2); }
.card-radio:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-t); }
.card-radio span { display: grid; }
.card-radio small { color: var(--ink2); }
.card-radio.off { opacity: .5; cursor: not-allowed; }
.form-err { color: var(--err); font-weight: 600; min-height: 1.4em; margin: 6px 0; }
.chips-set { border: 0; padding: 0; margin: 8px 0 0; }
.chips-set legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; }

/* Assistent */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 0; margin: 0 0 22px; }
.stepper button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--bg2); color: var(--ink2); text-align: start; }
.stepper button[disabled] { opacity: .5; }
.st-n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--bg3); font-weight: 700; font-size: .85rem; flex: none; }
.st-l { font-size: .84rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stepper .done .st-n { background: var(--ok); color: #fff; }
.stepper .cur button { border-color: var(--brand); color: var(--ink); box-shadow: 0 0 0 4px var(--brand-t); }
.stepper .cur .st-n { background: var(--brand); color: #fff; }
.pform { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.p-h { font-size: 1.35rem; }
.p-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.pcats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pcat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--bg2); color: var(--ink); font-weight: 600; font-size: .92rem; text-align: center; transition: transform .2s, border-color .2s; }
.pcat:hover { transform: translateY(-2px); }
.pcat[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-t); }
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0; }
.ph { position: relative; aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: var(--bg3); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .icon-btn { position: absolute; top: 6px; inset-inline-end: 6px; background: rgba(255, 255, 255, .9); color: #B3261E; min-width: 36px; height: 36px; }
.ph.add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed var(--line); color: var(--ink2); cursor: pointer; font-weight: 600; font-size: .88rem; text-align: center; padding: 8px; }
.ph.add:hover, .ph.add:focus-within { border-color: var(--brand); color: var(--brand); }
.check-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.issues { margin: 6px 0 0; padding-inline-start: 18px; }
.issues li { margin-bottom: 4px; }
.p-final { margin-top: 16px; }
.p-final .btn { min-width: 220px; }
.preview-card .card { pointer-events: none; max-width: 340px; }

/* Meine Anzeigen */
.rows { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; box-shadow: var(--shadow); }
.row-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; background: var(--bg3); }
.row-img img, .row-img .art { width: 100%; height: 100%; object-fit: cover; }
.row-b h3 { font-family: var(--f-body); font-size: 1rem; margin: 0 0 4px; }
.row-b h3 a { color: var(--ink); text-decoration: none; }
.row-b p { margin: 0 0 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.st { display: inline-flex; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.st-active { background: var(--ok-t); color: var(--ok); }
.st-paused { background: var(--bg3); color: var(--ink2); }
.st-expired { background: var(--warn-t); color: var(--warn); }
.st-blocked { background: var(--err-t); color: var(--err); }

/* Nachrichten */
.threads { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.th { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.th.unread { border-color: var(--brand); }
.th-b { display: grid; min-width: 0; }
.th-last { color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-meta { display: grid; justify-items: end; gap: 4px; position: relative; }
.th-meta .dot-n { position: static; }
.th-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.th-head h1 { font-size: 1.4rem; margin: 0; }
.th-head .btn { margin-inline-start: auto; }
.bubbles { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.bub { max-width: 78%; padding: 10px 14px; border-radius: 18px; background: var(--bg2); border: 1px solid var(--line); }
.bub p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.bub time { display: block; font-size: .72rem; color: var(--ink2); margin-top: 4px; }
.bub.out { justify-self: end; background: var(--brand); border-color: var(--brand); color: #fff; border-end-end-radius: 6px; }
.bub.out time { color: rgba(255, 255, 255, .75); }
.bub.in { justify-self: start; border-end-start-radius: 6px; }
.composer { display: flex; gap: 10px; align-items: flex-end; position: sticky; bottom: calc(var(--tab-h) + 8px); background: var(--bg); padding: 8px 0; }
.composer textarea { flex: 1; min-height: 52px; max-height: 160px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--bg2); resize: vertical; }

/* Wegweiser */
.reg { margin-bottom: 30px; }
.govs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.gov { display: grid; gap: 2px; padding: 16px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.gov:hover { transform: translateY(-3px); }
.gov-n { font-family: var(--f-disp); font-size: 1.25rem; font-weight: 600; }
.gov-ar { color: var(--ink2); }
.gov-ar.big { font-size: 1.4rem; margin: 4px 0 0; }
.gov-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.gov-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.known { list-style: none; padding: 0; display: grid; gap: 10px; margin: 10px 0 24px; }
.known li { display: flex; gap: 10px; align-items: center; background: var(--bg2); border: 1px solid var(--line); padding: 12px 14px; border-radius: var(--r-s); }
.known .ic { color: var(--gold-d); }

/* Regeln und Recht */
.rule { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--shadow); }
.rule h2 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.rule h2 .ic { color: var(--brand); width: 24px; height: 24px; }
.rule ul { margin: 0; padding-inline-start: 20px; }
.rule li { margin-bottom: 8px; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg3); margin-bottom: 20px; flex-wrap: wrap; }
.seg a { padding: 8px 14px; border-radius: 10px; color: var(--ink2); text-decoration: none; font-weight: 600; font-size: .92rem; }
.seg a[aria-current] { background: var(--bg2); color: var(--ink); box-shadow: var(--shadow); }
.legal .prose { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 24px 18px; }

/* Konto */
.panel { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-top: 16px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.15rem; }
.acc-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pf { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.pf .fl { flex: 1 1 260px; margin: 0; }
.uid { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Anmeldung: Glaskarte ueber dem Himmel */
.auth { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: calc(var(--top-h) + 20px) 16px calc(var(--tab-h) + 30px); }
.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08)); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); box-shadow: 0 30px 80px -30px rgba(3, 8, 30, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.auth-card { width: 100%; max-width: 440px; border-radius: 26px; padding: 28px; color: #fff; }
.auth-card .brand { margin-bottom: 18px; }
.auth-card h1 { font-size: 1.9rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.auth-card .muted, .auth-card .hint { color: rgba(255, 255, 255, .82); }
.auth-card .fl > span { color: #fff; }
.auth-card .fl input { background: rgba(255, 255, 255, .92); color: #0F1831; border-color: transparent; }
.auth-card .fl input:focus { box-shadow: 0 0 0 4px rgba(242, 193, 78, .45); }
.auth-card .check span, .auth-card p { color: #fff; }
.auth-card a, .auth-card .link { color: #FFD98A; }
.auth-card .form-err { color: #FFB4AB; }
.auth-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.consents { display: grid; gap: 2px; margin: 8px 0; font-size: .92rem; }
.auth-card .check input { accent-color: #E4B656; }

/* Installation, Moderation */
.logo.big { width: 84px; height: 84px; }
.install-steps { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 20px; }
.install-steps li { display: flex; gap: 12px; align-items: flex-start; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.install-steps li:first-child { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-t); }
.install .btn { margin: 6px 8px 6px 0; }
.adm-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.reports { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rep { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-s); }
.rep .row-acts { justify-content: flex-start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .ok .ic { color: var(--ok); }
.checklist .open .ic { color: var(--warn); }

/* ---------- Tabs unten (mobil) ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; position: fixed; bottom: 0; inset-inline: 0; z-index: 45; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: color-mix(in srgb, var(--bg2) 90%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-top: 1px solid var(--line); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink2); text-decoration: none; font-size: .7rem; font-weight: 600; padding: 6px 0; }
  .tabbar a[aria-current] { color: var(--brand); }
  .tabbar a .ic { width: 24px; height: 24px; }
  .tabbar .fab { width: 56px; height: 56px; margin: -22px auto 0; border-radius: 18px; background: linear-gradient(160deg, #E4B656, #CF9A33); color: var(--gold-ink); justify-content: center; box-shadow: 0 10px 24px -8px rgba(207, 154, 51, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
  .tabbar .fab .ic { width: 28px; height: 28px; stroke-width: 2.2; }
  .tabbar .dot-n { top: 2px; inset-inline-end: calc(50% - 22px); }
  .topnav, .hide-m { display: none !important; }
  .login-btn { min-height: 38px; padding: 0 12px; }
  main { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat { grid-template-columns: 1fr; padding: 14px; row-gap: 8px; }
  .cat .gem { grid-row: auto; }
  .cat-d { display: none; }
  .search { grid-template-columns: 1fr; margin-top: -48px; }
  .steps, .trust { grid-template-columns: 1fr; }
  .gtk, .gov-grid, .check-grid, .adm-grid { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .d-grid { grid-template-columns: 1fr; }
  .d-side { position: static; }
  .stepper { grid-template-columns: repeat(6, auto); overflow-x: auto; }
  .stepper li:not(.cur) .st-l { display: none; }
  .pcats { grid-template-columns: repeat(2, 1fr); }
  .photos { grid-template-columns: repeat(2, 1fr); }
  .f-2, .f-3 { grid-template-columns: 1fr; }
  .row { grid-template-columns: 88px 1fr; }
  .row-acts { grid-column: 1 / -1; justify-content: flex-start; }
  .pform { padding: 18px; }
  .hero { min-height: 78svh; padding-bottom: 84px; }
}
@media (max-width: 420px) {
  .wrap { padding-inline: 16px; }
  .brand-t .brand-ar { display: none; }
  .grid { grid-template-columns: 1fr; }
  .lang-btn span { display: none; }
}

/* ---------- Dialoge und Hinweise ---------- */
.modal-root { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-root.open { display: flex; }
.modal-back { position: absolute; inset: 0; background: rgba(5, 11, 38, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .2s; }
.modal { position: relative; width: 100%; max-width: 520px; max-height: min(88svh, 760px); overflow: auto; background: var(--bg2); color: var(--ink); border-radius: 22px; box-shadow: var(--shadow-l); animation: rise .25s cubic-bezier(.2, .8, .2, 1); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 4px; }
.modal-head h2 { margin: 6px 0 0; font-size: 1.3rem; }
.modal-body { padding: 8px 20px 4px; }
.modal-body:empty { display: none; }
.modal-acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding: 14px 20px 20px; }
.lang-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 14px; }
.lang-opt { min-height: 52px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--bg2); font-weight: 600; font-size: 1.02rem; }
.lang-opt[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-t); }
.tour .tour-art { display: flex; justify-content: center; margin: 10px 0 18px; }
.toasts { position: fixed; z-index: 90; inset-inline: 0; bottom: calc(20px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 14px; max-width: 520px; padding: 12px 16px; border-radius: 14px; background: #0F1831; color: #fff; box-shadow: var(--shadow-l); animation: rise .25s cubic-bezier(.2, .8, .2, 1); transition: opacity .4s, transform .4s; }
.toast.err { background: #8C1D18; }
.toast.out { opacity: 0; transform: translateY(8px); }
.toast-act { border: 0; background: var(--gold); color: var(--gold-ink); font-weight: 700; padding: 6px 12px; border-radius: 10px; }
@media (max-width: 860px) {
  .toasts { bottom: calc(var(--tab-h) + 14px + env(safe-area-inset-bottom)); }
  .modal-root { align-items: flex-end; padding: 0; }
  .modal { max-width: none; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .cat:hover, .card:hover, .dest:hover, .gov:hover { transform: none; }
}
@media print {
  .top, .tabbar, .sky, .foot, .d-acts, .contact-box { display: none !important; }
  main { padding: 0; }
}
