/* Meditation Ursula Scheid — the circle is the form she works in. */

@font-face {
  font-family: 'Vollkorn';
  src: url('/assets/fonts/vollkorn-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Vollkorn';
  src: url('/assets/fonts/vollkorn-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  src: url('/assets/fonts/alegreya-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  src: url('/assets/fonts/alegreya-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  src: url('/assets/fonts/alegreya-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #edf1ee;
  --paper-warm: #f6f7f3;
  --ink: #1b2a25;
  --ink-soft: #3c4c45;
  --deep: #16332c;
  --teal: #4e8c86;
  --teal-dark: #35635e;
  --flame: #c9a227;
  --stone: #9aa69f;
  --rule: #d3dbd5;

  --display: 'Vollkorn', Georgia, 'Times New Roman', serif;
  --body: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;

  --measure: 38rem;
  --wide: 72rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2.25rem;
  --s5: 3.5rem;
  --s6: 5.5rem;
  --s7: 8rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.06rem;
  line-height: 1.72;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep);
  color: var(--paper-warm);
  padding: var(--s2) var(--s3);
  z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.008em;
  margin: 0 0 var(--s3);
  color: var(--ink);
  /* German compounds like Datenschutzerklärung are wider than a phone.
     Without this a single word stretches the whole document. */
  overflow-wrap: break-word;
  hyphens: auto;
}

.display {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.04;
  margin-bottom: var(--s3);
}

h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin: 0 0 var(--s3); max-width: var(--measure); }

.lead {
  font-size: clamp(1.14rem, 1.5vw, 1.34rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34rem;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 var(--s2);
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: '';
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  border: 1px solid var(--flame);
  flex: none;
}

blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.38;
  color: var(--ink);
  max-width: 30rem;
}
blockquote cite {
  display: block;
  margin-top: var(--s3);
  font-family: var(--body);
  font-size: 0.86rem;
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--stone);
}

/* ---------- Shell ---------- */

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--s6); }
.section--tight { padding-block: var(--s5); }
.section--deep {
  background: var(--deep);
  color: #dce6e0;
}
.section--deep h1,
.section--deep h2,
.section--deep h3,
.section--deep blockquote { color: var(--paper-warm); }
.section--deep .eyebrow { color: #8fbdb4; }
.section--deep a { color: #a8d3c9; }

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

.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding-block: var(--s2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand img { width: 38px; height: auto; }
.brand__name {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.15;
}
.brand__tag {
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
}

.nav { margin-left: auto; }
.nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.15rem;
  margin: 0;
  padding: 0;
}
.nav__list a {
  font-size: 0.93rem;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.25rem;
  border-bottom: 1px solid transparent;
  display: block;
}
.nav__list a:hover { color: var(--ink); border-bottom-color: var(--flame); }
.nav__list a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--teal); }

.langs {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: none;
}
.langs a { text-decoration: none; color: var(--stone); font-weight: 700; }
.langs a[aria-current='true'] { color: var(--ink); }
.langs span { color: var(--rule); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 62rem) {
  .nav-toggle { display: block; flex: none; }
  /* The brand gives way so the menu button always stays on screen. */
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand__name { font-size: 1rem; }
  .brand__tag { font-size: 0.66rem; letter-spacing: 0.12em; }
  .masthead__inner { gap: var(--s2); }
  .nav {
    display: none;
    width: 100%;
    order: 3;
    margin-left: 0;
    padding-bottom: var(--s2);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; justify-content: flex-start; gap: 0; }
  .nav__list a {
    padding-block: 0.6rem;
    border-bottom: 1px solid var(--rule);
  }
  .masthead__inner { flex-wrap: wrap; }
}

/* On a phone the header becomes a grid: name, menu button and language switch each
   get a fixed place, and the open menu spans the row below. Flex wrapping pushed
   the controls off the screen at 360px, a grid cannot. */
@media (max-width: 44rem) {
  .masthead__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.6rem;
    row-gap: 0.4rem;
  }
  .brand { min-width: 0; gap: 0.6rem; }
  .brand > span { min-width: 0; }
  .brand img { width: 30px; }
  .brand__name { font-size: 0.95rem; display: block; }
  .brand__tag { display: none; }
  .nav-toggle { margin-left: 0; padding: 0.4rem 0.85rem; font-size: 0.8rem; }
  .langs { font-size: 0.78rem; gap: 0.25rem; }
  .nav { grid-column: 1 / -1; order: 0; }
}

/* ---------- Hero: her circle, seen from above ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3rem, 8vw, var(--s7)) var(--s6);
}

.hero__words { position: relative; }

.hero__lines {
  list-style: none;
  margin: 0 0 var(--s4);
  padding: 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.18;
  font-weight: 600;
  text-wrap: balance;
}
/* Each step inward gets a fuller ring: coming to rest, to oneself, to life. */
.hero__lines li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.hero__lines li::before {
  content: '';
  flex: none;
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  transform: translateY(-0.1em);
}
.hero__lines li:nth-child(2)::before { background: rgba(78, 140, 134, 0.35); }
.hero__lines li:nth-child(3)::before { background: var(--teal); }
.hero__lines li:nth-child(4)::before {
  background: var(--flame);
  border-color: var(--flame);
}

.hero__circle {
  position: relative;
  aspect-ratio: 1;
  max-width: 34rem;
  margin-inline: auto;
  width: 100%;
}
.hero__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.hero__rings {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  pointer-events: none;
}
.hero__rings circle {
  fill: none;
  stroke: var(--flame);
  stroke-width: 0.6;
  opacity: 0.55;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__rings circle {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw 1.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  }
  .hero__rings circle:nth-child(2) { animation-delay: 0.22s; }
  .hero__rings circle:nth-child(3) { animation-delay: 0.44s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

@media (max-width: 54rem) {
  .hero { grid-template-columns: 1fr; padding-top: var(--s5); }
  .hero__circle { max-width: 24rem; order: -1; }
}

/* ---------- Blocks ---------- */

.prose { max-width: var(--measure); }
.prose > *:last-child { margin-bottom: 0; }
.prose ul, .prose ol { max-width: var(--measure); padding-left: 1.15rem; margin: 0 0 var(--s3); }
.prose li { margin-bottom: 0.35rem; }
.prose li::marker { color: var(--teal); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }
@media (max-width: 54rem) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > *:first-child { order: 0; }
}

/* Circles for what she builds; rectangles for where it happens.
   Capped so a small 2017 photograph is never blown up past its own size. */
.circle-img {
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
}
.frame-img {
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-inline: auto;
}

.bleed {
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
  aspect-ratio: 16 / 7;
}

.info {
  border-top: 1px solid var(--rule);
  max-width: var(--measure);
}
.info__row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: var(--s2);
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--rule);
}
.info__key {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal-dark);
  padding-top: 0.28rem;
}
.info__val { margin: 0; }
@media (max-width: 40rem) {
  .info__row { grid-template-columns: 1fr; gap: 0.15rem; }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.card { display: flex; flex-direction: column; gap: var(--s2); }
.card img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.card h3 { margin: 0; }
.card p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }
.card a { text-decoration: none; }
.card a:hover h3 { color: var(--teal-dark); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; }
.gallery--round img { border-radius: 50%; }
.gallery figcaption {
  font-size: 0.84rem;
  color: var(--stone);
  margin-top: 0.6rem;
  line-height: 1.45;
}

.termine { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.termine caption {
  text-align: left;
  color: var(--stone);
  font-size: 0.86rem;
  padding-bottom: var(--s2);
}
.termine th {
  text-align: left;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-weight: 700;
  padding: 0 var(--s2) 0.6rem 0;
  border-bottom: 1px solid var(--ink);
}
.termine td {
  padding: 0.85rem var(--s2) 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.termine td:first-child { white-space: nowrap; font-weight: 500; }
@media (max-width: 46rem) {
  .termine, .termine tbody, .termine tr, .termine td { display: block; width: 100%; }
  .termine thead { display: none; }
  .termine tr { border-bottom: 1px solid var(--rule); padding-block: var(--s2); }
  .termine td { border: 0; padding: 0.1rem 0; }
  .termine td::before {
    content: attr(data-label) ' ';
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--stone);
    display: block;
  }
}

.empty {
  border: 1px dashed var(--rule);
  padding: var(--s4);
  max-width: var(--measure);
  color: var(--ink-soft);
}

.download {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--deep);
  color: var(--paper-warm);
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}
.download:hover { background: var(--teal-dark); color: #fff; }
.download::after { content: '\2193'; font-size: 1.05em; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin-bottom: 0.4rem; }

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

.footer {
  background: var(--deep);
  color: #b9cbc3;
  padding-block: var(--s5);
  font-size: 0.95rem;
}
.footer a { color: #cfe0d8; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--s4);
}
.footer h2 {
  font-family: var(--body);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7ea79c;
  margin-bottom: var(--s2);
  font-weight: 700;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.3rem; }
.footer__base {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  color: #7ea79c;
  font-size: 0.86rem;
}

/* ---------- Scroll reveal ---------- */

/* Only hide sections when JavaScript is there to bring them back. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
