:root {
  --bg: #000;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.08);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
  --accent: #34fd2b;
  --radius: 12px;
  --header-height: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Header ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header-height);
  --nav-fill: 0;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transform: scaleY(var(--nav-fill));
  transform-origin: top;
  transition: transform 0.18s ease-out;
  z-index: -1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

.brand-logo {
  height: 36px;
  width: auto;
  filter: invert(1);
  mix-blend-mode: screen;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

.nav-link {
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid transparent;
  font-size: 14px;
}

.nav-link:hover {
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link[aria-current="page"] {
  color: var(--accent);
  border-color: rgba(52, 253, 43, 0.3);
  background: rgba(52, 253, 43, 0.08);
}

/* ── Hero ── */

.hero-fullscreen {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -20%;
  background-image: url('/images/coridas_background.webp');
  background-size: cover;
  background-position: center center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: clamp(240px, 62vw, 340px);
  will-change: transform;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  margin: 0 auto 16px;
  filter: invert(1);
  mix-blend-mode: screen;
  display: block;
}

.hero-tagline {
  margin: 14px 0 32px;
  font-size: clamp(14px, 3.7vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}


/* ── Scroll hint ── */

.scroll-hint {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  animation: scroll-hint-pulse 2.2s ease-in-out infinite;
  transition: opacity 0.2s ease;
}

.scroll-hint svg {
  display: block;
  width: 30px;
  height: 30px;
}

.scroll-hint.hidden {
  opacity: 0 !important;
  pointer-events: none;
}

@keyframes scroll-hint-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ── Main content offset for non-hero pages ── */

main:not(:has(.hero-fullscreen)):not(:has(.about-hero)) {
  padding-top: calc(var(--header-height) + 32px);
  padding-bottom: 72px;
}

main:has(.about-hero) {
  padding-bottom: 72px;
}

/* Solid nav on non-hero pages — no JS needed */
body:not(:has(.hero-fullscreen)):not(:has(.about-hero)) .site-header {
  --nav-fill: 1;
}

/* ── Home sections ── */

.home-section {
  padding: 36px 0;
}

.home-section--cta {
  text-align: center;
}

/* ── Kicker / labels ── */

.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-heading {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--accent);
}

/* ── Subpage layout ── */

.page-header {
  padding: 8px 0 28px;
}

.page-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.4px;
  color: var(--accent);
}

.mt-section {
  margin-top: 14px;
}

.page-section {
  padding-top: 36px;
  padding-bottom: 36px;
}

/* ── Cards ── */

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card.pad {
  padding: 24px;
}

/* ── Buttons ── */

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
}

.btn:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
}

.btn.primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  font-weight: 600;
}

.btn.primary:hover {
  background: #2be024;
  border-color: #2be024;
}

/* ── Utilities ── */

.muted {
  color: var(--muted);
}

* + .notice {
  margin-top: 12px;
}

.notice {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  line-height: 1.5;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(52, 253, 43, 0.15);
}

/* ── Grid ── */

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.span-6 {
  grid-column: span 6;
}

.span-4 {
  grid-column: span 4;
}

.span-12 {
  grid-column: span 12;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--accent);
}

.list {
  margin: 0;
  padding-left: 18px;
}

/* ── Table ── */

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.table th,
.table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  font-size: 14px;
}

.table th {
  color: var(--muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}

.table tr:last-child td {
  border-bottom: none;
}

/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--border);
  background: #000;
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-title {
  font-weight: 700;
  font-size: 14px;
}

.footer-sub {
  color: var(--muted);
  font-size: 13px;
}

.footer-right {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-link {
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13px;
}

.footer-link:hover {
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}

/* ── Hamburger nav toggle ── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .span-6,
  .span-4 {
    grid-column: span 12;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    border-radius: 10px;
    padding: 10px 12px;
  }


  .hero-name {
    letter-spacing: -1px;
  }
}

/* ── Contact cards ── */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 32px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.contact-card:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card--email .contact-card-icon {
  background: rgba(52, 253, 43, 0.12);
  border: 1px solid rgba(52, 253, 43, 0.25);
}

.contact-card--email .contact-card-icon svg {
  color: #34fd2b;
}

.contact-card--email:hover {
  border-color: rgba(52, 253, 43, 0.3);
}

.contact-card--instagram .contact-card-icon {
  background: rgba(225, 48, 108, 0.12);
  border: 1px solid rgba(225, 48, 108, 0.3);
}

.contact-card--instagram:hover {
  border-color: rgba(225, 48, 108, 0.4);
}

.contact-card--facebook .contact-card-icon {
  background: rgba(24, 119, 242, 0.12);
  border: 1px solid rgba(24, 119, 242, 0.3);
}

.contact-card--facebook:hover {
  border-color: rgba(24, 119, 242, 0.4);
}

.contact-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}

.contact-card-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.contact-card-btn {
  margin-top: 4px;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid currentColor;
  opacity: 0.75;
  transition: opacity 0.15s;
}

.contact-card:hover .contact-card-btn {
  opacity: 1;
}

.contact-card--email .contact-card-btn { color: #34fd2b; }
.contact-card--instagram .contact-card-btn { color: #e1306c; }
.contact-card--facebook .contact-card-btn { color: #1877f2; }

/* ── Countdown ── */

.countdown-wrap {
  margin-top: 20px;
}

.countdown-event-name {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.countdown-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.countdown-event-meta {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.countdown {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(52, 253, 43, 0.07);
  border: 1px solid rgba(52, 253, 43, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 56px;
}

.countdown-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}

.countdown-unit {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.countdown-sep {
  font-size: 22px;
  font-weight: 700;
  color: rgba(52, 253, 43, 0.35);
  align-self: flex-start;
  margin-top: 8px;
}

.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
  animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 253, 43, 0.5); }
  50%       { box-shadow: 0 0 0 7px rgba(52, 253, 43, 0); }
}

.live-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

/* ── Event cards (Auftritte) ── */

.event-list {
  display: flex;
  flex-direction: column;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.event-card:first-child { padding-top: 0; }
.event-card:last-child  { border-bottom: none; padding-bottom: 0; }

.event-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(52, 253, 43, 0.06);
  border: 1px solid rgba(52, 253, 43, 0.18);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 68px;
  flex-shrink: 0;
  text-align: center;
}

.event-weekday {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}

.event-day {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.event-month-year {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.event-info { flex: 1; min-width: 0; }

.event-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.event-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ── News / Aktuelles posts ── */

.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.post-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

.post-body {
  padding: 20px 24px;
}

.post-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.post-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.post-text {
  margin: 0;
  line-height: 1.6;
}

/* ── Über uns ── */

/* ── About hero (full-bleed) ── */

.about-hero {
  position: relative;
  height: min(75vh, 680px);
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  background-image: url('/images/coridas_background.webp');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.about-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 48px;
}

.about-hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -1px;
  line-height: 1;
}

.about-hero-sub {
  font-size: clamp(14px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  letter-spacing: 0.01em;
}

/* ── Photo placeholder ── */

.photo-placeholder {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: rgba(255, 255, 255, 0.04);
  border: 2px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ── Sponsor grid ── */

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s, border-color 0.15s;
  min-height: 120px;
}

.sponsor-card:hover {
  background: var(--panel-2);
  border-color: rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

.sponsor-logo {
  max-width: 240px;
  max-height: 120px;
  object-fit: contain;
}

.sponsor-logo-placeholder {
  width: 100%;
  height: 50px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}

.sponsor-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.sponsor-name.placeholder {
  color: var(--muted);
  font-weight: 400;
}

@media (max-width: 680px) {
  .sponsor-grid { grid-template-columns: 1fr; }
  .event-date-box { min-width: 58px; padding: 8px 10px; }
  .event-day { font-size: 24px; }
}
