/* ==========================================================================
   mit.gefühl Coaching — Design System
   ========================================================================== */

:root {
  /* Colors */
  --color-bg: #F2F5F7;
  --color-bg-alt: #E6EBEE;
  --color-surface: #FFFFFF;
  --color-primary: #16232E;
  --color-primary-light: #24374A;
  --color-primary-dark: #0F1922;
  --color-blue: #03A0F4;
  --color-blue-light: #55C0FA;
  --color-blue-dark: var(--color-blue);
  --color-accent: var(--color-blue);
  --color-accent-light: var(--color-blue-light);
  --color-text: #1A2229;
  --color-text-muted: #5C6B76;
  --color-border: #DDE3E7;
  --color-sand: #C9A876;
  --color-on-primary: #F2F5F7;
  --color-on-accent: var(--color-primary);

  /* Typography */
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing / layout */
  --content-max: 1180px;
  --content-narrow: 760px;
  --radius-l: 24px;
  --radius-m: 16px;
  --radius-s: 10px;
  --space-xxl: clamp(4rem, 3rem + 4vw, 8rem);
  --space-xl: clamp(2.5rem, 2rem + 2vw, 4.5rem);
  --space-l: clamp(1.75rem, 1.5rem + 1vw, 2.75rem);
  --space-m: 1.25rem;
  --space-s: 0.75rem;

  --shadow-card: 0 12px 32px -16px rgba(35, 38, 43, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-primary);
  overflow-wrap: break-word;
  hyphens: none;
}
h1 { font-size: clamp(2.4rem, 1.9rem + 2vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--content-narrow); }
.container--cta { max-width: 900px; }
.section { padding-block: var(--space-xxl); }
.section--alt { background: var(--color-bg-alt); border-top: 2px solid var(--color-sand); }
.section--dark { background: var(--color-primary); color: var(--color-on-primary); border-top: 2px solid var(--color-sand); }
.section--dark h2, .section--dark h3 { color: var(--color-on-primary); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-blue-dark);
  margin-bottom: 0.75em;
}
.section--dark .eyebrow { color: var(--color-blue-light); }
.section-head { max-width: 640px; margin-bottom: var(--space-l); }
.section-head--center { margin-inline: auto; text-align: center; }
.lede { font-size: 1.15rem; color: var(--color-text-muted); }
.section--dark .lede { color: rgba(242, 245, 247, 0.8); }
.section-note {
  max-width: 640px;
  margin: var(--space-l) 0 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75em 1.25em;
  z-index: 1000;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9em 1.7em;
  border-radius: 100px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: 0 10px 24px -10px rgba(3, 160, 244, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(3, 160, 244, 0.7); }
.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--color-primary);
}
.section--dark .btn-ghost { color: var(--color-on-primary); }
.btn-ghost:hover { background: rgba(0,0,0,0.06); }
.section--dark .btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(242, 245, 247, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}
.site-header__logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.site-header__logo span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.brand-mark {
  display: block;
  background-color: var(--color-blue);
  -webkit-mask-image: url("/assets/img/misc/logo.png");
  mask-image: url("/assets/img/misc/logo.png");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.site-header__logo .brand-mark { width: 191px; height: 48px; }
.site-header.is-scrolled .site-header__logo .brand-mark { width: 128px; height: 32px; }
.footer__brand .brand-mark { width: 159px; height: 40px; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__list {
  display: flex;
  gap: clamp(0.9rem, 1.6vw, 1.8rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 0.4em 0;
  position: relative;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--color-blue);
  transition: right 0.25s var(--ease);
}
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { right: 0; }
.nav__list a[aria-current="page"] { color: var(--color-blue-dark); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 200;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), background 0.25s var(--ease);
}
body.nav-open .nav-toggle span { background: var(--color-on-primary); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 30%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: var(--color-primary);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 1.4rem; }
  .nav__list a { color: var(--color-on-primary); font-size: 1.3rem; }
  .nav__list a[aria-current="page"] { color: var(--color-blue-light); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 3rem + 3vw, 6rem) var(--space-xxl);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(3,160,244,0.16), transparent 65%);
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2.4vw, 4.4rem);
  font-weight: 500;
  margin-bottom: 0.4em;
}
.hero__tagline .accent {
  color: var(--color-accent);
  font-weight: 600;
}
.hero__tagline .accent--dark { color: var(--color-primary); }
.hero__sub { font-size: 1.2rem; color: var(--color-text-muted); margin-bottom: 1.5em; max-width: 66ch; }
.hero__checklist.check-list { margin: 0 0 2.75em; max-width: 66ch; }
.hero__checklist li { font-size: 0.98rem; font-weight: 600; color: var(--color-primary); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__media {
  position: relative;
  align-self: stretch;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; height: auto; aspect-ratio: 16 / 11; }
}

/* Page hero (subpages) */
.page-hero {
  padding-block: clamp(3rem, 2.5rem + 2.5vw, 5rem) var(--space-l);
}
.page-hero h1 { max-width: 18ch; }
.page-hero__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: 0.6em 1.3em;
  border-radius: 100px;
  font-weight: 700;
  margin-top: 1em;
}
.page-hero__price strong { font-size: 1.3rem; color: var(--color-accent-light); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: var(--space-l); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface);
  border-radius: var(--radius-m);
  padding: var(--space-l);
  box-shadow: var(--shadow-card);
  height: 100%;
}
.card--flat { box-shadow: none; border: 1px solid var(--color-border); }
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--color-bg-alt);
  color: var(--color-accent);
  margin-bottom: 1em;
  font-size: 1.5rem;
}
.card h2, .card h3 { margin-bottom: 0.4em; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); }
.card p { color: var(--color-text-muted); }

/* Method cards with photo */
.method-card {
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.method-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.method-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.method-card:hover .method-card__media img { transform: scale(1.06); }
.method-card__body { padding: var(--space-m) var(--space-l) var(--space-l); }
.method-card__body p { color: var(--color-text-muted); font-size: 0.96rem; }

/* ---------- Team roster (coaches page) ---------- */
.team-roster { border-top: 2px solid var(--color-sand); }
.team-entry:first-child { border-top: none; }
.team-entry {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(2.6rem, 6vw, 4.4rem);
  border-top: 1px solid var(--color-border);
}
.team-entry:last-child { border-bottom: 1px solid var(--color-border); }
.team-entry.is-flipped { grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr); }
.team-entry.is-flipped .team-entry__photo { order: 2; }
.team-entry.is-flipped .team-entry__body { order: 1; }

.team-entry__photo { position: relative; }

.team-entry__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease);
}
.team-entry__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-entry:hover .team-entry__frame { transform: translateY(-6px); }

.team-entry__body { padding-top: 0.3em; }
.team-entry__name { font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.5rem); }
.team-entry__role {
  display: block;
  margin-top: 0.5em;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
}
.team-entry__bio {
  margin-top: 1.1em;
  max-width: 62ch;
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

@media (max-width: 760px) {
  .team-entry, .team-entry.is-flipped { grid-template-columns: 1fr; gap: 1.3rem; }
  .team-entry.is-flipped .team-entry__photo,
  .team-entry.is-flipped .team-entry__body { order: initial; }
  .team-entry__frame { max-width: 20rem; }
}

/* ---------- Stacked list (no card) ---------- */
.stack-list { display: grid; gap: var(--space-l); max-width: 820px; }
.stack-item { padding-bottom: var(--space-l); border-bottom: 1px solid var(--color-border); }
.stack-item:last-child { border-bottom: none; padding-bottom: 0; }
.stack-item h3 { margin-bottom: 0.4em; }
.stack-item p { color: var(--color-text-muted); }

/* ---------- Offer comparison (two columns) ---------- */
.offer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--color-surface);
}
.offer-col { padding: clamp(1.8rem, 2.5vw, 2.6rem); }
.offer-col + .offer-col { border-left: 1px solid var(--color-border); }
.offer-col__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 1.6em;
  padding-bottom: 1.2em;
  border-bottom: 2px solid var(--color-primary);
}
.offer-col__head h3 { font-size: 1.5rem; margin: 0; }
.offer-col__count { font-size: 0.78rem; font-weight: 800; color: var(--color-text-muted); letter-spacing: 0.04em; white-space: nowrap; }
.offer-group + .offer-group { margin-top: 1.8em; }
.offer-group__label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.9em;
}
.offer-item { padding-block: 0.85em; border-bottom: 1px solid var(--color-border); }
.offer-item:last-child { border-bottom: none; padding-bottom: 0; }
.offer-item h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; color: var(--color-text); margin: 0 0 0.25em; }
.offer-item p { font-size: 0.87rem; color: var(--color-text-muted); }
@media (max-width: 820px) {
  .offer-columns { grid-template-columns: 1fr; }
  .offer-col + .offer-col { border-left: none; border-top: 1px solid var(--color-border); }
}

/* ---------- Timeline (process steps) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1px; background: var(--color-border); border-radius: var(--radius-m); overflow: hidden; }
.timeline li {
  counter-increment: step;
  background: var(--color-surface);
  padding: 1.4em 1.6em;
  display: flex;
  align-items: flex-start;
  gap: 1.1em;
}
.timeline li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-blue-dark);
  flex-shrink: 0;
  width: 2.2em;
}

/* ---------- Feature list (check items) ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85em; }
.check-list li { display: flex; gap: 0.7em; align-items: flex-start; }
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--color-blue-dark);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ---------- Destination / split blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.split--top { align-items: start; }
.split--reverse .split__media { order: 2; }
.split__media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-card); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
}
.split + .split { margin-top: var(--space-xl); }

/* ---------- Partners strip ---------- */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-m);
  align-items: center;
}
.partners__grid a {
  display: grid;
  place-items: center;
  padding: 1.2em;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.partners__grid a:hover, .partners__grid a:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-accent);
}
.partners__grid img { max-height: 46px; width: auto; margin-inline: auto; }
@media (max-width: 860px) { .partners__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .partners__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact block ---------- */
.contact-people { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-m); }
.contact-person {
  background: var(--color-surface);
  border-radius: var(--radius-m);
  padding: var(--space-m) var(--space-l);
}
.contact-person__name { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-primary); margin-bottom: 0.2em; display: block; }
.contact-person a { color: var(--color-text-muted); text-decoration: none; display: block; font-size: 0.95rem; }
.contact-person a:hover { color: var(--color-accent); }
@media (max-width: 640px) { .contact-people { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 1.3em; }
.form-field label { display: block; font-weight: 700; margin-bottom: 0.4em; font-size: 0.92rem; }
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  padding: 0.85em 1em;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.2s var(--ease);
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--color-accent); outline: none; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 1em; }
.form-status { padding: 1em 1.2em; border-radius: var(--radius-s); margin-bottom: 1.5em; font-weight: 600; }
.form-status--success { background: #E3EEE6; color: #2E6B47; }
.form-status--error { background: #F6E1D8; color: #9B3A17; }

.contact-channels {
  display: grid;
  gap: var(--space-m);
}
.contact-channels--row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .contact-channels--row { grid-template-columns: 1fr; } }
.contact-channel {
  display: flex;
  gap: 1em;
  align-items: flex-start;
  background: var(--color-surface);
  border-radius: var(--radius-m);
  padding: 1.3em 1.5em;
}
.contact-channel a { display: block; color: var(--color-text-muted); text-decoration: none; font-size: 0.95rem; }
.contact-channel a:hover { color: var(--color-accent); }
.contact-channel__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-bg-alt);
  color: var(--color-accent);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-channel__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-bg);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(242, 245, 247, 0.85);
  padding-block: var(--space-xl) var(--space-l);
  border-top: 2px solid var(--color-sand);
}
.site-footer a { color: rgba(242, 245, 247, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-l);
  padding-bottom: var(--space-l);
  border-bottom: 1px solid rgba(242, 245, 247, 0.15);
}
.footer__brand { display: flex; align-items: flex-start; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1em; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6em; font-size: 0.95rem; }
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { justify-content: center; }
}
.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em 1.5em;
  padding-top: var(--space-m);
  font-size: 0.85rem;
  color: rgba(242, 245, 247, 0.55);
  text-align: center;
}
.footer__bottom a { color: rgba(242, 245, 247, 0.55); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
/* Inline-Button, der wie ein Textlink aussieht (z. B. "Cookie-Einstellungen") */
.link-button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--color-accent);
  text-decoration: underline;
  cursor: pointer;
}
.link-button:hover { text-decoration: none; }

/* ---------- Cookie-Consent ---------- */
.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  width: min(100% - 1.5rem, 880px);
  transform: translate(-50%, 1.5rem);
  opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-m);
  box-shadow: 0 18px 48px -18px rgba(22, 35, 46, 0.45);
}
.cookie-banner.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
}
.cookie-banner__title {
  font-size: 1.15rem;
  margin: 0 0 0.35em;
}
/* Fokus wandert beim Einblenden per Script auf die Ueberschrift – ohne Ring, da nicht interaktiv */
.cookie-banner__title:focus { outline: none; }
.cookie-banner__text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.cookie-banner__text a { color: var(--color-accent); }
.cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cookie-banner__actions .btn { padding: 0.7em 1.4em; font-size: 0.95rem; }

@media (max-width: 720px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
}

.legal h2 { margin-top: 1.6em; }
.legal ul { color: var(--color-text-muted); }
.legal p { color: var(--color-text-muted); }

/* ---------- Word cloud / philosophy ---------- */
.quote-block {
  border-left: 4px solid var(--color-accent);
  padding-left: 1.4em;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin: 1.5em 0;
}
