/* Izanami Fitness & Pilates · Tokens aus dem Logo (Pflaume, Creme, Terrakotta) */
:root {
  --plum: #4a2c3f;
  --plum-deep: #2e1a27;
  --plum-soft: #6e4a60;
  --cream: #f5efde;
  --cream-2: #ebe2cc;
  --terracotta: #b84a2e;
  --ink: #2e1a27;
  --ink-soft: #4a2c3f;
  --ink-mute: #7a6370;
  --font-display: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --font-body: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip { position: absolute; left: 16px; top: -48px; padding: 8px 14px; background: var(--plum-deep); color: var(--cream); z-index: 50; text-decoration: none; font-size: 14px; }
.skip:focus { top: 16px; }

/* ---------- Kopf ---------- */
.top {
  position: absolute; left: 0; right: 0; top: 0; z-index: 20;
  padding: clamp(18px, 3vw, 34px) var(--gutter) 0;
}
.brand { display: inline-block; color: var(--cream); }
.brand img { width: clamp(150px, 15vw, 220px); }

/* ---------- Hero: gezeichnetes Studio, Sonnenlicht fällt durchs Fenster ---------- */
.hero {
  position: relative; min-height: 100dvh; overflow: hidden;
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  padding: clamp(120px, 18vh, 190px) var(--gutter) 0;
  background: var(--cream-2);
  color: var(--plum);
}
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 50% 70%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(46% 52% at 66% 30%, rgba(245,239,222,0.55) 0%, rgba(245,239,222,0.2) 60%, rgba(245,239,222,0) 85%),
    linear-gradient(0deg, rgba(46,26,39,0.5) 0%, rgba(46,26,39,0.1) 16%, rgba(46,26,39,0) 28%);
}
.hero-inner {
  position: relative; z-index: 3; align-self: start;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; align-items: center;
}
.hero-copy { grid-column: 7 / 13; display: grid; justify-items: start; }
.hero-copy h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3.6vw, 54px); line-height: 1.1; letter-spacing: 0.02em;
  margin: 0 0 clamp(16px, 2vw, 24px); max-width: 16ch; text-wrap: balance;
  color: var(--plum-deep);
}
.hero-copy .lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; max-width: 40ch; margin: 0 0 clamp(22px, 3vw, 32px); color: var(--ink-soft); }
.hero-status {
  position: relative; z-index: 3; margin: 0;
  padding: 28px 0 clamp(18px, 3vw, 30px);
  font-size: 13px; letter-spacing: 0.06em; color: rgba(245,239,222,0.92);
}
.hero-status span { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.04em; color: var(--cream); margin-right: 10px; }

.cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 22px 14px;
  background: var(--plum); color: var(--cream);
  text-decoration: none; font-weight: 500; letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform .4s var(--ease-soft), background .3s var(--ease-soft);
}
.cta:hover { transform: translateY(-2px); background: var(--plum-deep); }
.cta svg { width: 18px; height: 18px; flex: none; }

/* Sonnenlicht: breite Strahlen vom Fenster schräg in den Raum, die langsam atmen,
   dazu Staubkörner, die im Licht aufblitzen. Nur CSS, liegt zwischen Bild und Text. */
.sun { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.beam {
  position: absolute; left: -12%; width: 130%; height: 14vh;
  --tilt: 24deg; transform-origin: 0 50%; transform: rotate(var(--tilt));
  background: linear-gradient(180deg, rgba(255,222,150,0) 0%, rgba(255,226,160,0.75) 50%, rgba(255,222,150,0) 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.4) 65%, transparent 92%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.4) 65%, transparent 92%);
  filter: blur(5px); opacity: 0.6;
  animation: beam 9s ease-in-out infinite alternate;
}
.beam:nth-child(1) { top: 2%;  height: 4vh;   animation-duration: 8s; }
.beam:nth-child(2) { top: 11%; height: 7vh;   animation-duration: 11s; animation-delay: -3s; }
.beam:nth-child(3) { top: 22%; height: 2.5vh; animation-duration: 7s;  animation-delay: -5s; }
.beam:nth-child(4) { top: 29%; height: 6vh;   animation-duration: 12s; animation-delay: -2s; }
.beam:nth-child(5) { top: 41%; height: 3.5vh; animation-duration: 10s; animation-delay: -6s; }
@keyframes beam {
  0% { opacity: 0.4; transform: rotate(var(--tilt)) translateX(-2%); }
  100% { opacity: 1; transform: rotate(calc(var(--tilt) + 0.6deg)) translateX(1.5%); }
}
.mote {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle, #fffdf4 0%, rgba(255,228,160,0.9) 35%, rgba(255,228,160,0) 70%);
  box-shadow: 0 0 10px 3px rgba(255,224,150,0.7);
  opacity: 0; animation: mote 7s ease-in-out infinite;
}
.mote:nth-child(6)  { left: 14%; top: 30%; animation-duration: 6s; }
.mote:nth-child(7)  { left: 22%; top: 18%; animation-duration: 8s; animation-delay: -2s; width: 5px; height: 5px; }
.mote:nth-child(8)  { left: 31%; top: 40%; animation-duration: 7s; animation-delay: -4s; }
.mote:nth-child(9)  { left: 38%; top: 26%; animation-duration: 9s; animation-delay: -1s; width: 5px; height: 5px; }
.mote:nth-child(10) { left: 45%; top: 48%; animation-duration: 6.5s; animation-delay: -3s; width: 5px; height: 5px; }
.mote:nth-child(11) { left: 52%; top: 34%; animation-duration: 8.5s; animation-delay: -5s; }
.mote:nth-child(12) { left: 58%; top: 56%; animation-duration: 7.5s; animation-delay: -2.5s; width: 5px; height: 5px; }
.mote:nth-child(13) { left: 26%; top: 54%; animation-duration: 9.5s; animation-delay: -6s; width: 5px; height: 5px; }
.mote:nth-child(14) { left: 18%; top: 46%; animation-duration: 6s; animation-delay: -1.5s; width: 5px; height: 5px; }
.mote:nth-child(15) { left: 34%; top: 12%; animation-duration: 8s; animation-delay: -4.5s; width: 5px; height: 5px; }
.mote:nth-child(16) { left: 9%;  top: 22%; animation-duration: 7s; animation-delay: -3.5s; }
.mote:nth-child(17) { left: 42%; top: 62%; animation-duration: 10s; animation-delay: -7s; width: 5px; height: 5px; }
.mote:nth-child(18) { left: 64%; top: 44%; animation-duration: 8s; animation-delay: -2s; width: 5px; height: 5px; }
.mote:nth-child(19) { left: 48%; top: 20%; animation-duration: 9s; animation-delay: -5.5s; width: 5px; height: 5px; }
@keyframes mote {
  0%   { opacity: 0;   transform: translate(0, 0) scale(0.6); }
  25%  { opacity: 0.9; transform: translate(6px, -8px) scale(1); }
  40%  { opacity: 0.35; }
  55%  { opacity: 1;   transform: translate(12px, -14px) scale(1.15); }
  100% { opacity: 0;   transform: translate(22px, -26px) scale(0.6); }
}

/* ---------- So trainierst du ---------- */
.about { padding: clamp(64px, 10vw, 128px) var(--gutter); max-width: 1240px; margin: 0 auto; }
.kicker {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 0.04em; color: var(--plum); margin: 0 0 clamp(32px, 5vw, 56px);
}
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.points li { border-top: 1px solid rgba(74,44,63,0.3); padding-top: 22px; }
.points h3 { font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--plum); margin: 0 0 12px; }
.points p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 34ch; }
.booking { margin: clamp(40px, 6vw, 72px) 0 0; font-size: 15px; color: var(--ink-mute); }
.booking a { color: var(--plum); text-underline-offset: 3px; }

/* ---------- Fuß ---------- */
.foot {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: clamp(20px, 4vw, 48px);
  padding: clamp(36px, 5vw, 56px) var(--gutter); background: var(--plum); color: rgba(245,239,222,0.85);
  font-size: 13px; letter-spacing: 0.04em;
}
.foot-mark { width: 132px; }
.foot-info p { margin: 0 0 4px; }
.foot-info a { color: var(--cream); text-underline-offset: 3px; }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.foot-nav a { text-decoration: none; color: rgba(245,239,222,0.88); border-bottom: 1px solid transparent; }
.foot-nav a:hover { border-color: rgba(245,239,222,0.7); }

/* ---------- Breakpoints ---------- */
@media (max-width: 1099px) {
  .hero-copy { grid-column: 6 / 13; }
}
@media (max-width: 899px) {
  .hero { padding-top: clamp(100px, 14vh, 128px); }
  .hero-art img { object-position: 50% 100%; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(245,239,222,0.6) 0%, rgba(245,239,222,0.35) 45%, rgba(245,239,222,0) 62%),
      linear-gradient(0deg, rgba(46,26,39,0.55) 0%, rgba(46,26,39,0.12) 22%, rgba(46,26,39,0) 36%);
  }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { grid-column: 1; }
  .hero-copy h1 { font-size: clamp(26px, 7.4vw, 40px); }
  .hero-copy .lead { font-size: 15px; max-width: 46ch; }
  .beam { --tilt: 34deg; }
  .points { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .foot-nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beam { animation: none; opacity: 0.7; }
  .mote { display: none; }
  .cta { transition: none; }
}
