/* ============================================================
   Webdesign-Experimente – Landing-Stylesheet
   Dunkles Theme im Stil des Hauptdashboards (yos.ai-trainee.de).
   Keine externen Ressourcen, keine CDN-Links.
   ============================================================ */

:root {
  --bg:        #0f172a;   /* Grundfläche (dunkles Marineblau) */
  --bg-soft:   #1e293b;   /* Kartenfläche */
  --bg-softer: #273449;   /* Karten-Hover */
  --border:    #334155;   /* Rahmen */
  --text:      #e2e8f0;   /* Fließtext */
  --text-dim:  #94a3b8;   /* Sekundärtext */
  --accent:    #06b6d4;   /* Akzent (Cyan) */
  --accent-2:  #818cf8;   /* Zweitakzent (Indigo) */
  --radius:    16px;
  --shadow:    0 10px 30px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 15% -10%, rgba(6, 182, 212, .18), transparent 60%),
    radial-gradient(800px 500px at 90% 0%, rgba(129, 140, 248, .16), transparent 55%),
    var(--bg);
  line-height: 1.55;
}

/* ---- Kopfbereich ---- */
.page-head {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px 24px;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-title .accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-lead {
  max-width: 60ch;
  margin: 0;
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* ---- Kachel-Raster ---- */
.tiles {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-softer);
  outline: none;
}

.tile:focus-visible { box-shadow: 0 0 0 3px rgba(6, 182, 212, .45); }

.tile__banner {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.tile__banner--surreal {
  background: linear-gradient(135deg, #0e4b63, #062f4a 70%);
}

.tile__banner--showcase {
  background: linear-gradient(135deg, #3b2f66, #1e1b3a 70%);
}

.tile__body {
  padding: 22px 22px 8px;
  flex: 1;
}

.tile__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}

.tile__name {
  font-size: 1.35rem;
  margin: 0;
  font-weight: 700;
}

.badge {
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.badge--dev {
  color: #fcd34d;
  background: rgba(252, 211, 77, .12);
  border-color: rgba(252, 211, 77, .35);
}

.tile__desc {
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: .95rem;
}

.tile__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 6px;
}

.tile__tags li {
  font-size: .74rem;
  color: var(--text);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px 9px;
}

.tile__foot {
  padding: 12px 22px 20px;
  color: var(--accent);
  font-weight: 600;
  font-size: .95rem;
}

/* ---- Fußzeile ---- */
.page-foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.page-foot a { color: var(--accent); text-decoration: none; }
.page-foot a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
