:root {
  --gelb: #FFCB04;
  --gelb-soft: #FFE76B;
  --ink: #ffffff;
  --bg-dark: #1F1F1F;
  --panel-bg: rgba(0, 0, 0, .3);
  --panel-blur: 6px;
}

/* ===== Hintergrund ===== */
body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: linear-gradient(-45deg,
    #FFCB04,
    #FFE76B,
    #2A2A2A,
    #1F1F1F);
  background-size: 300% 300%;
  animation: gradientFlow 30s ease-in-out infinite;
  min-height: 100vh;
  line-height: 1.6;
}

@keyframes gradientFlow {
  0% { background-position: 48% 50%; }
  25% { background-position: 52% 49%; }
  50% { background-position: 50% 52%; }
  75% { background-position: 49% 48%; }
  100% { background-position: 48% 50%; }
}

/* ===== Layout ===== */
.wrap {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 20px;
}

h1 {
  display: inline-block;
  position: relative;
  color: var(--gelb);
  font-family: "Bebas Neue", sans-serif;
  font-size: 34px;
  margin: 40px auto 24px;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
}

/* animierter Unterstrich */
h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4.5px;
  background-color: var(--gelb);
  width: 0;
  animation: underlineGrow 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

@keyframes underlineGrow {
  from { width: 0; }
  to { width: 100%; }
}

/* ===== Überschriften ===== */
h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 26px;
  color: var(--gelb);
  margin-top: 32px;
  margin-bottom: 10px;
}

/* ===== Panel ===== */
.panel {
  background: var(--panel-bg);
  backdrop-filter: blur(var(--panel-blur));
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

p, li {
  font-size: 17px;
  color: #f2f2f2;
  margin-bottom: 14px;
}

a {
  color: var(--gelb);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== Zurück-Link ===== */
.back {
  position: fixed;
  top: 24px;
  left: 24px;
  color: var(--gelb);
  font-family: "Bebas Neue", sans-serif;
  text-decoration: none;
  font-size: 22px;
  letter-spacing: .5px;
}

.back:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .panel { padding: 18px; }
  h1 { font-size: 36px; }
  h2 { font-size: 22px; }
}