/* Festivalzeit - dunkles Festival-/Psytrance-Design
   Kontrast geprueft: Pink #ff4da6 auf #0a0713 = 6,4:1, Muted #b3a9d0 = 8,1:1 */

:root {
  --bg: #0a0713;
  --bg-2: #100b1d;
  --surface: #171126;
  --surface-2: #1d1631;
  --line: #2e2249;
  --line-soft: #241a3b;
  --ink: #f1ecff;
  --ink-2: #d9d1f0;
  --muted: #b3a9d0;
  --pink: #ff4da6;
  --pink-deep: #d9187a;
  --cyan: #3ce9d3;
  --violet: #9b6bff;
  --radius: 16px;
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

/* clip auch auf html: ein fixiertes, per translateX ausgeblendetes Drawer-Menue
   erzeugt sonst horizontales Scrollen (body-clip greift bei position:fixed nicht) */
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 14px; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 5vw, 50px); }
h2 { font-size: clamp(23px, 3vw, 31px); }
h3 { font-size: 20px; }

p { margin: 0 0 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 7, 19, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--pink), var(--violet) 55%, var(--cyan));
  display: grid; place-items: center; color: #0a0713; font-weight: 900; font-size: 17px;
}

.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 9px 13px; border-radius: 9px;
  color: var(--ink-2); font-size: 15px; font-weight: 600;
}
.menu a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.menu a.active { color: var(--pink); }
.menu a.cta {
  background: linear-gradient(120deg, var(--pink), var(--violet));
  color: #12061a; margin-left: 6px;
}
.menu a.cta:hover { filter: brightness(1.12); color: #12061a; }

.nav-toggle { display: none; }
.burger { display: none; }
.drawer-close { display: none; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(255, 77, 166, 0.28), transparent 62%),
    radial-gradient(760px 420px at 88% 18%, rgba(60, 233, 211, 0.18), transparent 60%),
    radial-gradient(600px 400px at 50% 100%, rgba(155, 107, 255, 0.22), transparent 65%);
}
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-inner { position: relative; padding: 84px 0 76px; max-width: 780px; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 19px; color: var(--ink-2); margin-bottom: 26px; max-width: 640px; }

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 11px;
  font-weight: 700; font-size: 15px; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: linear-gradient(120deg, var(--pink), var(--violet)); color: #12061a; }
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(23, 17, 38, 0.6); }
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- Sections ---------------- */
.section { padding: 66px 0; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover { border-color: var(--pink); transform: translateY(-3px); }
/* display:block ist Pflicht - als inline-Element greift aspect-ratio nicht und
   die Kartenbilder bekaemen unterschiedliche Hoehen */
.card-img { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 19px; margin-bottom: 9px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--pink); text-decoration: none; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.card .more { margin-top: auto; font-weight: 700; font-size: 14px; }

.tag {
  display: inline-block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); font-weight: 700; margin-bottom: 10px;
}

.topic-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.topic {
  display: block; padding: 26px 24px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-soft);
}
.topic:hover { border-color: var(--cyan); text-decoration: none; }
.topic .ico { font-size: 26px; margin-bottom: 12px; }
.topic h3 { margin-bottom: 8px; }
.topic p { color: var(--muted); font-size: 15px; margin: 0; }

.band {
  background: linear-gradient(120deg, rgba(255, 77, 166, 0.16), rgba(155, 107, 255, 0.14));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
}
.band h2 { margin-bottom: 10px; }
.band p { color: var(--ink-2); max-width: 640px; }

.linklist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.linklist li { margin-bottom: 10px; break-inside: avoid; }
.linklist a { color: var(--ink-2); font-weight: 600; }
.linklist a:hover { color: var(--pink); }

/* ---------------- Artikel ---------------- */
.article-hero { position: relative; padding: 54px 0 34px; border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.article-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 320px at 15% 0%, rgba(255, 77, 166, 0.2), transparent 60%),
              radial-gradient(600px 300px at 85% 20%, rgba(60, 233, 211, 0.12), transparent 60%);
}
.article-hero .wrap { position: relative; max-width: 820px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--pink); }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.pill { background: var(--surface-2); border: 1px solid var(--line); color: var(--cyan); padding: 4px 11px; border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

.prose { max-width: 820px; margin: 0 auto; padding: 40px 20px 10px; }
.prose > figure { margin: 0 0 30px; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line-soft); }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose h2 { margin-top: 38px; }
.prose h3 { margin-top: 26px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose .lead-p { font-size: 19px; color: var(--ink); }

.note, .callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 26px 0;
}
.callout { border-left-color: var(--pink); }
.note p:last-child, .callout p:last-child { margin-bottom: 0; }

.table-scroll { overflow-x: auto; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
th { background: var(--surface-2); color: var(--ink); }

.readnext { margin: 44px 0 10px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.readnext h2 { font-size: 20px; }
.readnext ul { list-style: none; margin: 0; padding: 0; }
.readnext li { margin-bottom: 10px; }

/* ---------------- Formular ---------------- */
.form-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; max-width: 640px; }
label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
input, textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 18px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); font-family: inherit; font-size: 15px;
}
input:focus, textarea:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
button { cursor: pointer; font-family: inherit; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); margin-top: 40px; padding: 50px 0 26px; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.foot-grid p { color: var(--muted); font-size: 15px; margin-top: 14px; }
.foot-col h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col a { color: var(--muted); font-size: 15px; }
.foot-col a:hover { color: var(--pink); }
.foot-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 14px; color: var(--muted);
}
.foot-bottom a { color: var(--muted); }

/* ---------------- 404 ---------------- */
.err { text-align: center; padding: 80px 0 30px; }
.err .code { font-size: 76px; font-weight: 900; background: linear-gradient(120deg, var(--pink), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

/* ---------------- Responsive (aufsteigend gedacht, hier max-width fuer Mobile-Drawer) ---------------- */
@media (max-width: 900px) {
  .grid, .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .grid, .grid-2, .topic-grid { grid-template-columns: 1fr; }
  .linklist { columns: 1; }
  .hero-inner { padding: 60px 0 56px; }
  .section { padding: 48px 0; }
  .band { padding: 28px 22px; }

  /* backdrop-filter macht den Header zum containing block fuer position:fixed -
     der Drawer waere sonst nur so hoch wie die Kopfzeile. Mobil deshalb ohne Blur. */
  .site-header { backdrop-filter: none; background: var(--bg); }

  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; cursor: pointer;
    border: 1px solid var(--line); border-radius: 11px; background: var(--surface);
  }
  .burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

  .menu {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(310px, 84vw);
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--bg-2); border-left: 1px solid var(--line);
    padding: 84px 20px 30px;
    transform: translateX(105%);
    transition: transform 0.28s ease;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    z-index: 80;
  }
  .menu a { padding: 13px 14px; font-size: 17px; }
  .nav-toggle:checked ~ .menu { transform: translateX(0); }
  .nav-toggle:checked ~ .drawer-close {
    display: block; position: fixed; inset: 0; z-index: 70;
    background: rgba(5, 3, 10, 0.6); cursor: pointer;
  }
  .menu a.cta { margin-left: 0; text-align: center; margin-top: 8px; }
}
