/*
Theme Name: Yogacare Calm
Theme URI: https://www.yogacarecalm.online
Author: Yogacare Calm
Author URI: https://www.yogacarecalm.online
Description: Vier Yogastunden in Linz. Eine Seite ohne Kasse, mit Impressum und Datenschutzerklärung für Google Ads.
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: yogacarecalm
Tags: one-page, custom-menu, translation-ready
*/

:root {
  --ink: #1a2430;
  --paper: #e8eef2;
  --sheet: #f7fafb;
  --slate: #2c3b4a;
  --teal: #4a7c74;
  --teal-deep: #355c56;
  --clay: #c4846a;
  --muted: #5d6a75;
  --line: rgba(26, 36, 48, 0.12);
  --header-h: 70px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
figure { margin: 0; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.yc-wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.yc-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(247, 250, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.yc-header-row {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.yc-brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.yc-brand span { color: var(--teal); font-weight: 500; }

.yc-nav ul {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yc-nav a {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.yc-nav a.is-active { color: var(--teal); }

.yc-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

.yc-burger span,
.yc-burger span::before,
.yc-burger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
}

.yc-burger span::before,
.yc-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.yc-burger span::before { top: -6px; }
.yc-burger span::after { top: 6px; }

.yc-kicker {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.yc-hero-photo {
  position: relative;
  max-height: 62vh;
  overflow: hidden;
}

.yc-hero-photo img {
  width: 100%;
  height: min(62vh, 640px);
  object-fit: cover;
}

.yc-hero-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 20px;
  background: linear-gradient(transparent, rgba(26, 36, 48, 0.72));
  color: #f4f7f8;
  font-size: 0.85rem;
}

.yc-board {
  background: var(--slate);
  color: #eef3f5;
  padding: 48px 0 40px;
}

.yc-board h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.yc-board .yc-lead {
  margin: 0 0 28px;
  max-width: 36rem;
  color: rgba(238, 243, 245, 0.78);
}

.yc-board .yc-kicker { color: var(--clay); }

.yc-departures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.yc-departures a {
  display: block;
  padding: 16px;
  border: 1px dashed rgba(238, 243, 245, 0.28);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.yc-departures a:hover {
  border-color: var(--clay);
  background: rgba(255, 255, 255, 0.04);
}

.yc-departures strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.yc-departures small {
  display: block;
  margin-top: 4px;
  color: rgba(238, 243, 245, 0.65);
}

.yc-section { padding: 56px 0; }

.yc-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.yc-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  letter-spacing: -0.02em;
}

.yc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yc-tabs button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--sheet);
  font-weight: 700;
  cursor: pointer;
}

.yc-tabs button.is-on {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.yc-ticket {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
}

.yc-ticket img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.yc-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
  margin-bottom: 4px;
}

.yc-ticket time {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
}

.yc-ticket .yc-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.yc-ticket h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
}

.yc-ticket p { margin: 0; color: var(--muted); }

.yc-empty { color: var(--muted); }

.yc-praxis {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.yc-praxis img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.yc-praxis h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.3rem;
}

.yc-facts {
  margin: 16px 0 0;
  padding-left: 1.1rem;
}

.yc-facts li + li { margin-top: 8px; }

.yc-contact {
  background: var(--teal-deep);
  color: #f3f8f7;
  padding: 64px 0;
}

.yc-contact .yc-kicker { color: #d7b39f; }

.yc-form {
  width: min(560px, 100%);
}

.yc-form h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.4rem;
}

.yc-field { margin: 16px 0; }
.yc-field label,
.yc-check { display: block; font-weight: 700; }

.yc-field input,
.yc-field select,
.yc-field textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #4d6e68;
  background: #2d4d48;
  color: #f3f8f7;
}

.yc-field textarea { min-height: 140px; resize: vertical; }

.yc-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}

.yc-check input { margin-top: 5px; }

.yc-btn {
  margin-top: 16px;
  padding: 12px 22px;
  border: 0;
  background: var(--clay);
  color: #1a2430;
  font-weight: 700;
  cursor: pointer;
}

.yc-btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.yc-status { min-height: 1.4em; font-weight: 700; }
.yc-mail { margin-bottom: 0; }
.yc-mail a { color: #d7b39f; }

.yc-legal { padding: 48px 0; }
.yc-legal + .yc-legal { padding-top: 0; }
.yc-legal h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.1rem;
}
.yc-legal h3 { margin: 22px 0 6px; font-size: 1.05rem; }

.yc-footer {
  background: var(--sheet);
  border-top: 1px solid var(--line);
}

.yc-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 36px 0;
}

.yc-footer h3,
.yc-footer h4 { margin: 0 0 8px; }
.yc-footer ul { margin: 0; padding: 0; list-style: none; }
.yc-footer a { text-decoration: none; }
.yc-footer li + li { margin-top: 6px; }

.yc-footer-bar {
  padding: 14px 0 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.yc-page { padding: 64px 0 80px; }
.yc-page h1 {
  margin-top: 0;
  font-family: var(--serif);
  font-size: 2.8rem;
}

.yc-cookie {
  position: fixed;
  z-index: 50;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 18px;
  background: var(--sheet);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(26, 36, 48, 0.14);
}

.yc-cookie p { margin: 0; }
.yc-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.yc-cookie .yc-btn { margin-top: 0; }

@media (max-width: 900px) {
  .yc-departures { grid-template-columns: 1fr 1fr; }
  .yc-praxis,
  .yc-footer-grid { grid-template-columns: 1fr; }
  .yc-praxis img { height: 260px; }
  .yc-head { flex-direction: column; align-items: start; }
}

@media (max-width: 800px) {
  .yc-burger { display: grid; place-items: center; }

  .yc-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--sheet);
    border-bottom: 1px solid var(--line);
  }

  .yc-nav.is-open { display: block; }
  .yc-nav ul { flex-direction: column; gap: 0; padding: 8px 0 14px; }
  .yc-nav a { display: block; padding: 12px 20px; }

  .yc-ticket {
    grid-template-columns: 84px 1fr;
    gap: 14px;
  }

  .yc-ticket img {
    width: 84px;
    height: 84px;
  }

  .yc-cookie { flex-direction: column; align-items: stretch; }
}

@media (max-width: 520px) {
  .yc-departures { grid-template-columns: 1fr; }
}
