/* ============================================================
   GLOBAL VARIABLES — Farben, Schrift
============================================================ */
:root {
  --bg: #0d0d0d;
  --fg: #f5f5f5;
  --accent: #caa55f;;       /* Goldgelb */
  --line: #2a2a2a;         /* feine Linienfarbe */
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ============================================================
   GLOBAL BASE
============================================================ */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  margin: 0;
  line-height: 1.6;
}

/* Globale Linkfarben */
a,
a:visited {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================================================
   OPTIONAL: GLOBAL SPACING (falls du Klassen nutzen willst)
============================================================ */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1rem;      /* Standard */
}

.section-tight {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1rem;        /* kompakter */
}

.section-loose {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;        /* großzügiger */
}

/* ============================================================
   HEADER
============================================================ */
header {
  text-align: center;
  padding: 5vh 2rem 2rem;
  border-bottom: 1px solid var(--line);
}

header h1 {
  font-size: 2rem;
  letter-spacing: 0.12em;
  margin: 0;
}

header p {
  color: #aaa;
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* ============================================================
   BANNER (Startseite) — Fade In/Out rotierend
============================================================ */

/* Abstand für Banner-Section reduzieren */

.banner-container {
  position: relative;
  max-width: 1000px;
  margin: 0;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  background: #000;
}

.banner {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  margin: 0;
}

.banner.active {
  opacity: 1;
}

 


/* ============================================================
   GRID BOXES (Pinorpel / Games / Web Apps)
============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  margin-top: 0rem;   /* Abstand zum Banner */
  gap: 1.5rem;
}

.box {
  background: #1a1a1a;
  padding: 1rem;
  border: 1px solid #222;
  text-align: center;
  transition: .2s;
}

.box:hover {
  background: #222;
  color: var(--accent);
}


/* ============================================================
   FOOTER
============================================================ */
footer {
  /* border-top: 1px solid #222;*/
  text-align: center;
  padding: 2rem;
  color: #777;
  font-size: .9rem;
}

footer a {
  color: var(--accent);
}

footer a:hover {
  text-decoration: underline;
}