/* === CSS Custom Properties === */
:root {
  --color-accent: #e74c3c;
  --color-accent-dark: #c0392b;
  --color-dark: #2c3e50;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

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

ul {
  list-style: none;
}

/* === Container === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Section === */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #f8f9fa;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* === Hero === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('../images/hero.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.95;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-12px);
  }
  60% {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* === Termine === */
.termine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.termin-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.termin-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.termin-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.termin-content {
  padding: 24px;
}

.termin-date {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.termin-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.termin-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* === Slider === */
.slider-wrapper {
  position: relative;
  overflow: hidden;
}

.slider-track-container {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-out;
}

.slider-slide {
  min-width: 100%;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(231, 76, 60, 0.9);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover {
  background: rgba(231, 76, 60, 1);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: -10px;
}

.slider-next {
  right: -10px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-dots button.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* News Card */
.news-card {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.news-img {
  width: 350px;
  min-width: 350px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
}

.news-content {
  flex: 1;
}

.news-date {
  display: inline-block;
  background: #3498db;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.news-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.news-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}

/* Orchester Card */
.orchester-card {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.orchester-img {
  width: 420px;
  min-width: 420px;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
}

.orchester-content {
  flex: 1;
}

.orchester-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.orchester-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* Ausbildung Card */
.ausbildung-card {
  text-align: center;
  padding: 40px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.ausbildung-img {
  width: 100%;
  max-width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 24px;
}

.ausbildung-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.ausbildung-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* === Kontakt === */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.kontakt-info h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.kontakt-info p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 20px;
}

.kontakt-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #555;
}

.kontakt-details li strong {
  color: var(--color-dark);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  outline: none;
}

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

.btn-submit {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* === Footer / Impressum === */
.footer {
  background: var(--color-dark);
  color: #ecf0f1;
}

.footer .section-title {
  color: #fff;
}

.footer .section-title::after {
  background: var(--color-accent);
}

.impressum-content h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.impressum-content h3:first-child {
  margin-top: 0;
}

.impressum-content p {
  color: #bcc6d0;
  line-height: 1.7;
  margin-bottom: 10px;
}

.impressum-source {
  margin-top: 24px;
  font-size: 0.85rem;
}

.impressum-source a {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #95a5a6;
  font-size: 0.9rem;
}

/* === Responsive: Tablet === */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .termine-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card {
    flex-direction: column;
  }

  .news-img {
    width: 100%;
    min-width: unset;
    height: 240px;
  }

  .orchester-card {
    flex-direction: column;
  }

  .orchester-img {
    width: 100%;
    min-width: unset;
    height: 280px;
  }

  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* === Responsive: Mobile === */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 36px;
  }

  /* Nav mobile */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.open {
    max-height: 420px;
  }

  .nav-menu li a {
    display: block;
    padding: 16px 24px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }

  /* Hero */
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  /* Termine */
  .termine-grid {
    grid-template-columns: 1fr;
  }

  /* Slider buttons smaller */
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .slider-prev {
    left: 4px;
  }

  .slider-next {
    right: 4px;
  }

  /* Cards */
  .news-card,
  .orchester-card {
    padding: 16px;
    gap: 16px;
  }

  .ausbildung-card {
    padding: 24px 16px;
  }

  .ausbildung-img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .nav-logo {
    font-size: 1.05rem;
  }

  .termin-img {
    height: 180px;
  }

  .footer-bottom {
    padding: 20px 0 30px;
  }
}
