/* Basis-Styles – keine externen Schriften, um Datenschutz zu vereinfachen */
:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card-bg: #101727;
  --accent: #f39c12;
  --accent-soft: rgba(243, 156, 18, 0.12);
  --text: #f5f7ff;
  --text-muted: #a7b0d0;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --radius-xl: 18px;
  --radius-xxl: 26px;
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 80px;
  font-size: 133%;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #192a56 0, #050816 55%);
  color: var(--text);
  line-height: 1.6;
}

/* Layout */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.96), rgba(5, 8, 22, 0.75));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.topbar-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-shrink: 0;
  min-width: 0;
}

.logo-icon {
  font-size: 1.3rem;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-left: auto;
  white-space: nowrap;
  font-size: 0.78rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.02);
}

.hero {
  max-width: var(--max-width);
  margin: 2.5rem auto 2rem;
  padding: 1.75rem 1.25rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas:
    "heading photo"
    "copy photo";
  gap: 1.75rem;
  align-items: start;
}

.hero-heading {
  grid-area: heading;
}

.hero-copy {
  grid-area: copy;
}

.hero-heading h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin: 0 0 0.75rem;
}

.hero-copy p {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 36rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f39c12, #f1c40f);
  color: #1b1b1b;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(243, 156, 18, 0.45);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(243, 156, 18, 0.55);
}

.hero-photo {
  grid-area: photo;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.photo-placeholder {
  border-radius: var(--radius-xxl);
  background: radial-gradient(circle at top left, rgba(243, 156, 18, 0.12), rgba(5, 8, 22, 0.9));
  min-height: 220px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
}

.photo-placeholder span {
  font-weight: 500;
}

.photo-placeholder small {
  margin-top: 0.35rem;
  font-size: 0.78rem;
}

.photo-placeholder.small {
  min-height: 110px;
  border-radius: var(--radius-xl);
  box-shadow: none;
}

.section {
  padding: 1.5rem 1.25rem;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(243, 156, 18, 0.04), transparent 60%);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.section p {
  font-size: 0.97rem;
  color: var(--text-muted);
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: flex-start;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9rem;
}

.about-layout {
  grid-template-areas:
    "heading gallery"
    "copy gallery";
}

.about-heading {
  grid-area: heading;
}

.about-copy {
  grid-area: copy;
}

.about-gallery {
  grid-area: gallery;
}

.pill-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.9;
}

.table-wrapper {
  margin-top: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background: rgba(5, 8, 22, 0.8);
  box-shadow: var(--shadow-soft);
}

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

.dates-table th,
.dates-table td {
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.dates-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 500;
}

.dates-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.dates-table tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 0.75rem;
}

.video-placeholder {
  border-radius: var(--radius-xl);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at top left, var(--accent-soft), rgba(5, 8, 22, 0.9));
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 0.75rem;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.code-hint {
  margin-top: 0.75rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 0.7rem;
  overflow: auto;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.code-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Kontakt */
.contact-section {
  align-items: stretch;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.icon {
  width: 1.3rem;
  text-align: center;
}

.card {
  padding: 1rem 1rem 1.1rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(243, 156, 18, 0.12), #050816);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

/* Footer */
.footer {
  margin-top: 2rem;
  padding: 1.1rem 1.25rem 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text);
}

/* Impressum/Datenschutz Grundlayout */
.page {
  max-width: 820px;
  margin: 2rem auto;
  padding: 0 1.25rem 3rem;
}

.page h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.page h2 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page p,
.page li {
  font-size: 0.93rem;
  color: var(--text-muted);
}

.page small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "photo"
      "copy";
  }
  .two-columns,
  .media-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-layout {
    grid-template-areas:
      "heading"
      "gallery"
      "copy";
  }
}

@media (max-width: 700px) {
  .topbar {
    padding: 0.7rem 1rem;
  }

  .topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.55rem;
  }

  .logo {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon name"
      "icon sub";
    align-items: center;
    column-gap: 0.45rem;
    row-gap: 0.05rem;
    min-width: 0;
  }

  .logo-icon {
    grid-area: icon;
  }

  .logo-text {
    grid-area: name;
    font-size: 1rem;
    line-height: 1.1;
  }

  .logo-sub {
    grid-area: sub;
    font-size: 0.72rem;
    line-height: 1.1;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    margin-left: 0;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin: 0.05rem 0 0;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    font-size: 0.9rem;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
  }

  .hero {
    margin-top: 1.75rem;
  }

  .table-wrapper {
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .dates-table,
  .dates-table thead,
  .dates-table tbody,
  .dates-table tr,
  .dates-table th,
  .dates-table td {
    display: block;
    width: 100%;
  }

  .dates-table thead {
    display: none;
  }

  .dates-table tbody {
    display: grid;
    gap: 0.9rem;
  }

  .dates-table tr {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    background: rgba(5, 8, 22, 0.8);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }

  .dates-table td {
    display: grid;
    grid-template-columns: minmax(88px, 110px) minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    word-break: break-word;
  }

  .dates-table td:last-child {
    border-bottom: none;
  }

  .dates-table td::before {
    content: attr(data-label);
    color: var(--text);
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .hero-heading h1 {
    font-size: 1.8rem;
  }

  .dates-table td {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .dates-table td::before {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent);
  }
}


/* Bildanpassung in den Platzhalter-Kästen */
.photo-placeholder {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: block;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.photo-placeholder.small {
  min-height: 110px; /* behält ungefähre Höhe wie vorher */
}

/* Lightbox-Styles */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.lightbox.is-visible {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  margin: 0;
  padding: 0;
  z-index: 1;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Fix: Kleine Vorschau-Bilder sollen immer den Kasten füllen === */

/* Kasten-Größe für kleine Thumbnails */
.photo-grid .photo-placeholder.small {
  position: relative;
  width: 100%;
  height: 140px;      /* Höhe der kleinen Kästen – kannst du anpassen (z.B. 120/160) */
  padding: 0;         /* kein Innenabstand, damit das Bild wirklich den ganzen Kasten bekommt */
  overflow: hidden;   /* alles, was übersteht, wird abgeschnitten */
}

/* Bild im Kasten: skaliert & zugeschnitten */
.photo-grid .photo-placeholder.small img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* wichtig: füllt den Rahmen, ggf. beschnitten */
  display: block;
  border-radius: inherit;
}

/* === Video-Karten === */

.video-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.video-card {
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, var(--accent-soft), #050816);
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

/* === Video-Thumbnails im 16:9 Format === */

/* === Video-Thumbnails: Bild komplett zeigen, nichts abschneiden === */

.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;   /* klassisches Videoformat */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35); /* dezenter Rand bei nicht ganz passendem Format */
  padding: 4px;                    /* kleiner Innenabstand, damit nichts „klebt“ */
  box-sizing: border-box;
}

.video-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;     /* wichtig: Bild komplett zeigen */
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.video-info {
  padding: 0.8rem;
  font-size: 0.9rem;
}

.video-info span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-contact {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.hero-contact a:hover {
  text-decoration: underline;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}/* === Hero Kontakt Buttons – beide gelb, schwarze Schrift === */

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, #f39c12, #f1c40f);
  color: #000 !important;       /* IMMER schwarz */
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(243, 156, 18, 0.45);
}

.hero-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(243, 156, 18, 0.55);
  color: #000 !important;       /* bleibt schwarz */
}

/* Hero Buttons: Link-Styling komplett überschreiben */

.hero-actions a,
.hero-actions a:visited,
.hero-actions a:hover,
.hero-actions a:active {
  color: #000 !important;
  text-decoration: none !important;
}

/* Icon-Alignment fix */
.hero-actions svg {
  vertical-align: middle;
  position: relative;
  top: -1px;      /* nach unten schieben – ggf. 1px oder 3px testen */
}

.back-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.7;
}


a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* Optional: nur ergänzen, falls die neuen Kategorie-Überschriften noch etwas Struktur bekommen sollen */

.repertoire-group {
  margin-bottom: 1.8rem;
}

.repertoire-group h3, .extrastrong {
  margin-bottom: 0.6rem;
}

.lightbox-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  margin: 0;
  z-index: 2;
}

#lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
}

.lightbox-caption {
  margin-top: 0.75rem;
  padding: 0 1rem;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
  background: none;
  position: static;
  z-index: 3;
}