/* ==========================================================================
   Clemens Morgenthaler – Bassbariton
   Neuaufbau der Startseite (ehemals FrontPage-Tabellenlayout)
   ========================================================================== */

:root {
  --bg: #000000;
  --frame: #383838;
  --frame-dark: #2b2b2b;
  --content-bg: #ffffff;
  --text: #1d2430;
  --text-invert: #f2f2f2;
  --muted: #5b6470;
  --accent: #c7a66a;
  --accent-soft: rgba(199, 166, 106, 0.16);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Verdana, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

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

/* --------------------------------------------------------------------------
   Barrierefreiheit
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  z-index: 10;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

/* --------------------------------------------------------------------------
   Grundgerüst
   -------------------------------------------------------------------------- */

.page-shell {
  width: min(1200px, 100% - 32px);
  margin: 24px auto;
  background: var(--frame);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Kopfbereich
   -------------------------------------------------------------------------- */

.topbar {
  display: grid;
  grid-template-columns: 155px 1fr;
  align-items: stretch;
  background: var(--frame-dark);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  line-height: 0;
}

.brand img {
  width: 155px;
  height: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--frame);
}

.masthead img {
  width: min(100%, 620px);
}

/* --------------------------------------------------------------------------
   Layout: Navigation + Inhalt
   -------------------------------------------------------------------------- */

.layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 480px;
}

.sidebar {
  background: var(--frame);
  padding: 24px 14px;
  border-right: 1px solid var(--line);
}

.nav-toggle {
  display: none;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  color: var(--text-invert);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  border-left: 3px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--accent-soft);
  border-left-color: var(--accent);
  color: #fff;
}

.nav-list a[aria-current="page"] {
  background: var(--accent-soft);
  border-left-color: var(--accent);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Inhalt
   -------------------------------------------------------------------------- */

.content {
  background: var(--content-bg);
  padding: 48px 48px 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 16px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  font-weight: 600;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-list li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(199, 166, 106, 0.4);
  color: #4a4030;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-portrait {
  margin: 0;
  padding: 8px;
  background: #f2ecdf;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--frame-dark);
  border-top: 1px solid var(--line);
  color: var(--text-invert);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  color: var(--text-invert);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 110px 1fr;
  }

  .brand img {
    width: 110px;
  }

  .layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text-invert);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .nav-toggle-icon {
    position: relative;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-icon::before {
    top: -6px;
  }

  .nav-toggle-icon::after {
    top: 6px;
  }

  .site-nav {
    display: none;
    margin-top: 10px;
  }

  .site-nav.is-open {
    display: block;
  }

  .content {
    padding: 28px 20px 36px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    justify-self: center;
    max-width: 260px;
  }
}

/* --------------------------------------------------------------------------
   Unterseiten: Grundelemente
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.page-header {
  margin-bottom: 28px;
}

.page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h2 {
  margin: 36px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

h2:first-child,
section:first-of-type > h2 {
  margin-top: 0;
}

h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.prose {
  max-width: 72ch;
}

.prose p {
  margin: 0 0 1em;
  line-height: 1.75;
  font-size: 0.95rem;
}

.prose section + section {
  margin-top: 36px;
}

.note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.88rem;
}

.note a {
  color: inherit;
}

.content a {
  color: #7a5f2e;
}

.content a:hover {
  color: var(--accent);
}

.flags {
  display: inline-flex;
  gap: 6px;
  vertical-align: middle;
  margin-left: 10px;
}

.flag {
  height: 16px;
  width: auto;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(199, 166, 106, 0.4);
  color: #4a4030;
  font-size: 0.68rem;
  font-weight: 700;
  vertical-align: middle;
}

/* Navigation: Unterpunkte (Repertoire) */

.nav-sublist {
  list-style: none;
  margin: 2px 0 4px;
  padding-left: 18px;
  display: grid;
  gap: 2px;
}

.nav-sublist a {
  font-size: 0.8rem;
  padding: 5px 12px;
}

/* --------------------------------------------------------------------------
   Tabellen (Repertoire, Konzerttermine)
   -------------------------------------------------------------------------- */

.table-scroll {
  overflow-x: auto;
}

.rep-table,
.concert-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.rep-table th,
.rep-table td,
.concert-table th,
.concert-table td {
  padding: 9px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.rep-table thead th,
.concert-table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 2px solid var(--accent);
}

.rep-table tbody th[scope="row"] {
  font-weight: 700;
  white-space: nowrap;
}

.rep-table tbody tr:hover,
.concert-table tbody tr:hover {
  background: rgba(199, 166, 106, 0.08);
}

.c-date {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Aufklappbereiche (Konzert-Saisons, Vorwort)
   -------------------------------------------------------------------------- */

details.season,
details.fold {
  margin: 12px 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

details.season > summary,
details.fold > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  background: rgba(199, 166, 106, 0.1);
}

details.season > summary::-webkit-details-marker,
details.fold > summary::-webkit-details-marker {
  display: none;
}

details.season > summary::after,
details.fold > summary::after {
  content: "▸";
  color: var(--accent);
  transition: transform 0.2s ease;
}

details[open].season > summary::after,
details[open].fold > summary::after {
  transform: rotate(90deg);
}

details.season summary h2 {
  margin: 0;
  font-size: 1.05rem;
}

details.season .count {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
  margin-left: auto;
  padding-right: 10px;
}

details.season .table-scroll,
details.fold .prose {
  padding: 6px 16px 16px;
}

/* --------------------------------------------------------------------------
   Kacheln, Karten und Listen
   -------------------------------------------------------------------------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.tile {
  display: block;
  padding: 26px 22px;
  background: rgba(199, 166, 106, 0.08);
  border: 1px solid rgba(199, 166, 106, 0.35);
  text-decoration: none;
  color: var(--text) !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.tile:hover {
  background: rgba(199, 166, 106, 0.18);
  transform: translateY(-2px);
}

.tile h2 {
  margin: 0 0 6px;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 72ch;
}

.pill-list li {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(199, 166, 106, 0.12);
  border: 1px solid rgba(199, 166, 106, 0.35);
  font-size: 0.85rem;
}

.dot-list {
  margin: 0 0 1em;
  padding-left: 20px;
  max-width: 78ch;
}

.dot-list li {
  margin-bottom: 8px;
  line-height: 1.65;
  font-size: 0.92rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}

.card-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 14px;
}

.card h2 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.card-sub {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.credits {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.cd-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Presse */

.press-quote {
  margin: 0 0 18px;
  padding: 18px 22px;
  max-width: 72ch;
  background: #fff;
  border-left: 4px solid var(--accent);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.press-quote p {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  line-height: 1.7;
}

.press-quote cite {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Interview */

.interview {
  margin-top: 20px;
}

.qa p {
  margin: 0 0 14px;
  line-height: 1.7;
  font-size: 0.93rem;
}

.qa-q p {
  color: #4a4030;
}

/* Galerie */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.photo {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px;
}

.photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.photo:hover img {
  transform: scale(1.03);
}

/* Hochschule */

.timeline {
  margin: 0;
  display: grid;
  gap: 14px;
  max-width: 72ch;
}

.timeline > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.timeline dt {
  font-weight: 700;
  color: #7a5f2e;
}

.timeline dd {
  margin: 0;
  line-height: 1.6;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.student {
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.student img {
  width: 100px;
  height: 134px;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.student-meta {
  margin: 0 0 8px;
  color: #7a5f2e;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.student-details {
  margin: 0;
  padding-left: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

.student-details li {
  margin-bottom: 4px;
  line-height: 1.5;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}

.cover {
  margin: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.cover img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 8px;
}

.cover figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.stella-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.stella-photo {
  margin: 0;
}

/* Downloads */

.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 60ch;
}

.download-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.filetype {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 4px;
  padding: 2px 6px;
}

/* Links */

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 60ch;
}

.link-list li {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.link-list a {
  font-weight: 700;
}

.link-sub {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Kontakt */

.contact-card {
  font-style: normal;
  max-width: 46ch;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.contact-card p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.contact-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-list {
  margin: 18px 0 0;
}

.contact-list > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-list dt {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  align-self: center;
}

.contact-list dd {
  margin: 0;
}

/* Responsive Feinheiten der Unterseiten */

@media (max-width: 860px) {
  .stella-layout {
    grid-template-columns: 1fr;
  }

  .timeline > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
