/* Spawnpunkt Tools – Farben und Maße orientieren sich an spawnpunkt.de */
:root {
  --paper: #fafbf8;
  --white: #ffffff;
  --ink: #203b33;
  --muted: #56645c;
  --line: #e1e7da;
  --forest: #193e35;
  --forest-2: #24453a;
  --lime: #d7ed9c;
  --sage: #edf2e5;
  --sky: #e3eef3;
  --lavender: #ece9f6;
  --peach: #f8ede3;
  --rose: #fbeeee;
  --lime-soft: #f1f7dc;
  --rose-ink: #a3485a;
  --live: #176446;
  --live-bg: #e3f1e8;
  --planned: #8a5a12;
  --planned-bg: #fbf0dc;
  --focus: #1a6dd6;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(16, 38, 31, .05), 0 8px 24px -12px rgba(16, 38, 31, .18);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1a16;
    --white: #15241f;
    --ink: #e3ede8;
    --muted: #a5b5ad;
    --line: #2a3b34;
    --forest: #d7ed9c;
    --forest-2: #c6e081;
    --lime: #2f4a2a;
    --sage: #1a2b25;
    --sky: #172832;
    --lavender: #221f31;
    --peach: #2a2119;
    --rose: #2c1c20;
    --lime-soft: #1f2c1a;
    --rose-ink: #f0a9b8;
    --live: #8fe0b4;
    --live-bg: #173327;
    --planned: #f2c97c;
    --planned-bg: #33281a;
    --focus: #7db4ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px -14px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--forest); color: var(--paper); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Kopfbereich */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand-name { font-weight: 750; font-size: 20px; letter-spacing: -.6px; }
.brand-dot { color: var(--live); }
.brand-tag {
  font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  background: var(--lime); color: var(--ink); border-radius: 999px; padding: 3px 10px;
}
.nav { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); background: var(--sage); }
.nav .nav-home { color: var(--paper); background: var(--forest); margin-left: 6px; }
.nav .nav-home:hover { color: var(--paper); background: var(--forest-2); }

/* Hero */
.hero {
  margin-top: 28px;
  display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 24px;
  background: var(--sage); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
}
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--live); }
.hero h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 750; letter-spacing: -1.6px; max-width: 18ch; }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 56ch; margin: 18px 0 24px; }
.stats { display: flex; gap: 12px; margin: 0; flex-wrap: wrap; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 18px; min-width: 150px; }
.stat dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.stat dd { margin: 0; font-size: 28px; font-weight: 750; letter-spacing: -1px; }
.stat-live dd { color: var(--live); }
.stat-planned dd { color: var(--planned); }
.hero-art svg { width: 100%; max-width: 360px; margin-inline: auto; }

/* Abschnitte */
.section { margin-top: clamp(48px, 7vw, 80px); }
.section-head { max-width: 680px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 750; letter-spacing: -1px; }
.section-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.section-head p:not(.eyebrow) { color: var(--muted); margin: 10px 0 0; }
.section-head-sub { margin-top: 44px; }

.grid { display: grid; gap: 20px; }
.grid-featured, .grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Kacheln */
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card h3 { font-size: 22px; font-weight: 750; letter-spacing: -.6px; }
.card p { margin: 0; color: var(--muted); }
a.card { box-shadow: var(--shadow); }
a.card:hover { transform: translateY(-2px); border-color: var(--forest); }
a.card:focus-visible { border-radius: var(--radius-lg); }
.card.is-planned { background: color-mix(in srgb, var(--white) 70%, var(--paper)); border-style: dashed; }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; color: var(--forest); flex: none; }
.icon svg { width: 34px; height: 34px; }
.tone-sage .icon { background: var(--sage); }
.tone-sky .icon { background: var(--sky); }
.tone-lavender .icon { background: var(--lavender); }
.tone-peach .icon { background: var(--peach); }
.tone-rose .icon { background: var(--rose); }
.tone-lime .icon { background: var(--lime-soft); }

.card-featured { padding: clamp(24px, 3vw, 34px); gap: 12px; }
.card-featured .icon { width: 76px; height: 76px; border-radius: 20px; }
.card-featured .icon svg { width: 44px; height: 44px; }
.card-featured h3 { font-size: clamp(26px, 2.6vw, 32px); }
.card-featured.tone-sage { background: linear-gradient(160deg, var(--sage), var(--white) 62%); }
.card-featured.tone-sky { background: linear-gradient(160deg, var(--sky), var(--white) 62%); }
.card-featured.tone-sage .icon, .card-featured.tone-sky .icon { background: var(--white); border: 1px solid var(--line); }
.tagline { font-weight: 650; color: var(--ink) !important; font-size: 17px; }
.software { font-size: 14px; font-weight: 600; margin-top: -6px !important; }
.highlights { list-style: none; padding: 0; margin: 6px 0 4px; display: grid; gap: 8px; }
.highlights li { position: relative; padding-left: 28px; font-size: 15px; }
.highlights li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 6px;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3.5 3.5L15 7' fill='none' stroke='%23193e35' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.card-cta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.card-cta .host { font-weight: 500; font-size: 13px; color: var(--muted); }
.card-cta.muted { font-weight: 500; font-size: 14px; color: var(--muted); }

/* Status */
.badge { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge-live { color: var(--live); background: var(--live-bg); }
.badge-planned { color: var(--planned); background: var(--planned-bg); }
.badge-planned .dot { background: transparent; border: 2px solid currentColor; }

/* Hinweis */
.notice { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; background: var(--peach); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.notice p { margin: 0; }
.notice-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--white); font-weight: 750; }

/* Alltags-Chips */
.chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.chip { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; }
a.chip:hover { border-color: var(--forest); }
.chip .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--sage); }
.chip .icon svg { width: 24px; height: 24px; }
.chip-text { display: flex; flex-direction: column; line-height: 1.3; }
.chip-text strong { font-weight: 650; font-size: 15px; }
.chip-text span { font-size: 13px; color: var(--muted); }

/* Legende */
.legend { margin-top: 48px; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.legend p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* Footer */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); background: var(--sage); padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; padding-block: 32px; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { border-radius: 9px; }
.footer-brand p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.copy { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); }

/* Tablet */
@media (max-width: 960px) {
  .grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}
/* Smartphone */
@media (max-width: 680px) {
  .grid-featured, .grid-two, .grid-three { grid-template-columns: 1fr; }
  .nav a:not(.nav-home) { display: none; }
  .header-inner { min-height: 60px; }
  .brand-name { font-size: 18px; }
  .card { padding: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .stat { flex: 1; min-width: 0; }
}
