/* ════════════════════════════════════════
   ATMOS QUARTETT
   Design language: geometric, structural,
   derived from the logo's condensed
   architectural letterforms + Q-tail fade
   ════════════════════════════════════════ */

:root {
  --bg: #F8F7F4;
  --bg-warm: #F0EDE7;
  --bg-panel: #EDEAE4;
  --white: #FDFCFA;
  --charcoal: #4A4543;
  --charcoal-deep: #2C2926;
  --text: #3A3735;
  --text-mid: #6B6562;
  --text-quiet: #A09A94;
  --text-whisper: #C4BFB8;
  --rule: #DDD8D1;
  --rule-light: #E8E4DE;
  --accent: #8A7D6B;
  --accent-hover: #6E6354;
  --font-body: 'Outfit', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ═══════════════ NAV ═══════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  overflow: hidden;        /* clips Q-tail below nav bottom edge */
  padding: 0 48px;
  transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow  0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
  background: rgba(248, 247, 244, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--rule-light);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: block;
  align-self: flex-start;   /* anchor to top so logo overflows at bottom */
  padding-top: 8px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 120px;             /* Q-tail clips ~24px below nav edge */
  width: auto;
  display: block;
  transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* No size change on scroll */

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s;
}

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

/* on hero: light text */
nav:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.65);
}

nav:not(.scrolled) .nav-links a:hover {
  color: rgba(255, 255, 255, 0.92);
}

nav:not(.scrolled) .nav-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

/* ═══════════════ HERO ═══════════════
   The logo IS the hero. No competing photo.
   Subtle atmospheric texture behind.
   Q-tail fade is the scroll indicator.
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--charcoal-deep);
}

/* atmospheric bg image — extremely subtle */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-atmosphere img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: saturate(0.3) brightness(0.6);
}

/* soft vignette */
.hero-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--charcoal-deep) 80%);
}

/* Mobile: portrait image fills the hero naturally.
   Gradient top/bottom so illustration feels atmospheric, not framed. */
@media (max-width: 600px) {
  .hero-atmosphere img {
    object-fit: cover;
    object-position: center 72%;
    opacity: 0.3;
  }
  .hero-atmosphere::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to bottom,
      var(--charcoal-deep)  0%,
      transparent          28%,
      transparent          72%,
      var(--charcoal-deep) 100%
    );
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
}

.hero-logo {
  width: min(520px, 65vw);
  margin-bottom: 0;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

/* the logo image already has the Q-tail fade —
   we just let it breathe with generous space below */
.hero-tagline {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.32);
  margin-top: -8px;
}

.hero-cta {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  align-items: center;
}

.hero-cta a {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-cta a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.hero-cta .dot {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
  animation: fade-pulse 3s ease-in-out infinite;
}

@keyframes fade-pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.8);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ═══════════════ SECTION SYSTEM ═══════════════ */
.section {
  padding: 120px 0;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-condensed);
  font-weight: 300;
  font-size: 3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.05;
  margin-bottom: 8px;
}

/* the fade-rule: a horizontal line that fades out,
   echoing the Q-tail motif */
.fade-rule {
  width: 120px;
  height: 1px;
  background: linear-gradient(to right, var(--rule), transparent);
  margin: 20px 0 32px;
}

.fade-rule.center {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(to right, transparent, var(--rule), transparent);
}

/* ═══════════════ QUARTETT ═══════════════ */
.quartett {
  background: var(--bg);
}

.quartett-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.quartett-text p {
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 16px;
  max-width: 440px;
}

.quartett-action {
  margin-top: 36px;
}

.quartett-action a {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s, color 0.3s;
}

.quartett-action a:hover {
  gap: 16px;
  color: var(--accent-hover);
}

.quartett-action a .arrow {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  position: relative;
  transition: width 0.3s;
}

.quartett-action a:hover .arrow {
  width: 36px;
}

.quartett-action a .arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--accent);
  border-top: 1px solid var(--accent);
  transform: rotate(45deg);
}

/* photo composition — asymmetric, one tall + one wide */
.quartett-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 260px;
  gap: 8px;
}

.quartett-photos .p-tall {
  grid-row: 1 / 3;
}

.quartett-photos .p-wide {
  grid-column: 1 / 3;
  grid-row: auto;
}

.quartett-photos .photo {
  overflow: hidden;
  border-radius: 3px;
}

.quartett-photos .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.97);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.quartett-photos .photo:hover img {
  transform: scale(1.04);
}

/* ═══════════════ SECTION BRIDGE ═══════════════
   Hidden — re-enable by removing display:none
   ═══════════════════════════════════════════════ */
.section-bridge {
  display: none;
}

.bridge-img {
  position: absolute;
  width: 100%;
  height: 150%;
  top: -25%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.45) brightness(0.72);
  will-change: transform;
  pointer-events: none;
}

/* ═══════════════ MEDIA ═══════════════ */
.media {
  background: var(--bg-warm);
}

.media-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.media-text p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 400px;
}

/* ── Players ── */
.players {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.player {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--rule-light);
  border-radius: 4px;
  transition: box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
}

.player:hover {
  border-color: var(--rule);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.play-btn:hover {
  transform: scale(1.08);
}

.play-btn svg {
  width: 10px;
  height: 10px;
  fill: var(--bg);
  margin-left: 1px;
}

.player-info {
  flex: 1;
  min-width: 0;
}

.player-title {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--text);
}

.player-meta {
  font-size: 0.68rem;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.player-bar {
  height: 1.5px;
  background: var(--rule-light);
  border-radius: 1px;
  position: relative;
}

.player-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--charcoal);
  border-radius: 1px;
}

.player-time {
  font-family: var(--font-condensed);
  font-size: 0.68rem;
  color: var(--text-quiet);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

/* visual column — always on the left */
.media-visual {
  display: flex;
  flex-direction: column;
  gap: 8px;
  order: -1;
}

.media-photo {
  height: 240px;
  overflow: hidden;
  border-radius: 3px;
}

.media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
}

.video-slot {
  height: 200px;
  background: var(--charcoal-deep);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.video-slot:hover {
  background: #222019;
}

.video-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
}

.video-slot:hover .video-icon {
  border-color: rgba(255, 255, 255, 0.25);
}

.video-icon svg {
  width: 14px;
  height: 14px;
  fill: rgba(255, 255, 255, 0.5);
  margin-left: 2px;
}

.video-label {
  font-family: var(--font-condensed);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

/* ═══════════════ TERMINE ═══════════════ */
.termine {
  background: var(--bg);
}

.termine-header {
  text-align: center;
  margin-bottom: 48px;
}

.termine-header .fade-rule {
  margin: 20px auto 0;
}

.termine-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.termin {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-light);
}

.termin:first-child {
  border-top: 1px solid var(--rule-light);
}

.termin-date {
  flex-shrink: 0;
  width: 80px;
}

.termin-day {
  font-family: var(--font-condensed);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.termin-month {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.termin-body {
  flex: 1;
}

.termin-title {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text);
}

.termin-venue {
  font-size: 0.8rem;
  color: var(--text-mid);
}

.termin-time {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  color: var(--text-mid);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

/* ═══════════════ KONTAKT ═══════════════ */
.kontakt {
  background: var(--bg);
}

.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.kontakt-role {
  font-family: var(--font-condensed);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.kontakt-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 14px;
}

.kontakt-line svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-quiet);
  fill: none;
  stroke-width: 1.4;
  flex-shrink: 0;
}

.kontakt-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.btn-solid {
  background: var(--charcoal);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--charcoal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--rule);
}

.btn-ghost:hover {
  border-color: var(--text-quiet);
  color: var(--text);
}

.kontakt-photo {
  height: 460px;
  overflow: hidden;
  border-radius: 3px;
}

.kontakt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
}

/* ═══════════════ FOOTER ═══════════════ */
footer {
  background: var(--charcoal-deep);
}

/* Main footer grid */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
}

.footer-logo img {
  height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  font-weight: 300;
  font-style: italic;
}

.footer-col-label {
  font-family: var(--font-condensed);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 20px;
}

/* Footer navigation */
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: rgba(255,255,255,0.82);
}

/* Footer contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact p,
.footer-contact a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.52);
  transition: color 0.3s;
  line-height: 1.5;
}

.footer-contact a:hover {
  color: rgba(255,255,255,0.82);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 48px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 28px;
}

.footer-legal a {
  font-family: var(--font-condensed);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.65);
}

.footer-copy {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* ═══════════════ ANIMATIONS ═══════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.vis {
  opacity: 1;
  transform: none;
}

.reveal-d1 {
  transition-delay: 0.1s;
}

.reveal-d2 {
  transition-delay: 0.2s;
}

/* ═══ Termine temporarily hidden — re-enable by removing this rule ═══ */
.section.termine { display: none; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 900px) {

  .quartett-layout,
  .media-layout,
  .kontakt-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kontakt-photo {
    height: 300px;
  }

  .section {
    padding: 80px 0;
  }

  .section-inner {
    padding: 0 28px;
  }

  .section-heading {
    font-size: 2.4rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 56px 28px 40px;
  }

  .footer-brand {
    grid-column: 1 / 3;
  }

  .footer-bottom {
    padding: 16px 28px 28px;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 14px 20px;
  }

  nav.scrolled {
    padding: 10px 20px;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    gap: 18px;
    width: 100%;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }

  .nav-logo {
    display: none;         /* logo hidden on mobile — visible in hero instead */
  }

  .nav-inner {
    justify-content: center;
  }

  .hero-logo {
    width: 80vw;
  }

  .hero-tagline {
    font-size: 0.85rem;
  }

  .hero-cta {
    margin-top: 32px;
    gap: 14px 22px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .quartett-photos {
    grid-template-rows: 160px 200px;
  }


  .termin {
    flex-wrap: wrap;
    gap: 8px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px 28px;
  }
}