/* pfleger.work – ruhig und hell, grüner Akzent wie beim Darts Counter. */
:root {
  --bg: #f2f4f1;
  --surface: #ffffff;
  --surface-2: #e8ece7;
  --fg: #131a15;
  --muted: #5b685f;
  --line: #dbe1da;
  --accent: #1d7a4b;
  --shadow: 0 1px 2px rgba(10, 20, 14, 0.06), 0 8px 24px rgba(10, 20, 14, 0.07);
  --shadow-hover: 0 2px 4px rgba(10, 20, 14, 0.08), 0 14px 34px rgba(10, 20, 14, 0.12);
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c110e;
    --surface: #161d18;
    --surface-2: #202923;
    --fg: #e7ede8;
    --muted: #93a197;
    --line: #27312b;
    --accent: #3cae74;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.35), 0 14px 34px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); }

.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* Kopf */
.hero { padding: 72px 0 36px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--muted); font-size: 15px; letter-spacing: 0.01em;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 68px);
  line-height: 1.02;
  margin: 22px 0 14px;
  letter-spacing: -0.005em;
}
.hero h1 span { color: var(--accent); }
.hero p { margin: 0; max-width: 34em; color: var(--muted); font-size: 18px; }

/* Kacheln */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  padding: 8px 0 64px;
}
.tile {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
a.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
a.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tile-icon { width: 56px; height: 56px; border-radius: 14px; display: block; }
.tile h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; line-height: 1.05; margin: 0;
}
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile-link { margin-top: auto; font-weight: 600; font-size: 15px; color: var(--accent); }
.tile-link::after { content: " →"; }
.tile.soon {
  background: transparent; box-shadow: none;
  border-style: dashed; justify-content: center; align-items: flex-start;
}
.tile.soon h2 { color: var(--muted); font-size: 24px; }

/* Fuß */
.foot { margin-top: auto; border-top: 1px solid var(--line); padding: 20px 0 28px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--fg); }

/* Rechtstexte */
.legal { max-width: 720px; padding-top: 28px; padding-bottom: 48px; line-height: 1.6; }
.legal h1 { font-family: var(--font-display); font-size: 40px; line-height: 1.1; margin: 20px 0 16px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal ul { margin: 0 0 10px; }
.legal ul { padding-left: 22px; }
.legal .lead { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.legal .back { font-weight: 600; text-decoration: none; }
.legal .date { color: var(--muted); font-size: 14px; margin-top: 28px; }

@media (max-width: 520px) {
  .hero { padding: 44px 0 28px; }
  .hero p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile { transition: none; }
  a.tile:hover { transform: none; }
}
