/* Gemeinsame Styles für /aktuelles/ – Grundlagen aus index.html übernommen */
/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg:           #f7f5f0;
  --bg-card:      #ffffff;
  --bg-section:   #eeebe4;
  --accent:       #944838;
  --accent-light: #a85840;
  --accent-dim:   rgba(148,72,56,.1);
  --text:         #1e1e1e;
  --text-muted:   #5e5a54;
  --border:       #dcd7cf;
  --dark:         #1a1a1a;
  --nav-h:        70px;
  --radius:       8px;
  --transition:   .25s ease;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.section-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* ── Layout helpers ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 60px 0; } }
section:nth-child(even) { background: var(--bg-section); }
.section-head { margin-bottom: 56px; }
.divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
/* ── Navbar ──────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(247,245,240,.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img { display: block; height: 32px; width: auto; }
.nav-logo .nav-logo-dark { display: none; }
#navbar.scrolled .nav-logo .nav-logo-light { display: none; }
#navbar.scrolled .nav-logo .nav-logo-dark { display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
#navbar.scrolled .nav-links a { color: var(--text-muted); }
.nav-links a:hover,
.nav-links a.active { color: var(--accent) !important; }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-light); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
#navbar.scrolled .nav-hamburger span { background: var(--text); }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
@media (max-width: 860px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); /* JS overrides this with the real navbar bottom */
    left: 0; right: 0;
    background: rgba(247,245,240,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 0 28px;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .25s ease, padding .3s ease, box-shadow .3s ease;
    z-index: 1001;
  }
  .nav-links.open {
    max-height: 480px;
    opacity: 1;
    padding: 8px 28px 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,.10);
    border-bottom: 1px solid var(--border);
  }
  .nav-links a {
    font-size: 1.05rem;
    font-weight: 500;
    padding: 14px 0;
    color: var(--text) !important;
    border-bottom: 1px solid var(--border);
    display: block;
    width: 100%;
  }
  .nav-links .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 0 !important;
    border-radius: var(--radius) !important;
    border-bottom: none !important;
    margin-top: 8px;
  }
}

.social-icons { display: flex; gap: 12px; }
.social-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all var(--transition);
}
.social-icon:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.social-icon.yt:hover { border-color: #ff0000; color: #ff0000; background: rgba(255,0,0,.08); }
.social-icon.fb:hover { border-color: #1877f2; color: #1877f2; background: rgba(24,119,242,.08); }
.social-icon.ig:hover { border-color: #e1306c; color: #e1306c; background: rgba(225,48,108,.08); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-card); }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: none;
  padding: 48px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { margin-bottom: 12px; }
.footer-logo img { display: block; height: 37px; width: auto; }
.footer-tagline { font-size: .88rem; color: #7a766f; max-width: 260px; margin-bottom: 20px; }
.footer-col-head {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #5a5650;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: #7a766f; font-size: .88rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: .82rem; color: #5a5650; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .82rem; color: #5a5650; }
.footer-legal a:hover { color: var(--accent); }
/* Social icons in footer: dark bg variant */
footer .social-icon {
  border-color: #2e2e2e;
  background: transparent;
  color: #5a5650;
}
footer .social-icon:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}


/* Schmale Desktop-Breite: sechs Menüpunkte passen nur enger */
@media (min-width: 861px) and (max-width: 980px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: .85rem; white-space: nowrap; }
}

/* ── Aktuelles ───────────────────────────────────────────── */
.ak-head { padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 64px) 0 56px; }
.ak-head h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; margin-bottom: 8px; }

.nl-card {
  max-width: 720px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.nl-card h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 700; margin-bottom: 8px; }
.nl-card > p { color: var(--text-muted); margin-bottom: 24px; }
.nl-form { display: flex; flex-direction: column; gap: 16px; }
.nl-form .btn { align-self: flex-start; }
.nl-note { font-size: .78rem; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 560px) {
  .nl-card { padding: 24px 20px; }
}

.ak-empty { color: var(--text-muted); }

/* ── Öffentliche Konzerte (wie Startseite) ─────────────────── */
.ak-h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 28px; }
.gig-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gig {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.gig-date {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(148,72,56,.25);
  color: var(--accent);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.1;
  text-align: center;
}
.gig-day { font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 700; }
.gig-mon { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.gig-year { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .02em; }
.gig-info { min-width: 0; }
.gig-title { font-weight: 600; font-size: .95rem; color: var(--text); }
.gig-meta { font-size: .82rem; color: var(--text-muted); margin-top: 2px; }
.gig-band { font-size: .78rem; color: var(--gig-c, var(--text-muted)); font-weight: 500; margin-top: 1px; }
.gig { border-left: 4px solid var(--gig-c, var(--border)); }
@media (max-width: 768px) {
  .gig-list { grid-template-columns: 1fr; }
}
