/* Oona Circle – statische One-Pager Styles */

:root {
  --bg: #f6f4f0;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e3dfd7;
  --accent: #1a1a1a;
  --accent-fg: #f6f4f0;
  --radius: 999px;
  --max: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; lang: de; }
html, body { hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; hyphenate-limit-chars: 6 3 3; overflow-wrap: break-word; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
}
.wordmark {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.wordmark span { margin: 0 4px; opacity: 0.5; }
.site-header nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.site-header nav a:hover { color: var(--fg); }

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
  border-top: 1px solid var(--line);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 16px;
}
h1, h2 { font-weight: 300; letter-spacing: -0.02em; margin: 0 0 24px; }
h1 { font-size: clamp(48px, 10vw, 120px); line-height: 0.95; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; max-width: 18ch; }

.prose { max-width: 62ch; color: #2a2a2a; font-size: 17px; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; margin-bottom: 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p + h2,
.prose ul + h2,
.prose ol + h2 { margin-top: 2.4em; }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 24px 96px;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
.hero-text h1 { hyphens: none; -webkit-hyphens: none; -ms-hyphens: none; }
.hero-text .claim {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 28ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-image {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e3dfd7;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 48px 24px 120px;
    gap: 64px;
  }
  .hero-image { aspect-ratio: 3 / 4; }
}

/* Buttons */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--accent);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  min-height: 48px;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-secondary { background: var(--bg); color: var(--fg); }
.btn-secondary:hover { background: #ece8e0; }

.btn-large { padding: 20px 28px; min-height: 72px; font-size: 17px; }
.btn-large .btn-label { font-weight: 500; }
.btn-large .btn-sub { font-size: 13px; opacity: 0.7; margin-top: 4px; font-weight: 400; }

/* Gallery – horizontaler Swipe-Slider */
.gallery {
  --gallery-h: 60vh;
  display: flex;
  gap: 12px;
  margin: 8px -24px 0;
  padding: 0 24px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  align-items: stretch;
}
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.gallery figure {
  margin: 0;
  flex: 0 0 auto;
  height: var(--gallery-h);
  scroll-snap-align: center;
  overflow: hidden;
  background: #e3dfd7;
  border-radius: 4px;
}
.gallery .gallery-trigger {
  height: 100%;
  width: auto;
}
.gallery figure img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gallery figure:hover img { transform: scale(1.03); }

.gallery-hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

@media (min-width: 640px) {
  .gallery { --gallery-h: 65vh; gap: 16px; }
}
@media (min-width: 960px) {
  .gallery { --gallery-h: 70vh; gap: 20px; }
}

/* Contact */
.contact-lead { color: var(--muted); font-size: 17px; margin: 0 0 32px; max-width: 50ch; }
.contact-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 520px;
}
@media (min-width: 640px) {
  .contact-buttons { grid-template-columns: 1fr 1fr; }
}

/* Footer */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 64px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer-note { margin: 0; }
.site-footer p { margin: 0; }

/* Person section */
.person-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: center;
}
.person-text { min-width: 0; }
.person-portrait {
  margin: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  justify-self: end;
}
.person-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px) {
  .person-grid { grid-template-columns: 1fr; gap: 32px; }
  .person-portrait { width: 200px; height: 200px; justify-self: start; order: 2; }
}

/* Gallery trigger button reset */
.gallery-trigger {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  display: block;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  transition: opacity 0.2s ease;
}
.gallery-trigger:hover { opacity: 0.88; }
.gallery-trigger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 72px;
  animation: lightboxFade 0.18s ease-out;
}
@keyframes lightboxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}
.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 36px;
  line-height: 1;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 640px) {
  .lightbox { padding: 24px 12px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 24px; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 28px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
.lightbox.is-hidden { display: none; }
