/* Selbst gehostete Schriften (Fraunces, Source Sans 3 - SIL Open Font License, siehe assets/fonts) */
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-latin.woff") format("woff");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-latin.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-italic-latin.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #dbecf0;       /* Originalblau der Live-Seite (Theme-Farbe color4) */
  --paper-deep: #c5dde4;
  --ink: #1b1814;
  --ink-soft: #3c372f;
  --muted: #6a635a;
  --line: #b4cfd6;
  --accent: #ad1f24;       /* Originalrot der Live-Seite (Theme-Farbe color1) */
  --accent-hover: #8e191d;
  --navy: #243746;
  --white: #f5fafd;
  --focus: #1b1814;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header: 4.25rem;
  --radius: 0.25rem;
  --ease: 180ms ease;
}

/* Banner "coming soon" in der Bildecke oben rechts */
.ribbon-wrap { position: relative; display: block; overflow: hidden; line-height: 0; }
.ribbon {
  position: absolute;
  top: 2.2rem;
  right: -3.4rem;
  width: 13rem;
  padding: 0.4rem 0;
  background: var(--accent);
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.ribbon.ribbon-sm {
  top: 1.15rem;
  right: -2.9rem;
  width: 9.5rem;
  padding: 0.22rem 0;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.65rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
h3 { font-size: 1.25rem; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: calc(var(--header) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 2.35rem;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}
/* Button "Kostenlose Probestunde": Schrift in Originalblau auf Originalrot */
.nav a.btn-primary,
.nav a.btn-primary:hover,
.nav a.btn-primary[aria-current="page"] {
  color: var(--paper);
}

/* Probestunde-Button im Kopf: nur am Handy sichtbar (am Desktop steht er in der Navigation) */
.btn.header-cta { display: none; }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  touch-action: manipulation;
}

.nav-toggle:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  touch-action: manipulation;
}

.btn-primary {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: min(86vh, 46rem);
  background: var(--paper);
}

.hero-copy {
  padding: clamp(2rem, 6vw, 5rem) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 38rem;
  margin-left: auto;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0.4rem 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-photo {
  position: relative;
  min-height: 22rem;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}
.proof div {
  padding: 1.35rem var(--gutter);
  border-right: 1px solid var(--line);
}
.proof div:last-child { border-right: 0; }
.proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 600;
}
.proof span { color: var(--muted); font-size: 0.95rem; }

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.offer-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.offer-item {
  display: grid;
  grid-template-columns: 14rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.offer-item:hover h3 { color: var(--accent); }
.offer-item img {
  width: 14rem;
  height: 9rem;
  object-fit: cover;
}
.offer-item p { color: var(--muted); margin: 0.2rem 0 0; }
.offer-meta {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.principle {
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}
.principle p { color: var(--muted); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1.25rem;
}
.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 0.8rem;
}
.person h3 { margin-bottom: 0.25rem; font-size: 1.15rem; }
.person p { color: var(--muted); font-size: 0.98rem; }

.places {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.place {
  background: var(--white);
  padding: 1.5rem;
}
.place h3 { font-size: 1.2rem; }
.place a { font-weight: 600; text-decoration: none; }

.page-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 2rem;
}
.page-hero p { max-width: 40rem; font-size: 1.15rem; }

.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.slot {
  background: var(--white);
  padding: 1.75rem;
}
.slot .when {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 0.85rem;
}
.includes span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.2rem 0.5rem;
}
.note { margin-top: 1.5rem; color: var(--muted); font-size: 0.95rem; }

.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.15rem; }

.ask-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--line);
  max-width: 28rem;
}
.ask-list li {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  background: var(--ink);
  color: #cfc6b8;
  padding: 2.5rem 0 calc(2rem + env(safe-area-inset-bottom));
  font-size: 0.95rem;
}
.site-footer a { color: #f3eee6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9c9488;
  margin-bottom: 0.7rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.35rem; }
.legal {
  border-top: 1px solid #3a342c;
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  color: #9c9488;
}

@media (max-width: 860px) {
  .hero,
  .split,
  .split.reverse,
  .proof,
  .principles,
  .team-grid,
  .places,
  .schedule,
  .footer-grid,
  .offer-item {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-photo { order: -1; min-height: 0; position: relative; }
  .hero-photo img { position: relative; height: 16rem; width: 100%; }
  .hero-copy { max-width: none; padding-top: 1.75rem; }
  .hero-actions .btn { flex: 1 1 12rem; }
  .proof div { border-right: 0; border-bottom: 1px solid var(--line); }
  .offer-item img { width: 100%; height: 11rem; }
  .offer-meta { text-align: left; white-space: normal; }
  .btn { max-width: 100%; white-space: normal; }
  .nav {
    position: fixed;
    inset: calc(var(--header) + env(safe-area-inset-top)) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem var(--gutter) 1rem;
    gap: 0;
  }
  .nav.is-open { display: flex; }
  .nav a, .nav .btn { padding: 0.85rem 0; min-height: 2.75rem; white-space: normal; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .header-inner { gap: 0.6rem; }
  .btn.header-cta {
    display: inline-flex;
    margin-left: auto;
    min-height: 2.75rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav .btn { display: none; }
  .logo img { height: 2rem; }
}
@media (max-width: 380px) {
  .logo img { height: 1.7rem; }
  .btn.header-cta { padding: 0.3rem 0.55rem; font-size: 0.72rem; }
}

@media (min-width: 861px) {
  .nav .btn { margin-left: 0.4rem; white-space: nowrap; flex-shrink: 0; }
}

/* Partner: schmale Leiste mit kleinen Logos am Ende der Startseite.
   Die Größe der Logos kommt aus width/height im HTML (bewusst klein). */
.partner-strip {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3.5rem;
}
.partner-label {
  margin: 0 0 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}
.partners li { margin: 0; }
.partners img { display: block; width: calc(var(--w) * 1px); height: auto; }
.partner-note {
  margin: 1.4rem 0 0;
  max-width: 44rem;
  font-size: 0.92rem;
  color: var(--muted);
}
/* Desktop: Partner-Logos 21 % größer (zweimal 10 %) */
@media (min-width: 861px) {
  .partners img { width: calc(var(--w) * 1.21px); }
}

/* Startseite: alle Teammitglieder klein in einer Reihe (Team-Seite zeigt sie groß) */
.team-grid.team-compact { grid-template-columns: repeat(6, 1fr); gap: 1.25rem 1rem; }
.team-compact .person a { display: block; color: inherit; text-decoration: none; }
.team-compact .person h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.team-compact .person p { font-size: 0.88rem; line-height: 1.4; }
.team-compact .person a:hover h3 { color: var(--accent); }
@media (max-width: 1000px) { .team-grid.team-compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .team-grid.team-compact { grid-template-columns: repeat(2, 1fr); } }
