/* ============================================
   Yumi Choi — Farbpalette (7-Rollen-System)
   ============================================ */
:root {
  --color-bg:        #0a0a0a;
  --color-primary:   #1a1612;
  --color-secondary: #8A7A6C;
  --color-accent:    #D4A017;
  --color-teal:      #5BA4A4;
  --color-warm:      #C4956A;
  --color-light:     #F5F0E8;
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================================
   Base
   ============================================ */
html {
  scroll-behavior: smooth;
  color-scheme: light only;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

/* Focus states (WCAG: keyboard navigation) */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn-primary:focus-visible {
  outline-color: var(--color-light);
}

/* ============================================
   Header & Navigation
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), transparent);
}

.site-name {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-light);
  text-decoration: none;
}

.site-name:hover {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-light);
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--color-teal);
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  z-index: 101;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-light);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================
   Main Content
   ============================================ */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(6rem, 10vh, 8rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vh, 5rem);
}

.content h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--color-light);
}

.content h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--color-light);
}

.content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-warm);
}

.content p {
  margin-bottom: 1.5rem;
  max-width: 65ch;
  color: rgba(245, 240, 232, 0.85);
}

.content ul, .content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content li {
  margin-bottom: 0.5rem;
  color: rgba(245, 240, 232, 0.85);
}

.page-subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

/* ============================================
   Homepage Hero
   ============================================ */
.home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.home-desktop {
  display: flex;
  background-size: cover;
  background-position: center top;
}

.home-mobile {
  display: none;
  background-size: cover;
  background-position: center;
}

.home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.5) 30%,
    rgba(10, 10, 10, 0.1) 60%,
    transparent 100%
  );
  z-index: 1;
}

.home-text {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 6vw, 5rem);
  max-width: 800px;
}

.home-tag {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.home-name {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: var(--color-light);
  text-shadow: 0 2px 40px rgba(10, 10, 10, 0.6);
  margin-bottom: 1.5rem;
}

.home-quote {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-style: italic;
  color: var(--color-warm);
  max-width: 500px;
  line-height: 1.5;
  opacity: 0.9;
}

/* ============================================
   Story / About Page (Cinematic)
   ============================================ */
.story-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(6rem, 10vh, 8rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}

.story-hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--color-light);
}

.story-hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.8);
  max-width: 45ch;
}

.story-hero-image {
  border-radius: 4px;
  overflow: hidden;
}

.story-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  min-height: 320px;
}

/* Story Section */
.story-section {
  padding: clamp(3rem, 6vh, 5rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 800px;
  margin: 0 auto;
}

.story-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-light);
}

.story-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(245, 240, 232, 0.85);
  max-width: 65ch;
}

/* Cinematic fullwidth image */
.story-image {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: clamp(300px, 50vh, 500px);
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.story-image::before,
.story-image::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 1;
}

.story-image::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-bg), transparent);
}

.story-image::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

.story-image-caption {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--color-secondary);
  margin-top: 1rem;
  padding: 0 1.5rem;
}

/* Story Quote */
.story-quote {
  padding: clamp(2rem, 5vh, 4rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.story-quote blockquote {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-accent);
  border: none;
  padding: 0;
  margin: 0;
}

.story-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-secondary);
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
  position: relative;
  padding: 2rem 0;
  max-width: 700px;
  margin: 2rem auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-secondary);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-teal);
}

.timeline-item.highlight::before {
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.4);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.4rem;
}

.timeline-item.highlight .timeline-year {
  color: var(--color-accent);
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-light);
  margin-bottom: 0.3rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.5;
}

/* ============================================
   Qualifications Tags
   ============================================ */
.quals-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.qual-tag {
  padding: 0.6rem 1.2rem;
  background: var(--color-primary);
  border: 1px solid rgba(138, 122, 108, 0.3);
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--color-teal);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.qual-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================
   Stats Grid
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-primary);
  border-radius: 4px;
  border: 1px solid rgba(138, 122, 108, 0.2);
}

.stat-number {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-top: 0.3rem;
}

/* ============================================
   Coaching Cards
   ============================================ */
.coaching-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.coaching-card {
  padding: 2rem;
  background: var(--color-primary);
  border-radius: 4px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.coaching-card:hover {
  border-color: var(--color-secondary);
}

.coaching-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.coaching-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.75);
}

/* ============================================
   Book Section
   ============================================ */
.book-section {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: start;
  margin: 3rem 0;
}

.book-cover {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.book-cover img {
  width: 100%;
}

.book-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-light);
}

.book-subtitle {
  font-size: 0.9rem;
  color: var(--color-warm);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.book-info p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: 1rem;
}

.book-meta {
  font-size: 0.8rem;
  color: var(--color-secondary);
  margin-top: 1.5rem;
  line-height: 1.8;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #c49215;
  color: var(--color-bg);
}

.btn-secondary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--color-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--color-secondary);
  border-radius: 3px;
  transition: border-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* ============================================
   Footer
   ============================================ */
footer {
  padding: 3rem clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-secondary);
  border-top: 1px solid rgba(138, 122, 108, 0.15);
}

footer a {
  color: var(--color-secondary);
  margin: 0 0.5rem;
  padding: 0.5rem;
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
}

footer a:hover {
  color: var(--color-teal);
}

.footer-links {
  margin-top: 0.75rem;
}

/* ============================================
   Social Icons
   ============================================ */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icons a {
  color: var(--color-light);
  opacity: 0.6;
  transition: opacity 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.social-icons a:hover {
  opacity: 1;
  color: var(--color-teal);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================================
   Kontakt Page
   ============================================ */
.contact-links {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.contact-links li {
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  background: var(--color-primary);
  border-radius: 4px;
  border: 1px solid rgba(138, 122, 108, 0.2);
}

.contact-links a {
  font-size: 1rem;
  font-weight: 500;
}

/* ============================================
   CMS Edit Mode
   ============================================ */
[data-cms-field][contenteditable="true"] {
  outline: 2px dashed var(--color-teal);
  outline-offset: 4px;
  padding: 4px;
  border-radius: 2px;
}

.cms-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--color-secondary);
  font-size: 0.85rem;
}

.cms-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-teal);
  color: var(--color-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cms-toast.show {
  opacity: 1;
}

/* ============================================
   Responsive (Mobile First)
   ============================================ */
@media (max-width: 1024px) {
  .story-hero {
    gap: 2rem;
    padding-left: clamp(1.5rem, 3vw, 2rem);
    padding-right: clamp(1.5rem, 3vw, 2rem);
  }

  .coaching-grid {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    z-index: 100;
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-open .burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-open .burger span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav-links a {
    font-size: 1rem;
    letter-spacing: 3px;
  }

  .social-icons {
    display: none;
  }

  /* Home */
  .home-desktop { display: none; }
  .home-mobile { display: flex; }

  .home-name {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  /* Story */
  .story-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 7rem;
  }

  .story-hero-image {
    order: -1;
  }

  .story-hero-image img {
    aspect-ratio: 4/3;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Coaching */
  .coaching-grid {
    grid-template-columns: 1fr;
  }

  /* Book */
  .book-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .book-cover {
    max-width: 200px;
  }

  /* Main */
  main {
    padding: 5rem 1.5rem 3rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
