/* Vision Tennengau – dunkles Galerie-Design
   Keine externen Schriften (DSGVO): nur System-Schriften. */

:root {
  --bg: #0d0c0b;
  --bg-2: #161412;
  --bg-3: #201d1a;
  --text: #e9e4dd;
  --text-2: #a9a198;
  --line: #2e2a26;
  --akzent: #c8643f;       /* Adneter Rot */
  --akzent-hell: #e08a63;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1180px;
  --rand: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent-hell); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p { margin: 0 0 1.1em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--akzent); color: #fff; padding: 8px 14px; }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 760px; }

.eyebrow {
  font: 600 clamp(.78rem, .55rem + .6vw, 1.125rem)/1.2 var(--sans);  /* am PC größer, am Handy wie bisher */
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--akzent-hell);
  margin-bottom: 1.1em;
  display: block;
}
.lead { font-size: 1.15rem; color: var(--text); }
.leise { color: var(--text-2); }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.kopf.fest, .kopf.immer-fest { background: rgba(13,12,11,.92); backdrop-filter: blur(10px); border-color: var(--line); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.logo img { height: 84px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 14px; color: var(--text); text-decoration: none;
  font-size: .9rem; letter-spacing: .06em;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--akzent-hell); }
.nav a[aria-current="page"] { border-color: var(--akzent); }
.menu-knopf { display: none; background: none; border: 0; color: var(--text); padding: 16px; margin-right: -10px; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.logo { display: block; touch-action: manipulation; }
.menu-knopf span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }

@media (max-width: 900px) {
  .menu-knopf { display: block; }
  .nav {
    position: fixed; inset: 92px 0 0 0; background: var(--bg);
    transform: translateX(100%); transition: transform .3s;
    overflow-y: auto;
  }
  .nav.offen { transform: none; }
  .nav ul { flex-direction: column; padding: 24px var(--rand); }
  .nav a { font-family: var(--serif); font-size: 1.6rem; padding: 12px 0; border: 0; }
  .menu-offen .kopf { background: var(--bg); }
  .menu-offen .menu-knopf span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-offen .menu-knopf span:nth-child(2) { opacity: 0; }
  .menu-offen .menu-knopf span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--bg) center/cover no-repeat;
  overflow: hidden;
}
/* Titelbild zoomt ganz langsam heran (Ken-Burns-Effekt) */
.hero::before {
  content: ""; position: absolute; inset: 0; background: inherit;
  animation: heranzoomen 24s ease-out forwards; transform-origin: 60% 40%;
}
@keyframes heranzoomen { from { transform: scale(1.12) } to { transform: scale(1) } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,12,11,.6) 0%, rgba(13,12,11,.25) 45%, transparent 75%),
    linear-gradient(180deg, rgba(13,12,11,.55) 0%, rgba(13,12,11,.1) 35%, rgba(13,12,11,.35) 65%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 10vh, 110px); width: 100%; }
.hero .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,.9); }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.hero p { max-width: 46ch; font-size: 1.15rem; color: #ddd6cd; }
/* Namen der beiden Fotografen auf der Startseite, jeweils mit eigener Seite verlinkt */
.hero .hero-namen { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--text); margin-bottom: .3em; }
.hero-namen a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.hero-namen a:hover { color: var(--akzent-hell); border-color: var(--akzent-hell); }
.hero-namen span { color: var(--akzent-hell); margin: 0 .25em; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-klein { min-height: 62svh; }
/* Georgs Seite: Bildausschnitt so, dass Georg rechts neben dem Titel steht */
.hero-georg { background-position: 45% 40%; }
@media (min-width: 900px) { .hero-georg { background-size: 125% auto; background-position: 0% 38%; } }
.hero-klein::after {
  background:
    linear-gradient(90deg, rgba(13,12,11,.75) 0%, rgba(13,12,11,.2) 60%, transparent 100%),
    linear-gradient(180deg, rgba(13,12,11,.55) 0%, transparent 30%, var(--bg) 100%);
}
.scroll-hinweis {
  position: absolute; z-index: 1; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 1px; height: 46px; background: linear-gradient(var(--text), transparent);
  animation: pulsieren 2.4s infinite;
}
@keyframes pulsieren { 0%,100% { opacity: .2 } 50% { opacity: .9 } }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-block; padding: 13px 26px; border: 1px solid var(--akzent);
  color: var(--text); text-decoration: none; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.knopf:hover { background: var(--akzent); color: #fff; }
.knopf.voll { background: var(--akzent); color: #fff; }
.knopf.voll:hover { background: var(--akzent-hell); border-color: var(--akzent-hell); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(64px, 11vw, 140px) 0; }
.abschnitt + .abschnitt { border-top: 1px solid var(--line); }
.abschnitt.dunkler { background: var(--bg-2); }

.zweispaltig {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
}
.zweispaltig.umgekehrt > :first-child { order: 2; }
@media (max-width: 820px) {
  .zweispaltig { grid-template-columns: 1fr; }
  .zweispaltig.umgekehrt > :first-child { order: 0; }
}
.bild-rahmen { position: relative; }
.bild-rahmen img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.bild-rahmen.quer img { aspect-ratio: 3/2; }
.bild-rahmen figcaption { font-size: .82rem; color: var(--text-2); margin-top: 10px; }

.zitat {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.4;
  text-align: center; max-width: 34ch; margin: 0 auto;
}
.zitat p { margin: 0; }
.zitat footer {
  font-family: var(--sans); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--akzent-hell); margin-top: 1.6em;
}
.zitat footer::before { content: "— "; }

/* Zitat mit Bild im Hintergrund */
.zitat-bild { position: relative; background: var(--bg) center/cover no-repeat; }
.zitat-bild::before { content: ""; position: absolute; inset: 0; background: rgba(13,12,11,.68); }
.zitat-bild .wrap { position: relative; }
.zitat-bild .zitat p { text-shadow: 0 2px 20px rgba(0,0,0,.6); }

/* Kacheln (Galerie-Übersicht) */
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .kacheln { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .kacheln { grid-template-columns: 1fr; } }
.kachel { position: relative; overflow: hidden; display: block; aspect-ratio: 4/3; color: var(--text); text-decoration: none; }
.kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.kachel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.75)); }
.kachel span { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 16px; font-family: var(--serif); font-size: 1.35rem; }
.kachel small { display: block; font: .72rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--akzent-hell); }
.kachel:hover img { transform: scale(1.05); }

/* ---------- Bildergalerien ---------- */
.galerie { columns: 3 300px; column-gap: 12px; margin-top: 2em; }
.galerie a { position: relative; display: block; margin-bottom: 12px; break-inside: avoid; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.galerie img { width: 100%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .5s; }
.galerie a:hover img { transform: scale(1.05); filter: brightness(.82); }
/* Bildtitel erscheint beim Überfahren mit der Maus */
.galerie a[data-titel]::after {
  content: attr(data-titel); position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 16px 14px; font-family: var(--serif); font-size: 1.05rem; color: var(--text);
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s;
}
.galerie a:hover::after { opacity: 1; transform: none; }
@media (hover: none) { .galerie a[data-titel]::after { display: none; } }
/* Bilder blenden beim Scrollen einzeln, leicht versetzt ein */
.bild-ein { opacity: 0; transform: translateY(30px); transition: opacity .9s ease var(--verz, 0s), transform .9s ease var(--verz, 0s); }
.bild-ein.sichtbar { opacity: 1; transform: none; }
.galerie.zwei { columns: 2 300px; }

/* ---------- Blog ---------- */
.beitrag { padding: clamp(56px, 8vw, 100px) 0; border-top: 1px solid var(--line); }
.beitrag:first-of-type { border-top: 0; }
.datum { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--akzent-hell); }
.inhaltsverzeichnis { list-style: none; padding: 0; margin: 2em 0 0; columns: 2 280px; column-gap: 40px; }
.inhaltsverzeichnis li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.inhaltsverzeichnis a { display: flex; gap: 14px; padding: 12px 0; text-decoration: none; color: var(--text); }
.inhaltsverzeichnis a:hover { color: var(--akzent-hell); }
.inhaltsverzeichnis small { color: var(--text-2); white-space: nowrap; min-width: 6.5em; }

.hinweis {
  border-left: 3px solid var(--akzent); background: var(--bg-2);
  padding: 18px 22px; margin: 1.5em 0; font-size: .95rem;
}

/* Unternavigation (Galerie) */
.unternav {
  position: sticky; top: 92px; z-index: 20; background: rgba(13,12,11,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.unternav ul { list-style: none; margin: 0 auto; padding: 0 var(--rand); max-width: var(--breite); display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.unternav a { display: block; white-space: nowrap; padding: 14px 12px; color: var(--text-2); text-decoration: none; font-size: .86rem; letter-spacing: .05em; }
.unternav a:hover, .unternav a.aktiv { color: var(--text); box-shadow: inset 0 -2px var(--akzent); }

/* Termine / Infokarten */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 2em; }
.karte { background: var(--bg-2); border: 1px solid var(--line); padding: 26px; }
.karte h3 { margin-bottom: .4em; }
.karte p:last-child { margin-bottom: 0; }
.ort { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 1.1em; }
.ort p { margin: 0; }
.ort img { width: 96px; flex-shrink: 0; background: #fff; padding: 6px; border-radius: 4px; }

/* Video mit Zwei-Klick-Lösung */
.video { position: relative; aspect-ratio: 16/9; background: var(--bg-3) center/cover; margin-top: 1.5em; }
.video button {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: var(--text);
  background: rgba(0,0,0,.55); font: inherit; padding: 20px; display: grid; place-content: center; gap: 12px;
}
.video button strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.video button small { display: none; }  /* Hinweistext unter "Video abspielen" ausgeblendet */
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Eigene Videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 2em; }
@media (max-width: 720px) { .videos { grid-template-columns: 1fr; } }
.videos figure, figure.clip { margin: 0; }
.videos video, .clip video { width: 100%; aspect-ratio: 16/9; background: var(--bg-3); display: block; }
.videos figcaption, .clip figcaption { font-size: .88rem; color: var(--text-2); margin-top: 8px; }
.videos figcaption strong, .clip figcaption strong { color: var(--text); font-weight: 500; }
.clip { margin-top: 2em; }
.videos.einzeln { grid-template-columns: 1fr; max-width: 760px; }
/* einzeln stehende Videos mittig, mit zentrierter Bildunterschrift */
.videos.einzeln, .videos:has(> figure:only-child), .clip { margin-left: auto; margin-right: auto; }
.videos:has(> figure:only-child) { grid-template-columns: 1fr; max-width: 760px; }
.videos.einzeln figcaption, .videos:has(> figure:only-child) figcaption, .clip figcaption { text-align: center; }
.clip { max-width: 900px; }
.video-oben { padding: 0 0 clamp(48px, 7vw, 90px); }
.clip.zentriert { max-width: 900px; margin: 0 auto; }
.clip.zentriert figcaption { text-align: center; }
.videos .video, .clip .video { margin-top: 0; }

/* Personen */
.person-kopf { display: flex; align-items: center; gap: 18px; margin-bottom: 1.4em; }
.person-kopf img { height: 54px; width: auto; }
.liste { padding-left: 1.1em; }
.liste li { margin-bottom: .4em; }
.social { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Fußzeile ---------- */
.fuss { border-top: 1px solid var(--line); padding: 56px 0 96px;  /* unten Platz für den Musik-Knopf */ font-size: .9rem; color: var(--text-2); }
.fuss .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.fuss h4 { font: 600 .75rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text); margin: 0 0 14px; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 6px; }
.fuss a { color: var(--text-2); text-decoration: none; }
.fuss a:hover { color: var(--akzent-hell); }
.fuss .copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 10px; font-size: .8rem; }
@media (max-width: 720px) { .fuss .wrap { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5,5,5,.97);
  display: none; align-items: center; justify-content: center;
}
.lightbox.offen { display: flex; animation: lb-auf .35s ease; }
@keyframes lb-auf { from { opacity: 0 } }
.lightbox img {
  max-width: 94vw; max-height: calc(100vh - 120px); width: auto; object-fit: contain; box-shadow: 0 10px 60px rgba(0,0,0,.6);
  transition: opacity .35s ease, transform .35s ease;
}
.lightbox img.wechsel { opacity: 0; transform: scale(.985); }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--text); cursor: pointer;
  font-size: 2.2rem; line-height: 1; padding: 18px; opacity: .7; transition: opacity .3s, color .2s;
}
.lightbox button:hover { opacity: 1; color: var(--akzent-hell); }
.lb-zu { top: 8px; right: 8px; }
.lb-zurueck { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-weiter { right: 4px; top: 50%; transform: translateY(-50%); }
/* Leiste unten: Bildtitel, Ort, Zähler, Diashow, Vollbild */
.lb-leiste {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding: 14px clamp(16px, 3vw, 32px) 16px; transition: opacity .4s;
}
.lb-text { min-width: 0; }
.lb-titel { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--text); }
.lb-ort { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--akzent-hell); margin-top: 4px; }
.lb-knoepfe { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.lb-knoepfe button { position: static; font-size: 1.15rem; padding: 10px 12px; }
.lb-zaehler { font-size: .82rem; letter-spacing: .15em; color: var(--text-2); margin-right: 8px; }
.lb-fortschritt { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--akzent); }
.lightbox.dia .lb-fortschritt { animation: dia-lauf 5s linear infinite; }
@keyframes dia-lauf { from { width: 0 } to { width: 100% } }
/* ruht die Maus, treten die Bedienelemente zurück */
.lightbox.ruhig { cursor: none; }
.lightbox.ruhig button, .lightbox.ruhig .lb-leiste { opacity: 0; }
@media (max-width: 600px) {
  .lb-titel { font-size: 1rem; }
  .lb-zurueck, .lb-weiter { display: none; }  /* am Handy wird gewischt */
}

/* sanftes Einblenden */
.einblenden { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.einblenden.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .einblenden, .bild-ein { opacity: 1; transform: none; transition: none; }
  .hero::before, .lightbox.offen { animation: none; }
  .scroll-hinweis { animation: none; }
}

/* ---------- Musik-Knopf (unten rechts, auf allen Seiten) ---------- */
.musik-knopf {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  display: flex; align-items: center; gap: 10px; padding: 11px 16px;
  background: rgba(13,12,11,.82); backdrop-filter: blur(8px);
  border: 1px solid var(--akzent); border-radius: 999px; color: var(--text);
  font: 600 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(0,0,0,.45);
  cursor: pointer; touch-action: manipulation; transition: color .2s, border-color .2s;
}
.musik-knopf:hover { background: var(--akzent); color: #fff; }
.musik-knopf:hover .musik-note { color: #fff; }
/* aus: Notensymbol, an: tanzende Balken */
.musik-note { width: 18px; height: 18px; color: var(--akzent-hell); flex-shrink: 0; }
.musik-knopf.spielt .musik-note { display: none; }
.musik-knopf:not(.spielt) .musik-balken { display: none; }
.musik-balken { display: flex; align-items: flex-end; gap: 2px; height: 14px; width: 18px; justify-content: center; }
.musik-balken i { display: block; width: 3px; height: 4px; background: var(--akzent-hell); border-radius: 1px; }
.musik-knopf.spielt .musik-balken i { animation: musik-tanz 1s ease-in-out infinite; }
.musik-knopf.spielt .musik-balken i:nth-child(2) { animation-delay: -.4s; }
.musik-knopf.spielt .musik-balken i:nth-child(3) { animation-delay: -.7s; }
.musik-knopf.spielt .musik-balken i:nth-child(4) { animation-delay: -.2s; }
@keyframes musik-tanz { 0%,100% { height: 4px } 50% { height: 14px } }
/* Browser hat das automatische Weiterspielen blockiert: Knopf pulsiert dezent */
.musik-knopf.hinweis { animation: pulsieren 2.4s infinite; }
.menu-offen .musik-knopf, .lightbox.offen ~ .musik-knopf { display: none; }
/* am PC unten mittig */
@media (min-width: 601px) { .musik-knopf { right: auto; left: 50%; transform: translateX(-50%); } }
@media (max-width: 600px) {
  .musik-text { display: none; }
  .musik-knopf {
    width: 50px; height: 50px; padding: 0; justify-content: center;
    right: 14px; bottom: calc(14px + env(safe-area-inset-bottom));
    border-color: var(--akzent); background: rgba(13,12,11,.88);
  }
  .musik-note { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .musik-knopf.spielt .musik-balken i, .musik-knopf.hinweis { animation: none; } .musik-knopf.spielt .musik-balken i { height: 10px; } }

/* Rechtstexte */
.rechtstext h2 { font-size: 1.4rem; margin-top: 1.8em; }
.rechtstext { padding-top: 140px; }
