/* waslosheute.app, the static landing on Cloudflare. The same styles as web/app/landing.css, in
   the app's palette (stone + orange), so the landing and the app read as one site. System fonts,
   one local photo, no external requests. */


body {
  margin: 0;
  --bg: #fafaf9;        /* stone-50  */
  --card: #ffffff;
  --line: #e7e5e4;      /* stone-200 */
  --ink: #1c1917;       /* stone-900 */
  --text: #44403c;      /* stone-700 */
  --muted: #78716c;     /* stone-500 */
  --accent: #f97316;    /* orange-500, the logo */
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
p a { text-decoration: underline; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }

/* Header: the same bar as the app. */
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; }
.logo { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; color: var(--accent); text-decoration: none; white-space: nowrap; }
.actions { display: flex; align-items: center; gap: 0.5rem; }

.lang { display: flex; gap: 0.25rem; }
.lang a {
  text-decoration: none; font-size: 0.875rem; padding: 0.375rem 0.75rem; border-radius: 0.25rem; color: var(--text);
}
.lang a:hover { background: var(--line); }
.lang a[aria-current='true'] { background: var(--ink); color: #fff; }

.btn {
  display: inline-block; text-decoration: none; font-size: 0.875rem; font-weight: 500;
  padding: 0.375rem 0.75rem; border-radius: 0.25rem; background: var(--ink); color: #fff; white-space: nowrap;
}
.btn:hover { background: var(--accent); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--line); color: var(--ink); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; padding: 3.5rem 0 2.5rem;
}
@media (max-width: 840px) { .hero { grid-template-columns: 1fr; padding-top: 2rem; gap: 1.5rem; } }
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; margin: 0 0 1rem;
}
.hero h1 .q { color: var(--accent); }
.hero .lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--text); max-width: 42ch; margin: 0 0 1.5rem; }
.map { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--card); }

/* The four surfaces, as cards like the app's. */
.cards { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media (max-width: 840px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cards { grid-template-columns: 1fr; } }
.cards li { background: var(--card); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1rem; }
.cards h2 { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 600; }
.cards p { margin: 0; font-size: 0.875rem; color: var(--text); }

/* Photo */
.photo { margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.photo img { display: block; width: 100%; height: clamp(220px, 40vw, 480px); object-fit: cover; object-position: center 60%; }
.photo figcaption { max-width: 72rem; margin: 0 auto; padding: 0.5rem 1rem; font-size: 0.75rem; color: var(--muted); }

/* Two-column rows below the photo. */
.row { display: grid; grid-template-columns: 16rem 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
@media (max-width: 840px) { .row { grid-template-columns: 1fr; gap: 0.5rem; } }
.row h2 { margin: 0; font-size: 1rem; font-weight: 600; }
.row p { margin: 0 0 0.75rem; color: var(--text); max-width: 62ch; }
.row p:last-child { margin-bottom: 0; }

/* Footer: the app's. */
footer { border-top: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: 0.75rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 1rem; }
footer a { text-decoration: underline; margin-right: 0.75rem; }

html[data-lang='de'] [lang='en'] { display: none; }
html[data-lang='en'] [lang='de'] { display: none; }

/* ---------- the inline map svg ---------- */
.map .park path { fill: #e3e8d7; stroke: none; }
.map .water path { fill: #d6dde3; stroke: none; }
.map .river path { fill: none; stroke: #d6dde3; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.map .rail path { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 6 5; opacity: .55; }
.map .rd path { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.map .tertiary path { stroke-width: .7; opacity: .35; }
.map .secondary path { stroke-width: 1.1; opacity: .55; }
.map .primary path { stroke-width: 1.9; }
.map .trunk path, .map .motorway path { stroke-width: 2.8; }
.map .lm .ic { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.map .lm .ic circle { fill: var(--accent); stroke: var(--card); stroke-width: 2; }
.map .lbl { font: 700 12px/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .1em; fill: var(--ink); text-transform: uppercase; paint-order: stroke; stroke: var(--card); stroke-width: 4px; stroke-linejoin: round; }

/* ---------- legal pages ---------- */
.legal { max-width: 46rem; padding-bottom: 3rem; }
.legal h1 { font-size: 1.5rem; letter-spacing: -0.025em; margin: 2rem 0 1rem; font-weight: 700; }
.legal h2 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.25rem; }
.legal p { color: var(--text); }
.legal .top { background: transparent; padding: 0.75rem 0; }
.legal .top .wrap { padding-left: 0; padding-right: 0; }
.legal footer { border-top: 1px solid var(--line); background: transparent; margin-top: 2rem; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
