/* ==========================================================================
   Lühr — Markendach
   Single stylesheet, no build step.
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party CDN) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-500.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  /* Brand colors */
  --navy: #0a192f;
  --navy-mid: #172a46;
  --gold: #D4AF37;
  --gold-hover: #C9A959;
  --green: #5F8F6B;
  --green-light: #8FBF9A;
  --cream: #F7F5F2;
  --off-white: #F8F8F8;
  --anthracite: #2A2A2A;
  --rule: rgba(212, 175, 55, 0.25);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Scale (modular) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2rem;
  --fs-2xl: 2.75rem;
  --fs-3xl: 4rem;

  /* Spacing */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-6: 3rem;
  --s-8: 4rem;
  --s-12: 6rem;
  --s-16: 8rem;

  /* Layout */
  --container: 1200px;
  --radius: 4px;
  --line: 1.6;
  --line-tight: 1.15;
  --transition: 200ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--line);
  color: var(--anthracite);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-3);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--s-6); }
}

.section { padding-block: var(--s-6); }
@media (min-width: 768px) {
  .section { padding-block: var(--s-8); }
}

.section--dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--off-white);
}
.section--cream { background: var(--cream); color: var(--anthracite); }
.section--light { background: var(--off-white); color: var(--anthracite); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--line-tight);
  letter-spacing: 0.005em;
}
.serif { font-family: var(--font-display); }

p { max-width: 60ch; }
.lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-lg);
  line-height: 1.45;
  max-width: 50ch;
}

/* ---------- Top bar (lang switch only) ---------- */
.topbar {
  position: relative;
  z-index: 5;
  padding-block: var(--s-3);
}
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--s-4);
}
/* Visually hidden (a11y) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Flag dropdown */
.lang-switcher {
  position: relative;
}
.lang-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: rgba(248, 248, 248, 0.85);
  transition: background var(--transition), color var(--transition);
}
.lang-switcher__trigger:hover,
.lang-switcher__trigger[aria-expanded="true"] {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
}
.flag {
  display: block;
  width: 28px;
  height: 19px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(248, 248, 248, 0.15) inset;
  overflow: hidden;
}
.lang-switcher__chevron {
  width: 10px;
  height: 7px;
  transition: transform var(--transition);
  opacity: 0.7;
}
.lang-switcher__trigger[aria-expanded="true"] .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 64px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--navy-mid);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lang-switcher__menu[hidden] { display: none; }

.lang-switcher__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.lang-switcher__item:hover,
.lang-switcher__item:focus-visible {
  background: rgba(212, 175, 55, 0.18);
  outline: none;
}
.lang-switcher__item.is-active {
  background: rgba(212, 175, 55, 0.10);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.4);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding-block: var(--s-6) var(--s-8);
  position: relative;
}
@media (min-width: 768px) {
  .hero { padding-block: var(--s-8); }
}
.hero__logo {
  display: block;
  height: 120px;
  width: auto;
  max-width: 360px;
  margin: 0 auto var(--s-4);
  object-fit: contain;
  position: relative;
  z-index: 1;
  background:
    radial-gradient(
      ellipse 85% 50% at 50% 75%,
      rgba(247, 245, 242, 0.70) 0%,
      rgba(247, 245, 242, 0.45) 45%,
      rgba(247, 245, 242, 0.18) 75%,
      transparent 100%
    );
}
@media (min-width: 768px) {
  .hero__logo { height: 160px; max-width: 480px; }
}
.hero__rule {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto var(--s-4);
  opacity: 0.7;
}
.hero__title {
  font-size: clamp(2.25rem, 5.5vw, var(--fs-3xl));
  font-weight: 400;
  letter-spacing: 0.005em;
  margin-bottom: var(--s-3);
  color: var(--off-white);
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 400;
  color: rgba(248, 248, 248, 0.78);
  max-width: 38ch;
  margin: 0 auto;
  line-height: 1.55;
}

/* Subtle ambient glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ---------- Two paths (cards) ---------- */
.paths {
  display: grid;
  gap: var(--s-4);
  margin-top: 0;
}
@media (min-width: 768px) {
  .paths {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  color: var(--anthracite);
  padding: var(--s-4) var(--s-3);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-align: center;
  position: relative;
}
@media (min-width: 768px) {
  .card { padding: var(--s-6) var(--s-4); }
}
.card:hover, .card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 25, 47, 0.08);
}
.card--coaching:hover, .card--coaching:focus-within { border-color: var(--gold); }
.card--tier:hover, .card--tier:focus-within { border-color: var(--green); }

.card__icon {
  height: 80px;
  width: auto;
  max-width: 200px;
  margin: 0 auto var(--s-2);
  object-fit: contain;
}
@media (min-width: 768px) {
  .card__icon { height: 100px; max-width: 240px; }
}
.card__kicker {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-2);
}
.card--tier .card__kicker { color: var(--green); }
.card__title {
  font-size: var(--fs-2xl);
  font-weight: 500;
  margin-bottom: var(--s-3);
  line-height: 1.1;
}
.card__text {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--anthracite);
  margin: 0 auto var(--s-4);
  max-width: 36ch;
}
.card__cta-wrap { margin-top: auto; }
.card__cta {
  display: inline-block;
  padding: 14px 28px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--navy);
  color: var(--off-white);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.card--coaching .card__cta:hover,
.card--coaching .card__cta:focus-visible { background: var(--gold); color: var(--navy); }
.card--tier .card__cta:hover,
.card--tier .card__cta:focus-visible { background: var(--green); color: var(--off-white); }
.card__cta::after {
  content: ' \2192';
  display: inline-block;
  margin-left: 4px;
  transition: transform var(--transition);
}
.card__cta:hover::after { transform: translateX(3px); }

/* ---------- Connecting section (Würdigung) ---------- */
.bond { text-align: center; }
.bond__title {
  font-size: clamp(2rem, 4vw, var(--fs-2xl));
  font-weight: 400;
  margin-bottom: var(--s-3);
}
.bond__rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto var(--s-4);
}
.bond__body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
  max-width: 60ch;
  margin: 0 auto var(--s-6);
  color: var(--anthracite);
}
.tribute {
  margin: var(--s-6) auto 0;
  max-width: 56ch;
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}
.tribute__quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: var(--s-3);
}
.tribute__quote::before { content: '\201E'; color: var(--gold); margin-right: 2px; }
.tribute__quote::after { content: '\201C'; color: var(--gold); margin-left: 2px; }
.tribute__attribution {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  color: var(--anthracite);
  opacity: 0.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(248, 248, 248, 0.78);
  padding-block: var(--s-8) var(--s-6);
  font-size: var(--fs-sm);
}
.footer a { color: var(--off-white); transition: color var(--transition); }
.footer a:hover { color: var(--gold); }

.footer__grid {
  display: grid;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--s-8);
  }
}
.footer__brand {
  display: block;
  height: 64px;
  width: auto;
  max-width: 200px;
  margin-bottom: var(--s-3);
  object-fit: contain;
  background:
    radial-gradient(
      ellipse 85% 50% at 50% 75%,
      rgba(247, 245, 242, 0.60) 0%,
      rgba(247, 245, 242, 0.38) 45%,
      rgba(247, 245, 242, 0.15) 75%,
      transparent 100%
    );
}
.footer__contact { font-style: normal; line-height: 1.7; }
.footer__heading {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-2);
}
.footer__list { list-style: none; padding: 0; line-height: 2; }
.footer__bottom {
  border-top: 1px solid rgba(248, 248, 248, 0.08);
  padding-top: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  color: rgba(248, 248, 248, 0.55);
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: var(--s-3);
  right: var(--s-3);
  bottom: var(--s-3);
  z-index: 100;
  background: var(--navy);
  color: var(--off-white);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 720px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}
.cookie-banner__text { margin: 0; }
.cookie-banner__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__text a:hover { color: var(--gold-hover); }
.cookie-banner__btn {
  flex-shrink: 0;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  transition: background var(--transition);
  white-space: nowrap;
}
.cookie-banner__btn:hover { background: var(--gold-hover); }
.cookie-banner[hidden] { display: none; }

/* ---------- Legal pages ---------- */
.legal {
  background: var(--off-white);
  color: var(--anthracite);
  padding-block: var(--s-8) var(--s-12);
}
.legal__inner {
  max-width: 760px;
  margin-inline: auto;
}
.legal h1 {
  font-size: var(--fs-2xl);
  font-weight: 500;
  margin-bottom: var(--s-2);
}
.legal h2 {
  font-size: var(--fs-lg);
  font-weight: 500;
  margin-top: var(--s-6);
  margin-bottom: var(--s-2);
  color: var(--navy);
}
.legal h3 {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  margin-top: var(--s-4);
  margin-bottom: var(--s-1);
}
.legal p, .legal ul, .legal ol {
  margin-bottom: var(--s-3);
  line-height: 1.7;
}
.legal ul, .legal ol { padding-left: 1.4rem; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--gold-hover); }
.legal__meta {
  font-size: var(--fs-sm);
  color: rgba(42, 42, 42, 0.6);
  margin-bottom: var(--s-6);
}
.legal__back {
  display: inline-block;
  margin-top: var(--s-6);
  padding: 10px 22px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.legal__back:hover { background: var(--navy); color: var(--off-white); }

/* ---------- Skip link / a11y ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: var(--s-2);
  top: var(--s-2);
  z-index: 200;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print (clean fallback) ---------- */
@media print {
  .topbar, .cookie-banner, .footer { display: none; }
  body { background: white; color: black; }
  .section { padding-block: var(--s-3); }
}
