/* ============================================
   YogaStudio Winterthur — Redesign Study
   Color System: Sage Green + Warm Cream + Plum
   Typography: Fraunces (Display) + Inter (Body)
   ============================================ */

:root {
  /* Core palette */
  --cream: #f6f1e7;
  --cream-soft: #fbf7ee;
  --cream-deep: #ede5d3;
  --sage: #8a9a7b;
  --sage-deep: #5b6e4f;
  --sage-ink: #2f3a28;
  --plum: #5a2a3a;
  --plum-soft: #7a3d50;
  --ink: #1c1f1a;
  --ink-soft: #4a4f44;
  --line: #d8cfba;
  --white: #ffffff;

  /* Type */
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

/* ============================================
   Demo Banner
   ============================================ */
.demo-banner {
  background: var(--plum);
  color: var(--cream);
  text-align: center;
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  font-weight: 500;
}

.demo-banner a {
  text-decoration: underline;
  margin-left: 6px;
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--sage-ink);
  line-height: 1;
}

.brand small {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-top: 4px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--sage-deep);
  opacity: 1;
}

.nav-cta {
  display: inline-block;
  padding: 11px 22px;
  background: var(--sage-ink);
  color: var(--cream);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--plum);
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px var(--gutter);
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
}

/* ============================================
   Container & Sections
   ============================================ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
}

.section-tight {
  padding: clamp(48px, 7vw, 96px) 0;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--sage-ink);
  line-height: 1.05;
}

h1 {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 300;
}

h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--plum);
}

h2 {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 300;
}

h2 em {
  font-style: italic;
  color: var(--plum);
}

h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
}

h4 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
}

p {
  margin-bottom: 1.1em;
  max-width: 62ch;
  color: var(--ink-soft);
}

p.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  max-width: 56ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: "—";
  margin-right: 10px;
  color: var(--sage);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

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

.hero h1 {
  margin-bottom: 28px;
}

.hero .lead {
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-meta strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--sage-ink);
  margin-bottom: 4px;
}

.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-deep);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(28, 31, 26, 0.18));
  pointer-events: none;
}

.hero-stamp {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: var(--cream);
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  z-index: 2;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  border: none;
  font-family: var(--body);
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: var(--sage-ink);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--plum);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--sage-ink);
  border: 1px solid var(--sage-ink);
}

.btn-outline:hover {
  background: var(--sage-ink);
  color: var(--cream);
  opacity: 1;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================
   Quote / Pull
   ============================================ */
.pull-quote {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.2;
  color: var(--sage-ink);
  text-align: center;
  max-width: 22ch;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
}

.pull-quote::before {
  content: "“";
  display: block;
  font-size: 80px;
  color: var(--sage);
  line-height: 0.8;
  margin-bottom: 12px;
}

.pull-quote cite {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-top: 28px;
  font-weight: 500;
}

/* ============================================
   Two Column Module
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.two-col.reverse > :first-child { order: 2; }

@media (max-width: 880px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse > :first-child { order: 0; }
}

.two-col-image {
  aspect-ratio: 5/6;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-deep);
}

.two-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Yogarichtungen Cards
   ============================================ */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 56px;
}

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

.style-card {
  padding: clamp(32px, 4vw, 48px);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.style-card .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--sage);
  font-weight: 400;
}

.style-card h3 {
  font-size: 28px;
}

.style-card p {
  font-size: 15px;
  margin: 0;
}

/* ============================================
   Stundenplan
   ============================================ */
.schedule {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-soft);
  overflow: hidden;
}

.schedule-row {
  display: grid;
  grid-template-columns: 140px 120px 1fr 1fr 100px;
  gap: 24px;
  padding: 22px clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 15px;
}

.schedule-row:last-child { border-bottom: none; }

.schedule-row.head {
  background: var(--cream-deep);
  font-family: var(--body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage-deep);
  font-weight: 600;
}

.schedule-day {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  color: var(--sage-ink);
}

.schedule-time {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 500;
}

.schedule-class {
  color: var(--ink);
}

.schedule-teacher {
  color: var(--ink-soft);
  font-size: 14px;
}

.schedule-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--sage);
  color: var(--cream);
}

.schedule-tag.special {
  background: var(--plum);
}

@media (max-width: 880px) {
  .schedule-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 24px;
  }
  .schedule-row.head { display: none; }
  .schedule-day {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sage-deep);
    font-family: var(--body);
    font-weight: 600;
    margin-bottom: 4px;
  }
  .schedule-class { font-family: var(--display); font-size: 20px; }
}

/* ============================================
   Tarife
   ============================================ */
.tarife-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

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

.tarif {
  padding: clamp(32px, 4vw, 44px);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.tarif.featured {
  background: var(--sage-ink);
  color: var(--cream);
  border-color: var(--sage-ink);
}

.tarif.featured h3,
.tarif.featured .price,
.tarif.featured ul li {
  color: var(--cream);
}

.tarif.featured ul li::before { color: var(--sage); }

.tarif h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.tarif .meta {
  font-size: 13px;
  color: var(--sage-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.tarif.featured .meta { color: var(--sage); }

.tarif .price {
  font-family: var(--display);
  font-size: 52px;
  font-weight: 300;
  color: var(--sage-ink);
  line-height: 1;
  margin-bottom: 8px;
}

.tarif .price small {
  font-size: 14px;
  font-family: var(--body);
  color: var(--ink-soft);
  font-weight: 400;
  margin-left: 4px;
}

.tarif.featured .price small { color: var(--cream-deep); }

.tarif ul {
  list-style: none;
  margin: 32px 0;
  flex: 1;
}

.tarif ul li {
  padding: 10px 0 10px 24px;
  font-size: 14px;
  color: var(--ink-soft);
  position: relative;
  border-bottom: 1px solid var(--line);
}

.tarif.featured ul li { border-bottom-color: rgba(255,255,255,0.12); }

.tarif ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sage);
}

/* ============================================
   Studio / Info Strip
   ============================================ */
.info-strip {
  background: var(--sage-ink);
  color: var(--cream);
  padding: clamp(48px, 6vw, 80px) 0;
}

.info-strip h2 { color: var(--cream); }
.info-strip p { color: var(--cream-deep); }
.info-strip .eyebrow { color: var(--sage); }
.info-strip .eyebrow::before { color: var(--sage); }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

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

.info-card h4 {
  color: var(--cream);
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 15px;
  color: var(--cream-deep);
}

/* ============================================
   Marquee Strip (decorative)
   ============================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  background: var(--cream-soft);
}

.marquee-inner {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: var(--sage-ink);
  animation: marquee 40s linear infinite;
}

.marquee-inner span::after {
  content: "✶";
  margin-left: 60px;
  color: var(--sage);
  font-style: normal;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   Contact / Form
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

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

.contact-info dl {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.contact-info dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-info dd {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--sage-ink);
}

.contact-info dd a { color: inherit; }

form {
  background: var(--cream-soft);
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field {
  display: block;
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--sage-deep);
}

.field textarea { resize: vertical; min-height: 140px; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--sage-ink);
  color: var(--cream-deep);
  padding: clamp(60px, 7vw, 100px) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

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

.footer-grid h5 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-grid a { color: var(--cream-deep); }

.footer-brand {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 12px;
}

.footer-brand small {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 8px;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(246, 241, 231, 0.12);
  padding-top: 28px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--sage);
}

/* ============================================
   Page Header (sub pages)
   ============================================ */
.page-header {
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  font-size: clamp(48px, 8vw, 110px);
  margin-bottom: 24px;
}

.page-header p {
  font-size: clamp(17px, 1.6vw, 21px);
  max-width: 56ch;
  color: var(--ink);
}

/* ============================================
   Helpers
   ============================================ */
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }
.divider {
  height: 1px;
  background: var(--line);
  margin: clamp(60px, 8vw, 120px) 0;
}
