/* Fundort Landing Page – Farben aus brand-geometry.cjs / styles.css von fundort2024,
   Flächen wie in den Meta-Posts (dunkles Nachtblau, helle Pin-Farbe als Akzent). */

@font-face { font-family: 'Heebo'; font-weight: 400; font-display: swap; src: url('/assets/fonts/heebo-400.woff2') format('woff2'); }
@font-face { font-family: 'Heebo'; font-weight: 500; font-display: swap; src: url('/assets/fonts/heebo-500.woff2') format('woff2'); }
@font-face { font-family: 'Heebo'; font-weight: 700; font-display: swap; src: url('/assets/fonts/heebo-700.woff2') format('woff2'); }

:root {
  --night: #0d0833;        /* Hintergrund der Posts */
  --night-deep: #07041f;   /* Fusszeile */
  --primary: #4f5b93;      /* Pin, Buttons */
  --primary-hover: #3a4673;
  --pin-light: #8b95c4;    /* Akzent auf dunkel */
  --ink: #1f2433;
  --muted: #5b6070;
  --paper: #ffffff;
  --tile: #f4f4f6;
  --line: #e3e4ea;
  --radius: 10px;
  --wrap: 1040px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--paper); }
img, svg { display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h2, h3 { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; color: var(--night); padding: 8px 12px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: 15px; padding: 14px 26px; border-radius: 8px; border: 1px solid transparent; transition: background .15s; }
.btn:hover, .btn:focus-visible { background: var(--primary-hover); }
.btn-ghost { background: transparent; border-color: rgba(139,149,196,.55); color: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(139,149,196,.15); }
:focus-visible { outline: 3px solid var(--pin-light); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { background: var(--night); color: #fff; padding: 28px 0 72px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo img { width: 150px; height: auto; }
.topbar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.opening { color: var(--pin-light); font-size: 17px; }
.lang { display: flex; gap: 4px; }
.lang a { font-size: 14px; text-decoration: none; color: rgba(255,255,255,.7); padding: 4px 7px; border-radius: 5px; }
.lang a[aria-current="true"] { color: #fff; background: rgba(139,149,196,.25); }

.countdown { margin: 56px 0 36px; }
.countdown p { margin: 0; line-height: 1; }
.cd-pre, .cd-post { font-size: clamp(44px, 8vw, 76px); font-weight: 500; }
.cd-num { font-size: clamp(160px, 34vw, 340px); font-weight: 400; color: var(--pin-light); letter-spacing: -.03em; margin: 8px 0 12px !important; font-variant-numeric: tabular-nums; }
.cd-open { font-size: clamp(48px, 9vw, 92px); font-weight: 700; color: var(--pin-light); }

.rubriken { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.rubriken li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(139,149,196,.22); border-radius: var(--radius); font-size: 15px; text-align: center; }
.rubriken svg { width: 26px; height: 26px; fill: none; stroke: var(--pin-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .rubriken { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 420px) {
  .rubriken { display: flex; flex-wrap: wrap; justify-content: center; }
  .rubriken li { flex: 0 0 calc((100% - 20px) / 3); font-size: 13px; }
}

.lead { font-size: clamp(20px, 2.6vw, 26px); max-width: 30em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Sektionen ---------- */
.sec { padding: 80px 0; }
.sec.light { background: var(--paper); }
.sec.dark { background: var(--night); color: #fff; }
.sec.notice { background: var(--tile); padding: 56px 0; }
.sec.legal { background: var(--paper); padding: 40px 0 56px; border-top: 1px solid var(--line); }
.kicker { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.dark .kicker { color: var(--pin-light); }
.title { font-size: clamp(36px, 5.5vw, 60px); line-height: 1.08; font-weight: 500; letter-spacing: -.01em; margin-bottom: 24px; }
.accent { color: var(--primary); }
.dark .accent { color: var(--pin-light); }
.sub { font-size: 21px; color: var(--muted); max-width: 34em; }
.dark .sub { color: rgba(255,255,255,.82); }
.sub.small { font-size: 17px; margin-top: 28px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.note { font-size: 15px; color: var(--muted); }

.cards { display: grid; gap: 16px; margin-top: 36px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .cards.three { grid-template-columns: 1fr; } }
.card { background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); }

/* Sicherheit */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

.chat { margin: 0; background: #fff; color: var(--ink); border-radius: 14px; padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.chat-head { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 14px; }
.bubble { background: var(--tile); border-radius: 12px 12px 12px 4px; padding: 10px 14px; max-width: 90%; font-size: 16px; }
.bubble s { color: #b3261e; }
.blocked { background: #eef0f8; border-left: 4px solid var(--primary); border-radius: 8px; padding: 10px 14px; font-size: 16px; margin: 0; }

/* Gebühren */
.fees { margin: 12px 0 8px; border-top: 1px solid var(--line); }
.fees div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fees dt { font-weight: 500; }
.fees dd { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .fees div { grid-template-columns: 1fr; gap: 2px; } }
.promo { display: flex; gap: 28px; align-items: center; margin-top: 40px; background: var(--night); color: #fff; border-radius: 14px; padding: 28px 32px; }
.promo-num { font-size: clamp(56px, 9vw, 96px); font-weight: 700; color: var(--pin-light); margin: 0; line-height: 1; }
.promo h3 { font-size: 24px; margin-bottom: 6px; }
.promo p { margin: 0 0 6px; }
.promo .note { color: rgba(255,255,255,.7); }
@media (max-width: 600px) { .promo { flex-direction: column; align-items: flex-start; } }

.notice h2 { font-size: 24px; margin-bottom: 8px; }
.notice p { margin: 0; max-width: 46em; color: var(--muted); }

.btn-social { display: inline-flex; align-items: center; gap: 10px; }
.btn-social .ico { width: 20px; height: 20px; flex: none; }
.social { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* Rechtliches */
.legal details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.legal summary { cursor: pointer; font-weight: 500; }
.legal details p { font-size: 16px; color: var(--muted); margin: 12px 0 0; max-width: 52em; }

/* Fusszeile wie in den Posts */
.foot { background: var(--night-deep); color: #fff; padding: 26px 0; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 17px; }
.foot-domain { font-size: 26px; font-weight: 500; }
