/* ==========================================================================
   yogasein – Yoga in Bergisch Gladbach
   Static rebuild. Fonts are self-hosted, so the site sets no cookies and
   makes no third-party requests.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'ABeeZee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/abeezee-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'ABeeZee';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/abeezee-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Abel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/abel-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
  --ink: #0a0a0a;
  --accent: #9400ff;
  --bg: #ffffff;
  --rule: #e6e6e6;

  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'ABeeZee', 'Montserrat', sans-serif;
  --font-quote: 'Abel', 'Montserrat', sans-serif;

  --container: 1080px;
  --header-h: 77px;
  --gutter: 20px;
}

/* --- Base ----------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg) url('textur.jpg') repeat-y 50% 0;
  background-size: contain;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Header --------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.header__logo {
  flex: 0 0 auto;
  line-height: 0;
}

.header__logo img {
  width: 250px;
  max-width: 55vw;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.nav a[aria-current='true'] {
  color: var(--accent);
}

/* Burger */

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Sections ------------------------------------------------------------- */

.section {
  padding: 60px 0;
}

.section--hero {
  padding: 150px 0 75px;
}

.section-title,
h2,
h3 {
  margin: 0 0 30px;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 6.3px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #000;
}

h3 {
  margin: 45px 0 20px;
  font-size: 20px;
  letter-spacing: 4px;
}

p {
  margin: 0 0 1.4em;
}

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

/* --- Hero quote ----------------------------------------------------------- */

.hero-quote {
  margin: 0;
  text-align: center;
}

.hero-quote p {
  margin: 0;
  font-family: var(--font-quote);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
}

.hero-quote footer {
  margin-top: 1.6em;
  font-family: var(--font-quote);
  font-size: 28px;
  font-weight: 700;
}

/* --- Split layouts -------------------------------------------------------- */

.split {
  display: grid;
  gap: 40px;
  align-items: start;
}

.split--text-image {
  grid-template-columns: minmax(0, 72fr) minmax(0, 28fr);
}

.split--image-text {
  grid-template-columns: minmax(0, 28fr) minmax(0, 72fr);
}

.split--65-35 {
  grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
}

.split figure {
  margin: 0;
}

/* Two newspaper columns, as on the original */
.cols-2 {
  columns: 2;
  column-gap: 40px;
  text-align: justify;
  hyphens: auto;
}

.cols-2 > p:last-child {
  margin-bottom: 0;
}

.text-justify {
  text-align: justify;
  hyphens: auto;
}

/* --- Courses -------------------------------------------------------------- */

.schedule {
  width: 100%;
  max-width: 480px;
  margin: 0 0 40px;
  border-collapse: collapse;
  text-align: left;
}

.schedule th,
.schedule td {
  padding: 6px 24px 6px 0;
  vertical-align: baseline;
}

.schedule thead th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6b6b6b;
  border-bottom: 1px solid var(--rule);
}

.schedule tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.schedule td:last-child,
.schedule th:last-child {
  padding-right: 0;
}

.label {
  margin: 35px 0 0.4em;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

.workshop-item {
  margin: 0;
}

.workshop-item dt {
  font-weight: 700;
}

.workshop-item dd {
  margin: 0 0 1.2em;
}

/* --- About ---------------------------------------------------------------- */

.person-name {
  margin: 0 0 0.6em;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

.path-list {
  margin: 0;
  padding-left: 1.4em;
}

.path-list li {
  margin-bottom: 0.8em;
}

/* --- Contact -------------------------------------------------------------- */

.contact-list {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 28px;
}

.contact-list dt {
  font-weight: 700;
}

.contact-list dd {
  margin: 0;
}

/* --- Footer --------------------------------------------------------------- */

.footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer a {
  color: var(--ink);
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--accent);
}

/* --- Legal page ----------------------------------------------------------- */

.legal {
  padding-top: 130px;
  max-width: 720px;
}

/* Sentence-case, underlined subheadings, as on the original Impressum */
.legal h2 {
  margin: 40px 0 0.8em;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal address {
  font-style: normal;
  margin-bottom: 1.4em;
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
  }

  body {
    font-size: 17px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--rule);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    display: none;
  }

  .nav[data-open='true'] {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
  }

  .nav a {
    display: block;
    padding: 12px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--rule);
  }

  .nav li:last-child a {
    border-bottom: 0;
  }

  .header__logo img {
    width: 190px;
  }

  .section {
    padding: 45px 0;
  }

  .section--hero {
    padding: 70px 0 50px;
  }

  .section-title,
  h2 {
    font-size: 21px;
    letter-spacing: 4.5px;
  }

  .hero-quote p,
  .hero-quote footer {
    font-size: 23px;
  }

  .cols-2 {
    columns: 1;
  }

  .split--text-image,
  .split--image-text,
  .split--65-35 {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  /* Keep the portrait above the biography when stacked */
  .split--image-text figure {
    order: -1;
  }

  .split figure img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .legal {
    padding-top: 40px;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 18px;
  }

  body {
    font-size: 16px;
  }

  .hero-quote p,
  .hero-quote footer {
    font-size: 20px;
  }

  .section-title,
  h2 {
    font-size: 18px;
    letter-spacing: 3px;
  }

  .cols-2,
  .text-justify {
    text-align: left;
  }

  .schedule th,
  .schedule td {
    padding-right: 14px;
  }

  .contact-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .contact-list dd {
    margin-bottom: 0.8em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-toggle span {
    transition: none;
  }
}

@media print {
  .header,
  .nav-toggle {
    position: static;
  }

  body {
    background: #fff;
  }
}
