Style


/* css/styles.css */

/* Basis: Farben, Typografie, Abstände */
:root {
  --bg: #0f172a;       /* Dunkles Blau */
  --card: #111827;     /* Dunkle Karte */
  --text: #e5e7eb;     /* Helles Grau */
  --accent: #38bdf8;   /* Akzent */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Header & Navigation */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem; border-bottom: 1px solid #1f2937;
}
.logo { color: var(--text); text-decoration: none; font-weight: 700; }
.menu { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.menu a { color: var(--text); text-decoration: none; }
.menu a:hover { color: var(--accent); }

/* Mobile Menütaste zunächst sichtbar, Liste versteckt auf schmalen Screens */
.menu-toggle { display: none; }

/* Hero */
.hero {
  max-width: 1000px; margin: 3rem auto; padding: 2rem;
  background: linear-gradient(180deg, #0b1220, #0f172a);
  border: 1px solid #1f2937; border-radius: 12px;
}
.btn {
  display: inline-block; margin-top: 1rem; padding: 0.6rem 1rem;
  background: var(--accent); color: #08121d; font-weight: 600;
  border-radius: 8px; text-decoration: none;
}

/* Feature-Karten mit Grid */
.features {
  display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr);
  max-width: 1000px; margin: 0 auto 3rem; padding: 0 1rem;
}
.features article {
  background: var(--card); border: 1px solid #1f2937; border-radius: 12px;
  padding: 1rem;
}

/* Footer */
.site-footer { border-top: 1px solid #1f2937; padding: 1rem; text-align: center; }

/* Responsiv: unter 768px einspaltig, Menü als Drawer */
@media (max-width: 768px) {
  .features { grid-template-columns: 1fr; }
  .menu { display: none; flex-direction: column; gap: 0; }
  .menu-toggle { display: inline-block; }
  .menu.open { display: flex; background: var(--card); padding: 0.5rem; border-radius: 8px; }
}