/* YogaEasy Academy – Pilates-meets-Yoga Landingpage
   Test für Cloudflare Pages / später go.yogaeasy.de
   Farben und Typo: /workspace/ye-design/ye-academy-landingpage-vorgaben.md
   (Arbeitsstand 13.11.2026; offizielles CD-Paket steht noch aus)
   Schriften: selbst gehostete Fontsource-woff2, kein Google Fonts.
*/

:root {
  --ye-coral: #E85E3D;
  --ye-teal: #009090;
  --ye-teal-hover: #58ABAB;
  --ye-petrol: #0E5C63;
  --ye-deep: #0A3F45;
  --ye-ink: #555547;
  --ye-sand: #F2EBE4;
  --ye-sand-hell: #F7F0E8;
  --ye-mint: #E6F2F0;
  --ye-greige: #E7DBD1;
  --ye-stone: #E0E0DC;
  --ye-paper: #F8F8F6;
  --ye-white: #FFFFFF;
  --ye-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ye-sans: "Source Sans 3", "Segoe UI", system-ui, Helvetica, Arial, sans-serif;
  --ye-measure: 72rem;
  --ye-pad: clamp(1.25rem, 4vw, 3rem);
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-900-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playfair-display-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ye-sans);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ye-ink);
  background: var(--ye-sand);
  -webkit-font-smoothing: antialiased;
}

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

p, li {
  font-family: var(--ye-sans);
  color: var(--ye-ink);
  background: transparent;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1rem; padding: 0; list-style: none; }
li { margin: 0 0 0.55rem; padding-left: 1.35rem; position: relative; }
li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ye-coral);
}

a { color: var(--ye-teal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ye-teal-hover); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ye-petrol);
  color: var(--ye-white);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* —— Test notice —— */
.test-banner {
  background: var(--ye-petrol);
  color: var(--ye-paper);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem var(--ye-pad);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ye-sand);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--ye-stone);
  box-shadow: 0 1px 0 rgba(14, 92, 99, 0.04);
}
.site-header-inner {
  max-width: var(--ye-measure);
  margin: 0 auto;
  padding: 0.9rem var(--ye-pad);
  display: flex;
  align-items: flex-end;
  gap: 0.7rem;
}
.logo-lockup {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.logo-lockup img {
  height: 40px;
  width: auto;
  display: block;
}
.logo-academy {
  font-family: var(--ye-sans);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--ye-ink);
  line-height: 1;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--ye-coral);
}

/* —— Layout helpers —— */
.wrap {
  width: 100%;
  max-width: var(--ye-measure);
  margin: 0 auto;
  padding-left: var(--ye-pad);
  padding-right: var(--ye-pad);
}
.band { width: 100%; }

h1, h2, .serif {
  font-family: var(--ye-serif);
  color: var(--ye-petrol);
}

h1 {
  font-weight: 900;
  font-size: clamp(2.15rem, 5.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0.45rem 0 0;
}
h1 .line {
  display: block;
  width: 4.5rem;
  height: 3px;
  margin-top: 0.7rem;
  background: var(--ye-coral);
}

h2 {
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1.15rem;
}

h3 {
  font-family: var(--ye-sans);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ye-petrol);
  margin: 0 0 0.7rem;
}

.overline {
  font-family: var(--ye-sans);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ye-petrol);
  margin: 0;
}

/* —— Hero —— */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  min-height: min(78vh, 42rem);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem) var(--ye-pad) clamp(2.5rem, 6vw, 5rem);
  padding-left: max(var(--ye-pad), calc((100vw - var(--ye-measure)) / 2 + var(--ye-pad)));
  max-width: none;
}
.hero-copy-inner { max-width: 34rem; }
.subline {
  font-family: var(--ye-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
  color: var(--ye-petrol);
  margin: 1.2rem 0 0;
}
.benefit {
  margin: 1.1rem 0 0;
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 34rem;
}
.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  background: var(--ye-greige);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  position: absolute;
  inset: 0;
  transition: transform 0.8s ease;
}
.hero-media:hover img { transform: scale(1.03); }

/* —— Facts + CTA (Preis) —— */
.facts-cta {
  background: var(--ye-sand-hell);
  padding: 3.25rem 0 3.5rem;
}
.facts {
  background: var(--ye-paper);
  border: 1px solid var(--ye-stone);
  border-radius: 10px;
  padding: 1.6rem 1.5rem 1.4rem;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem 1.4rem;
}
.fact-label {
  font-family: var(--ye-sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ye-petrol);
  margin: 0 0 0.35rem;
}
.fact-value {
  font-size: 1.02rem;
  line-height: 1.4;
  margin: 0;
}
.todo {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ye-petrol);
  background: var(--ye-mint);
  border-radius: 3px;
  padding: 0.1rem 0.4rem;
  margin-right: 0.35rem;
}

.cta-wrap {
  margin: 1.6rem 0 0;
}
.cta,
a.cta {
  display: inline-block;
  background: var(--ye-coral);
  color: var(--ye-white);
  font-family: var(--ye-sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  padding: 0.9rem 1.55rem;
  border-radius: 4px;
  text-decoration: none;
  border: 0;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
a.cta:hover,
a.cta:focus {
  background: var(--ye-teal);
  color: var(--ye-white);
  transform: translateY(-1px);
}
a.cta:active { transform: translateY(0); }

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}
.section--mint { background: var(--ye-mint); }
.section--paper { background: var(--ye-paper); }
.lead { max-width: 42rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.media-frame {
  overflow: hidden;
  border-radius: 10px;
  background: var(--ye-greige);
}
.media-frame img {
  width: 100%;
  height: auto;
  transition: transform 0.7s ease;
}
.media-frame:hover img { transform: scale(1.035); }

/* What you get */
.get-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin: 1.75rem 0 0;
}
.get-card {
  background: var(--ye-paper);
  border: 1px solid var(--ye-stone);
  border-radius: 10px;
  padding: 1.25rem 1.3rem 1.2rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.get-card:hover {
  border-color: var(--ye-teal);
  transform: translateY(-2px);
}
.get-card h3 { margin-bottom: 0.4rem; }
.get-card p { font-size: 1.02rem; }
.get-note {
  margin-top: 1.25rem;
  font-size: 0.98rem;
  max-width: 46rem;
}

/* Teacher */
.teacher {
  display: grid;
  grid-template-columns: 15.5rem 1fr;
  gap: 2.25rem;
  align-items: center;
  max-width: 52rem;
}
.teacher-photo {
  width: 15.5rem;
  height: 15.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ye-sand-hell);
  border: 1px solid var(--ye-stone);
}
.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* Curriculum */
.weekends {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.weekend {
  background: var(--ye-paper);
  border: 1px solid var(--ye-stone);
  border-radius: 10px;
  padding: 1.5rem 1.45rem 1.3rem;
  border-top: 3px solid var(--ye-teal);
}
.weekend h3 { font-size: 1.2rem; margin-bottom: 0.9rem; }
.goals { margin-top: 2.4rem; }
.goals ul { columns: 1; max-width: 44rem; }

.full-bleed-photo {
  padding: 0;
}
.full-bleed-photo .media-frame {
  border-radius: 0;
}
.full-bleed-photo img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}

/* FAQ */
.faq-list { max-width: 46rem; }
.faq-item {
  border-bottom: 1px solid var(--ye-stone);
}
.faq-item:first-child { border-top: 1px solid var(--ye-stone); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--ye-sans);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ye-petrol);
  padding: 1.15rem 2.2rem 1.15rem 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--ye-teal);
  border-bottom: 2px solid var(--ye-teal);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq-item .faq-a {
  padding: 0 0 1.25rem;
  max-width: 40rem;
}
.faq-item summary:hover { color: var(--ye-teal); }

/* Footer */
.site-footer {
  background: var(--ye-petrol);
  color: var(--ye-paper);
  padding: 2.4rem 0 2.6rem;
}
.site-footer a {
  color: var(--ye-paper);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-footer a:hover { color: var(--ye-mint); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.lockup-text {
  font-family: var(--ye-sans);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
  color: var(--ye-paper);
}
.lockup-text span {
  font-weight: 400;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--ye-coral);
  padding-bottom: 1px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.35rem;
  font-size: 0.95rem;
}
.footer-note {
  flex-basis: 100%;
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: var(--ye-mint);
}

/* —— Scroll-in —— */
.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img,
  .media-frame img,
  a.cta { transition: none; }
  .hero-media:hover img,
  .media-frame:hover img { transform: none; }
  a.cta:hover { transform: none; }
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-media {
    min-height: 0;
    height: min(58vw, 26rem);
    order: -1;
  }
  .hero-media img { position: absolute; }
  .hero-copy {
    padding: 2rem var(--ye-pad) 2.5rem;
  }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .split,
  .weekends { grid-template-columns: 1fr; }
  .teacher {
    grid-template-columns: 1fr;
    justify-items: start;
    max-width: 36rem;
  }
  .section { padding: 3.25rem 0; }
}

@media (max-width: 640px) {
  body { font-size: 1.05rem; }
  .logo-lockup img { height: 32px; }
  .get-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .teacher-photo { width: 11.5rem; height: 11.5rem; }
  .facts-cta { padding: 2.4rem 0 2.6rem; }
}
