/* ==========================================================================
   Lukas Langer — Basis-Stylesheet
   Hell & warm: Creme, Terrakotta, Serifen-Überschriften
   ========================================================================== */

:root {
  --bg:        #FBF7F1;
  --bg-warm:   #F4EADC;
  --bg-deep:   #241D19;
  --surface:   #FFFFFF;
  --ink:       #2A2320;
  --ink-soft:  #6E6057;
  --accent:    #A8442A;
  --accent-dk: #8A3620;
  --gold:      #C98B4B;
  --line:      rgba(42, 35, 32, .12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px -24px rgba(42, 35, 32, .35);
  --shadow-sm: 0 6px 20px -12px rgba(42, 35, 32, .4);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dk); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 20, "WONK" 1;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, 760px); margin-inline: auto; }

.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--warm { background: var(--bg-warm); }
.section--deep { background: var(--bg-deep); color: #F2EAE1; }
.section--deep h2, .section--deep h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section--deep .eyebrow { color: var(--gold); }

.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-soft); }
.section--deep .lead { color: #D8CCC0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dk); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 247, 241, .86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -20px rgba(0,0,0,.6); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem 0;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: auto; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.1;
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .85rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.nav a:hover { background: rgba(168, 68, 42, .09); color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav .nav__cta {
  background: var(--ink);
  color: #fff;
  margin-left: .4rem;
}
.nav .nav__cta:hover { background: var(--accent); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block; position: relative;
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    inset: 100% 1rem auto 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: .7rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 1rem; }
  .nav .nav__cta { margin-left: 0; text-align: center; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(201,139,75,.22), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title span { display: block; color: var(--accent); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 1.6rem 0 2rem;
  list-style: none; padding: 0;
}
.hero__meta li {
  font-size: .85rem; font-weight: 500;
  padding: .35rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255,255,255,.6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__figure { position: relative; }
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute;
  left: -1.2rem; bottom: 1.8rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  box-shadow: var(--shadow-sm);
  font-size: .9rem;
  line-height: 1.35;
  max-width: 230px;
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .hero__figure img { aspect-ratio: 4 / 3.4; border-radius: var(--radius); }
  .hero__badge { display: none; }
}

/* ---------- Karten / Raster ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 960px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__body { padding: 1.4rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: .4rem; }
.card__body p { color: var(--ink-soft); font-size: .98rem; }
.card__link {
  margin-top: auto; padding-top: 1rem;
  font-weight: 600; font-size: .9rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: .4rem;
}
.card__link::after { content: "→"; transition: transform .2s ease; }
.card:hover .card__link::after { transform: translateX(4px); }
.card--link a::after { content: ""; position: absolute; inset: 0; }

/* Facetten (Tasten / Saiten / Chor / Tradition) */
.facet {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.facet img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.facet::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(28,22,19,.88) 0%, rgba(28,22,19,.35) 55%, rgba(28,22,19,.1) 100%);
}
.facet:hover img { transform: scale(1.05); }
.facet__body { padding: 1.5rem; }
.facet__body h3 { color: #fff; margin-bottom: .3rem; }
.facet__body p { font-size: .95rem; color: rgba(255,255,255,.82); }

/* ---------- Split / Text+Bild ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__figure { order: 2; }
.split__figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__figure { order: 0; }
}

/* ---------- Ensemble-Liste ---------- */
.ensemble {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.8rem;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.ensemble:last-child { border-bottom: 0; }
.ensemble img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.ensemble__tag {
  display: inline-block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .35rem;
}
.ensemble__ph {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-warm), #E4D3BE);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 2.4rem; color: var(--gold);
}
@media (max-width: 700px) { .ensemble { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- Video ---------- */
.video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #191411;
  cursor: pointer;
  border: 0; padding: 0; width: 100%;
  display: block;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .25s ease, transform .5s ease; }
.video:hover img { opacity: 1; transform: scale(1.04); }
.video__play {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.video__play span {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(168,68,42,.92);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.7);
}
.video__play span::after {
  content: ""; width: 0; height: 0; margin-left: 4px;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__note {
  font-size: .82rem; color: var(--ink-soft); margin-top: .6rem;
}

/* ---------- Formular ---------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field label {
  display: block; font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: .4rem; color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168,68,42,.14);
}
.form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form__note { font-size: .85rem; color: var(--ink-soft); }
.form__status { padding: .9rem 1.1rem; border-radius: 10px; font-size: .95rem; }
.form__status--ok { background: #E7F1E8; color: #2C5A34; border: 1px solid #BBD9C0; }
.form__status--err { background: #FAE8E4; color: #8A3620; border: 1px solid #EDC6BC; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: #CFC3B8; padding: 3.5rem 0 2rem; }
.footer a { color: #E8DDD2; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; } }
.footer h4 {
  font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .9rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.footer__brand img { width: 52px; margin-bottom: 1rem; }
.footer__bottom {
  margin-top: 2.8rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem; color: #9C8F84;
}
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: grid; place-items: center;
  transition: background .2s ease, border-color .2s ease;
}
.social a:hover { background: var(--accent); border-color: var(--accent); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Page-Header (Unterseiten) ---------- */
.pagehead { padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.pagehead .lead { max-width: 58ch; }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: .8rem; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Zitat ---------- */
.quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.35;
  text-align: center;
  max-width: 24ch;
  margin-inline: auto;
}
.quote__by { display: block; font-family: var(--font-body); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1.2rem; }

/* ---------- Fotobox-Teaser auf der Hauptseite ---------- */
.teaser-fotobox {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #18130F 0%, #2C211A 55%, #4A2D1E 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 2rem;
  align-items: center;
}
.teaser-fotobox h2 { color: #fff; }
.teaser-fotobox p { color: rgba(255,255,255,.78); }
.strip-mini { display: flex; gap: 1.1rem; justify-content: center; }
.strip-mini div {
  width: 62px; background: #fff; padding: 5px 5px 20px;
  border-radius: 3px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.8);
}
.strip-mini div i { display: block; height: 52px; margin-bottom: 4px; border-radius: 1px; background-size: cover; background-position: center; }
.strip-mini div:nth-child(1) { transform: rotate(-4deg); }
.strip-mini div:nth-child(2) { transform: rotate(2deg) translateY(-8px); }
.strip-mini div:nth-child(3) { transform: rotate(5deg); }
@media (max-width: 760px) {
  .teaser-fotobox { grid-template-columns: 1fr; }
  .strip-mini { justify-content: flex-start; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--accent); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }

/* Sprungmarken nicht unter den Header rutschen lassen */
section[id], [id]:target { scroll-margin-top: 92px; }
