/* marco-schnitzler.de – Stylesheet
   Schwarz, warmes Weiß, antikes Gold. Keine externen Ressourcen. */

/* ---------------------------------------------------------------- Schriften */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
}

/* ---------------------------------------------------------------- Farben & Maße */

:root {
  color-scheme: dark;

  --grund:        #0c0b0a;   /* warmes Fast-Schwarz */
  --flaeche:      #15130f;   /* Karten, Platzhalter */
  --flaeche-hell: #1d1a15;
  --text:         #ece6dc;   /* gebrochenes Weiß */
  --text-leise:   #a59d90;
  --text-still:   #7a7368;
  --gold:         #c9a45c;   /* antikes Gold */
  --gold-hell:    #e3c47f;
  --gold-linie:   rgb(201 164 92 / 0.3);
  --gold-hauch:   rgb(201 164 92 / 0.07);

  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --rand: clamp(1rem, 4vw, 3rem);
  --breite: 1600px;
  --lesebreite: 42rem;
}

/* ---------------------------------------------------------------- Grundlagen */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse 70% 38rem at 50% 0, var(--gold-hauch), transparent 75%) no-repeat, var(--grund);
  color: var(--text);
  font: 400 1.0625rem/1.7 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

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

a { color: var(--gold); text-decoration-color: var(--gold-linie); text-underline-offset: 0.2em; }
a:hover { color: var(--gold-hell); text-decoration-color: currentColor; }

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

::selection { background: var(--gold); color: var(--grund); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }

.sprungmarke {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--grund);
}
.sprungmarke:focus { top: 1rem; }

/* ---------------------------------------------------------------- Bausteine */

.dachzeile {
  margin: 0 0 1rem;
  font: 600 0.75rem/1.4 var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Goldene Linie mit Raute – das wiederkehrende Ornament */
.zier {
  position: relative;
  width: min(14rem, 60%);
  height: 1px;
  margin: 1.75rem auto;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}
.zier::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--grund);
  border: 1px solid var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

.einleitung {
  max-width: var(--lesebreite);
  margin-inline: auto;
  color: var(--text-leise);
  font-size: 1.0625rem;
}

.knopf {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font: 600 0.8rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}
.knopf:hover { background: var(--gold); color: var(--grund); }

.textlink {
  color: var(--text);
  font: 500 0.8rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold-linie);
  transition: border-color 0.25s, color 0.25s;
}
.textlink:hover { color: var(--gold-hell); border-color: var(--gold); }

.buehne-knoepfe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.25rem;
  margin: 2.5rem 0 0;
}

/* ---------------------------------------------------------------- Kopf */

.seitenkopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: var(--breite);
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem var(--rand);
}

.marke { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.marke:hover { color: var(--text); }
.marke-name {
  font: 500 1.6rem/1 var(--serif);
  letter-spacing: 0.04em;
}
.marke-zusatz {
  margin-top: 0.4rem;
  font: 600 0.65rem/1 var(--sans);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.hauptnav { display: flex; gap: 0.25rem 2rem; flex-wrap: wrap; }
.hauptnav a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-leise);
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s;
}
.hauptnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.hauptnav a:hover, .hauptnav a[aria-current] { color: var(--text); }
.hauptnav a:hover::after, .hauptnav a[aria-current]::after { transform: scaleX(1); }

/* ---------------------------------------------------------------- Startseite */

.buehne {
  padding: clamp(4rem, 12vh, 9rem) var(--rand) clamp(3rem, 8vh, 6rem);
  text-align: center;
}
.buehne h1 {
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.005em;
}
.buehne-text {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--text-leise);
  font: italic 400 clamp(1.25rem, 2.2vw, 1.5rem)/1.5 var(--serif);
}

/* ---------------------------------------------------------------- Seitentitel & Abschnitte */

.seitentitel {
  padding: clamp(3rem, 9vh, 6rem) var(--rand) 1rem;
  text-align: center;
}
.seitentitel h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 400; }
.seitentitel-gross { padding-block: clamp(5rem, 16vh, 10rem); }

.ki-hinweis {
  display: inline-block;
  margin: 0.5rem 0 0;
  padding: 0.4rem 1rem;
  border: 1px solid var(--gold-linie);
  border-radius: 999px;
  color: var(--text-leise);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.ki-hinweis::before { content: "✦ "; color: var(--gold); }

.abschnitt {
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4.5rem) var(--rand);
}

.abschnitt-kopf { margin-bottom: 2.5rem; text-align: center; }
.abschnitt-kopf h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 400; }
.abschnitt-kopf .einleitung { margin-top: 1rem; }

.mehr { margin: 3rem 0 0; text-align: center; }

.kapitel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.kapitel a {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--gold-linie);
  border-radius: 999px;
  color: var(--text-leise);
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
}
.kapitel a:hover { border-color: var(--gold); color: var(--text); }

/* ---------------------------------------------------------------- Galerie */

.galerie {
  columns: 2;
  column-gap: clamp(0.75rem, 1.6vw, 1.5rem);
}
@media (min-width: 640px)  { .galerie { columns: 3; } }
@media (min-width: 1000px) { .galerie { columns: 4; } }

.werk {
  break-inside: avoid;
  margin: 0 0 clamp(1.25rem, 2.4vw, 2.25rem);
}
.werk a {
  display: block;
  overflow: hidden;
  background: var(--flaeche);
  outline-offset: 4px;
}
.werk img {
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.7s;
  filter: brightness(0.94);
}
.werk a:hover img, .werk a:focus-visible img { transform: scale(1.035); filter: brightness(1.04); }

.werk figcaption {
  padding-top: 0.7rem;
  text-align: center;
  color: var(--text-leise);
  font: 500 1.15rem/1.3 var(--serif);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.werk:hover figcaption, .werk:focus-within figcaption { color: var(--gold-hell); }

.leer {
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem 2rem;
  border: 1px solid var(--gold-linie);
  text-align: center;
  color: var(--text-leise);
  background: radial-gradient(ellipse at 50% 0%, var(--gold-hauch), transparent 70%);
}
.leer-titel { color: var(--text); font: italic 400 1.6rem/1.3 var(--serif); }

/* ---------------------------------------------------------------- Zitate */

.zitatblock {
  max-width: 48rem;
  text-align: center;
  color: var(--text-leise);
}
.zitatblock blockquote { margin: 0 0 2rem; }
.zitatblock blockquote p {
  color: var(--text);
  font: italic 400 clamp(1.75rem, 4vw, 2.75rem)/1.25 var(--serif);
}
.zitatblock blockquote p::before,
.zitatblock blockquote p::after { color: var(--gold); }
.zitatblock blockquote p::before { content: "„"; }
.zitatblock blockquote p::after  { content: "“"; }

/* ---------------------------------------------------------------- Über mich */

.portrait {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--grund), 0 0 0 2px var(--gold), 0 0 0 9px var(--grund), 0 0 0 10px var(--gold-linie);
}

.interview, .text {
  max-width: var(--lesebreite);
  margin: 0 auto;
  padding: 1rem var(--rand) 3rem;
  box-sizing: content-box;
}
.interview h2 {
  margin: 3rem 0 1rem;
  color: var(--gold-hell);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 500;
}
.interview h2:first-child { margin-top: 1rem; }

.zitat { margin: 2rem 0; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 1px solid var(--gold); }
.zitat p { margin: 0; color: var(--text); font: italic 400 1.6rem/1.35 var(--serif); }

.interview-bild { margin: 2rem auto; width: min(250px, 70%); }
.interview-bild figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--text-still);
  font: italic 400 1.05rem/1.4 var(--serif);
}

.ruhmeshalle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1.5rem;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--rand) 2rem;
}
.ruhm-karte {
  padding: 2rem 1.75rem;
  background: var(--flaeche);
  border-top: 1px solid var(--gold);
}
.ruhm-karte h3 { margin-bottom: 1.25rem; color: var(--gold-hell); font-size: 1.6rem; }
.ruhm-karte ul { margin: 0; padding: 0; list-style: none; }
.ruhm-karte li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  color: var(--text-leise);
  font-size: 0.95rem;
  line-height: 1.5;
}
.ruhm-karte li:last-child { border-bottom: 0; }
.mit-datum span {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- Rechtstexte */

.text { color: var(--text-leise); font-size: 1rem; }
.text h2 { margin: 2.5rem 0 0.75rem; color: var(--text); font-size: 1.6rem; }
.text h2:first-child { margin-top: 0.5rem; }
.text ul { padding-left: 1.25rem; margin: 0 0 1.1em; }
.text li { margin-bottom: 0.25rem; }
.text li::marker { color: var(--gold); }
.stand { margin-top: 3rem; color: var(--text-still); font-size: 0.875rem; }

/* ---------------------------------------------------------------- Fuß */

.seitenfuss {
  margin-top: 3rem;
  padding: 1rem var(--rand) 3rem;
  text-align: center;
  color: var(--text-still);
  font-size: 0.85rem;
}
.fuss-motto { margin-bottom: 1.5rem; color: var(--text-leise); font: italic 400 1.25rem/1.4 var(--serif); }
.fuss-nav { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1rem; }
.fuss-nav a {
  color: var(--text-leise);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}
.fuss-nav a:hover, .fuss-nav a[aria-current] { color: var(--gold); }
.fuss-info { margin: 0; }

/* ---------------------------------------------------------------- Vollbildansicht */

html:has(.lightbox[open]) { overflow: hidden; }

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(8 7 6 / 0.97);
  color: var(--text);
  overflow: hidden;
  touch-action: pinch-zoom;
}
.lightbox::backdrop { background: rgb(8 7 6 / 0.9); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: einblenden 0.25s ease-out; }

.lb-buehne {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 3.5rem 4.5rem 0.5rem;
}
.lb-bild {
  max-width: 100%;
  max-height: calc(100dvh - 9rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 0.6);
  transition: opacity 0.25s;
  user-select: none;
  -webkit-user-drag: none;
}
.lb-bild.laedt { opacity: 0.25; }

.lb-leiste {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  padding: 0.75rem 1rem 1.5rem;
  text-align: center;
}
.lb-titel { font: 500 1.6rem/1.2 var(--serif); }
.lb-zahl { color: var(--text-still); font-size: 0.8rem; letter-spacing: 0.15em; font-variant-numeric: tabular-nums; }
.lb-ki { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }
.lb-ki[hidden] { display: none; }

.lb-knopf {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--gold-linie);
  border-radius: 50%;
  background: rgb(12 11 10 / 0.6);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.lb-knopf:hover { border-color: var(--gold); color: var(--gold-hell); }
.lb-knopf svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lb-zu     { top: 1rem; right: 1rem; }
.lb-zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-weiter  { right: 1rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lb-buehne { padding: 4rem 0.5rem 0.5rem; }
  .lb-zurueck, .lb-weiter { top: auto; bottom: 1rem; transform: none; }
  .lb-leiste { padding-inline: 4.5rem; }
}

@keyframes einblenden { from { opacity: 0; } }

/* ---------------------------------------------------------------- Kleine Bildschirme */

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .seitenkopf { flex-direction: column; padding-block: 1.25rem 0.5rem; }
  .marke { align-items: center; }
  .hauptnav { justify-content: center; gap: 0.25rem 1.5rem; }
  .werk figcaption { font-size: 1rem; }
}

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