/* Hotel Scout – ruhiges Reisemagazin: Kalk, tiefes Grün, Terrakotta, Sandgold. */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-var.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #F4F0E9;
  --paper: #FAF8F4;
  --ink: #243D39;
  --text: #33453F;
  --muted: #6E7771;
  --line: #D8D1C5;
  --line-soft: #E6E0D5;
  --gold: #E9C66E;
  --terra: #B37657;
  --terra-ink: #9A5F43;
  --chip: #F1E6D5;
  --chip-line: #E3CFB0;
  --warm: #F5EBDD;
  --side: #243D39;
  --side-2: #2E4A45;
  --side-ink: #E5DED2;
  --side-muted: #9DB0A8;
  --shadow: 0 1px 2px rgba(36, 61, 57, .05), 0 12px 32px -18px rgba(36, 61, 57, .28);
  --radius: 16px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #121A18;
  --paper: #1A2523;
  --ink: #F0EADE;
  --text: #D5D1C6;
  --muted: #93A099;
  --line: #2F3E3A;
  --line-soft: #26332F;
  --terra: #D69C7C;
  --terra-ink: #E0AC8E;
  --chip: #25322E;
  --chip-line: #3A4A45;
  --warm: #1F2B28;
  --side: #0E1514;
  --side-2: #1A2523;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mono { font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Grundgerüst ---------- */
.shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--side); color: var(--side-ink); padding: 28px 20px 24px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 0 8px 26px; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(233, 198, 110, .55); display: grid; place-items: center; color: var(--gold); flex: none; }
.brand-name { font: 400 27px/.95 var(--serif); letter-spacing: -.01em; color: #FAF8F4; }
.brand-sub { display: block; margin-top: 7px; color: var(--gold); font: 500 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.side-label { color: var(--side-muted); padding: 18px 12px 8px; font: 500 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--side-ink); font-size: 15px; opacity: .82; transition: background .15s, opacity .15s; }
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, .05); }
.nav a[aria-current="page"] { background: rgba(233, 198, 110, .13); color: var(--gold); opacity: 1; }
.nav a span { white-space: nowrap; }
.nav .count { margin-left: auto; font: 400 11px/1 var(--mono); opacity: .75; }
.note { margin-top: auto; background: var(--side-2); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 18px 16px; }
.note .mono { color: var(--side-muted); font-size: 10px; }
.note q { display: block; font: 400 21px/1.15 var(--serif); color: #FAF8F4; margin: 12px 0 12px; quotes: "„" "“"; }
.note p { font-size: 12.5px; line-height: 1.5; color: var(--side-muted); }
.side-foot { display: flex; gap: 8px; padding-top: 14px; }
.side-foot button { flex: 1; background: none; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; padding: 9px 10px; color: var(--side-ink); font-size: 13px; }
.side-foot button:hover { background: rgba(255, 255, 255, .06); }

.main { min-width: 0; }
.top { display: flex; align-items: center; gap: 14px; padding: 16px clamp(18px, 4vw, 48px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); }
.top-brand { display: none; align-items: center; gap: 10px; text-decoration: none; font: 400 23px/1 var(--serif); color: var(--ink); white-space: nowrap; margin-right: auto; }
.top-brand .brand-mark { width: 34px; height: 34px; background: var(--side); border: 0; }
.greeting { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.greeting .icon { color: var(--gold); }
.greeting .sep { opacity: .5; }
.top-spacer { flex: 1; }
.search { display: flex; align-items: center; gap: 9px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; height: 40px; width: min(260px, 28vw); color: var(--muted); }
.search input { border: 0; background: none; outline: none; width: 100%; font-size: 14px; color: var(--text); }
.search:focus-within { border-color: var(--terra); }
.round { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; color: var(--ink); flex: none; }
.round:hover { border-color: var(--terra); }
.pill-btn { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; color: var(--ink); }
.pill-btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--terra); }
.user { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; text-align: left; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #D9A58A; color: #243D39; display: grid; place-items: center; font: 400 19px/1 var(--serif); }
.user-name { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.user-role { display: block; font: 400 10px/1.3 var(--mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

.view { padding: clamp(26px, 5vw, 56px) clamp(18px, 4vw, 48px) 80px; max-width: 1280px; }
.view > * + * { margin-top: clamp(26px, 4vw, 40px); }

/* ---------- Kopfbereiche ---------- */
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; padding-bottom: clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.hero h1 { font: 400 clamp(3.1rem, 8.4vw, 6.6rem)/.9 var(--serif); letter-spacing: -.025em; color: var(--ink); margin: 18px 0 26px; }
.hero h1 em { display: block; color: var(--terra); white-space: nowrap; }
.lede { max-width: 30em; font-size: clamp(16px, 1.5vw, 17.5px); color: var(--muted); }
.stats { display: flex; gap: clamp(22px, 4vw, 40px); }
.stat b { display: block; font: 400 34px/1 var(--serif); color: var(--ink); }
.stat span { display: block; margin-top: 9px; color: var(--muted); font: 400 10px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.page-head h1 { font: 400 clamp(2.5rem, 6vw, 4.2rem)/.95 var(--serif); letter-spacing: -.02em; color: var(--ink); margin: 14px 0 14px; }
.page-head h1 em { color: var(--terra); }

/* ---------- Geschmacksprofil ---------- */
.taste { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; background: linear-gradient(135deg, var(--warm), color-mix(in srgb, var(--warm) 60%, var(--paper))); border: 1px solid var(--chip-line); border-radius: 22px; padding: clamp(22px, 3vw, 32px); }
.taste .mono { color: var(--terra-ink); display: flex; align-items: center; gap: 8px; }
.taste h2 { font: 400 clamp(1.8rem, 3vw, 2.1rem)/1.1 var(--serif); color: var(--ink); margin: 8px 0 12px; }
.taste p:not(.mono) { color: var(--muted); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { border: 1px solid var(--chip-line); background: color-mix(in srgb, var(--chip) 70%, transparent); color: var(--ink); border-radius: 999px; padding: 6px 13px; font-size: 13px; line-height: 1.3; }
.refs { border: 1px solid var(--chip-line); border-radius: 16px; padding: 18px 20px; }
.refs p { font-size: 13.5px; margin: 8px 0 10px; }
.refs a { display: inline-flex; align-items: center; gap: 5px; margin: 4px 14px 4px 0; font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--terra); padding-bottom: 1px; }
.refs a .icon { width: 12px; height: 12px; color: var(--terra); }

/* ---------- Filter ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 18px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.field > span { color: var(--muted); font: 400 10px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.field select, .field input[type="search"], .field input[type="email"] { height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: 0 12px; font-size: 14px; min-width: 0; }
.field select:focus, .field input:focus { outline: none; border-color: var(--terra); }
.field input[type="range"] { accent-color: var(--terra); width: 190px; height: 40px; }
.field.search-field { display: none; }
.filters .reset { margin-left: auto; height: 40px; background: none; border: 0; color: var(--terra-ink); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.result-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--muted); font-size: 14px; }
.result-line > span:last-child { white-space: nowrap; }

/* ---------- Karten ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(18px, 2.4vw, 28px); margin-top: 16px !important; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); animation: rise .45s both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.media { position: relative; aspect-ratio: 16 / 11; background: var(--chip); overflow: hidden; border: 0; padding: 0; width: 100%; display: block; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .media img { transform: scale(1.03); }
.fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #FAF8F4; padding: 20px; }
.fallback b { display: block; font: 400 italic 44px/1 var(--serif); opacity: .95; }
.fallback span { display: block; margin-top: 10px; font: 400 10px/1.3 var(--mono); letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.fb-0 { background: linear-gradient(160deg, #B37657, #7C4A34); }
.fb-1 { background: linear-gradient(160deg, #3F635C, #1E3531); }
.fb-2 { background: linear-gradient(160deg, #C9A45A, #8E6B2E); }
.fb-3 { background: linear-gradient(160deg, #8A9A8E, #4E5F56); }
.badge { position: absolute; left: 14px; top: 14px; background: rgba(250, 248, 244, .93); color: #243D39; border-radius: 999px; padding: 5px 11px; font: 500 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.badge.new { background: #243D39; color: #E9C66E; }
.ring { position: absolute; right: 14px; top: 14px; width: 58px; height: 58px; border-radius: 50%; background: rgba(250, 248, 244, .95); color: #243D39; display: grid; place-items: center; text-align: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.ring b { font: 400 25px/.9 var(--serif); display: block; }
.ring span { font: 400 7.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; display: block; margin-top: 2px; color: #6E7771; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.meta { color: var(--terra-ink); font: 500 10.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.card h3 { font: 400 31px/1.02 var(--serif); letter-spacing: -.01em; color: var(--ink); overflow-wrap: anywhere; }
.card.found:not(.named) h3 { font-size: 24px; line-height: 1.1; }
.opening { font-size: 13.5px; color: var(--muted); }
.desc { font-size: 15px; line-height: 1.55; }
.source { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 14px; color: var(--terra-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.source .icon { width: 13px; height: 13px; }
.scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 20px; padding-top: 12px; border-top: 1px solid var(--line-soft); margin-top: auto; }
.score { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 8px; }
.score span { font: 400 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.score b { font: 500 12px/1 var(--mono); color: var(--ink); }
.score i { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: var(--line-soft); overflow: hidden; display: block; }
.score i u { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.score.deal i u { background: var(--terra); }
.rate { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 13.5px; color: var(--muted); }
.rate b { font: 400 27px/1 var(--serif); color: var(--ink); }
.rate s { color: var(--muted); }
.rate .tag { font: 400 9.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.actions { display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.primary:hover { opacity: .9; }
.btn.grow { flex: 1; }
.btn[aria-pressed="true"] { background: var(--chip); border-color: var(--terra); color: var(--terra-ink); }
.btn[aria-pressed="true"] .icon { fill: currentColor; }
.btn.icon-only { width: 44px; padding: 0; flex: none; }
.btn:disabled { opacity: .55; cursor: default; }

.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); }
.empty h3 { font: 400 28px/1.1 var(--serif); color: var(--ink); margin-bottom: 8px; }
.learn { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; }
.learn .icon { color: var(--terra); width: 15px; height: 15px; }

/* ---------- Detail ---------- */
dialog { border: 0; padding: 0; background: var(--paper); color: var(--text); border-radius: 22px; width: min(860px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
dialog::backdrop { background: rgba(20, 30, 28, .55); backdrop-filter: blur(3px); }
.detail-media { position: relative; aspect-ratio: 16 / 8; background: var(--chip); overflow: hidden; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-close { position: absolute; right: 14px; top: 14px; background: rgba(250, 248, 244, .95); color: #243D39; border: 0; }
.detail-body { padding: clamp(20px, 4vw, 34px); display: grid; gap: 18px; }
.detail-body h2 { font: 400 clamp(2rem, 5vw, 3rem)/1 var(--serif); color: var(--ink); letter-spacing: -.015em; overflow-wrap: anywhere; }
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fit div { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fit .mono { color: var(--terra-ink); margin-bottom: 6px; display: block; }
.fit p { font-size: 15px; }
.detail-scores { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; padding-top: 0; }
.detail-links { display: flex; flex-wrap: wrap; gap: 10px; }
.fineprint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Tagesbrief ---------- */
.brief-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.letter { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.letter h2 { font: 400 clamp(2rem, 4.4vw, 2.9rem)/1 var(--serif); color: var(--ink); margin: 12px 0 14px; }
.letter .lead { font-size: 17px; color: var(--text); max-width: 34em; }
.letter h3 { margin-top: 30px; color: var(--muted); font: 500 10.5px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.warn { margin-top: 18px; background: var(--warm); border: 1px solid var(--chip-line); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--terra-ink); }
.entry { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-soft); margin-top: 12px; }
.entry + .entry { margin-top: 0; }
.entry .thumb { width: 104px; height: 84px; border-radius: 12px; overflow: hidden; position: relative; background: var(--chip); }
.entry .thumb img { width: 100%; height: 100%; object-fit: cover; }
.entry .thumb .fallback b { font-size: 26px; }
.entry .thumb .fallback span { display: none; }
.entry h4 { margin: 4px 0 6px; font: 400 23px/1.1 var(--serif); color: var(--ink); overflow-wrap: anywhere; }
.entry p:not(.meta) { font-size: 14.5px; line-height: 1.5; }
.entry .links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 14px; }
.entry .links a, .entry .links button { color: var(--terra-ink); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.letter-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.panel + .panel { margin-top: 18px; }
.panel h3 { font: 400 25px/1.1 var(--serif); color: var(--ink); margin: 8px 0 8px; }
.panel p { font-size: 14.5px; color: var(--muted); }
.panel form { display: grid; gap: 12px; margin-top: 14px; }
.panel .field { min-width: 0; }
.switch { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); }
.switch input { width: 18px; height: 18px; accent-color: var(--ink); }
.hint { font-size: 13px !important; line-height: 1.5; }
.hint.ok { color: #3D7A55 !important; }
.hint.wait { color: var(--terra-ink) !important; }
.archive { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.archive button { width: 100%; display: flex; justify-content: space-between; gap: 10px; background: none; border: 0; border-radius: 10px; padding: 9px 10px; font-size: 14px; text-align: left; }
.archive button:hover { background: var(--bg); }
.archive button[aria-current="true"] { background: var(--chip); color: var(--terra-ink); }
.archive small { font: 400 11px/1.6 var(--mono); color: var(--muted); white-space: nowrap; }

/* ---------- Quellen ---------- */
.health { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.health .panel { margin: 0; }
.health b { display: block; font: 400 30px/1 var(--serif); color: var(--ink); margin-top: 8px; }
.feeds { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.feed { display: grid; grid-template-columns: 12px minmax(0, 1.2fr) minmax(0, 1.4fr) auto; gap: 14px; align-items: center; padding: 13px 18px; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.feed:first-child { border-top: 0; }
.feed .dot { width: 9px; height: 9px; border-radius: 50%; background: #5E9A72; }
.feed .dot.bad { background: #C2603F; }
.feed b { font-weight: 500; color: var(--ink); }
.feed small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed .state { color: var(--muted); }
.feed .found { font: 400 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }

/* ---------- Kleinteile ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 80; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.scrim { display: none; }
.menu { position: absolute; right: clamp(18px, 4vw, 48px); top: 64px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 170px; z-index: 30; }
.menu button { width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.menu button:hover { background: var(--bg); }

/* ---------- Anmeldung ---------- */
.login { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.login-art { background: var(--side); color: var(--side-ink); padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.login-art h1 { font: 400 clamp(3rem, 6.4vw, 5.6rem)/.9 var(--serif); letter-spacing: -.025em; color: #FAF8F4; }
.login-art h1 em { display: block; color: #D9A58A; }
.login-art p { max-width: 26em; color: var(--side-muted); margin-top: 22px; }
.login-art .mono { color: var(--gold); }
.login-form { display: grid; place-items: center; padding: clamp(28px, 5vw, 64px); }
.login-form form { width: min(380px, 100%); display: grid; gap: 16px; }
.login-form h2 { font: 400 40px/1 var(--serif); color: var(--ink); }
.login-form p:not(.error) { color: var(--muted); font-size: 15px; }
.login-form .field input { height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: 0 14px; font-size: 16px; }
.login-form .btn { min-height: 50px; font-size: 15px; }
.error { color: #B4472B; font-size: 14px; min-height: 1.4em; }
:root[data-theme="dark"] .error { color: #F09A7E; }
.message { min-height: 100dvh; display: grid; place-items: center; padding: 28px; text-align: center; }
.message h1 { font: 400 clamp(2.2rem, 6vw, 3.4rem)/1 var(--serif); color: var(--ink); margin: 14px 0 14px; }
.message p { color: var(--muted); max-width: 30em; margin: 0 auto 22px; }

/* ---------- Tablet und Telefon ---------- */
@media (max-width: 1080px) {
  .taste { grid-template-columns: 1fr; }
  .brief-layout { grid-template-columns: 1fr; }
  .greeting .date, .greeting .sep { display: none; }
}

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: min(300px, 86vw); z-index: 60; transform: translateX(-102%); transition: transform .25s; height: 100dvh; }
  body.nav-open .side { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(20, 30, 28, .5); z-index: 50; }
  .top { padding: 12px 16px; gap: 8px; }
  .top-spacer { display: none; }
  .top-brand { display: flex; }
  .greeting, .search, .user { display: none; }
  .pill-btn { display: inline-flex; }
  .menu-btn { display: grid; }
  .view { padding: 26px 16px 72px; }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { margin: 14px 0 18px; }
  .stats { justify-content: space-between; max-width: 340px; }
  .filters { display: none; flex-direction: column; align-items: stretch; }
  body.filters-open .filters { display: flex; }
  .field.search-field { display: flex; }
  .field input[type="range"] { width: 100%; }
  .filters .reset { margin-left: 0; align-self: flex-start; }
  .fit { grid-template-columns: 1fr; }
  .detail-scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-media { aspect-ratio: 16 / 10; }
  .feed { grid-template-columns: 12px minmax(0, 1fr) auto; }
  .feed .state { grid-column: 2 / -1; font-size: 13px; }
  .login { grid-template-columns: 1fr; }
  .login-art { padding: 28px 22px 34px; gap: 28px; }
  .login-form { padding: 34px 22px 48px; place-items: start center; }
  .entry { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .entry .thumb { width: 76px; height: 64px; }
}
@media (min-width: 861px) { .menu-btn { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
:root[data-theme="dark"] .hint.ok { color: #8FCBA4 !important; }

/* ---------- Anmeldung zum Tagesbrief ---------- */
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
dialog.small { width: min(480px, calc(100vw - 24px)); }
.dialog-body { padding: clamp(24px, 5vw, 36px); display: grid; gap: 14px; }
.dialog-body h2 { font: 400 clamp(1.9rem, 5vw, 2.4rem)/1.05 var(--serif); color: var(--ink); padding-right: 40px; }
.dialog-body p:not(.mono):not(.error) { color: var(--muted); font-size: 15.5px; }
.dialog-body .field input { height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); padding: 0 14px; font-size: 16px; }
.dialog-body .error { min-height: 0; }
.dialog-close { position: absolute; right: 14px; top: 14px; }
.done-mark { width: 46px; height: 46px; border-radius: 50%; background: var(--chip); color: var(--terra-ink); display: grid; place-items: center; }

/* ---------- Was der Scout kann ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.feature-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--chip); border: 1px solid var(--chip-line); color: var(--terra-ink); display: grid; place-items: center; margin-bottom: 6px; }
.feature h3 { font: 400 26px/1.08 var(--serif); color: var(--ink); }
.feature p { font-size: 15px; line-height: 1.55; flex: 1; }
.feature-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.limits { background: linear-gradient(135deg, var(--warm), color-mix(in srgb, var(--warm) 60%, var(--paper))); border: 1px solid var(--chip-line); border-radius: 22px; padding: clamp(22px, 3vw, 32px); }
.limits .mono { color: var(--terra-ink); }
.limits h2 { font: 400 clamp(1.8rem, 3vw, 2.1rem)/1.1 var(--serif); color: var(--ink); margin: 8px 0 14px; }
.limits ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px 32px; }
.limits li { font-size: 15px; line-height: 1.55; padding-left: 16px; position: relative; }
.limits li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.limits b { color: var(--ink); font-weight: 600; }

/* ---------- Live-Preise ---------- */
.badge.own { background: #E9C66E; color: #243D39; }
.rate-src { flex-basis: 100%; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.rate-src a, .price-list a { color: var(--terra-ink); text-underline-offset: 3px; }
.move { font: 500 11px/1.4 var(--mono); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.move.down { background: color-mix(in srgb, #5E9A72 18%, transparent); color: #3D7A55; }
.move.up { background: color-mix(in srgb, #C2603F 16%, transparent); color: var(--terra-ink); }
:root[data-theme="dark"] .move.down { color: #8FCBA4; }
.price-list { list-style: none; margin: 12px 0 0; padding: 0; }
.price-list li { display: grid; grid-template-columns: minmax(0, 1.3fr) auto auto; gap: 6px 16px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.price-list li > span:first-child { display: flex; flex-direction: column; }
.price-list button { background: none; border: 0; padding: 0; text-align: left; font: 400 19px/1.2 var(--serif); color: var(--ink); }
.price-list button:hover { text-decoration: underline; text-underline-offset: 3px; }
.price-list b { font: 400 19px/1.2 var(--serif); color: var(--ink); }
.price-list small { color: var(--muted); font-size: 12.5px; }
.price-now { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--ink); font-weight: 500; }
.price-list a { font-size: 13px; white-space: nowrap; }

/* ---------- Hotels suchen ---------- */
.finder { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.finder .field { flex: 1 1 320px; }
.finder .field input { height: 48px; font-size: 16px; }
.finder .btn { min-height: 48px; }
.searching { display: flex; align-items: center; gap: 20px; padding: 32px clamp(20px, 4vw, 36px); border: 1px solid var(--chip-line); border-radius: 20px; background: linear-gradient(135deg, var(--warm), color-mix(in srgb, var(--warm) 60%, var(--paper))); }
.searching h3 { font: 400 27px/1.1 var(--serif); color: var(--ink); margin-bottom: 6px; }
.searching p { color: var(--muted); font-size: 15px; }
.spinner { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 3px solid var(--chip-line); border-top-color: var(--terra); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-title { font: 400 25px/1.15 var(--serif); color: var(--ink); }
.fit.compact { gap: 10px; }
.fit.compact div { padding: 12px 14px; }
.fit.compact p { font-size: 14px; line-height: 1.5; }
#search-result > * + * { margin-top: 16px; }
@media (max-width: 860px) {
  .price-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .price-list a { grid-column: 1 / -1; }
  .finder .actions { width: 100%; }
  .finder .actions .btn { flex: 1; }
  .searching { flex-direction: column; align-items: flex-start; }
  .fit.compact { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation: spin 2.4s linear infinite !important; } }

/* ---------- Eckdaten ---------- */
.facts { margin: 2px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--bg) 55%, var(--paper)); overflow: hidden; }
.facts div { padding: 9px 12px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin: 0 -1px -1px 0; min-width: 0; }
.facts dt { font: 400 9.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-size: 14px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.detail-body .facts { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.finder .field.narrow { flex: 0 1 180px; }
.finder .switch { min-height: 48px; }
.result-title small { font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }
@media (max-width: 420px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Vorspann ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: #0E1514; color: #FAF8F4; overflow: hidden; transition: opacity .6s; }
.intro.out { opacity: 0; pointer-events: none; }
.intro-scene { position: absolute; inset: 0; opacity: 0; transition: opacity .9s; }
.intro-scene.on { opacity: 1; }
.intro-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.intro-scene.on img { animation: 3.6s linear both; }
.intro-scene.pan-0.on img { animation-name: pan-in; }
.intro-scene.pan-1.on img { animation-name: pan-left; }
.intro-scene.pan-2.on img { animation-name: pan-out; }
.intro-scene.pan-3.on img { animation-name: pan-right; }
@keyframes pan-in { from { transform: scale(1.06); } to { transform: scale(1.2); } }
@keyframes pan-out { from { transform: scale(1.22); } to { transform: scale(1.07); } }
@keyframes pan-left { from { transform: scale(1.16) translateX(3%); } to { transform: scale(1.16) translateX(-3%); } }
@keyframes pan-right { from { transform: scale(1.16) translateX(-3%); } to { transform: scale(1.16) translateX(3%); } }
.intro-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 21, 20, .5) 0%, rgba(14, 21, 20, .15) 35%, rgba(14, 21, 20, .82) 100%); }
.intro-text { position: absolute; z-index: 2; left: clamp(22px, 7vw, 96px); right: clamp(22px, 7vw, 96px); bottom: clamp(88px, 16vh, 170px); }
.intro-text .mono { color: var(--gold); font-size: 12px; letter-spacing: .24em; }
.intro-text h2 { font: 400 clamp(2.6rem, 8.5vw, 7rem)/.92 var(--serif); letter-spacing: -.025em; margin: 16px 0 0; max-width: 12em; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.intro-text h2 em { display: block; color: #E3B49B; }
.intro-scene.on .intro-text .mono { animation: intro-rise .7s .15s both; }
.intro-scene.on .intro-text h2 { animation: intro-rise .9s .3s both; }
@keyframes intro-rise { from { opacity: 0; transform: translateY(22px); } }
.intro-credit { position: absolute; z-index: 2; left: clamp(22px, 7vw, 96px); bottom: clamp(26px, 5vh, 46px); color: rgba(250, 248, 244, .75); font-size: 10px; }
.intro-bars { position: absolute; z-index: 3; top: clamp(16px, 3vh, 28px); left: clamp(22px, 7vw, 96px); right: clamp(22px, 7vw, 96px); display: flex; gap: 6px; }
.intro-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(250, 248, 244, .28); overflow: hidden; display: block; }
.intro-bars u { display: block; height: 100%; width: 0; background: #FAF8F4; border-radius: 3px; }
.intro-bars i.done u { width: 100%; }
.intro-bars i.run u { animation: intro-bar 3s linear both; }
@keyframes intro-bar { from { width: 0; } to { width: 100%; } }
.intro-skip { position: absolute; z-index: 3; right: clamp(22px, 7vw, 96px); bottom: clamp(20px, 4.4vh, 40px); background: rgba(250, 248, 244, .14); color: #FAF8F4; border: 1px solid rgba(250, 248, 244, .4); border-radius: 999px; padding: 10px 18px; font-size: 14px; backdrop-filter: blur(6px); }
.intro-skip:hover { background: rgba(250, 248, 244, .26); }
@media (prefers-reduced-motion: reduce) {
  .intro-scene.on img, .intro-scene.on .intro-text .mono, .intro-scene.on .intro-text h2 { animation: none !important; }
  .intro-bars i.run u { animation: intro-bar 3s linear both !important; }
}

/* ---------- Hotelkarte: Name und Passung auf dem Bild ---------- */
.card .media { aspect-ratio: 4 / 3; cursor: pointer; }
.card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 21, 20, .28) 0%, rgba(14, 21, 20, 0) 30%, rgba(14, 21, 20, .2) 52%, rgba(14, 21, 20, .86) 100%); pointer-events: none; }
.card .media .fallback span { display: none; }
.card .media .fallback b { font-size: 120px; opacity: .22; }
.card .badge { z-index: 2; }
.media-info { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; color: #FAF8F4; text-align: left; }
.media-info .mono { color: rgba(250, 248, 244, .86); font-size: 10.5px; letter-spacing: .2em; }
.media-info h3, .card.found:not(.named) .media-info h3 { margin-top: 6px; font: 400 35px/1 var(--serif); letter-spacing: -.012em; color: #FAF8F4; text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.card.found:not(.named) .media-info h3 { font-size: 23px; line-height: 1.08; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.media-info h3 button { all: unset; cursor: pointer; display: inline; overflow-wrap: anywhere; }
.media-info h3 button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.overall { text-align: right; flex: none; }
.overall .mono { display: block; font-size: 9px; }
.overall b { display: block; font: 400 44px/.95 var(--serif); }
.where { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--muted); font-size: 14.5px; }
.where .icon { color: var(--terra); width: 17px; height: 17px; }
.where .sep { opacity: .5; }
.desc.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.chips.tight { margin-top: 0; gap: 6px; }
.chips.tight .chip { font: 500 10px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; }
.chip.strong { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.card .source { border-bottom: 0; text-decoration: underline; text-underline-offset: 4px; }
.card .source .icon { width: 15px; height: 15px; }
.card .scores { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 14px; margin-top: 4px; }
.card .score { grid-template-columns: 1fr; }
.card .score b { justify-self: start; font-size: 13px; order: -1; }
.card .score span { font-size: 9.5px; }
.price { padding-top: 12px; border-top: 1px solid var(--line-soft); }
.price > .mono { display: block; color: var(--muted); font-size: 10px; margin-bottom: 4px; }
.price .rate b { font-size: 38px; }
.price .rate s { font-size: 17px; }
.card .scores + .price { border-top: 0; padding-top: 2px; }
.facts.mini { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card .actions .btn.primary { min-height: 50px; font-size: 15px; }
.card .actions .btn.icon-only { width: 50px; min-height: 50px; }
.brief-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.letter .card h3 { margin-top: 6px; color: #FAF8F4; font: 400 35px/1 var(--serif); letter-spacing: -.012em; text-transform: none; }
.letter .card.found:not(.named) h3 { font-size: 23px; line-height: 1.08; }
@media (max-width: 860px) {
  .media-info { left: 16px; right: 16px; bottom: 14px; }
  .media-info h3 { font-size: 31px; }
  .overall b { font-size: 40px; }
}

/* ---------- Konto anlegen, Mock-up-Hinweis ---------- */
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--chip); border: 1px solid var(--chip-line); border-radius: 14px; }
.mode-switch button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.mode-switch button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(36, 61, 57, .12); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.login-form .hint { color: var(--muted); }
.warn.mock { margin-top: 0; }
.warn.mock b { color: var(--ink); }
