/*
Theme Name: Yogoora
Theme URI: https://yogoora.online
Author: Yogoora
Author URI: https://yogoora.online
Description: Stundenplan für ein Yoga-Studio in Salzburg. Eine Seite, ohne Kasse, mit Impressum und Datenschutzerklärung.
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: yogoora
Tags: one-page, custom-menu, featured-images, translation-ready
*/

:root {
  --ink: #1b1916;
  --night: #172033;
  --paper: #efe8dc;
  --sheet: #f7f3eb;
  --coral: #d85a3a;
  --coral-deep: #b44328;
  --line: rgba(27, 25, 22, 0.16);
  --muted: #5e584f;
  --header-h: 72px;
  --font-display: "Newsreader", "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.yo-wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.yo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--night);
  color: #f6f1e8;
  height: var(--header-h);
}

.yo-header-row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.yo-brand {
  color: #f6f1e8;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.03em;
}

.yo-brand span {
  color: var(--coral);
}

.yo-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.yo-nav a {
  color: #f6f1e8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.yo-nav a.is-active {
  color: var(--coral);
}

.yo-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 241, 232, 0.4);
  background: transparent;
  color: #f6f1e8;
}

.yo-burger span,
.yo-burger span::before,
.yo-burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.yo-burger span::before,
.yo-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.yo-burger span::before {
  top: -6px;
}

.yo-burger span::after {
  top: 6px;
}

.yo-hero {
  background: var(--night);
  color: #f6f1e8;
  padding: 54px 0 0;
}

.yo-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}

.yo-hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.yo-hero-lead {
  max-width: 46ch;
  margin: 18px 0 0;
  color: rgba(246, 241, 232, 0.82);
}

.yo-clock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 32px 0 0;
  border-top: 1px solid rgba(246, 241, 232, 0.2);
}

.yo-clock a {
  display: block;
  padding: 16px 16px 22px 0;
  color: #f6f1e8;
  text-decoration: none;
  border-right: 1px solid rgba(246, 241, 232, 0.2);
}

.yo-clock a:last-child {
  border-right: 0;
}

.yo-clock strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
}

.yo-clock small {
  color: rgba(246, 241, 232, 0.7);
}

.yo-hero-photo {
  position: relative;
  margin-top: 8px;
}

.yo-hero-photo img {
  width: 100%;
  height: min(58vh, 520px);
  object-fit: cover;
  object-position: center 40%;
}

.yo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  max-width: 36ch;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
}

.yo-section {
  padding: 72px 0;
}

.yo-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 8px;
}

.yo-head h2,
.yo-split h2,
.yo-form h2,
.yo-legal h2,
.yo-page h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.yo-tabs {
  display: flex;
  gap: 8px;
}

.yo-tabs button,
.yo-btn {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 650;
}

.yo-tabs button.is-on,
.yo-btn {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.yo-btn:hover,
.yo-tabs button.is-on:hover {
  background: var(--coral-deep);
  border-color: var(--coral-deep);
}

.yo-row {
  display: grid;
  grid-template-columns: 110px 1fr 200px;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.yo-time {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.yo-row h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.yo-row p {
  margin: 0;
  color: var(--muted);
}

.yo-meta {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.yo-row img {
  width: 200px;
  height: 132px;
  object-fit: cover;
}

.yo-empty {
  margin: 16px 0 0;
}

.yo-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.yo-split p {
  color: var(--muted);
}

.yo-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.yo-facts li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.yo-band {
  margin-top: 28px;
}

.yo-band img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 30%;
}

.yo-band figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.yo-form {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px;
  background: var(--sheet);
  border-left: 8px solid var(--coral);
}

.yo-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}

.yo-field input,
.yo-field select,
.yo-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.yo-field textarea {
  min-height: 120px;
  resize: vertical;
}

.yo-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  font-size: 15px;
}

.yo-check input {
  margin-top: 4px;
}

.yo-note,
.yo-mail {
  margin: 12px 0 0;
  color: var(--muted);
}

.yo-mail a {
  color: var(--coral-deep);
}

.yo-legal {
  padding-top: 10px;
}

.yo-legal-block {
  max-width: 760px;
}

.yo-legal h3 {
  margin: 28px 0 8px;
  font-size: 18px;
}

.yo-footer {
  background: var(--night);
  color: #f6f1e8;
  padding: 36px 0 18px;
}

.yo-footer a {
  color: #f6f1e8;
}

.yo-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.yo-footer h3,
.yo-footer h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
}

.yo-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yo-footer li {
  margin: 6px 0;
}

.yo-footer-bar {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(246, 241, 232, 0.2);
  font-size: 14px;
  color: rgba(246, 241, 232, 0.7);
}

.yo-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.18);
}

.yo-cookie p {
  margin: 0;
  max-width: 70ch;
}

.yo-cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.yo-btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.yo-page {
  padding: 64px 0 80px;
}

@media (max-width: 800px) {
  .yo-burger {
    display: grid;
    place-items: center;
  }

  .yo-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--night);
    padding: 12px 20px 20px;
  }

  .yo-nav.is-open {
    display: block;
  }

  .yo-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .yo-clock,
  .yo-split,
  .yo-footer-grid,
  .yo-row,
  .yo-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .yo-clock a {
    border-right: 0;
    border-bottom: 1px solid rgba(246, 241, 232, 0.2);
    padding-right: 0;
  }

  .yo-row img {
    width: 100%;
    height: 200px;
  }

  .yo-cookie {
    flex-direction: column;
    align-items: stretch;
  }
}
