/* =====================================================
   ANDERSWELT E.V. — Design System
   Dark cosmic theme with neon accents
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Exo+2:wght@300;400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --bg:          hsl(260, 30%, 4%);
  --bg-card:     hsl(260, 40%, 8%);
  --bg-muted:    hsl(260, 30%, 12%);
  --fg:          hsl(180, 100%, 95%);
  --fg-muted:    hsl(260, 20%, 60%);
  --border:      hsl(260, 40%, 20%);

  --cyan:        hsl(180, 100%, 50%);
  --magenta:     hsl(300, 100%, 60%);
  --green:       hsl(150, 100%, 50%);
  --orange:      hsl(30,  100%, 55%);

  --glow-cyan:    0 0 10px hsl(180 100% 50% / .8), 0 0 30px hsl(180 100% 50% / .4);
  --glow-magenta: 0 0 10px hsl(300 100% 60% / .8), 0 0 30px hsl(300 100% 60% / .4);
  --glow-green:   0 0 10px hsl(150 100% 50% / .8), 0 0 30px hsl(150 100% 50% / .4);
  --glow-orange:  0 0 10px hsl(30  100% 55% / .8), 0 0 30px hsl(30  100% 55% / .4);

  --font-display: 'Orbitron', sans-serif;
  --font-body:    'Exo 2', sans-serif;
  --radius:       0.75rem;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}
.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.section-intro {
  color: var(--fg-muted);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.text-center { text-align: center; }

.glow-cyan    { text-shadow: var(--glow-cyan);    color: var(--cyan); }
.glow-magenta { text-shadow: var(--glow-magenta); color: var(--magenta); }
.glow-green   { text-shadow: var(--glow-green);   color: var(--green); }
.glow-orange  { text-shadow: var(--glow-orange);  color: var(--orange); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .25s;
}
.card:hover { border-color: var(--cyan); }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all .25s;
  cursor: pointer;
}
.btn-cyan {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
}
.btn-cyan:hover {
  background: transparent;
  color: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.btn-magenta {
  background: transparent;
  color: var(--magenta);
  border-color: var(--magenta);
}
.btn-magenta:hover {
  background: hsl(300 100% 60% / .15);
  box-shadow: var(--glow-magenta);
}
.btn-green {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
}
.btn-green:hover {
  background: transparent;
  color: var(--green);
  box-shadow: var(--glow-green);
}
.btn-orange {
  background: var(--orange);
  color: var(--bg);
  border-color: var(--orange);
}
.btn-orange:hover {
  background: transparent;
  color: var(--orange);
  box-shadow: var(--glow-orange);
}
.btn-ghost {
  background: transparent;
  color: var(--fg-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--fg);
}
.btn-full { display: block; width: 100%; text-align: center; }

/* ---- Keyframes ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50%       { opacity: .7; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50%       { transform: translateY(-10px) translateX(-50%); }
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: hsl(260 30% 4% / .85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .2em;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: invert(1) hue-rotate(180deg);
}
.hero-logo-img {
  display: block;
  max-width: min(580px, 88vw);
  height: auto;
  margin: 0 auto .5rem;
  filter: invert(1) hue-rotate(180deg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5rem .75rem;
  border-radius: .5rem;
  color: hsl(180 100% 95% / .7);
  transition: color .2s, background .2s;
}
.nav-links a:hover {
  color: var(--cyan);
  background: hsl(180 100% 50% / .1);
}
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  padding: .5rem;
}
.nav-burger svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .6rem 1rem;
  border-radius: .5rem;
  color: hsl(180 100% 95% / .7);
  transition: color .2s, background .2s;
}
.nav-mobile a:hover {
  color: var(--cyan);
  background: hsl(180 100% 50% / .1);
}

@media (max-width: 1024px) {
  .nav-links  { display: none; }
  .nav-burger { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4.5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(260 30% 4% / .6) 0%, hsl(260 30% 4% / .3) 50%, var(--bg) 100%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 { top: 25%; left: 20%; width: 300px; height: 300px; background: hsl(180 100% 50% / .15); animation: float 7s ease-in-out infinite; }
.hero-orb-2 { bottom: 25%; right: 20%; width: 400px; height: 400px; background: hsl(300 100% 60% / .12); animation: float 7s ease-in-out infinite -3s; }
.hero-orb-3 { top: 50%; right: 33%; width: 200px; height: 200px; background: hsl(150 100% 50% / .1); animation: float 7s ease-in-out infinite -1.5s; }

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: 1.5rem;
  max-width: 56rem;
}
.hero-badge {
  display: inline-block;
  padding: .4rem 1.2rem;
  border: 1px solid hsl(180 100% 50% / .5);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  animation: pulse-glow 3s ease-in-out infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.hero-title .main {
  display: block;
  font-size: clamp(2rem, 10vw, 6rem);
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
}
.hero-title .sub {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: hsl(180 100% 95% / .8);
  font-weight: 300;
  letter-spacing: .3em;
  margin-top: .75rem;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: hsl(180 100% 95% / .65);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: hsl(180 100% 50% / .6);
  transition: color .2s;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--cyan); }
.hero-scroll svg { width: 36px; height: 36px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* ============================================================
   NEWS
   ============================================================ */
#news { padding: 6rem 0; position: relative; }
.news-grid { max-width: 48rem; margin-inline: auto; display: flex; flex-direction: column; gap: 1.5rem; }
.news-article { position: relative; }
.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: var(--fg-muted);
  margin-bottom: .75rem;
}
.news-meta span { display: flex; align-items: center; gap: .3rem; }
.news-article h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.news-article .summary { color: hsl(180 100% 95% / .7); margin-bottom: 1rem; }
.news-body { color: hsl(180 100% 95% / .7); border-top: 1px solid var(--border); padding-top: 1rem; margin-bottom: .75rem; display: none; }
.news-body.open { display: block; }
.news-toggle {
  background: none;
  border: none;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .05em;
  padding: 0;
  transition: opacity .2s;
}
.news-toggle:hover { opacity: .75; }
.news-empty { text-align: center; color: var(--fg-muted); }

/* ============================================================
   EVENTS
   ============================================================ */
#events { padding: 6rem 0; position: relative; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin-inline: auto;
}
.event-card { overflow: hidden; }
.event-card.upcoming { border-color: var(--cyan); box-shadow: 0 0 20px hsl(180 100% 50% / .2); }
.event-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: calc(var(--radius) - 2px); margin-bottom: 1rem; cursor: zoom-in; transition: opacity .2s; }
.event-img:hover { opacity: .85; }
.event-tag {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 999px;
  background: hsl(180 100% 50% / .15);
  color: var(--cyan);
  font-size: .7rem;
  font-family: var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.event-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: .75rem; }
.event-info { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.event-info span { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--fg-muted); }
.event-info svg, .news-meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.event-acts { font-size: .8rem; color: var(--fg-muted); margin-bottom: 1.25rem; }
.event-acts strong { color: var(--fg); }
.event-card.past { opacity: .45; filter: grayscale(.6); }
.event-card.past h3 { color: var(--fg-muted); }
.event-past-badge {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 999px;
  background: hsl(0 0% 50% / .15);
  color: var(--fg-muted);
  font-size: .7rem;
  font-family: var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { padding: 6rem 0; background: var(--bg-card); position: relative; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 64rem;
  margin-inline: auto;
}
.about-text .section-label { color: var(--magenta); }
.about-text h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 1.5rem; }
.about-text p { color: hsl(180 100% 95% / .7); margin-bottom: 1rem; line-height: 1.75; }
.about-text .about-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.value-card { padding: 1.25rem; }
.value-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: .5rem;
  background: hsl(300 100% 60% / .1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .75rem;
  transition: background .25s;
}
.value-card:hover .value-icon { background: hsl(300 100% 60% / .2); }
.value-icon svg { width: 20px; height: 20px; stroke: var(--magenta); fill: none; stroke-width: 2; }
.value-card h3 { font-family: var(--font-display); font-size: .95rem; font-weight: 700; margin-bottom: .35rem; }
.value-card p { font-size: .85rem; color: var(--fg-muted); }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   MEMBERSHIP
   ============================================================ */
#mitglied { padding: 6rem 0; position: relative; }
.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin-inline: auto;
}
.membership-grid .section-label { color: var(--green); }
.benefits-card { border-color: hsl(150 100% 50% / .3); box-shadow: 0 0 20px hsl(150 100% 50% / .1); }
.benefits-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; }
.benefits-card h3 svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 2; }
.benefits-list { display: flex; flex-direction: column; gap: 1rem; }
.benefits-list li { display: flex; align-items: flex-start; gap: .75rem; }
.check-icon {
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: hsl(150 100% 50% / .15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.check-icon svg { width: 10px; height: 10px; stroke: var(--green); fill: none; stroke-width: 3; }
.join-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: .75rem; }
.join-card p { color: var(--fg-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
}
.price-row .price { font-size: 1.5rem; font-weight: 700; color: var(--green); }
.join-fine { font-size: .75rem; color: var(--fg-muted); text-align: center; margin-top: .75rem; }
.join-fine a { color: var(--cyan); }
.join-fine a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .membership-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ACTS
   ============================================================ */
#acts { padding: 6rem 0; position: relative; }
.acts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin-inline: auto;
}
.act-card { padding: 1.5rem; }
.act-card:hover { border-color: var(--magenta); }
.act-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.act-icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: hsl(300 100% 60% / .1);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.act-card:hover .act-icon { background: hsl(300 100% 60% / .2); }
.act-icon svg { width: 22px; height: 22px; stroke: var(--magenta); fill: none; stroke-width: 2; }
.act-genre {
  padding: .2rem .65rem;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--fg-muted);
  font-size: .7rem;
  font-family: var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.act-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: .4rem; transition: color .25s; }
.act-card:hover h3 { color: var(--magenta); }
.act-card p { font-size: .85rem; color: var(--fg-muted); margin-bottom: 1rem; }
.act-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--magenta); }
.act-link:hover { text-decoration: underline; }
.act-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============================================================
   GALLERY
   ============================================================ */
#gallery { padding: 6rem 0; background: var(--bg-card); position: relative; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
  max-width: 64rem;
  margin-inline: auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .75rem 1rem;
  background: linear-gradient(to top, hsl(260 30% 4% / .85) 0%, transparent 100%);
  font-family: var(--font-display);
  font-size: .8rem;
  transform: translateY(100%);
  transition: transform .3s;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: hsl(260 30% 4% / .95);
  backdrop-filter: blur(16px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 100%; max-height: 90svh; object-fit: contain; border-radius: var(--radius); }
#lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: hsl(180 100% 95% / .6);
  font-size: 2rem;
  line-height: 1;
  transition: color .2s;
}
#lightbox-close:hover { color: var(--fg); }

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
}

/* ============================================================
   RECORDS
   ============================================================ */
#records { padding: 6rem 0; position: relative; }
.records-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 64rem;
  margin-inline: auto;
}
.records-label { color: var(--orange); }
.records-text h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 1.25rem; }
.records-text p { color: hsl(180 100% 95% / .7); margin-bottom: 2rem; line-height: 1.75; }
.records-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-box {
  padding: 1rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.stat-box svg { width: 28px; height: 28px; stroke: var(--orange); fill: none; stroke-width: 2; margin-inline: auto; margin-bottom: .5rem; }
.stat-box span { display: block; font-family: var(--font-display); font-size: .75rem; color: hsl(180 100% 95% / .7); }
.demo-card { border-color: hsl(30 100% 55% / .3); box-shadow: 0 0 20px hsl(30 100% 55% / .12); }
.demo-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.demo-card h3 svg { width: 22px; height: 22px; stroke: var(--orange); fill: none; stroke-width: 2; }
.demo-card > p { color: var(--fg-muted); font-size: .9rem; margin-bottom: 1.25rem; }
.demo-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.demo-box { padding: 1rem; background: var(--bg-muted); border: 1px solid var(--border); border-radius: var(--radius); }
.demo-box h4 { font-family: var(--font-display); font-size: .8rem; font-weight: 700; margin-bottom: .4rem; }
.demo-box ul { color: var(--fg-muted); font-size: .82rem; display: flex; flex-direction: column; gap: .2rem; }

@media (max-width: 768px) {
  .records-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact { padding: 6rem 0; position: relative; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin-inline: auto;
}
.contact-social {
  max-width: 56rem;
  margin: 2rem auto 0;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; }
.contact-icon {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: hsl(180 100% 50% / .1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 2; }
.contact-card h3 { font-family: var(--font-display); font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.contact-card a, .contact-card p { font-size: .9rem; color: var(--fg-muted); transition: color .2s; }
.contact-card a:hover { color: var(--cyan); }
.social-card h3 { font-family: var(--font-display); font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.social-links { 
  display: flex; 
  flex-wrap: wrap; 
  gap: .75rem; 
  justify-content: center; /* Das hier zentriert die Icons in der Mitte der Card */
}

.social-link {
  width: 2.75rem; 
  height: 2.75rem;
  border-radius: 50%;
  background: var(--bg-muted);
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: background .25s, color .25s;
  color: var(--fg-muted);
}

.social-link:hover { 
  background: hsl(180 100% 50% / .2); 
  color: var(--cyan); 
}

.social-link svg { 
  width: 20px; 
  height: 20px; 
  stroke: currentColor; 
  fill: none; 
  stroke-width: 2; 
}

/* Form */
.form-card {
  padding: 2rem;
  border-color: hsl(180 100% 50% / .3);
  box-shadow: 0 0 20px hsl(180 100% 50% / .1), inset 0 0 20px hsl(180 100% 50% / .05);
}
.form-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-family: var(--font-display); font-size: .75rem; color: var(--fg-muted); letter-spacing: .05em; margin-bottom: .4rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px hsl(180 100% 50% / .12);
}
.form-group textarea { resize: none; }
.form-honeypot { display: none; }

/* Success / error states */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3rem 1rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 56px; height: 56px; stroke: #4ade80; fill: none; stroke-width: 1.5; }
.form-success h4 { font-family: var(--font-display); font-size: 1.1rem; }
.form-success p { color: var(--fg-muted); font-size: .9rem; }

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 3rem 0 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: .25rem; }
.footer-brand .footer-ev { display: block; font-size: .8rem; color: var(--fg-muted); margin-bottom: .75rem; }
.footer-brand p { font-size: .85rem; color: var(--fg-muted); max-width: 22rem; line-height: 1.65; }
.footer-col h4 { font-family: var(--font-display); font-size: .85rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: .85rem; color: var(--fg-muted); transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: hsl(180 100% 95% / .35);
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE — small screens (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  /* Less aggressive letter-spacing so text doesn't overflow */
  .section-label        { letter-spacing: .12em; }
  .hero-badge           { letter-spacing: .1em; font-size: .72rem; }
  .hero-title .main     { letter-spacing: .03em; }
  .hero-title .sub      { letter-spacing: .15em; }
  .nav-logo             { font-size: 1.1rem; letter-spacing: .1em; }

  /* Smaller minimum for display headings */
  .section-title        { font-size: clamp(1.5rem, 7vw, 3rem); }
  .about-text h2,
  .records-text h2      { font-size: clamp(1.5rem, 7vw, 2.8rem); }

  /* Reduce vertical section padding */
  #news, #events, #about, #mitglied,
  #acts, #gallery, #records, #contact { padding: 3.5rem 0; }

  /* Slightly less card padding */
  .card                 { padding: 1.1rem; }
  .form-card            { padding: 1.25rem; }

  /* Records stats: 3 columns is too cramped, go to 1 */
  .records-stats        { grid-template-columns: 1fr 1fr; }

  /* Values: single column on very small screens */
  .values-grid          { grid-template-columns: 1fr; }

  /* Acts grid min narrower */
  .acts-grid            { grid-template-columns: 1fr; }

  /* Footer bottom centered */
  .footer-bottom        { flex-direction: column; text-align: center; gap: .5rem; }

  /* Buttons full-width in hero */
  .hero-buttons         { flex-direction: column; align-items: center; }
  .hero-buttons .btn    { width: 100%; max-width: 20rem; text-align: center; }

  /* About buttons stack */
  .about-buttons        { flex-direction: column; }
  .about-buttons .btn   { width: 100%; text-align: center; }
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
