/* 4Seasons - Verein der Freunde für Graffitikunst und Sport */
:root {
  --bg-dark: #121316;
  --bg-card: #1c1e24;
  --bg-elevated: #262932;
  --accent-yellow: #facc15;
  --accent-orange: #f97316;
  --accent-pink: #ec4899;
  --accent-red: #ef4444;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: #374151;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Sticky Top Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 19, 22, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--accent-yellow);
  padding: 0.75rem 1.5rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-brand span.tag {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
  color: #111;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background: var(--bg-elevated);
  color: var(--accent-yellow);
}

/* Container & Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* Hero / Intro Section */
.hero {
  padding: 4rem 0 3.5rem;
  background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.12), transparent 50%),
              radial-gradient(circle at bottom left, rgba(250, 204, 21, 0.1), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.12rem;
  color: #e5e7eb;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  padding: 1.25rem;
  border-left: 4px solid var(--accent-yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.info-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.info-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--radius);
}

.info-pill strong {
  display: block;
  color: var(--accent-yellow);
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.hero-visuals {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.logo-showcase {
  background: var(--bg-card);
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow);
  text-align: center;
}

.logo-showcase img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 8px;
}

.offline-note {
  background: #fef08a;
  color: #1f2937;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transform: rotate(-1deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border-left: 5px solid #eab308;
}

/* Weekly Calendar */
.calendar-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.calendar-week-label {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-yellow);
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-cal {
  position: relative;
  background: var(--bg-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cal:hover {
  background: var(--accent-yellow);
  color: #111;
  border-color: var(--accent-yellow);
}

.future-bubble {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.7);
  border: 2px solid var(--bg-card);
}

.week-grid {
  width: 100%;
}

.time-grid-table {
  display: grid;
  grid-template-columns: 52px repeat(var(--visible-days, 7), minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
}

.time-axis-col {
  display: flex;
  flex-direction: column;
}

.time-axis-header {
  padding: 0.6rem 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
  border-bottom: 1px solid transparent;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.time-axis-allday {
  min-height: 32px;
  padding: 0.25rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.time-axis-body {
  position: relative;
}

.time-axis-label {
  position: absolute;
  right: 6px;
  transform: translateY(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.day-column {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.day-column.is-today {
  border: 2px solid var(--accent-yellow);
}

.day-header {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 39px;
}

.day-name {
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.day-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.day-allday {
  min-height: 32px;
  padding: 0.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.14);
}

.cal-allday-chip {
  padding: 0.2rem 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.day-timeline {
  position: relative;
  --hour-height: 34px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.06) 0,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent var(--hour-height)
  );
}

.cal-clubtime-bar {
  position: absolute;
  left: 3px;
  width: 7px;
  border-radius: 4px;
  background: #06b6d4;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.45);
  cursor: pointer;
  z-index: 2;
  transition: width 0.15s, filter 0.15s;
}

.cal-clubtime-bar:hover {
  width: 10px;
  filter: brightness(1.2);
}

.cal-timed-event {
  position: absolute;
  padding: 0.25rem 0.4rem;
  overflow: hidden;
  z-index: 3;
}

.cal-timed-event .cal-event-title {
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-timed-event .cal-event-time {
  font-size: 0.68rem;
  margin-bottom: 0;
  margin-top: 0.1rem;
  opacity: 0.9;
}

.timeline-now-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-yellow);
  box-shadow: 0 0 6px rgba(250, 204, 21, 0.8);
  z-index: 4;
  pointer-events: none;
}

.timeline-now-line::before {
  content: '';
  position: absolute;
  left: -3px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-yellow);
}

.cal-event-item {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(249, 115, 22, 0.15));
  border-left: 3px solid var(--accent-yellow);
  padding: 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
  font-size: 0.85rem;
}

.cal-event-item.is-highlight {
  border-left-color: var(--accent-pink);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(249, 115, 22, 0.18));
}

.cal-event-item:hover {
  transform: translateY(-2px);
  background: rgba(250, 204, 21, 0.28);
}

.cal-event-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 0.2rem;
}

.cal-event-title {
  font-weight: 700;
  line-height: 1.25;
}

.cal-event-status {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.9;
  display: inline-block;
}

.cal-event-item.status-available {
  border-left-color: #22c55e;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.14), rgba(16, 185, 129, 0.1));
}

.cal-event-item.status-busy {
  border-left-color: #ef4444;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(249, 115, 22, 0.12));
}

.cal-event-item.status-tentative {
  border-left-color: var(--accent-yellow);
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(249, 115, 22, 0.15));
}

.cal-event-item.status-oof {
  border-left-color: #a855f7;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(236, 72, 153, 0.12));
}

.cal-event-item.status-working-elsewhere {
  border-left-color: #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(6, 182, 212, 0.12));
}

.cal-event-item.is-clubtime {
  border-left-color: #06b6d4;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(14, 165, 233, 0.1));
  padding: 0.45rem;
  font-size: 0.78rem;
}

.cal-event-item.is-clubtime .cal-event-time {
  color: #22d3ee;
  font-size: 0.7rem;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.calendar-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.legend-swatch.swatch-clubtime {
  background: #06b6d4;
  box-shadow: 0 0 6px rgba(6, 182, 212, 0.5);
}

.loading-placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  padding: 1rem 0;
}

.noscript-banner {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid #ef4444;
  color: #fecaca;
  padding: 1rem 1.25rem;
  margin: 1rem auto;
  max-width: 1140px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.25);
}

.hashtag-help {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hashtag-help summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  opacity: 0.8;
  user-select: none;
  transition: opacity 0.15s, color 0.15s;
}

.hashtag-help summary:hover {
  opacity: 1;
  color: var(--accent-yellow);
}

.hashtag-help-body {
  margin-top: 0.6rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  line-height: 1.5;
}

.hashtag-help-body p {
  margin-bottom: 0.5rem;
}

.hashtag-help-body ul {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hashtag-help-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--accent-yellow);
  font-size: 0.78rem;
}

.no-events-day {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: italic;
  margin: auto;
  text-align: center;
  opacity: 0.5;
}

/* Highlights Below Calendar */
.highlights-section {
  margin-top: 3rem;
}

.highlights-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-pink);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.highlight-badge {
  display: inline-block;
  background: var(--accent-pink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.highlight-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--accent-yellow);
}

.highlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.88rem;
  background: var(--bg-elevated);
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.highlight-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.highlight-desc {
  font-size: 0.95rem;
  color: #d1d5db;
}

.highlight-desc ul {
  margin-left: 1.25rem;
  margin-top: 0.5rem;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-card);
  border: 2px solid var(--accent-yellow);
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

/* Was wir tun (Peppig ausformuliert) */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s;
}

.mission-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-yellow);
}

.mission-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.mission-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--accent-yellow);
}

.statuten-box {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem;
}

.statuten-box ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.statuten-box li {
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
  color: #111;
  font-weight: 800;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-elevated);
  color: var(--text-main);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.15s;
}

.btn-secondary:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

/* Social Media Banner */
.social-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s;
}

.social-card.insta:hover {
  border-color: #ec4899;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(249, 115, 22, 0.15));
}

.social-card.fb:hover {
  border-color: #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.15));
}

/* Vorstand & Galerie */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.board-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.board-role {
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.board-name {
  font-size: 1.3rem;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Membership Form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-yellow);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
  background: var(--bg-elevated);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-yellow);
  flex-shrink: 0;
}

/* Legal / Impressum & Datenschutz */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.legal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.legal-box h3 {
  color: var(--accent-yellow);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Floating Scroll-To-Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
  color: #111;
  border: none;
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 1500;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: #0c0d0f;
}

/* ==========================================================================
   1. Animierte Text-Links (Fließtext, Beschreibungen, Impressum)
   ========================================================================== */
p a, 
.highlight-desc a, 
.legal-box a {
  color: var(--accent-yellow);
  text-decoration: none;
  position: relative;
  font-weight: 700;
  transition: color 0.3s ease;
  padding: 0 2px;
}

p a::after, 
.highlight-desc a::after, 
.legal-box a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  /* Graffiti-Style Farbverlauf für die Unterstreichung */
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange));
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

p a:hover, 
.highlight-desc a:hover, 
.legal-box a:hover {
  color: #fff;
}

p a:hover::after, 
.highlight-desc a:hover::after, 
.legal-box a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

p a:active, 
.highlight-desc a:active, 
.legal-box a:active {
  opacity: 0.6;
  transform: translateY(1px); /* Leichtes Absenken beim Klick */
}


/* ==========================================================================
   2. Upgrade für die Top-Navigation (Soft-Glow & Klick-Feedback)
   ========================================================================== */
.nav-links a {
  position: relative;
  z-index: 1;
  background: transparent !important; /* Überschreibt die alte graue Box */
}

/* Der Hover-Glow baut sich aus der Mitte auf */
.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 204, 21, 0.12); /* Zartes Gelb */
  border-radius: 6px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  z-index: -1;
}

.nav-links a:hover {
  color: var(--accent-yellow);
}

.nav-links a:hover::before {
  transform: scale(1);
  opacity: 1;
}

/* Taktiles Klick-Gefühl */
.nav-links a:active {
  transform: scale(0.92);
}


/* ==========================================================================
   3. Taktiles Feedback (Active-State) für alle Buttons & Social Cards
   ========================================================================== */
.btn-primary:active, 
.btn-secondary:active, 
.btn-cal:active, 
.social-card:active {
  /* Drückt den Button beim Klicken optisch leicht in die Seite hinein */
  transform: scale(0.96) translateY(2px) !important; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.05s ease !important; /* Schnelle Reaktion beim Klicken */
}
