:root {
  --side-logo-width: 30px;
  --header-height: 70px;
  --primary-color: #e10600;
  --primary-color-light: #f5a9a9;
  --primary-color-dark: #cf0606;
  --main-width: 800px;
  --text-color: #000;
  --primary-font: "century gothic", Arial, sans-serif;
  --font-bold: 800;
  --small: 0.6rem;
}

/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--primary-font);
  line-height: 1.5;
  background: var(--primary-color);
  font-size: 14px;
}

/* ===== TYPO ===== */
a {
  text-decoration: underline;
  text-decoration-color: var(--primary-color);
  color: var(--text-color);
}

a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

h1,
h2,
h3 {
  color: var(--primary-color);
}

h1 {
  text-transform: uppercase;
  font-size: 1.2rem;
  padding: 0 0 0.5em;
}

h2,
h3,
h4 {
  margin: 1.1rem 0 0.6rem;
  font-size: 1rem;
  font-weight: var(--font-bold);
}

p {
  margin-bottom: 0.8rem;
  max-width: 65ch;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 1rem;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  transition: background-color 180ms ease, transform 150ms ease;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
  margin-top: 2em;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

figure  {
  margin-top:0.4rem;
}
/* ===== HEADER ===== */
header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: var(--primary-color);
  max-width: var(--main-width);
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  border-bottom: solid 2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  position: relative;
  text-decoration: none;
  color: var(--primary-color)
}

@media (min-width: 769px) {
  nav a:hover {
    background-color: unset;
    color: var(--primary-color);
  }
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1101;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease,
    background-color 0.2s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 10px;
}
.hamburger span:nth-child(3) {
  top: 20px;
}

/* ===== MAIN ===== */
main {
  padding: 2rem;
  background: #fff;
  min-height: calc(100vh - var(--header-height) - 60px);
  max-width: var(--main-width);
  margin: 0 auto;
}

.main-wrapper {
  position: relative;
  display: flex;
}

.main-content {
  flex: 1;
}

/* ===== FOOTER ===== */
footer {
  height: 60px;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--main-width);
  margin: 0 auto;
  padding: 2rem;
}

/* ===== SIDE LOGO ===== */
.side-logo {
  position: sticky;
  bottom: 20px;
  width: var(--side-logo-width);
  align-self: flex-end;
  pointer-events: none;
  margin-left: auto;
  margin-right:-2rem;
}

.side-logo img {
  max-width: 100%;
}

/* ===== OVERLAY ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100vh;
    background: var(--primary-color);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  nav ul.open {
    right: 0;
  }

  nav a,  nav li.act {
    color: #fff;
    font-size: 1.3rem;
  }

  nav li a:hover {
    background-color: none;
  }

  nav li.act {
    border-bottom: solid 2px #fff;
  }

  .side-logo {
    display: none;
  }

  /* ===== Hamburger → X ===== */
  body.menu-open .hamburger span {
    background: #fff;
  }

  body.menu-open .hamburger span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
  }

  body.menu-open .hamburger span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .hamburger span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
  }

  /* ===== Slide-Fade Menüeinträge ===== */
  #mobile-menu li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  #mobile-menu.open li {
    opacity: 1;
    transform: translateX(0);
  }

  #mobile-menu.open li:nth-child(1) {
    transition-delay: 0.05s;
  }
  #mobile-menu.open li:nth-child(2) {
    transition-delay: 0.1s;
  }
  #mobile-menu.open li:nth-child(3) {
    transition-delay: 0.15s;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .hamburger span,
  #mobile-menu li {
    transition: none;
  }
}

@media (min-width: 769px) {
  nav li.act {
    border-bottom: solid 2px var(--primary-color);
  }
  /* Unterstreichung */
  nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);

    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }

  /* Hover, Fokus, aktiv */
  nav a:hover::after,
  nav a:focus-visible::after,
  nav li.act a::after {
    transform: translateX(-50%) scaleX(1);
  }
}

/* Konzertheader */

.concert-announcement {
  margin: 2.5rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--primary-color-light);
}

.concert-announcement header {
  display: block;
  background: unset;
  color: var(--text-color);
  max-width: unset;
  margin: 0 auto;
  padding: unset;
  border-bottom: none;  
  height:unset;
}
.concert-announcement h2 {
  color: var(--text-color);
  margin: 2em 0 1em;
}

.concert-announcement:last-of-type {
  border-bottom: none;
}


.concert-announcement h3 {
  color: var(--text-color);
  margin: 2em 0 1em;
}

.date-time  {
  color: var(--primary-color);
  font-weight: var(--font-bold);
  margin: 0;
  font-variant-numeric: lining-nums;
}

.location {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.program-description p {
  display: block;
  position: relative;
  
}

.performers {
  margin-top: 1.8rem;
}

.performers ul {
  list-style-type: none;
  padding-left: 0;
  font-style: italic;
}

.performers li {
  margin-bottom: 0.3rem;
}

.past-concerts-heading {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--primary-color);
  font-size: 1.1rem;
}

.past-concert {
  opacity: 0.65;
}

.past-concert h2 {
  color: #666;
}

.concert-announcement.cancelled {
  opacity: 0.6;
}

.concert-status {
  font-weight: 700;
  color: #a40000;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.hero  {
  display:block;
  width: 100%;
  background-color: rgba(255,0,0,0.3);
  padding: 10px;
  margin-bottom: 40px;
}
.hero h1  {
  margin: 0.5em 0 0.05em;
  display:inline-block;
  font-size:  clamp(1.5rem, 8cqw, 5rem)
}

.hinweis  {
    border-left: 5px solid red;
    padding-left: 2em;
}
