/* ================= VARIABLES Y BASE ================= */
:root {
  --blue: #1f4c5c;
  --orange: #f29c2b;
  --yellow: #f6e9c3;
  --bg:  #ffffff;
  --gray: #666;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--blue);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}


/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  padding: 0.8rem 5%;

  backdrop-filter: blur(12px);

  background: rgba(246, 233, 195, 0.85);

  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1400px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- LOGO ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  font-weight: 600;

  text-decoration: none;

  color: var(--blue);
}

.logo img {
  height: 42px;

  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: rotate(-4deg) scale(1.05);
}

/* ---------- NAV ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  text-decoration: none;

  color: var(--blue);

  font-weight: 500;

  transition: all 0.25s ease;

  position: relative;
}

/* ---------- botón Kontakt ---------- */
.nav a:last-child {
  border: 2px solid var(--blue);

  border-radius: 999px;

  padding: 0.6rem 1.4rem;

  transition: all 0.3s ease;
}

/* hover general */
.nav a:hover {
  color: var(--orange);

  transform: translateY(-1px);
}

/* hover Kontakt */
.nav a:last-child:hover {
  background: var(--blue);

  color: white;

  transform: translateY(-2px);
}

/* click */
.nav a:last-child:active {
  transform: scale(0.95);

  background: var(--orange);

  border-color: var(--orange);

  color: white;
}

/* ================= HAMBURGER ================= */

.menu-toggle {
  display: none;

  flex-direction: column;

  gap: 5px;

  cursor: pointer;

  z-index: 2001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;

  background: var(--blue);

  border-radius: 2px;

  transition: all 0.3s ease;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;

    top: 0;
    right: -270px;

    width: 260px;
    height: 100vh;

    flex-direction: column;
    align-items: flex-start;

    padding: 5rem 2rem;

    gap: 1.5rem;

    background: white;

    box-shadow: -10px 0 30px rgba(0,0,0,0.15);

    transition: right 0.35s ease;

    z-index: 2000;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    font-size: 1.2rem;

    width: 100%;
  }

  /* versión móvil simplificada */
  .nav a:last-child {
    border: none;

    padding: 0;

    background: none;

    color: var(--blue);
  }

  .nav a:last-child:hover {
    background: none;

    color: var(--orange);
  }

  .logo img {
    height: 36px;
  }

  .logo span {
    font-size: 0.9rem;
  }

}

/* ---------- EXTRA SMALL ---------- */

@media (max-width: 480px) {

  .logo span {
    font-size: 0.8rem;
  }

  .nav a {
    font-size: 1.1rem;
  }

  .menu-toggle span {
    width: 24px;
  }

  .nav {
    width: 230px;

    padding: 4rem 1.5rem;
  }

}

/* ================= TERMINE ================= */

.termine-page {
  max-width: 980px;
  margin: 6rem auto;
  padding: 0 2rem;
}

.termine-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.termine-header h1 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  position: relative;
}

.termine-header h1::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--blue);
  display: block;
  margin: 1rem auto 0;
}

.monat {
  margin-bottom: 4rem;
}

.monat h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
}

/* ================= EVENTOS ================= */

.termin {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 2.2rem;
  align-items: center;

  padding: 2rem 0;

  border-bottom: 1px solid #e5e5e5;

  position: relative;

  transition: all 0.25s ease;
}

.termin::before {
  content: "";
  position: absolute;

  left: -14px;
  top: 25%;

  height: 50%;
  width: 2px;

  background: var(--blue);

  transition: all 0.25s ease;
}

.termin:hover {
  transform: translateX(4px);
}

.termin:hover::before {
  height: 100%;
  top: 0;
}

.termin strong {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;

  border-left: 3px solid var(--orange);

  padding-left: 0.8rem;
}

.termin p {
  font-size: 1.15rem;

  color: var(--gray);

  margin: 0;

  line-height: 1.8;
}

.termin:hover p {
  color: var(--blue);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 800px) {

  .termin {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .termin::before {
    display: none;
  }

  .termin strong {
    font-size: 0.82rem;
  }

  .termin p {
    font-size: 1rem;
  }

}