  /* Alegreya Sans Regular */
@font-face {
  font-family: 'Alegreya Sans';
  src: url('../fonts/alegreya-sans-v26-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

 /* Alegreya Sans Bold */
@font-face {
  font-family: 'Alegreya Sans';
  src: url('../fonts/alegreya-sans-v26-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Cormorant Medium */
@font-face {
  font-family: 'Cormorant';
  src: url('../fonts/cormorant-v24-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: hsl(33, 32%, 92%);
  --surface: hsl(30, 33%, 95%);
  --text: hsl(30, 11%, 17%);
  --muted: hsl(33, 8%, 40%);
  --accent: hsl(166, 17%, 67%);
  --accent-2: hsl(12, 67%, 55%);
  --line: hsl(32, 26%, 82%);
  --buttonline: hsl(32, 26%, 60%);
  --max: 1200px;
}

/* =========================
   RESET
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Alegreya Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 1.2rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

#konzerte, #verein, #tickets, #kontakt{
    scroll-margin-top: 80px;
}

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

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

strong{    
  font-family: 'Alegreya Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* =========================
   LAYOUT
========================= */

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: hsla(0, 0%, 100%, 0.35);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.2;
}

.logo img {
  width: 36px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.95;
}

.logo span {
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

nav a {
  transition: color 0.2s ease;
}

nav a:hover {
  color: #000;
    border-bottom: 1px solid var(--line);
}

/* =========================
   BUTTONS
========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.2rem;
  min-height: 42px;
  font-family: 'Alegreya Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--text);
  border-radius: 999px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  background: var(--text);
  color: hsl(0, 0%, 100%);
}

.button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.button:active {
  transform: translateY(1px);
}

.button--ghost {
  border-color: var(--buttonline);
}

.button--ghost:hover {
  border-color: var(--text);
  background: hsla(30, 11%, 17%, 0.06);
  color: var(--text);
}

.button--small {
  padding: 0.62rem 1.05rem;
  min-height: 38px;
}

/* =========================
   HERO
========================= */

.hero-title {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 5rem 0 6rem;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-title-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-org,
.hero-title h1 {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 500;
  font-style: normal;
  color: var(--text);
}

.hero-org {
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.05;
  margin: 0 0 2rem;
}

.hero-logo {
  width: min(180px, 32vw);
  margin: 0 auto 2.25rem;
}

.hero-logo img {
  width: 100%;
  height: auto;
}

.hero-claim {
  margin: 0 auto 5rem;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.5;
  color: var(--text);
}

.hero-title h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 2.75rem;
}

.hero-title .button {
  margin-top: 0;
}

/* =========================
   SECTIONS GENERAL
========================= */

section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

h2,
h3 {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 500;
  font-style: normal;
  color: var(--text);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

p {
  margin: 0 0 1rem;
}

.section-intro {
  margin-bottom: 2.5rem;
}

.section-intro p {
  max-width: 34rem;
}

/* =========================
   PROGRAM SECTION
========================= */

.program-section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.program-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.program-intro h2 {
  margin-bottom: 1rem;
}

.program-intro p {
  max-width: 40rem;
  margin: 0 auto;
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 3.5rem;
  align-items: start;
}

.program-item {
  padding-bottom: 4rem;
  border-bottom: 24px solid var(--accent);
}

.program-date {
  margin-bottom: 0.45rem;
}

.program-date strong {
    position: relative;
    margin-left: 34px;
  color: var(--text);
  font-weight: 400;
    font-size: 1.5em;
    display: block;
}

.program-date strong::before {
content: "";
  position: absolute;
  top: 13px;
  left: -34px;
  width: 24px;
  height: 24px;
  background-color: var(--accent-2);
  border-radius: 12px;
}

.program-item h3 {
  margin-bottom: 0.7rem;
}

.program-meta {
  margin-bottom: 0.9rem;
}

.program-item p:last-of-type {
  margin-bottom: 1rem;
}

.program-item .button {
  margin-top: 0.25rem;
}

.program-image {
  margin: 0;
  align-self: start;
}

.program-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.program-image--portrait img {
}

/* =========================
   REUSABLE CONTENT SECTIONS
========================= */

.content-section {
  position: relative;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 4rem;
  align-items: start;
}

.content-section--image-left .content-grid {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.content-section--image-right .content-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.content-section--image-left .content-image {
  order: 1;
}

.content-section--image-left .content-text {
  order: 2;
}

.content-section--image-right .content-text {
  order: 1;
}

.content-section--image-right .content-image {
  order: 2;
}

.content-text {
  text-align: left;
}

.content-image {
  align-self: start;
}

.content-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =========================
   TEXT BLOCKS
========================= */

.text-block + .text-block {
  margin-top: 2rem;
}

.text-block p:last-child {
  margin-bottom: 0;
}

/* =========================
   CENTERED SECTIONS
========================= */

.center-section {
  text-align: center;
}

.center-section-inner {
  display: grid;
  gap: 3rem;
  justify-items: center;
}

.center-section--narrow .center-section-inner {
  gap: 0;
}

.center-block {
  max-width: 36rem;
}

.center-block p:last-child {
  margin-bottom: 0;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  text-align: right;
  font-size: 0.95rem;
}

.footer-inner a{
margin: 0 1em;
}

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

@media (max-width: 900px) {
  .program-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .program-image {
    display: none;
  }

  .content-grid,
  .content-section--image-left .content-grid,
  .content-section--image-right .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-wrap: wrap;
  }

  .hero-title {
    min-height: auto;
    padding: 4rem 0 5rem;
  }

  .hero-claim {
    margin-bottom: 4rem;
  }

  .logo {
    gap: 0.6rem;
    font-size: 1.05rem;
  }

  .logo img {
    width: 22px;
  }

  section,
  .program-section {
    padding: 4rem 0;
  }
}