/* mkophoto.de — Design-Tokens übernommen von marc-koschel.de (nur Dark, kein Switcher) */
:root {
  --bg-base: #0B1524;
  --bg-band: #0E1F33;
  --card-bg: #122234;
  --teal: #14B8A6;
  --emerald: #10B981;
  --teal-light: #2DD4BF;
  --emerald-light: #34D399;
  --text-primary: #ffffff;
  --text-secondary: #9FB4BD;
  --text-muted: #7C919B;
  --border-soft: #1f3040;
  --border-strong: #2a4650;
  --max-width: 1100px;
  --max-width-wide: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
}
/* Depth: feines Grain über dem Hintergrund */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

h1, h2, .page-title, .section-title, .hero-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.wrap--wide { max-width: var(--max-width-wide); }
.gradient-text {
  background: linear-gradient(135deg, var(--teal-light), var(--emerald-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.muted { color: var(--text-muted); }
.lead { color: var(--text-secondary); font-size: 1.125rem; max-width: 48rem; }
.lead a { color: var(--teal-light); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 21, 36, 0.7);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--border-soft);
}
/* Glas-Nav über Fotos: heller Blur-Hintergrund hebt die Leiste vom Bild ab.
   Auch auf der Home sticky — der Hero schiebt sich per negativem Margin darunter. */
.site-header--overlay {
  background: rgba(11, 21, 36, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: "Instrument Serif", Georgia, serif; font-size: 1.5rem; line-height: 1; display: flex; align-items: center; }
.brand img { border-radius: 50%; display: block; margin-right: 1rem; }
.main-nav { display: flex; gap: 1.5rem; font-size: 0.9375rem; color: var(--text-secondary); }
.main-nav a:hover, .main-nav a.active { color: var(--text-primary); }

/* Hero (rutscht unter die sticky Glas-Nav) */
.hero { position: relative; height: 92vh; min-height: 520px; overflow: hidden; margin-top: -72px; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.6s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; padding-bottom: 12vh;
  background: linear-gradient(to bottom, rgba(11,21,36,0.35) 0%, rgba(11,21,36,0.05) 40%, rgba(11,21,36,0.92) 100%);
}
.hero-title { font-size: clamp(3.5rem, 10vw, 7rem); margin: 0; line-height: 1.05; }
.hero-tagline { color: var(--text-secondary); font-size: 1.25rem; margin-top: 0.75rem; }
.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: var(--text-secondary); font-size: 1.75rem;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,8px);} }

/* Sektionen */
.section { padding: 4.5rem 0; position: relative; z-index: 2; }
.section--band { background: var(--bg-band); }
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); margin: 0 0 2rem; }
.page-head { padding-bottom: 1rem; }
.page-title { font-size: clamp(2.75rem, 7vw, 4.5rem); margin: 0 0 1rem; line-height: 1.1; }
.breadcrumb { color: var(--text-muted); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0; }
.breadcrumb a:hover { color: var(--teal-light); }

/* Karten-Grids */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .card-grid--3 { grid-template-columns: 1fr; } .card-grid--2 { grid-template-columns: 1fr; } }

.gallery-card, .album-card {
  position: relative; display: block; border-radius: 12px; overflow: hidden;
  background: var(--card-bg); border: 1px solid var(--border-soft);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.gallery-card img, .album-card img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.gallery-card:hover img, .album-card:hover img { transform: scale(1.04); }
.gallery-card-label, .album-card-label {
  position: absolute; inset: auto 0 0 0; padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(11,21,36,0.92), transparent);
}
.gallery-card-label h3, .album-card-label h3 {
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
  font-size: 1.5rem; margin: 0;
}
.gallery-card-label p, .album-card-label p { margin: 0; color: var(--text-secondary); font-size: 0.875rem; }

/* Foto-Grid (Album) */
.photo-grid { columns: 3 320px; column-gap: 1.25rem; }
.photo { break-inside: avoid; margin: 0 0 1.25rem; }
.photo img {
  width: 100%; height: auto; display: block; border-radius: 8px;
  border: 1px solid var(--border-soft);
}
.photo a { display: block; transition: opacity 0.25s ease; }
.photo a:hover { opacity: 0.85; }
.photo figcaption { color: var(--text-muted); font-size: 0.8125rem; margin-top: 0.375rem; }

/* Profiles */
/* Karten mit Gradient-Rand + leichter Smaragd-Tönung (Visual Rhyming mit
   marc-koschel.de) — Rand via zweischichtigem Background statt Div-Trick */
.mk-card {
  border: 1px solid transparent;
  background:
    linear-gradient(150deg, rgba(20, 184, 166, 0.09), rgba(20, 184, 166, 0) 55%) padding-box,
    linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
    linear-gradient(135deg, rgba(45, 212, 191, 0.55), rgba(16, 185, 129, 0.14) 55%, var(--border-soft)) border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.profile-card {
  display: flex; gap: 1.5rem; align-items: flex-start;
  border-radius: 12px; padding: 1.75rem;
}
.profile-icon { font-size: 3.5rem; line-height: 1; color: var(--teal-light); }
.profile-body h3 { margin: 0 0 0.375rem; font-size: 1.25rem; }
.profile-body p { margin: 0 0 0.75rem; color: var(--text-secondary); font-size: 0.9375rem; }
.profile-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn {
  display: inline-block; font-size: 0.875rem; font-weight: 500;
  padding: 0.5rem 1rem; border-radius: 8px;
}
.btn-secondary { border: 1px solid var(--border-strong); color: var(--text-secondary); }
.btn-secondary:hover { color: var(--text-primary); border-color: var(--teal); }

/* Footer (gemeinsames Muster aller mk-Seiten: by-Zeile, Site-Badges, Linie, Copyright + Menü) */
.site-footer { border-top: 1px solid var(--border-soft); padding: 3rem 0 2rem; position: relative; z-index: 2; }
.site-footer a:hover { color: var(--teal-light); }
.footer-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.footer-by { color: var(--text-primary); font-size: 1.125rem; margin: 0 0 1.5rem; }
.footer-by a { color: var(--teal-light); }
.footer-social { display: flex; gap: 1rem; align-items: center; color: var(--text-muted); font-size: 0.8125rem; margin: 0; }
.footer-cc:hover { color: var(--teal-light); }
.footer-sites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 700px) { .footer-sites { grid-template-columns: 1fr; } }
.footer-site-badge {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 0.75rem; align-items: center;
  border-radius: 10px; padding: 0.875rem 1.125rem;
}
.footer-site-badge i { grid-row: 1 / 3; font-size: 1.5rem; color: var(--teal-light); }
.footer-site-name { font-weight: 500; font-size: 0.9375rem; }
.footer-site-desc { color: var(--text-muted); font-size: 0.8125rem; }
.footer-divider { border: none; border-top: 1px solid var(--border-soft); margin: 1.75rem 0 1.25rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  color: var(--text-muted); font-size: 0.875rem;
}
.footer-bottom a { color: var(--text-secondary); }
.footer-menu { display: flex; gap: 1.25rem; }
.footer-menu a { color: var(--teal-light); }

/* About */
.big-quote { margin: 2rem 0; padding-left: 1.5rem; border-left: 3px solid var(--teal); }
.big-quote p {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem); font-style: italic;
  margin: 0 0 0.25rem; line-height: 1.35;
}
.big-quote-orig { font-size: 1rem !important; color: var(--text-muted); font-style: normal !important; }
.big-quote footer { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.5rem; }
.signature { text-align: right; font-style: italic; }
.quote-card {
  margin: 0;
  border-radius: 12px; padding: 1.75rem; color: var(--text-secondary);
}
.quote-card p { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 1.25rem; margin: 0 0 0.75rem; line-height: 1.4; }
.quote-card footer { font-size: 0.8125rem; color: var(--text-muted); }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 900px) { .about-cols { grid-template-columns: 1fr; } }
.about-cols p { color: var(--text-secondary); }
.about-cols h3 { margin-top: 1.75rem; }
.about-img { border-radius: 8px; border: 1px solid var(--border-soft); height: auto; }
.about-img--right { float: right; margin: 0 0 0.75rem 0.75rem; }
.about-img--left { float: left; margin: 0 0.75rem 0.75rem 0; }
.license-list { color: var(--text-secondary); padding-left: 1.25rem; }
.license-list li { margin-bottom: 0.5rem; }

/* Legal (Imprint/Privacy, EN + DE auf einer Seite) */
.lang-jump { color: var(--teal-light); font-size: 1rem; }
.page-title--sub { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.legal h3 { margin: 1.5rem 0 0.5rem; }
.legal p, .legal ul { color: var(--text-secondary); }
.legal a { color: var(--teal-light); }
.legal .email-obf { cursor: pointer; }

/* Lightbox: EXIF/IPTC-Panel */
.pswp-exif {
  position: absolute; inset: auto 0 0 0;
  padding: 1rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(11,21,36,0.95), transparent);
  color: var(--text-secondary);
  font-family: "Geist", sans-serif;
  font-size: 0.875rem;
  text-align: center;
  pointer-events: none;
}
.pswp-exif h3 {
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
  color: var(--text-primary); font-size: 1.375rem; margin: 0 0 0.125rem;
}
.pswp-exif p { margin: 0.125rem 0; }
.pswp-exif-caption { color: var(--text-secondary); }
.pswp-exif-specs { color: var(--teal-light); letter-spacing: 0.02em; }
.pswp-exif-camera, .pswp-exif-meta { color: var(--text-muted); font-size: 0.8125rem; }

@media (max-width: 700px) {
  .main-nav { gap: 1rem; font-size: 0.8125rem; }
  .photo-grid { columns: 2 200px; }
}
