
/* Mobile-First Vereins-Website */

:root {
  --bg: #f8f6f2;
  --text: #2b2b2b;
  --accent: #8b3a2a;
  --surface: #fff;
  --border: #ddd6c8;
  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* Navigation */

nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1700px;
  margin: 0 auto;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.logo {
  align-items: center;
  display: inline-flex;
  flex: 0 1 auto;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.5px;
  max-width: none;
  white-space: nowrap;
  line-height: 1.12;
}

.header-logo { background: #fff; border: 1px solid var(--border); border-radius: 50%; flex: 0 0 auto; height: 3.2rem; object-fit: contain; padding: 0.16rem; width: 3.2rem; }

.nav-actions { display: flex; align-items: center; gap: 0.45rem; margin-left: auto; }
.language-select { appearance: auto; background: transparent; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); cursor: pointer; font: inherit; font-size: 0.82rem; font-weight: 600; padding: 0.34rem 0.45rem; width: auto; margin: 0; }
.language-select:hover, .language-select:focus { background: #f3e7db; }
.visually-hidden { height: 1px; margin: -1px; overflow: hidden; position: absolute; width: 1px; clip: rect(0, 0, 0, 0); }

.menu-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text);
}

.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  background: rgba(248, 246, 242, 0.98);
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(6px);
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 0.35rem 0;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--border);
  display: block;
}

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

@media (min-width: 1500px) {
  .nav-links {
    margin-left: auto;
    order: 2;
  }

  .nav-actions {
    margin-left: 0;
    order: 3;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    gap: clamp(0.75rem, 1.6vw, 1.5rem);
    padding: 0;
    border-top: none;
    position: static;
    box-shadow: none;
    background: transparent;
    top: auto;
    left: auto;
    right: auto;
    z-index: auto;
  }

  .nav-links a {
    border-bottom: none;
    padding: 0;
    font-size: 0.98rem;
    display: inline;
  }

  .menu-btn {
    display: none;
  }
}

/* Header Hero */

.hero {
  background: linear-gradient(
          160deg,
          #3a2e1e 0%,
          #5e3f2a 100%
  );
  color: #fff;
  padding: 5rem 1.2rem 4rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.hero p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Main container */

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem;
}

/* Sections */

section {
  margin-bottom: 3rem;
}

h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent);
  padding-left: 0.7rem;
}

h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin: 1.2rem 0 0.4rem;
}

p {
  margin-bottom: 1rem;
}

/* Info cards */

.cards {
  display: grid;
  gap: 1.2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin-top: 0;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Fotos Grid */

.gallery {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

/* Termine */

.event {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.8rem;
}

.event .date {
  font-weight: 700;
  color: var(--accent);
}

.event-date { color: var(--accent); font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; margin-bottom: 0.35rem; }
.event-location { margin-bottom: 0.55rem; }

.event .loc {
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Admin */

.admin-toggle {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}

.admin-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
}

.admin-panel.open {
  display: block;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  margin-bottom: 0.6rem;
}

button[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

button.delete {
  background: #812020;
  color: #fff;
  border: none;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
}

button.edit {
  background: #2b5e8c;
  color: #fff;
  border: none;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-left: 0.3rem;
}

/* Footer */

footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  color: #777;
  font-size: 0.9rem;
}

footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a:hover {
  opacity: 0.8;
}

/* =========================================
   Jubiläumsfest 2027
   ========================================= */

.jubilee-banner {
  background: linear-gradient(
          150deg,
          #3a2e1e 0%,
          #5e3f2a 100%
  );
  color: #fffaf4;
  border: 1px solid #80604b;
  border-radius: 14px;
  padding: 3rem 1.5rem;
  margin: 1.5rem 0 3rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(50, 30, 20, 0.15);
}

.jubilee-banner h2 {
  color: #fffaf4;
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.15;
  border-left: none;
  padding-left: 0;
  margin: 0.8rem 0;
}

.jubilee-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: #e9c99e;
  text-transform: uppercase;
}

.jubilee-subtitle {
  color: #f1d6b2;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.45rem;
  margin-bottom: 1.5rem;
}

.jubilee-divider {
  width: 80px;
  height: 1px;
  background: #b18c69;
  margin: 1.6rem auto;
}

.jubilee-date {
  color: #ffffff;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.jubilee-day {
  color: #f1d6b2;
  font-size: 1rem;
  margin-bottom: 1.3rem;
}

.jubilee-location {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.jubilee-place {
  color: #f1d6b2;
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}

.jubilee-description {
  max-width: 650px;
  margin: 0 auto 1rem;
  color: #fffaf4;
}

.jubilee-description-hr {
  max-width: 650px;
  margin: 0 auto 1.5rem;
  color: #f1d6b2;
  font-style: italic;
}

.jubilee-more {
  color: #e9c99e;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.jubilee-button {
  display: inline-block;
  background: #e9c99e;
  color: #35251d;
  padding: 0.85rem 1.7rem;
  margin-top: 1rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition:
          background 0.2s ease,
          transform 0.2s ease;
}

.jubilee-button:hover {
  background: #f5dfbd;
  transform: translateY(-2px);
}

.jubilee-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* =========================================
   Impressum
   ========================================= */

.impressum-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.impressum-section h2 {
  margin-top: 2rem;
}

.impressum-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.impressum-back {
  margin-top: 3rem;
}

/* Mobile */

@media (max-width: 600px) {
  .jubilee-banner {
    padding: 2.2rem 1.2rem;
  }

  .jubilee-subtitle {
    font-size: 1.25rem;
  }

  .jubilee-button {
    width: 100%;
    max-width: 290px;
  }

  .impressum-section {
    padding-bottom: 2rem;
  }
}


/* =====================================
   Vorstand
   ===================================== */

.board-page {
  max-width: 1000px;
}

.board-section {
  margin-bottom: 3.5rem;
}

.board-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.board-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.7rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.board-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.board-card h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
  color: #382b22;
}

.board-card p {
  margin: 0.3rem 0;
}

.board-role {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.board-featured {
  border-top: 4px solid var(--accent);
  background: #fffaf4;
}

.board-card a,
.board-contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.board-card a:hover,
.board-contact a:hover {
  text-decoration: underline;
}

.board-contact {
  background: #eee7dd;
  border-radius: 12px;
  padding: 2rem;
}

/* Social Media Footer */

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-social a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
  transition: background 0.2s;
}

.footer-social .social-link { align-items: center; display: inline-flex; gap: 0.5rem; }
.social-icon { flex: 0 0 auto; height: 1.35rem; width: 1.35rem; }
.social-instagram .social-icon { color: #c13584; }
.social-facebook .social-icon { color: #1877f2; }

.footer-social a:hover {
  background: #eee7dd;
}

@media (min-width: 700px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Einheitliche Medien-, Kontakt- und Chronikdarstellung */
.photo-frame { background: #fff; border: 1px solid var(--border); border-radius: 12px; display: block; overflow: hidden; padding: 0.35rem; }
.photo-frame img, main > img { height: auto !important; max-height: none !important; object-fit: contain !important; width: 100%; }
.gallery-preview { align-items: center; background: #f7f4ef; border-radius: 8px; display: flex; justify-content: center; min-height: 220px; overflow: hidden; }
.gallery-preview img { height: auto; max-height: 260px; max-width: 100%; object-fit: contain; width: auto; }
.album { align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); padding: 1.4rem; }
.album + .album { margin-top: 1.5rem; }
.album-cover { align-items: center; background: #f7f4ef; border-radius: 8px; display: flex; justify-content: center; min-height: 210px; padding: 0.75rem; }
.album-cover img { height: auto; max-height: 300px; max-width: 100%; object-fit: contain; width: auto; }
.album h2 { border: 0; padding: 0; }
.album-year { color: #6e625a; font-family: var(--font-body); font-size: 1rem; font-weight: 400; }
.tracklist { columns: 1; margin: 0.7rem 0 0 1.3rem; }
.tracklist li { break-inside: avoid; margin-bottom: 0.25rem; }
.button-link { background: var(--accent); border-radius: 6px; color: #fff; display: inline-block; font-weight: 600; padding: 0.65rem 1rem; text-decoration: none; }
.button-link:hover { background: #6f2e23; }
.contact-callout, .contact-form-wrap { background: #eee7dd; border-radius: 12px; padding: 1.7rem; }
.album-price { color: #5b4a3f; margin: -0.3rem 0 1rem; }
.media-releases { margin-top: 3rem; }
.video-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.video-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; padding-bottom: 1.25rem; }
.video-card h3, .video-card p, .video-card > a { margin-left: 1.25rem; margin-right: 1.25rem; }
.video-card h3 { border: 0; margin-bottom: 0.25rem; padding: 0; }
.video-card p { color: #625851; margin-top: 0; }
.video-card > a { color: var(--accent); font-weight: 600; }
.video-embed { aspect-ratio: 16 / 9; background: #211a16; margin-bottom: 1.2rem; }
.video-embed iframe { border: 0; display: block; height: 100%; width: 100%; }
.sold-out { color: #9a3425; font-weight: 700; }
.contact-form-wrap { max-width: 720px; }
.contact-form-wrap label { display: block; font-weight: 600; margin-bottom: 0.9rem; }
.contact-form-wrap label span { display: block; margin-bottom: 0.25rem; }
.form-note { color: #625851; font-size: 0.9rem; margin-top: 1rem; }
.timeline-descending .timeline-item, .history-entry { background: var(--surface); border-left: 3px solid var(--accent); margin: 0 0 1rem; padding: 1rem 1.2rem; }

@media (min-width: 700px) {
  .album { grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr); padding: 1.8rem; }
  .tracklist { columns: 2; }
}

@media (max-width: 767px) {
  .logo { font-size: 1rem; max-width: 55vw; }
  .header-logo { height: 2.45rem; width: 2.45rem; }
  .nav-inner { padding: 0.75rem 0.9rem; }
  .nav-actions { gap: 0.2rem; }
  .language-select { font-size: 0.73rem; max-width: 7.6rem; padding: 0.26rem 0.3rem; }
}
