/*
Theme Name: YogaaSoulful
Theme URI: https://www.yogaasoulful.online
Author: YogaaSoulful
Author URI: https://www.yogaasoulful.online
Description: Editorial German yoga WordPress theme for YogaaSoulful in Kohleben. Startseite, Über uns, Leistungen, Kontakt.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yogaasoulful
Tags: one-page, custom-menu, featured-images, translation-ready, health
*/

:root {
  --ivory: #f7f3eb;
  --ivory-deep: #efe8da;
  --forest: #1f3a32;
  --forest-soft: #2a4d43;
  --moss: #6b8f7e;
  --terracotta: #c4785a;
  --terracotta-deep: #b26548;
  --gold: #c4a574;
  --ink: #1c1a17;
  --muted: #5e584f;
  --line: rgba(31, 58, 50, 0.14);
  --header-h: 84px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.45em;
}

p {
  margin: 0 0 1em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.kicker {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker-dark {
  color: var(--terracotta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  background: var(--terracotta);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--terracotta-deep);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(247, 243, 235, 0.45);
  color: var(--ivory);
}

.btn-ghost:hover {
  background: var(--ivory);
  color: var(--forest);
  border-color: var(--ivory);
}

.btn-full {
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand-light {
  color: var(--ivory);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(28, 26, 23, 0.05);
}

.header-bar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.nav-cluster {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-cluster a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-cluster a:hover,
.nav-cluster a.is-active {
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  position: relative;
  cursor: pointer;
}

.nav-toggle span:not(.screen-reader-text) {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--forest);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h));
}

.hero-copy {
  background: var(--forest);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px 80px;
}

.hero-copy h1 {
  font-size: clamp(48px, 6vw, 84px);
  color: #fff;
  margin-bottom: 22px;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-lead {
  max-width: 34em;
  color: rgba(247, 243, 235, 0.82);
  font-size: 17px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(196, 165, 116, 0.28);
}

.hero-meta dt {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.hero-meta dd {
  margin: 0;
  font-size: 15px;
}

.hero-media {
  margin: 0;
  min-height: 520px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ritual strip */
.ritual {
  overflow: hidden;
  background: var(--ivory-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.ritual-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ritual-move 28s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--forest);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ritual-track span + span::before {
  content: "·";
  margin-right: 48px;
  color: var(--gold);
}

@keyframes ritual-move {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

/* About */
.about {
  padding: 110px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 520px;
}

.portrait {
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-lg {
  width: min(360px, 100%);
  height: min(360px, 70vw);
  border: 8px solid #fff;
  box-shadow: 0 24px 50px rgba(31, 58, 50, 0.16);
}

.portrait-sm {
  position: absolute;
  width: 210px;
  height: 210px;
  right: 0;
  bottom: 36px;
  border: 6px solid var(--ivory);
  box-shadow: 0 16px 36px rgba(31, 58, 50, 0.14);
}

.stat-ring {
  position: absolute;
  left: 210px;
  top: 28px;
  width: 118px;
  height: 118px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--forest);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-ring strong {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}

.stat-ring span {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.about-copy h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 18px;
}

.about-copy > p {
  color: var(--muted);
  font-size: 17px;
}

.about-copy blockquote {
  margin: 28px 0 36px;
  padding: 0 0 0 22px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--forest);
}

.path-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.path-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.path-list span {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  line-height: 1.2;
}

.path-list h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.path-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Classes */
.classes {
  padding: 0 0 110px;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-intro h2 {
  font-size: clamp(36px, 4vw, 52px);
}

.section-intro p:last-child {
  color: var(--muted);
  margin: 0;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.class-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--forest);
}

.class-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.class-card:hover img {
  transform: scale(1.05);
}

.class-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 22px 22px;
  background: linear-gradient(180deg, transparent, rgba(17, 28, 25, 0.92));
  color: #fff;
}

.class-card-body p {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.class-card-body h3 {
  font-size: 30px;
  margin-bottom: 6px;
}

.class-card-body span {
  font-size: 14px;
  color: rgba(247, 243, 235, 0.82);
}

/* Quote */
.quote-band {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.quote-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 32, 28, 0.62);
}

.quote-band-inner {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  text-align: center;
  padding: 80px 0;
}

.quote-band-inner blockquote {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 48px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
}

.quote-band-inner cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Services */
.services {
  padding: 110px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.service-tile {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-tile:nth-child(2n) {
  border-right: none;
}

.service-tile:nth-child(n + 3) {
  border-bottom: none;
}

.service-tile figure {
  margin: 0;
  min-height: 220px;
}

.service-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-tile-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.service-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.service-tile h3 {
  font-size: 30px;
}

.service-tile p {
  color: var(--muted);
  flex: 1;
}

.service-tile a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  border-bottom: 1px solid var(--gold);
  width: max-content;
  padding-bottom: 3px;
}

.service-tile a:hover {
  color: var(--forest);
}

/* Contact */
.contact {
  padding: 0 0 110px;
}

.contact-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.contact-tile {
  display: block;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-tile span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.contact-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  word-break: break-word;
}

.contact-tile em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border: 1px solid var(--line);
  background: #fff;
}

.contact-form-panel {
  padding: 36px 40px 40px;
}

.contact-photo {
  margin: 0 0 24px;
  height: 150px;
  overflow: hidden;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-panel h3 {
  font-size: 32px;
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0;
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--forest);
}

.form-note {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--moss);
  font-size: 14px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  background: var(--forest);
  color: var(--ivory);
  text-align: center;
  padding: 72px 0 28px;
}

.footer-lead {
  max-width: 420px;
  margin: 18px auto 28px;
  color: rgba(247, 243, 235, 0.75);
}

.footer-nav,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}

.footer-nav {
  margin-bottom: 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-meta {
  font-size: 14px;
  color: rgba(247, 243, 235, 0.78);
  margin-bottom: 36px;
}

.footer-meta a:hover {
  color: #fff;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 243, 235, 0.12);
  font-size: 13px;
  color: rgba(247, 243, 235, 0.55);
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  padding: 14px 18px;
  background: var(--forest);
  color: #fff;
  border-left: 3px solid var(--gold);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.page-shell {
  padding: 80px 0 110px;
}

.entry-content {
  max-width: 720px;
}

.entry-content h1 {
  font-size: 52px;
}

.entry-content a {
  color: var(--terracotta);
  border-bottom: 1px solid var(--gold);
}

/* Responsive */
@media (max-width: 980px) {
  .nav-cluster {
    display: none;
  }

  .header-bar {
    display: flex;
    grid-template-columns: none;
    justify-content: space-between;
  }

  .header-bar .brand {
    justify-self: start;
  }

  .brand-name {
    font-size: 24px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--forest);
    border-color: var(--forest);
  }

  .nav-toggle span:not(.screen-reader-text) {
    background: var(--ivory);
  }

  .mobile-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: var(--ivory);
    border-top: 1px solid transparent;
  }

  .mobile-nav.is-open {
    max-height: 320px;
    border-top-color: var(--line);
  }

  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 12px 20px 24px;
  }

  .mobile-nav a {
    display: block;
    padding: 12px 0;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 56px 28px 48px;
  }

  .hero-media {
    min-height: 420px;
  }

  .about-grid,
  .class-grid,
  .service-grid,
  .contact-tiles,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .service-tile {
    grid-template-columns: 1fr;
    border-right: none;
  }

  .service-tile:nth-child(n) {
    border-bottom: 1px solid var(--line);
  }

  .service-tile:last-child {
    border-bottom: none;
  }

  .service-tile figure {
    height: 200px;
  }

  .portrait-sm {
    width: 160px;
    height: 160px;
    right: 12px;
  }

  .stat-ring {
    left: auto;
    right: 8px;
    top: 8px;
  }

  .contact-map iframe {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-meta,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 420px;
  }

  .portrait-lg {
    width: 260px;
    height: 260px;
  }

  .class-card {
    min-height: 360px;
  }

  .contact-form-panel {
    padding: 28px 22px;
  }

  .footer-bar {
    justify-content: center;
    text-align: center;
  }
}
