/* =========================================================
   SERENITY – Asiatisches Massage Studio
   style.css
   ========================================================= */

/* GOOGLE FONTS
   Ma Shan Zheng  → handschriftlich-chinesisch, Headlines
   ZCOOL XiaoWei → klassisch chinesisch, Subheadlines
   Noto Sans SC   → clean, Fließtext
   --------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=ZCOOL+XiaoWei&family=Noto+Sans+SC:wght@300;400;500&display=swap');

/* ── VARIABLEN ────────────────────────────────────────────── */
:root {
  --bg:        #f5f0eb;
  --surface:   #faf7f4;
  --border:    #ddd5c8;
  --text:      #1e1613;
  --muted:     #897468;
  --accent:    #b85c4a;
  --accent2:   #cc7060;
  --accent-btn-text: #fff;
  --hero-fade: rgba(245,240,235,.42);
  --shadow:    0 4px 40px rgba(0,0,0,.09);
  --radius:    10px;
  --ease:      .4s cubic-bezier(.4,0,.2,1);

  --font-hero:    'Ma Shan Zheng', cursive;
  --font-heading: 'ZCOOL XiaoWei', serif;
  --font-body:    'Noto Sans SC', sans-serif;
}

[data-theme="dark"] {
  --bg:        #18120f;
  --surface:   #201812;
  --border:    #38281e;
  --text:      #ede0d4;
  --muted:     #9a8678;
  --accent:    #b85c4a;
  --accent2:   #cc7060;
  --accent-btn-text: #fff;
  --hero-fade: rgba(24,18,15,.62);
  --shadow:    0 4px 40px rgba(0,0,0,.5);
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  transition: background var(--ease), color var(--ease);
  line-height: 1.8;
  overflow-x: hidden;
}
img  { display: block; width: 100%; height: 100%; object-fit: cover; }
a    { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── TYPO HELFER ──────────────────────────────────────────── */
.font-hero    { font-family: var(--font-hero); }
.font-heading { font-family: var(--font-heading); }

/* ── DEKO ─────────────────────────────────────────────────── */
.deco-line {
  width: 44px; height: 1px;
  background: var(--accent);
  display: inline-block;
  vertical-align: middle;
  margin-right: .7rem;
  opacity: .7;
}

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: background var(--ease), border-color var(--ease);
}

.nav-brand { display: flex; flex-direction: column; gap: .05rem; }
.nav-brand-main {
  font-family: var(--font-hero);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: .06em;
}
.nav-brand-sub {
  font-family: var(--font-body);
  font-size: .62rem;
  letter-spacing: .22em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nav-links a {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 2px;
  padding: .42rem 1.15rem;
  font-weight: 500 !important;
  letter-spacing: .12em !important;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--accent2) !important; transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  height: 100vh;
  min-height: 580px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 66px;
}
.hero-img {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1600334089648-b0d9d3028eb2?w=1800&q=85')
    center 30% / cover no-repeat;
  transition: filter var(--ease);
}
[data-theme="dark"] .hero-img { filter: brightness(.42); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    120deg,
    var(--bg) 0%,
    var(--hero-fade) 42%,
    transparent 75%
  );
  transition: background var(--ease);
}

/* Kanji Deko rechts */
.hero-kanji {
  position: absolute;
  right: 6vw; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-hero);
  font-size: 6rem;
  color: var(--accent);
  opacity: .1;
  line-height: 1.1;
  letter-spacing: .15em;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0 5vw;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero-sub-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: .4rem;
  line-height: 1.4;
}

h1.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: .9rem;
  letter-spacing: .03em;
}
h1.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  font-size: .88rem;
  color: var(--muted);
  max-width: 410px;
  margin-bottom: 2rem;
  line-height: 1.95;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-group { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .15em;
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background .2s, transform .15s, box-shadow .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--accent-btn-text); }
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,92,74,.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); transform: translateY(-2px); }

/* ── SECTIONS ─────────────────────────────────────────────── */
section { padding: 6rem 5vw; }

.section-tag {
  display: inline-flex;
  align-items: center;
  font-size: .63rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .55rem;
}
.section-title {
  font-family: var(--font-hero);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: .7rem;
  letter-spacing: .04em;
}
.section-sub {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--accent);
  margin-bottom: .7rem;
  letter-spacing: .06em;
}
.section-lead {
  font-size: .88rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.95;
}

/* ── ANGEBOTE ─────────────────────────────────────────────── */
#angebote {
  background: var(--surface);
  transition: background var(--ease);
  position: relative;
  overflow: hidden;
}
#angebote::before {
  content: '癒';
  font-family: var(--font-hero);
  position: absolute;
  right: -1rem; top: -3rem;
  font-size: 20rem;
  color: var(--accent);
  opacity: .03;
  pointer-events: none;
  user-select: none;
}

.angebote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}

.a-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, background var(--ease), border-color var(--ease);
}
.a-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .45s cubic-bezier(.4,0,.2,1);
}
.a-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.a-card:hover::after { width: 100%; }

.a-icon {
  font-family: var(--font-hero);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1;
}
.a-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: .25rem;
  color: var(--text);
  letter-spacing: .03em;
}
.a-dauer {
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: .55rem;
}
.a-card p { font-size: .83rem; color: var(--muted); line-height: 1.85; }

/* ── ÜBER UNS ─────────────────────────────────────────────── */

/* Heller Eigenbereich – auch im Dark Mode */
#ueber {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
  background: #f2e8e2;
  transition: none; /* kein Dark-Mode-Überblenden */
}

/* Alle Texte im Über-Bereich auf helle Werte fixieren */
#ueber .section-tag  { color: var(--accent); }
#ueber .section-sub  { color: var(--accent); }
#ueber .section-title { color: #1e1613; }
#ueber p             { color: #7a6055; }
#ueber .ueber-quote  { color: var(--accent); border-color: var(--accent); }
#ueber .fact strong  { color: var(--accent); }
#ueber .fact span    { color: #7a6055; }
#ueber .ueber-facts  { border-top-color: #d5c5bb; }

.ueber-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 560px;
  position: relative;
}
/* Im Dark-Mode Foto nur leicht dimmen – Sektion ist ja hell */
[data-theme="dark"] .ueber-img img { filter: brightness(.85); }

.ueber-badge {
  position: absolute;
  bottom: 2rem; left: 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
}
.ueber-badge strong {
  display: block;
  font-family: var(--font-hero);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
}
.ueber-badge span { font-size: .7rem; opacity: .9; letter-spacing: .08em; }

.ueber-quote {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--accent);
  border-left: 2px solid var(--accent);
  padding-left: 1.2rem;
  margin: 1.8rem 0;
  line-height: 1.9;
}

.ueber-facts {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.fact strong {
  display: block;
  font-family: var(--font-hero);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1.2;
}
.fact span { font-size: .74rem; color: var(--muted); letter-spacing: .06em; }

/* ── GALERIE ──────────────────────────────────────────────── */
#galerie { padding: 0; }
.gal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
}
.gal-item { overflow: hidden; }
.gal-item:first-child { grid-row: span 2; }
.gal-item img {
  transition: transform .7s cubic-bezier(.4,0,.2,1), filter var(--ease);
}
[data-theme="dark"] .gal-item img { filter: brightness(.52); }
.gal-item:hover img { transform: scale(1.055); }

/* ── KONTAKT ──────────────────────────────────────────────── */
#kontakt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: start;
  background: var(--surface);
  transition: background var(--ease);
}
.k-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  font-size: .875rem;
  color: var(--muted);
}
.k-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  margin-top: .1rem;
  transition: background var(--ease), border-color var(--ease);
}
.k-detail strong { display: block; color: var(--text); font-weight: 500; margin-bottom: .1rem; }

.k-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: background var(--ease), border-color var(--ease);
}
.k-form h3 {
  font-family: var(--font-hero);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.6rem;
  color: var(--text);
  letter-spacing: .04em;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { margin-bottom: 1.2rem; }
.fg label {
  display: block;
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45rem;
}
.fg input, .fg textarea, .fg select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s, background var(--ease), color var(--ease);
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.fg textarea { resize: vertical; min-height: 110px; }

.zeiten { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.zeiten tr { border-bottom: 1px solid var(--border); }
.zeiten tr:last-child { border-bottom: none; }
.zeiten td { padding: .52rem 0; font-size: .83rem; color: var(--muted); }
.zeiten td:last-child { text-align: right; color: var(--text); }
.zeiten .off td { opacity: .35; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--text);
  color: var(--bg);
  padding: 2.8rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .78rem;
}
.footer-brand-main {
  font-family: var(--font-hero);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.footer-brand-kanji {
  font-family: var(--font-heading);
  font-size: .68rem;
  opacity: .45;
  letter-spacing: .2em;
  display: block;
  margin-top: .2rem;
}
footer a { transition: color .2s; }
footer a:hover { color: var(--accent); }

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.v, .reveal-left.v, .reveal-right.v { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }
.d6 { transition-delay: .6s; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  #ueber, #kontakt { grid-template-columns: 1fr; gap: 3rem; }
  .ueber-img { height: 360px; }
  .angebote-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gal-item:first-child { grid-row: span 1; grid-column: span 2; }
  .gal-item img { height: 260px; }
  .hero-kanji { display: none; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .angebote-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr; }
  .gal-item:first-child { grid-column: 1; }
  .ueber-facts { flex-wrap: wrap; gap: 1.5rem; }
  footer { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
@media (min-aspect-ratio: 21/9) {
  section:not(#hero) { max-width: 58vw; margin-inline: auto; }
}
