/* Für Adonai – Gestaltung
   Farben: Dunkelbraun #2A1C18 · Creme #FBF8F2 · Gold #D2AD6C · Weinrot #652D3D */

@font-face {
  font-family: "EB Garamond";
  src: url("/schriften/eb-garamond-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/schriften/eb-garamond-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/schriften/eb-garamond-medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/schriften/eb-garamond-semibolditalic.woff2") format("woff2");
  font-weight: 600; font-style: italic; font-display: swap;
}

:root {
  --braun: #2A1C18;
  --braun-tief: #1E1411;
  --creme: #FBF8F2;
  --creme-tief: #F3ECDF;
  --gold: #D2AD6C;
  --wein: #652D3D;
  --text-gedaempft: #5A4842;
  --breite: 72rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--creme);
  background: var(--braun);
  font-variant-numeric: lining-nums;
}

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

h1, h2, h3 {
  font-style: italic;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a { color: inherit; }

/* Sichtbarer Fokus */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.hell :focus-visible { outline-color: var(--wein); }

/* Sprungmarke */
.sprungmarke {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--braun);
  padding: .6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}
.sprungmarke:focus { top: 1rem; }

.innen {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Kopfzeile ---------- */
.kopf {
  background: var(--braun);
  border-bottom: 1px solid rgba(210, 173, 108, .35);
}
.kopf .innen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.marke {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--creme);
}
.marke img {
  width: 44px; height: 44px;
  border-radius: 50%;
}
.menue ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0; padding: 0;
}
.menue a {
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--creme);
  padding: .4rem 0;
  border-bottom: 1px solid transparent;
}
.menue a:hover { border-bottom-color: var(--gold); color: var(--gold); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.knopf svg { width: 1.1em; height: 1.1em; flex: none; }
.knopf-gold { background: var(--gold); color: var(--braun); border: 1px solid var(--gold); }
.knopf-gold:hover { background: #E0C089; border-color: #E0C089; }
.knopf-rand { color: var(--creme); border: 1px solid rgba(210, 173, 108, .8); }
.knopf-rand:hover { background: rgba(210, 173, 108, .15); }
.knopf-wein { background: var(--wein); color: var(--creme); border: 1px solid var(--wein); }
.knopf-wein:hover { background: #4F2230; }

.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}

/* ---------- Willkommen ---------- */
.willkommen {
  position: relative;
  isolation: isolate;
  min-height: min(88svh, 50rem);
  display: grid;
  place-items: end center;
  text-align: center;
  overflow: hidden;
}
.willkommen-bild,
.willkommen-bild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  z-index: -2;
}
.willkommen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(42, 28, 24, .30) 0%, rgba(42, 28, 24, .20) 30%, rgba(42, 28, 24, .78) 68%, rgba(42, 28, 24, .96) 100%);
}
.willkommen .innen {
  padding-top: 10rem;
  padding-bottom: 3.5rem;
  max-width: 44rem;
}
.willkommen h1 {
  font-size: clamp(3rem, 11vw, 5.5rem);
  margin-bottom: .1em;
  text-shadow: 0 2px 24px rgba(42, 28, 24, .55);
}
.unterzeile {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 1rem;
  margin-bottom: 1.4rem;
}
.willkommen-text {
  font-size: 1.3rem;
  margin: 0 auto 2rem;
  max-width: 30em;
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 4.5rem 0; }
.hell { background: var(--creme); color: var(--braun); }
.dunkel { background: var(--braun); color: var(--creme); }

.abschnitt-titel {
  text-align: center;
  font-size: clamp(2.2rem, 6vw, 3rem);
}
.abschnitt-titel::after {
  content: "";
  display: block;
  width: 4rem;
  height: 1px;
  margin: .6em auto 0;
  background: var(--gold);
}
.einleitung {
  text-align: center;
  max-width: 34em;
  margin: 0 auto 2.5rem;
}

/* ---------- Liedkarten ---------- */
.karten {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}
@media (min-width: 44rem) {
  .karten { grid-template-columns: 1fr 1fr; }
}
.karte {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFDF9;
  border: 1px solid rgba(210, 173, 108, .55);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: var(--braun);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.karte:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 30px -18px rgba(42, 28, 24, .45);
}
.karte img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.karte-text { padding: 1.25rem 1.4rem 1.5rem; }
.karte h3 {
  font-size: 1.55rem;
  margin-bottom: .25rem;
}
.bibelstelle {
  color: var(--wein);
  font-style: italic;
  margin-bottom: .6rem;
}
.karte-satz { margin: 0; color: var(--text-gedaempft); }
.karte-weiter {
  display: inline-block;
  margin-top: .8rem;
  color: var(--wein);
  font-weight: 500;
}
.karte:hover .karte-weiter { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Alle vier Lieder ---------- */
.alle-lieder {
  margin-top: 2.5rem;
  display: grid;
  background: var(--braun);
  color: var(--creme);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(210, 173, 108, .5);
}
.alle-lieder img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.alle-lieder-text {
  padding: 1.75rem 1.5rem 2rem;
  text-align: center;
  align-self: center;
}
.alle-lieder h3 { font-size: clamp(1.8rem, 5vw, 2.3rem); }
.alle-lieder p { color: rgba(251, 248, 242, .85); }
@media (min-width: 56rem) {
  .alle-lieder { grid-template-columns: 1.2fr 1fr; }
  .alle-lieder img { height: 100%; }
  .alle-lieder-text { padding: 2.5rem; }
}
.jede-woche {
  text-align: center;
  font-style: italic;
  margin: 2.5rem 0 0;
  font-size: 1.25rem;
  color: var(--text-gedaempft);
}

/* ---------- Folgen ---------- */
.folgen { text-align: center; }
.folgen-liste {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.folgen-liste .knopf { min-width: 12rem; }

/* ---------- Fußzeile ---------- */
.fuss {
  background: var(--braun-tief);
  color: rgba(251, 248, 242, .72);
  font-size: 1rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(210, 173, 108, .25);
}
.fuss ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.25rem;
  list-style: none;
  margin: 0; padding: 0;
  text-align: center;
}
.fuss a { color: rgba(251, 248, 242, .85); text-underline-offset: 3px; }
.fuss a:hover { color: var(--gold); }

/* ---------- Liedseite ---------- */
.lied-kopf {
  text-align: center;
  padding: 3rem 0 3.5rem;
}
.lied-kopf h1 {
  font-size: clamp(2.3rem, 8vw, 3.6rem);
  margin-bottom: .3em;
}
.lied-kopf .stellen {
  color: var(--gold);
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.video-link {
  position: relative;
  display: block;
  max-width: 52rem;
  margin: 0 auto 1.75rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(210, 173, 108, .55);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
}
.video-link img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.play {
  position: absolute;
  left: 50%; top: 34%;
  width: 4.75rem; height: 4.75rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(42, 28, 24, .72);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  transition: background-color .2s ease, transform .2s ease;
}
.play svg { width: 1.9rem; height: 1.9rem; margin-left: .3rem; fill: var(--creme); }
.video-link:hover .play { background: var(--wein); transform: translate(-50%, -50%) scale(1.05); }
.hinweis {
  font-style: italic;
  font-size: 1.05rem;
  margin: .9rem 0 0;
  opacity: .85;
}
.lied-absatz {
  max-width: 36em;
  margin: 2.25rem auto 0;
  font-size: 1.25rem;
  color: rgba(251, 248, 242, .92);
}

.liedtext { text-align: center; }
.liedtext h2 { font-size: clamp(2rem, 6vw, 2.6rem); }
.liedtext h2::after {
  content: "";
  display: block;
  width: 4rem; height: 1px;
  margin: .6em auto 0;
  background: var(--gold);
}
.teil { margin: 2.5rem auto 0; max-width: 34rem; }
.teil h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--wein);
  letter-spacing: .04em;
  margin-bottom: .8rem;
}
.teil h3::before,
.teil h3::after {
  content: "";
  width: 2rem; height: 1px;
  background: var(--gold);
}
.teil p {
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.65;
  margin: 0;
}
.liedtext .knopfreihe { margin-top: 3rem; }
.liedtext .hinweis { color: var(--text-gedaempft); opacity: 1; }

.lied-navi { padding: 2rem 0; }
.lied-navi ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  list-style: none;
  margin: 0; padding: 0;
  text-align: center;
}
@media (min-width: 40rem) {
  .lied-navi ul { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .lied-navi li:first-child { text-align: left; }
  .lied-navi li:last-child { text-align: right; }
}
.lied-navi a {
  color: var(--creme);
  text-decoration: none;
  border-bottom: 1px solid rgba(210, 173, 108, .6);
  padding-bottom: .1rem;
}
.lied-navi a:hover { color: var(--gold); }

/* ---------- Rechtstexte ---------- */
.rechtstext .innen { max-width: 46rem; }
.rechtstext h1 { font-size: clamp(2.3rem, 7vw, 3rem); margin-bottom: 1.5rem; }
.rechtstext h2 { font-size: 1.7rem; margin-top: 2.5rem; }
.rechtstext h3 { font-size: 1.3rem; margin-top: 1.75rem; }
.rechtstext a { color: var(--wein); text-underline-offset: 3px; }
.rechtstext address { font-style: normal; margin-bottom: 1em; }
.rechtstext .gross { font-size: 1rem; }

/* ---------- 404 ---------- */
.fehler {
  text-align: center;
  padding: 6rem 0;
  min-height: 60vh;
}
.fehler h1 { font-size: clamp(2.4rem, 8vw, 3.4rem); }

@media (max-width: 26rem) {
  body { font-size: 1.125rem; }
  .marke { font-size: 1.2rem; }
  .marke img { width: 38px; height: 38px; }
  .menue ul { gap: .9rem; }
  .abschnitt { padding: 3.5rem 0; }
  .teil p { font-size: 1.13rem; line-height: 1.6; }
  .play { width: 3.75rem; height: 3.75rem; }
  .play svg { width: 1.5rem; height: 1.5rem; }
}
