/* KOKUMI — Stylesheet V1
 * Brand: Koku Black + Koku Gold + Cream
 * Stil: literarisch-leise, dunkel, Ghibli-Aquarell-Atmosphäre
 */

:root {
  --koku-black: #0A0A0A;
  --koku-black-soft: #141414;
  --koku-black-card: #161614;
  --koku-gold: #C9A84C;
  --koku-gold-warm: #E0BD5A;
  --cream: #E8E5DE;
  --cream-muted: #A09988;
  --cream-faint: #6F695C;
  --border-subtle: #2A2A28;
  --border-gold: rgba(201, 168, 76, 0.25);

  --font-serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --maxw: 1140px;
  --maxw-text: 720px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--koku-black);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typografie */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--cream); }
p.lead { font-size: 1.15rem; color: var(--cream-muted); }

a {
  color: var(--koku-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--koku-gold-warm); }

em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cream-muted);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--koku-gold);
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: block;
}

.text-muted { color: var(--cream-muted); }
.text-faint { color: var(--cream-faint); font-size: 0.9rem; }

/* Layout */

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-text {
  max-width: var(--maxw-text);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }
section.tight { padding: 3rem 0; }

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cream);
}
.brand:hover { color: var(--cream); }
.brand .dot { color: var(--koku-gold); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--cream-muted);
  font-weight: 400;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }

/* Hero */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 10, 10, 0.5) 0%,
    rgba(10, 10, 10, 0.55) 50%,
    rgba(10, 10, 10, 0.95) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 4rem 1.5rem;
  margin: 0 auto;
  text-align: left;
}
.hero h1 {
  margin-bottom: 1.5rem;
}
.hero .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--cream-muted);
  line-height: 1.5;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--koku-gold);
  color: var(--koku-gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-right: 0.5rem;
}
.btn:hover {
  background: var(--koku-gold);
  color: var(--koku-black);
}
.btn-primary {
  background: var(--koku-gold);
  color: var(--koku-black);
}
.btn-primary:hover {
  background: var(--koku-gold-warm);
  color: var(--koku-black);
}
.btn-ghost {
  border-color: var(--cream-muted);
  color: var(--cream);
}
.btn-ghost:hover {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}

/* Über-Sektion auf Homepage */

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-row img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

/* Cards / Recipe Grid */

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.recipe-card {
  background: var(--koku-black-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.recipe-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}
.recipe-card a {
  color: inherit;
  display: block;
}
.recipe-card .card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--koku-black-soft);
}
.recipe-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.recipe-card:hover .card-image img {
  transform: scale(1.04);
}
.recipe-card .card-body {
  padding: 1.5rem 1.5rem 1.75rem;
}
.recipe-card .card-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--koku-gold);
  margin-bottom: 0.5rem;
}
.recipe-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}
.recipe-card .card-excerpt {
  color: var(--cream-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Search */

.search-bar {
  position: relative;
  max-width: 520px;
  margin: 0 auto 2rem;
}
.search-bar input {
  width: 100%;
  background: var(--koku-black-soft);
  border: 1px solid var(--border-subtle);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 1rem 1.25rem 1rem 3rem;
  border-radius: 2px;
  transition: border-color 0.2s ease;
}
.search-bar input:focus {
  outline: none;
  border-color: var(--koku-gold);
}
.search-bar input::placeholder { color: var(--cream-faint); }
.search-bar::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--cream-faint);
  border-radius: 50%;
  transform: translateY(-60%);
  pointer-events: none;
}
.search-bar::after {
  content: "";
  position: absolute;
  left: 2.05rem;
  top: 50%;
  width: 7px;
  height: 1.5px;
  background: var(--cream-faint);
  transform: translateY(0.05rem) rotate(45deg);
  pointer-events: none;
}
.search-empty {
  text-align: center;
  color: var(--cream-muted);
  padding: 3rem 0;
  font-style: italic;
}

/* Recipe-Page-Layout */

.recipe-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.recipe-hero .hero-overlay {
  background: linear-gradient(180deg,
    rgba(10,10,10,0.35) 0%,
    rgba(10,10,10,0.65) 60%,
    rgba(10,10,10,1) 100%);
}
.recipe-hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem 3rem;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}
.recipe-meta-row {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--cream-muted);
}
.recipe-meta-row span strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.15rem;
}

.recipe-body {
  padding: 4rem 0;
}
.recipe-body .story-block {
  max-width: var(--maxw-text);
  margin: 0 auto 3rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--cream);
}
.recipe-body .story-block p { margin-bottom: 1.25rem; }
.recipe-body .story-block p:first-of-type::first-letter {
  font-family: var(--font-serif);
  float: left;
  font-size: 3.8rem;
  line-height: 1;
  margin: 0.25rem 0.75rem 0 0;
  color: var(--koku-gold);
}

.aiko-box {
  max-width: var(--maxw-text);
  margin: 2.5rem auto;
  padding: 1.75rem 2rem;
  background: var(--koku-black-card);
  border-left: 2px solid var(--koku-gold);
}
.aiko-box .aiko-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--koku-gold);
  margin-bottom: 0.5rem;
  display: block;
}
.aiko-box p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--cream);
  margin: 0;
}

/* Recipe table */

.recipe-cols {
  max-width: var(--maxw-text);
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}
@media (max-width: 720px) {
  .recipe-cols { grid-template-columns: 1fr; gap: 2rem; }
  .about-row { grid-template-columns: 1fr; gap: 2rem; }
}

.ingredients h2, .steps h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.ingredients ul {
  list-style: none;
}
.ingredients li {
  padding: 0.6rem 0;
  border-bottom: 1px dotted var(--border-subtle);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}
.ingredients li:last-child { border-bottom: none; }
.ingredients li .qty {
  color: var(--koku-gold);
  font-family: var(--font-serif);
  font-size: 1rem;
  white-space: nowrap;
}

.ingredients h3 {
  font-size: 1.05rem;
  color: var(--cream-muted);
  font-family: var(--font-sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 2rem 0 0.5rem;
}

.steps ol {
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 1.25rem 0 1.5rem 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  font-size: 0.98rem;
  line-height: 1.65;
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.2rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--koku-gold);
  line-height: 1;
}
.steps li strong {
  display: block;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

/* Inline image in recipe */

.recipe-inline-image {
  max-width: var(--maxw);
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.recipe-inline-image img {
  width: 100%;
  height: auto;
  display: block;
}
.recipe-inline-image .caption {
  margin-top: 0.75rem;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--cream-muted);
  font-size: 0.95rem;
  text-align: center;
}

/* Page-Header (für Unterseiten) */

.page-header {
  padding: 6rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}
.page-header h1 { margin-bottom: 1rem; }
.page-header p { color: var(--cream-muted); max-width: 600px; margin: 0 auto; }

/* Legal */

.legal-content {
  max-width: var(--maxw-text);
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; }
.legal-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.legal-content p { color: var(--cream); }
.legal-content .placeholder {
  background: rgba(201, 168, 76, 0.08);
  border-left: 2px solid var(--koku-gold);
  padding: 0.15rem 0.5rem;
  color: var(--koku-gold);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  background: #050505;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  font-size: 0.85rem;
  color: var(--cream-faint);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-grid h4 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: var(--cream-muted);
  margin-bottom: 1rem;
}
.footer-grid ul {
  list-style: none;
}
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: var(--cream-faint); }
.footer-grid a:hover { color: var(--koku-gold); }
.footer-brand p {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cream-muted);
  max-width: 320px;
  margin-top: 0.75rem;
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.25s ease;
  color: var(--cream-muted);
}
.socials a:hover {
  border-color: var(--koku-gold);
  color: var(--koku-gold);
}
.socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--cream-faint); margin-left: 1.25rem; }

/* Utilities */

.divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  max-width: 60px;
  margin: 2rem 0;
}
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
