/* ==========================================================================
   Geschwister Kainz — Stylesheet
   ========================================================================== */

   @font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
  }
  @font-face {
    font-family: 'Work Sans';
    src: url('../fonts/work-sans-latin-300-normal.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Work Sans';
    src: url('../fonts/work-sans-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Work Sans';
    src: url('../fonts/work-sans-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Work Sans';
    src: url('../fonts/work-sans-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }


:root {
  /* --- Farben (Markenvorgabe) --- */
  --bg-light: #d2d0ca;      /* helles Beige — Standard-Hintergrund */
  --bg-dark:  #605d5f;      /* dunkles Beige/Grau — Wechsel-Hintergrund */
  --bg-white: #ffffff;      /* neutrale, helle Flächen */

  --text-main:   #1c1a19;   /* Schwarz (leicht weicher als reines #000) */
  --text-muted:   #1c1a1952;   /* Schwarz (leicht weicher als reines #000) */
  --text-invert: #f3f1ec;   /* helle Schrift auf dunklem Grau */
  --accent:      #80482f;   /* Braun — Akzent, nur auf hell/weiß */
  --accent-cool: #557fe0;   /* Blau — sparsamer Zweitakzent, nur auf dunklem Grau */

  /* --- Typografie --- */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Abstände --- */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --max-text: 42rem;
  --max-wide: 78rem;
}

/* --- Reset & Basis --- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

p { margin: 0 0 var(--space-sm); }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

section { position: relative; }

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

.wrap {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.text-col {
  max-width: var(--max-text);
}

.eyebrow-plain {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: inherit;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { text-decoration: none; }

.btn-accent {
  color: var(--bg-white);
  background: var(--accent);
  border-color: var(--accent);
}
@media (hover: hover) {
  .btn-accent:hover {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
  }
}
@media (hover: hover) {
  .btn:not(.btn-accent):hover {
    background: var(--text-main);
    color: var(--bg-white);
    border-color: var(--text-main);
  }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--space-md);
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background-color 0.15s linear, backdrop-filter 0.15s linear, padding 0.35s ease, box-shadow 0.35s ease;
}

/* Hintergrund/Blur werden per JS kontinuierlich als Inline-Style gesetzt
   (--nav-bg-alpha / --nav-blur), damit der Übergang beim Scrollen weich
   mitläuft statt bei einer Schwelle hart umzuschalten. */
.nav {
  background: rgba(255, 255, 255, var(--nav-bg-alpha, 0));
  backdrop-filter: blur(var(--nav-blur, 0px));
  -webkit-backdrop-filter: blur(var(--nav-blur, 0px));
}

.nav.is-scrolled {
  padding: 0.7rem var(--space-md);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-main);
  transition: color 0.25s ease;
}
.nav__links a { transition: color 0.25s ease; }
.nav.is-scrolled .nav__brand,
.nav.is-scrolled .nav__links a { color: var(--text-main); }
.nav:not(.is-scrolled) .nav__brand,
.nav:not(.is-scrolled) .nav__links a { color: var(--text-invert); }

.nav__brand img {
  height: 34px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.nav__links a:hover { text-decoration: none; opacity: 0.7; }

.nav__toggle {
  display: none;
  position: relative;
  z-index: 110;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  transition: color 0.25s ease;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  color: inherit;
  transition: transform 0.3s ease, opacity 0.3s 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); }
.nav__toggle.is-open { color: var(--text-main) !important; }
.nav:not(.is-scrolled) .nav__toggle { color: var(--text-invert); }
.nav.is-scrolled .nav__toggle { color: var(--text-main); }

@media (max-width: 780px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(75vw, 320px);
    background: var(--bg-white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 6rem 2rem 2rem;
    gap: 0;
    box-shadow: -12px 0 32px rgba(0,0,0,0.18);
    transition: right 0.35s ease;
    z-index: 101;
  }
  .nav__links.is-open { right: 0; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    color: var(--text-main) !important;
    font-family: var(--font-display);
    font-size: 1.2rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(28,26,25,0.12);
  }
  .nav__links li:last-child a { border-bottom: none; }
  .nav__links a:hover { color: var(--accent) !important; opacity: 1; }
  .nav__toggle { display: block; }
}

.nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28,26,25,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 90;
}
.nav__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  min-height: 100vh;
}
@supports (min-height: 100svh) {
  .hero { min-height: 100svh; }
}
.hero {
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(28,26,25,0.35) 0%, rgba(28,26,25,0.55) 100%), url('../images/hero.png') center/cover no-repeat;
  color: var(--text-invert);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
}

.hero__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  width: 100%;
}

.hero__kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
  opacity: 0.95;
}

.hero h1 {
  color: var(--text-invert);
  margin-bottom: var(--space-sm);
}

.hero__tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 34rem;
  margin-bottom: var(--space-md);
  opacity: 0.95;
}

/* ==========================================================================
   Section shared
   ========================================================================== */

.section {
  padding: var(--space-xl) var(--space-md);
}
.section--light { background: var(--bg-light); color: var(--text-main); }
.section--dark  { background: var(--bg-dark);  color: var(--text-invert); }
.section--white { background: var(--bg-white); color: var(--text-main); }

.section--dark .eyebrow-plain,
.section--dark a { color: var(--accent-cool); }

.section__head {
  max-width: var(--max-text);
  margin: 0 auto var(--space-lg);
  text-align: left;
}

/* ==========================================================================
   Musik / Videos
   ========================================================================== */

.video-privacy {
  max-width: var(--max-wide);
  margin: calc(var(--space-lg) * -0.6) auto var(--space-sm);
  text-align: right;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.video-privacy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

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

.video-grid {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  background: #000;
}

.video-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: none;
  cursor: pointer;
  background: #000;
  display: block;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.video-facade:hover img { transform: scale(1.03); opacity: 0.85; }

.video-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-facade__play::before {
  content: '';
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--bg-white);
  margin-left: 4px;
}
.video-facade:hover .video-facade__play { background: var(--text-main); }

.video-more {
  text-align: center;
  margin-top: var(--space-lg);
}

.video-card__caption {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}
.video-card__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }

  .video-privacy {
    margin-top: calc(var(--space-lg) * -0.65);
    text-align: left;
  }
}

/* ==========================================================================
   Über uns
   ========================================================================== */

   .about {
    max-width: 54rem;
    margin: 0 auto;
  }
  
  .about__image {
    float: right;
    width: 360px;
    max-width: 46%;
    margin: 0.3rem 0 1.5rem 2.5rem;
  }
  .about__image img {
    width: 100%;
    height: auto;
  }
  .about__caption {
    margin-top: 0.6rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.9rem;
    color: var(--accent);
  }
  
  .about__head { margin-bottom: var(--space-sm); }
  
  .about__lead { font-size: 1.15rem; }
  .about__lead::first-letter {
    font-family: var(--font-display);
    font-size: 3.6rem;
    font-weight: 500;
    float: left;
    line-height: 0.78;
    padding: 0.15rem 0.5rem 0 0;
    color: var(--accent);
  }
  
  .about__grid {
    clear: both;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md) var(--space-lg);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(28,26,25,0.15);
  }
  
  @media (max-width: 700px) {
    .about__image { float: none; width: 100%; max-width: 320px; margin: 0 auto 1.5rem; display: block; }
    .about__grid { grid-template-columns: 1fr; }
  }

/* ==========================================================================
   Auftritte / Highlights
   ========================================================================== */
/* --- Slideshow --- */
.slideshow {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.slideshow__stage {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slideshow__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.25s ease;
  z-index: 2;
}
.slideshow:hover .slideshow__nav,
.slideshow__nav:focus-visible { opacity: 1; }
.slideshow__nav:hover { background: var(--bg-white); }
.slideshow__nav::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  border-top: 2px solid var(--text-main);
  border-right: 2px solid var(--text-main);
}
.slideshow__nav--prev { left: 1rem; }
.slideshow__nav--next { right: 1rem; }
.slideshow__nav--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.slideshow__nav--next::before { transform: translate(-70%, -50%) rotate(45deg); }

.slideshow__caption { position: relative; }

.slide-caption {
  display: none;
  animation: captionIn 0.6s ease both;
}
.slide-caption.is-active { display: block; }
@keyframes captionIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-caption__date {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-cool);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.slide-caption h3 { color: var(--text-invert); }

.slideshow__dots {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-md);
}
.slideshow__dots button {
  width: 34px;
  height: 3px;
  padding: 0;
  border: none;
  cursor: pointer;
  background: rgba(243,241,236,0.35);
  transition: background 0.3s ease;
}
.slideshow__dots button.is-active { background: var(--accent-cool); }

@media (max-width: 900px) {
  .slideshow { grid-template-columns: 1fr; gap: var(--space-md); }
  .slideshow__stage { aspect-ratio: 4 / 3; }
  .slideshow__nav { opacity: 1; width: 40px; height: 40px; }
}

/* --- Zitat, dezent unter der Slideshow --- */
.quote-inline {
  max-width: 40rem;
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(243,241,236,0.18);
  text-align: center;
}

.quote-inline p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.45;
  color: var(--text-invert);
  margin: 0 0 0.9rem;
}

.quote-inline cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cool);
  opacity: 0.85;
}
.quote-inline cite::before {
  content: '— ';
}

@media (max-width: 700px) {
  .quote-inline p { font-size: 1.2rem; }
}


/* ==========================================================================
   Facts
   ========================================================================== */

.facts {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg) var(--space-lg);
}

.facts dt {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.facts dd {
  margin: 0 0 var(--space-md);
}

@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */

.contact {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact__list {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  font-size: 1.15rem;
}
.contact__list li { margin-bottom: 0.8rem; }
.contact__list a { color: var(--text-main); border-bottom: 1px solid var(--accent); }
.contact__list a:hover { color: var(--accent); text-decoration: none; }

.form {
  display: grid;
  gap: var(--space-sm);
}
.form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}
.form input,
.form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--bg-dark);
  border-radius: 2px;
  background: var(--bg-white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
}
.form textarea { resize: vertical; min-height: 120px; }
.form button { justify-self: start; cursor: pointer; }

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

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--bg-dark);
  color: var(--text-invert);
  padding: var(--space-md);
  text-align: center;
  font-size: 0.85rem;
}
.footer a {
  color: var(--text-invert);
  opacity: 0.8;
}
.footer a:hover { opacity: 1; }
.footer__links {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Simple sub-page layout (Impressum / Datenschutz)
   ========================================================================== */

.page-header {
  padding: calc(var(--space-xl) + 2rem) var(--space-md) var(--space-lg);
  background: var(--bg-dark);
  color: var(--text-invert);
}

.page-header--hero {
  background-image: url("../images/hero.png");
  background-size: cover;
  background-position: center;
}

.legal {
  max-width: var(--max-text);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}
.legal h2 { margin-top: var(--space-lg); font-size: 1.5rem; }
.legal h2:first-child { margin-top: 0; }

/* ==========================================================================
   Scroll-reveal (single orchestrated fade, not per-card)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
