/* kalleSwayze - Farbwelt aus Banner und Panels:
   warmes Sepia-Braun, Creme, tiefes Schwarzbraun.
   Der Blau-Lila-Verlauf greift die Hue-Beleuchtung im Streaming-Raum auf
   und liegt als Lichtschimmer hinter dem Logo sowie auf der Twitch-Kachel. */

:root {
  --bg:          #17110D;
  --bg-karte:    #221A14;
  --bg-karte-an: #2E241B;
  --creme:       #F2EBE3;
  --creme-leise: #B9AEA4;
  --braun:       #7A4D35;
  --braun-hell:  #B4785A;
  --linie:       rgba(242, 235, 227, 0.12);
  --blau:        #3E6BD1;
  --lila:        #8B5CF6;
  --radius:      14px;
  --spalte:      460px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--creme);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 16px 32px;
  position: relative;
  overflow-x: hidden;
}

/* Lichtschimmer oben - die Hue-Lampen im Raum */
body::before {
  content: "";
  position: fixed;
  inset: -20% -20% auto -20%;
  height: 70vh;
  background:
    radial-gradient(100% 70% at 50% 0%,  rgba(122, 77, 53, 0.42), transparent 72%),
    radial-gradient(52% 48% at 22% 2%,   rgba(62, 107, 209, 0.15), transparent 70%),
    radial-gradient(48% 48% at 80% 6%,   rgba(139, 92, 246, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* warmer Abschluss unten */
.glut {
  position: fixed;
  inset: auto -10% -18% -10%;
  height: 40vh;
  background: radial-gradient(70% 100% at 50% 100%, rgba(122, 77, 53, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Filmkorn wie auf Banner und Profilbild */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'>\
<filter id='k'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/>\
<feColorMatrix type='saturate' values='0'/></filter>\
<rect width='140' height='140' filter='url(%23k)' opacity='0.5'/></svg>");
}

main, footer { position: relative; z-index: 2; width: 100%; max-width: var(--spalte); }

/* --- Kopf --- */

.logo {
  display: block;
  width: min(300px, 72vw);
  height: auto;
  margin: 0 auto 22px;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.55));
}

.handle {
  margin: 0;
  text-align: center;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--braun-hell);
}

.tagline {
  margin: 10px 0 0;
  text-align: center;
  font-size: 19px;
  color: var(--creme);
}

.plan {
  margin: 22px auto 30px;
  text-align: center;
  font-size: 15px;
  color: var(--creme-leise);
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  padding: 12px 0;
}

.plan strong { color: var(--creme); font-weight: 600; }

/* --- Kacheln --- */

.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.kachel {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--bg-karte);
  border: 1px solid var(--linie);
  color: var(--creme);
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.kachel:hover,
.kachel:focus-visible {
  background: var(--bg-karte-an);
  border-color: rgba(242, 235, 227, 0.28);
  transform: translateY(-2px);
}

.kachel:focus-visible { outline: 2px solid var(--creme); outline-offset: 3px; }

.kachel svg { flex: 0 0 24px; width: 24px; height: 24px; fill: currentColor; }

.kachel .text { display: flex; flex-direction: column; min-width: 0; }
.kachel .titel { font-weight: 600; letter-spacing: 0.01em; }
.kachel .unter { font-size: 14px; color: var(--creme-leise); }
.kachel .pfeil { margin-left: auto; color: var(--creme-leise); flex: 0 0 auto; }

/* Twitch traegt den Blau-Lila-Verlauf */
.kachel--twitch {
  background:
    linear-gradient(135deg, rgba(62, 107, 209, 0.30), rgba(139, 92, 246, 0.34)),
    var(--bg-karte);
  border-color: rgba(139, 92, 246, 0.45);
}

.kachel--twitch:hover,
.kachel--twitch:focus-visible {
  background:
    linear-gradient(135deg, rgba(62, 107, 209, 0.44), rgba(139, 92, 246, 0.50)),
    var(--bg-karte);
  border-color: rgba(139, 92, 246, 0.75);
}

.kachel--twitch .unter { color: rgba(242, 235, 227, 0.78); }

/* Platzhalter - noch ohne Ziel */
.kachel--bald {
  border-style: dashed;
  border-color: rgba(242, 235, 227, 0.16);
  background: transparent;
  color: var(--creme-leise);
  cursor: default;
}

.kachel--bald:hover { transform: none; background: transparent; border-color: rgba(242, 235, 227, 0.16); }
.kachel--bald .titel { font-weight: 500; }


/* --- Text --- */

.intro {
  margin: 14px auto 0;
  max-width: 40ch;
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  color: var(--creme-leise);
}


.schluss {
  margin: 0 0 14px;
  font-size: 14px;
  font-style: italic;
  color: var(--creme-leise);
}

/* --- Fuss --- */

footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--linie);
  text-align: center;
  font-size: 14px;
  color: var(--creme-leise);
}

footer a { color: var(--creme-leise); text-decoration: none; border-bottom: 1px solid var(--linie); }
footer a:hover, footer a:focus-visible { color: var(--creme); border-bottom-color: var(--braun-hell); }

/* --- Impressum --- */

.seite { width: 100%; max-width: var(--spalte); }
.seite h1 { font-size: 26px; margin: 0 0 6px; }
.seite h2 { font-size: 16px; margin: 30px 0 6px; color: var(--braun-hell);
            letter-spacing: 0.1em; text-transform: uppercase; }
.seite p { margin: 0 0 10px; }
.seite address { font-style: normal; color: var(--creme); }
.seite .klein { font-size: 14px; color: var(--creme-leise); }
.seite a { color: var(--creme); text-decoration: underline; text-underline-offset: 3px;
           text-decoration-color: var(--braun-hell); }

.zurueck {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 26px; font-size: 15px;
  color: var(--creme-leise); text-decoration: none;
}
.zurueck:hover, .zurueck:focus-visible { color: var(--creme); }

/* --- kleine Schirme --- */

@media (max-width: 380px) {
  body { padding-top: 40px; }
  .tagline { font-size: 17px; }
  .kachel { padding: 13px 15px; gap: 12px; }
}

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