/* ============================================
   Don Horn Orchester – Elegant Dark Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,600;0,6..96,700;1,6..96,400;1,6..96,600&family=Jost:wght@300;400;500;600&display=swap');

/* --- Tokens --- */

:root {
  --bg: #141218;
  --surface: #1C1921;
  --surface-raised: #24212C;
  --gold: #C9A96E;
  --gold-dim: rgba(201, 169, 110, 0.35);
  --gold-hover: #D9BE88;
  --wine: #8B1A2B;
  --wine-hover: #A82840;
  --text: #E0D8CC;
  --text-bright: #F5F0E8;
  --text-muted: #847B8A;
  --border: rgba(201, 169, 110, 0.15);
  --border-strong: rgba(201, 169, 110, 0.3);
  --overlay: rgba(14, 12, 18, 0.7);
  --nav-bg: rgba(20, 18, 24, 0.92);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 50px rgba(0, 0, 0, 0.4);

  --font-display: 'Bodoni Moda', 'Didot', 'Georgia', serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-section: clamp(4rem, 8vh, 8rem);

  --max-width: 1400px;
  --max-text: 780px;
}

/* --- Reset & Base --- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--gold-hover);
}

/* --- Typography --- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--text-bright);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-block-end: var(--space-sm);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin-block-end: var(--space-xs);
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-block-end: var(--space-xs);
}

/* --- Layout --- */

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 80px);
}

.section {
  padding-block: var(--space-section);
}

.section--surface {
  background: var(--surface);
}

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

.text-narrow {
  max-width: var(--max-text);
  margin-inline: auto;
}

/* --- Logo Watermark --- */

.logo-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  width: 40vw;
  max-width: 460px;
  min-width: 240px;
}

.logo-watermark img {
  width: 100%;
  height: auto;
  opacity: 0.035;
}

/* --- Navigation --- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-block-end: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.nav--scrolled {
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo img {
  height: 60px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-block: 0.3rem;
  border-block-end: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--gold);
  border-block-end-color: var(--gold);
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-bright);
}

.nav__burger svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* --- Hero --- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-outdoor.jpg');
  background-size: cover;
  background-position: center 55%;
  filter: brightness(0.3) saturate(0.6);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-lg) clamp(24px, 5vw, 80px);
  max-width: 900px;
}

.hero__motto {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  font-variation-settings: 'opsz' 72;
  color: var(--text-bright);
  line-height: 1.08;
  margin-block-end: var(--space-md);
  letter-spacing: 0.01em;
}

.hero__accent {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: var(--space-md) auto;
}

.hero__text {
  font-size: 1.1rem;
  color: rgba(224, 216, 204, 0.75);
  line-height: 1.8;
  margin-block-end: var(--space-md);
  font-weight: 300;
}

.hero__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  padding: 0.9rem 2.8rem;
  border: 1px solid var(--gold-dim);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.hero__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

/* --- Testimonials (Prominent) --- */

.testimonials-section {
  padding-block: var(--space-xl);
  background: var(--surface);
  border-block-start: 1px solid var(--border);
  border-block-end: 1px solid var(--border);
}

.testimonials-section .section-label,
.testimonials-section h2 {
  text-align: center;
}

.testimonials-section h2 {
  margin-block-end: var(--space-lg);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 80px);
}

.testimonial {
  padding: 2.2rem;
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface-raised);
}

.testimonial__quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.4;
  position: absolute;
  top: 0.8rem;
  left: 1.5rem;
}

.testimonial__text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  margin-block-end: 1rem;
  padding-block-start: 1.5rem;
}

.testimonial__cite {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Band Section --- */

.band-section {
  padding-block: var(--space-section);
  background: var(--bg);
}

.band-intro {
  max-width: var(--max-text);
  margin-inline: auto;
  text-align: center;
  margin-block-end: var(--space-lg);
}

.band-intro p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-block-start: var(--space-sm);
  font-weight: 300;
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-block-end: var(--space-lg);
}

.portrait-card {
  text-align: center;
}

.portrait-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-block-end: 1rem;
  background: var(--surface-raised);
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.portrait-card:hover .portrait-card__image-wrap {
  border-color: var(--gold-dim);
}

.portrait-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.6s cubic-bezier(0.25, 0, 0.15, 1), filter 0.6s ease;
  filter: brightness(0.9);
}

.portrait-card:hover .portrait-card__image-wrap img {
  transform: scale(1.15);
  filter: brightness(1);
}

.portrait-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-block-end: 0.1rem;
  transition: color 0.4s ease;
}

.portrait-card:hover .portrait-card__name {
  color: var(--gold);
}

.portrait-card__nickname {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gold);
  margin-block-end: 0.25rem;
}

.portrait-card__instrument {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* --- Photo Divider --- */

.photo-divider {
  width: 100%;
  height: clamp(280px, 40vh, 520px);
  overflow: hidden;
  position: relative;
}

.photo-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.photo-divider--hall img {
  object-position: center center;
}

.photo-divider--instruments img {
  object-position: center 45%;
}

.photo-divider--instruments::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--surface) 0%,
    transparent 20%,
    transparent 80%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.photo-divider--fade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    transparent 15%,
    transparent 85%,
    var(--surface) 100%
  );
  pointer-events: none;
}

.photo-divider--fade-reverse::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--surface) 0%,
    transparent 15%,
    transparent 85%,
    var(--bg) 100%
  );
  pointer-events: none;
}

/* --- Repertoire --- */

.repertoire-section {
  padding-block: var(--space-section);
  background: var(--surface);
}

.repertoire {
  margin-block-end: var(--space-lg);
}

.genre-group {
  margin-block-end: var(--space-md);
}

.genre-group h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding-block-end: 0.5rem;
  border-block-end: 1px solid var(--border);
  margin-block-end: 0.7rem;
}

.genre-songs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}

.genre-songs span {
  font-size: 1rem;
  white-space: nowrap;
  color: var(--text);
  font-weight: 300;
}

.repertoire-hint {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
  margin-block-end: 0.3rem;
}

.repertoire-motto {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  margin-block-end: 0;
}

/* --- Anlaesse --- */

.occasions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-block-end: var(--space-lg);
}

.occasion-tag {
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--border);
  color: var(--text);
  letter-spacing: 0.06em;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.occasion-tag:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* --- Kontakt --- */

.contact-section {
  padding-block: var(--space-section);
  background: var(--bg);
}

.contact {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

.contact h2 {
  margin-block-end: var(--space-sm);
}

.contact > p {
  color: var(--text-muted);
  margin-block-end: var(--space-md);
  font-weight: 300;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  margin-block-end: var(--space-md);
}

.contact__item {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.contact__item svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.contact__item a {
  color: var(--text);
  font-weight: 400;
}

.contact__item a:hover {
  color: var(--gold);
}

.contact__social {
  margin-block-start: var(--space-md);
}

.contact__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.contact__social a:hover {
  color: var(--gold);
}

.contact__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Divider --- */

.divider {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-md) auto;
  border: none;
  opacity: 0.5;
}

/* --- Footer --- */

.footer {
  padding-block: var(--space-md);
  border-block-start: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

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

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

/* --- Impressum Modal --- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 14, 0.8);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay--open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--surface-raised);
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  border: 1px solid var(--border);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.3rem;
  transition: color 0.2s;
}

.modal__close:hover {
  color: var(--gold);
}

.modal__close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.modal h2 {
  font-size: 1.5rem;
  margin-block-end: var(--space-sm);
  color: var(--text-bright);
}

.modal p {
  margin-block-end: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal a {
  color: var(--gold);
}

/* --- Wide screens --- */

@media (min-width: 1500px) {
  :root {
    --max-width: 1600px;
  }

  .portrait-grid {
    gap: 2.5rem;
  }

  .testimonials {
    gap: 2.5rem;
  }

  .hero__motto {
    font-size: 5.5rem;
  }
}

@media (min-width: 1900px) {
  :root {
    --max-width: 1800px;
  }
}

/* --- Tablet & Mobile --- */

@media (max-width: 899px) {
  .portrait-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .hero {
    min-height: 90vh;
  }
}

@media (max-width: 639px) {
  :root {
    --space-section: 4rem;
  }

  .container {
    padding-inline: 20px;
  }

  .testimonials {
    padding-inline: 20px;
  }

  .nav__inner {
    padding-inline: 16px;
  }

  .nav__links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-block: 0.5rem;
    border-block-end: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  .nav__links--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    border-block-end: none;
  }

  .nav__burger {
    display: block;
  }

  .portrait-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .portrait-card__name {
    font-size: 1rem;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero__motto {
    font-size: clamp(2.4rem, 10vw, 3.6rem);
  }

  .hero__cta {
    padding: 0.75rem 2rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .testimonial__text {
    font-size: 1.05rem;
  }

  .photo-divider {
    height: clamp(180px, 35vh, 300px);
  }

  .genre-songs {
    gap: 0.3rem 1rem;
  }

  .occasions {
    gap: 0.4rem;
  }

  .occasion-tag {
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
  }
}

@media (max-width: 400px) {
  .portrait-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  .portrait-card__nickname {
    display: none;
  }

  .portrait-card__name {
    font-size: 0.9rem;
  }

  .portrait-card__instrument {
    font-size: 0.75rem;
  }
}

/* --- Print --- */

@media print {
  .nav, .hero__cta, .modal-overlay, .logo-watermark {
    display: none;
  }

  body {
    background: #fff;
    color: #1a1a1a;
  }

  .hero {
    min-height: auto;
    padding: 2rem;
  }

  .section,
  .testimonials-section,
  .band-section,
  .repertoire-section,
  .contact-section {
    padding-block: 2rem;
    background: #fff;
  }

  h1, h2, h3 {
    color: #1a1a1a;
  }
}
