/* TrioMani – Alternativentwurf „Salon“
   Bodoni Moda (Display) + Nunito Sans (Text), beide lokal, SIL OFL */

@font-face { font-family: "Bodoni Moda"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 300; font-display: swap; src: url("../fonts/nunito-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --wine: #3d0f15;        /* Bühnenvorhang – Hero, Kostprobe */
  --bordeaux: #7f1c15;    /* Markenrot aus dem Original */
  --bloom: #b0246f;       /* Bougainvillea aus den Fotos – nur Akzent */
  --blush: #f5e9ea;       /* Programme */
  --paper: #fdfbfa;
  --ink: #2a1a1e;
  --ink-soft: #5d4a4f;
  --on-dark: #f8efe9;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Nunito Sans", "Avenir Next", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--bloom); outline-offset: 3px; }
.dark :focus-visible { outline-color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; background: #fff; color: var(--bordeaux); padding: 8px 14px; z-index: 50; font-weight: 700; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 14px 26px; border: 1px solid currentColor; text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: .02em; transition: background-color .2s, color .2s, border-color .2s; }
.btn--solid { background: var(--on-dark); color: var(--bordeaux); border-color: var(--on-dark); }
.btn--solid:hover { background: #fff; }
.btn--line:hover { background: rgba(255,255,255,.1); }
.btn--ink { color: var(--bordeaux); }
.btn--ink:hover { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }

/* ---------- Kopf ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--on-dark); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 24px; }
.top__nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.top__nav a { text-decoration: none; font-size: 15px; letter-spacing: .02em; padding-block: 6px; border-bottom: 1px solid transparent; }
.top__nav a:hover { border-color: currentColor; }
.lang { display: flex; gap: 6px; font-size: 15px; }
.lang a { text-decoration: none; padding: 4px 6px; opacity: .7; }
.lang a[aria-current] { opacity: 1; border-bottom: 1px solid currentColor; }

.top__right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.menu-btn { display: none; background: none; border: 1px solid rgba(248,239,233,.7); color: inherit; font: 700 15px/1 var(--text); padding: 10px 14px; cursor: pointer; }

/* Mobiles Menü (Popover, funktioniert ohne JavaScript) */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 24px var(--gutter) 48px; background: var(--bordeaux); color: var(--on-dark); overflow-y: auto; }
.menu:not(:popover-open) { display: none; }
.menu__close { display: block; margin-left: auto; background: none; border: 1px solid rgba(248,239,233,.7); color: inherit; font: 700 15px/1 var(--text); padding: 10px 14px; cursor: pointer; }
.menu ul { list-style: none; margin: 48px 0 0; padding: 0; }
.menu li + li { margin-top: 10px; }
.menu a { font-family: var(--display); font-size: 40px; line-height: 1.2; text-decoration: none; }
.menu a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* ---------- Hero: Wortmarke über dem Foto ---------- */
.hero { position: relative; min-height: 100svh; background: var(--bordeaux); color: var(--on-dark); display: grid; grid-template-columns: 44fr 56fr; overflow: hidden; }
.hero__photo { position: relative; grid-column: 2; grid-row: 1; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--bordeaux) 0%, rgba(127,28,21,.4) 12%, rgba(127,28,21,0) 30%), linear-gradient(to bottom, rgba(40,8,6,.45) 0%, rgba(40,8,6,0) 18%); }
.hero__text { grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 2; align-self: end; padding: 140px var(--gutter) clamp(48px, 9vh, 96px); max-width: 1280px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(88px, 15.5vw, 236px); line-height: .82; letter-spacing: -.035em; margin-left: -.04em; }
.hero h1 span { display: block; }
.hero h1 span + span { padding-left: .62em; }
.hero__tagline { font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; margin-top: 28px; }
.hero__lead { margin-top: 12px; max-width: 34em; color: rgba(248,239,233,.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Einführung ---------- */
.intro { padding-block: clamp(80px, 12vw, 150px); }
.intro .wrap { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__lead { font-family: var(--display); font-size: clamp(28px, 3.1vw, 42px); line-height: 1.22; color: var(--bordeaux); }
.intro__body p + p { margin-top: 1.1em; }
.intro__body { max-width: 36em; }

/* ---------- Programme ---------- */
.programmes { background: var(--blush); padding-block: clamp(72px, 10vw, 128px); }
.head { max-width: 40em; margin-bottom: clamp(44px, 6vw, 72px); }
.head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -.02em; color: var(--bordeaux); }
.head p { margin-top: 18px; color: var(--ink-soft); }
.prog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); list-style: none; margin: 0; padding: 0; }
.prog { border-top: 2px solid var(--bloom); padding-top: 22px; }
.prog p:first-child { font-size: 15px; color: var(--ink-soft); }
.prog h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(32px, 3.2vw, 44px); line-height: 1.05; margin: 6px 0 16px; color: var(--wine); }
.programmes__foot { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.programmes__foot p { max-width: 34em; }

/* ---------- Bildband ---------- */
.band { height: clamp(300px, 52vw, 680px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* ---------- Musikerinnen ---------- */
.musicians { padding-block: clamp(80px, 11vw, 140px); }
.musicians .head p { color: var(--ink); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.person h3 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 2.3vw, 32px); line-height: 1.1; margin-top: 22px; }
.person .role { font-family: var(--display); font-style: italic; color: var(--bloom); font-size: 20px; margin-top: 2px; }
.person .bio { margin-top: 18px; }
.person .bio p + p { margin-top: .9em; }
.person .social { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--bordeaux); text-underline-offset: 4px; }

/* ---------- Galerie ---------- */
.gallery { position: relative; padding-bottom: clamp(80px, 10vw, 130px); }
.gallery__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; list-style: none; margin: 0; padding: 0 var(--gutter) 14px; }
.gallery__track li { flex: none; scroll-snap-align: start; }
.gallery__track img { height: clamp(260px, 30vw, 460px); width: auto; }
.gallery__nav { display: flex; gap: 10px; justify-content: flex-end; width: min(100% - 2 * var(--gutter), var(--wrap)); margin: 18px auto 0; }
.gallery__nav button { width: 48px; height: 48px; border: 1px solid var(--ink); background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.gallery__nav button:hover { background: var(--ink); color: #fff; }
.gallery__nav button:disabled { opacity: .3; cursor: default; background: none; color: var(--ink); }
.gallery__nav svg { width: 16px; height: 16px; }

/* ---------- Kostprobe ---------- */
.sample { background: var(--bordeaux); color: var(--on-dark); padding-block: clamp(80px, 10vw, 130px); }
.sample .head h2 { color: var(--on-dark); }
.sample .head p { color: rgba(248,239,233,.78); }
.sample video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* ---------- Großes Bild + Abspann ---------- */
.vista { position: relative; height: clamp(360px, 70vh, 820px); overflow: hidden; background: #6d7466; }
.vista img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.vista picture { display: contents; }
.vista.is-parallax img { position: absolute; left: 0; top: -30%; height: 160%; will-change: transform; }

.footer { background: var(--bordeaux); color: var(--on-dark); }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: end; padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); }
.footer__title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -.02em; }
.footer__grid p { margin-top: 18px; max-width: 32em; color: rgba(248,239,233,.86); }
.footer .mail { font-family: var(--display); font-style: italic; font-size: clamp(28px, 3.2vw, 44px); text-decoration-thickness: 1px; text-underline-offset: 8px; }
.footer .mail:hover { text-decoration-color: var(--on-dark); text-decoration-thickness: 2px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid rgba(248,239,233,.25); font-size: 15px; color: rgba(248,239,233,.8); }
.footer__base nav { display: flex; gap: 22px; }
.footer__base a { text-decoration: none; }
.footer__base a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .top__nav { display: none; }
  .menu-btn { display: block; }
  .top .wrap { padding-block: 16px; }
  .hero { min-height: 0; grid-template-columns: 1fr; grid-template-rows: 54svh auto; }
  .hero__photo { grid-column: 1; grid-row: 1; }
  .hero__photo::after { background: linear-gradient(to bottom, rgba(40,8,6,.55) 0%, rgba(40,8,6,0) 22%, rgba(127,28,21,0) 55%, var(--bordeaux) 100%); }
  .hero__text { grid-row: 1 / span 2; padding-top: 40svh; padding-bottom: 36px; }
  .hero h1 { font-size: clamp(76px, 23vw, 140px); }
  .hero__tagline { margin-top: 18px; font-size: 24px; }
  .hero__lead { font-size: 16px; line-height: 1.55; }
  .hero__actions { flex-wrap: nowrap; gap: 10px; margin-top: 22px; }
  .hero__actions .btn { flex: 1 1 0; padding: 13px 8px; text-align: center; font-size: 15px; white-space: nowrap; }
  .intro .wrap, .prog-list, .trio, .footer__grid { grid-template-columns: 1fr; }
  .prog-list { gap: 40px; }
  .trio { gap: 64px; }
  .person img { aspect-ratio: 1 / 1; }
  .vista { height: 78vh; }
  .vista img { object-position: 62% 30%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.top--page { position: relative; background: var(--bordeaux); }
.top__brand { font-family: var(--display); font-size: 30px; line-height: 1; text-decoration: none; margin-right: 40px; }
.top--page .top__nav { margin-right: auto; }
.legal { padding-block: clamp(48px, 7vw, 90px) clamp(72px, 9vw, 120px); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -.02em; color: var(--bordeaux); margin-bottom: 40px; }
.legal h2 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; color: var(--wine); margin: 52px 0 14px; }
.legal h3 { font-weight: 700; font-size: 17px; margin: 30px 0 6px; }
.legal p + p { margin-top: 1em; }
.legal ul { padding-left: 1.2em; margin: .6em 0 1em; }
.legal a { color: var(--bordeaux); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal address { font-style: normal; margin: .4em 0 1em; }
.breadcrumb { font-size: 15px; margin-bottom: 28px; color: var(--ink-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5em; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .5em; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 48px var(--gutter); background: var(--bordeaux); color: var(--on-dark); }
.notfound__brand { font-family: var(--display); font-size: clamp(64px, 12vw, 140px); line-height: .9; letter-spacing: -.03em; }
.notfound h1 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(24px, 3vw, 34px); margin-top: 24px; }
.notfound p { margin-top: 12px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px !important; }

@media (max-width: 900px) {
  .top__brand { font-size: 26px; margin-right: auto; }
}
