/* aufgekaut.de – Stylesheet */
:root {
  --bg: #0f0b14;
  --bg-2: #18121f;
  --card: #1f1828;
  --line: #2e2439;
  --text: #f4eef8;
  --muted: #a99bb6;
  --pink: #ff5fa2;
  --pink-2: #ff8cc0;
  --twitch: #9146ff;
  --discord: #5865f2;
  --radius: 18px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fredoka", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--pink-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Kopfzeile */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 11, 20, .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo img { width: 34px; height: 34px; }
.logo .wordmark span { color: var(--pink); }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav a.btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: .4rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; color: #fff;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-twitch { background: var(--twitch); box-shadow: 0 8px 24px -8px rgba(145, 70, 255, .7); }
.btn-discord { background: var(--discord); box-shadow: 0 8px 24px -8px rgba(88, 101, 242, .7); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--pink); }
.btn-small { padding: .5rem 1rem; font-size: .9rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 6rem 0 5rem; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 95, 162, .28), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -20% -15%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(145, 70, 255, .22), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4757; box-shadow: 0 0 0 0 rgba(255, 71, 87, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); } }
h1 { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
h1 .accent {
  background: linear-gradient(90deg, var(--pink), var(--twitch));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.15rem; color: var(--muted); margin: 1.3rem 0 2rem; max-width: 34rem; }
.cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.bubble {
  aspect-ratio: 1; width: 100%; max-width: 360px; margin-inline: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(255, 95, 162, .35));
}
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }

/* Abschnitte */
section { padding: 4.5rem 0; }
.section-head { text-align: center; margin-bottom: 2.8rem; }
.section-head h2 { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.section-head p { color: var(--muted); max-width: 36rem; margin-inline: auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(255, 95, 162, .5); transform: translateY(-3px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: rgba(255, 95, 162, .12); font-size: 1.4rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .97rem; }

/* Community-Karten */
.community { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.platform {
  position: relative; overflow: hidden;
  border-radius: var(--radius); padding: 2.2rem;
  border: 1px solid var(--line); background: var(--bg-2);
  display: flex; flex-direction: column; gap: 1rem;
}
.platform::before { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none; }
.platform.twitch::before { background: radial-gradient(circle at 100% 0, var(--twitch), transparent 60%); }
.platform.discord::before { background: radial-gradient(circle at 100% 0, var(--discord), transparent 60%); }
.platform > * { position: relative; }
.platform .plogo { width: 48px; height: 48px; }
.platform.twitch .plogo { fill: var(--twitch); }
.platform.discord .plogo { fill: var(--discord); }
.platform h3 { font-family: var(--display); font-size: 1.6rem; }
.platform p { color: var(--muted); }
.platform .handle { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); font-size: .95rem; }
.platform .btn { align-self: flex-start; margin-top: auto; }

/* Banner */
.banner {
  border-radius: calc(var(--radius) + 6px); padding: 3rem 2rem; text-align: center;
  background: linear-gradient(135deg, rgba(255, 95, 162, .18), rgba(145, 70, 255, .18));
  border: 1px solid var(--line);
}
.banner h2 { font-family: var(--display); font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: .6rem; }
.banner p { color: var(--muted); margin-bottom: 1.8rem; }
.banner .cta { justify-content: center; }

/* Rechtstexte */
.legal { padding: 4rem 0 5rem; }
.legal .container { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: .5rem; }
.legal .meta { color: var(--muted); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .7rem; color: var(--pink-2); }
.legal h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.legal p, .legal li { color: #ddd3e6; }
.legal p + p { margin-top: .8rem; }
.legal ul { padding-left: 1.3rem; margin: .5rem 0; }
.legal address { font-style: normal; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.4rem; }
.placeholder { background: rgba(255, 95, 162, .15); color: var(--pink-2); padding: 0 .3rem; border-radius: 4px; }
.notice {
  background: rgba(255, 196, 0, .08); border: 1px solid rgba(255, 196, 0, .35);
  color: #ffe08a; border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 2rem; font-size: .95rem;
}

/* 404 */
.notfound { display: grid; place-items: center; text-align: center; padding: 6rem 0; }
.notfound .big { font-family: var(--display); font-size: clamp(6rem, 18vw, 10rem); line-height: 1; color: var(--pink); }
.notfound p { color: var(--muted); margin: 1rem 0 2rem; }

/* Fußzeile */
.footer { border-top: 1px solid var(--line); padding: 2rem 0; color: var(--muted); font-size: .9rem; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer nav { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

/* Responsiv */
@media (max-width: 860px) {
  .hero { padding: 4rem 0 3rem; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .cta { justify-content: center; }
  .bubble { max-width: 240px; order: -1; }
  .community { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 1rem 1.25rem; width: 100%; border-top: 1px solid var(--line); }
  .nav .btn { margin: 1rem 1.25rem; width: calc(100% - 2.5rem); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
