/* Raus Cabin Finder. Farben und Formen von raus.life übernommen (Stand 2026-10-07). */

/* Hausschriften: Neue Haas Unica kommt über das Typekit-Kit von raus.life (Domain finder.raus.life
   muss im Adobe-Kit freigeschaltet sein). Die Serifen-Schrift der Überschriften liegt auf raus.life unter
   /_next/static/media/19b50e30d7f70f04-s.p.woff2 und muss als public/fonts/raus-serif-300.woff2 kopiert werden.
   Fehlt eine davon, greifen die System-Fallbacks. Bewusst keine Google Fonts (DSGVO). */
@font-face {
  font-family: "Raus Serif";
  src: url("/fonts/raus-serif-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #FDF9ED;
  --ink: #23212C;
  --ink-soft: #55525E;
  --line: rgba(35, 33, 44, 0.1);
  --white: #FFFFFF;
  --green: #006434;
  --lime: #BDDA0E;
  --orange: #DD5000;
  --sky: #A6DFFF;
  --purple: #592DB5;
  --yellow: #FCBD1C;
  --sans: "neue-haas-unica", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Raus Serif", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.4; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 20px 24px; }
.logo { color: var(--green); display: flex; }
.logo svg { width: 124px; height: 44px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 18px; flex: 1 1 auto; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--green); }

.progress { height: 4px; margin: 0 24px; background: var(--line); border-radius: 4px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--green); transition: width .25s ease; }

main { display: flex; justify-content: center; padding: 40px 16px 80px; }
.wrap { width: 100%; max-width: 1180px; }

/* Typo */
.kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 300; margin: 0; letter-spacing: -0.02em; }
.h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; }
.h2 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.04; }
.h3 { font-size: 28px; line-height: 1.07; letter-spacing: -0.015em; }
.lead { font-size: 20px; margin: 0; max-width: 680px; }
.muted { color: var(--ink-soft); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.between { justify-content: space-between; align-items: flex-end; gap: 16px; }

/* Buttons wie auf raus.life */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 20px; background: var(--ink); color: var(--white); font-size: 20px; cursor: pointer; text-decoration: none; }
.btn:hover { background: #000; }
.btn-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-size: 16px; cursor: pointer; text-decoration: none; }
.btn-ghost:hover { border-color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-size: 16px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); border-radius: 16px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--ink); border-radius: 12px; font-size: 15px; }
.cta-sky { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 12px; background: var(--sky); color: var(--orange); font-size: 18px; text-decoration: none; }
.cta-sky:hover { filter: brightness(0.97); }
.cta-ink { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 18px; text-decoration: none; }

/* Einstieg */
.entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.entry { border-radius: 4px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; }
.entry.green { background: var(--green); }
.entry.purple { background: var(--purple); }
.box { background: var(--white); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }

/* Fragen */
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.option { min-height: 92px; padding: 16px 18px; text-align: left; border-radius: 16px; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.option strong { font-weight: 400; font-size: 20px; }
.option span { font-size: 14px; color: var(--ink-soft); }
.option[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.option[aria-pressed="true"] span { color: #E7E5EC; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
.input { min-height: 48px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 22px; }
.input-sm { min-height: 40px; font-size: 18px; }
.notice { padding: 12px 16px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 15px; margin: 0; }
.notice.warn { background: var(--yellow); border-color: var(--yellow); }

/* Karten wie /suche */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.card { position: relative; border-radius: 4px; overflow: hidden; background: #4E6A55; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; padding: 16px; padding-top: 170px; }
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .badge { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 16px; background: var(--white); font-size: 15px; z-index: 1; }
.card .badge.match { background: var(--lime); }
.card .inner { position: relative; z-index: 1; background: var(--white); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.desc { margin: 0; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.feat { display: flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .01em; }
.price { font-size: 16px; }
.price small { color: var(--ink-soft); font-size: 14px; margin-left: 4px; }
.reasons { display: flex; flex-direction: column; gap: 6px; }
.reason { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 12px; background: #EAF3E4; color: var(--green); font-size: 14px; }
.reason::before { content: ""; width: 8px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }
.arrow { width: 14px; height: 14px; flex: 0 0 auto; }

.more-list { display: flex; flex-direction: column; gap: 8px; }
.more-item { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 14px; background: var(--white); border-radius: 16px; text-decoration: none; }
.more-item img, .more-item .thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: #4E6A55; flex: 0 0 auto; }
.more-item .name { flex: 999 1 200px; font-family: var(--serif); font-weight: 300; font-size: 24px; }

/* Umkreis */
.near-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.radar-box { flex: 1 1 320px; max-width: 440px; min-width: 0; }
.near-list { flex: 999 1 560px; min-width: 0; }
.radar { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.radar svg { width: 100%; height: 100%; display: block; }
.filters { display: flex; flex-direction: column; gap: 10px; }
.filters .label { font-size: 12px; text-transform: uppercase; letter-spacing: .02em; margin-right: 4px; min-width: 64px; }
.date-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; }
.date-row .field { min-width: 150px; }

.loading { padding: 40px 0; font-size: 18px; }
footer { padding: 24px; font-size: 13px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--ink-soft); }

@media (max-width: 640px) {
  .site-header { padding: 16px; }
  .nav { font-size: 16px; gap: 4px 16px; }
  .card { min-height: 480px; padding-top: 130px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
