/* =========================================================
   1. LOKALE SCHRIFTEN DEFINIEREN (DSGVO-konform)
   ========================================================= */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-v27-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-v27-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-v15-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/source-sans-3-v15-latin-italic.woff2') format('woff2');
}

/* =========================================================
   2. GRUNDTYPOGRAFIE & ZEILENABSTAND
   ========================================================= */
:root {
  --cassiopeia-font-family-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --cassiopeia-font-family-headings: 'EB Garamond', Georgia, serif;
}

body {
  font-family: var(--cassiopeia-font-family-body);
  line-height: 1.75; /* Ruhiger Zeilenabstand für lange Programm- & Vita-Texte */
}

h1, h2, h3, h4, .navbar-brand {
  font-family: var(--cassiopeia-font-family-headings);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* =========================================================
   3. KOPFZEILE & LOGO
   ========================================================= */
.container-header {
  border-bottom: 1px solid #e5e2dc;
}

.container-header .navbar-brand img {
  max-height: 65px; /* Proportional verkleinertes Logo */
  width: auto;
  height: auto;
}

@media (max-width: 767px) {
  .container-header .navbar-brand img {
    max-height: 50px;
  }
}
/* Höhe der Kopfzeile (Logo-Balken) reduzieren */
.container-header .grid-child {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.container-header .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 1.5rem;
}

/* =========================================================
   4. STARTSEITEN-BANNER (GROSSES ENSEMBLEFOTO)
   ========================================================= */
.container-banner img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center 25%; /* Hält Gesichter bei Porträts im Fokus */
}

/* =========================================================
   5. KONZERTKALENDER, EINSPIELUNGEN & TICKET-BUTTONS
   ========================================================= */
.com-content-category-blog__item {
  border-bottom: 1px solid #e5e2dc;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.fields-container {
  margin: 0.75rem 0 1.25rem 0;
  padding-left: 1rem;
  border-left: 2px solid #7a2e2e;
  font-size: 0.95rem;
}

.fields-container .field-entry a {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid #7a2e2e;
  color: #7a2e2e;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.fields-container .field-entry a:hover {
  background-color: #7a2e2e;
  color: #ffffff;
}
/* =========================================================
   6. KOMPAKTE KONZERT-VORSCHAU AUF DER STARTSEITE
   ========================================================= */
.container-bottom-a .mod-articles-item {
  border-bottom: 1px solid #e5e2dc;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.container-bottom-a .mod-articles-item:last-child {
  border-bottom: none;
}

/* Felder in der Startseiten-Vorschau dezent nebeneinander darstellen */
.container-bottom-a .fields-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0.4rem 0 0.6rem 0;
  padding-left: 0.75rem;
  font-size: 0.9rem;
}
/* Logo und Seitentitel / Unterüberschrift nebeneinander anordnen */
.container-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 1,5rem; /* Abstand zwischen Logo-Bild und Text */
}

/* Abstand direkt rechts neben dem Logo-Bild erzwingen */
.container-header .navbar-brand img {
  max-height: 75px;
  width: auto;
  height: auto;
  margin-right: 5.2rem; /* <-- Schiebt die Unterüberschrift zuverlässig nach rechts */
}

/* Orchestername (Unterüberschrift) neben dem Logo */
.container-header .site-description {
  margin: 0;
  font-family: var(--cassiopeia-font-family-headings);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.2;
  color: #222222;
}


/* Auf kleinen Smartphone-Bildschirmen etwas kompakter */
@media (max-width: 767px) {
  .container-header .site-description {
    font-size: 1.25rem;
  }
}
