/* Inter, selbst gehostet (keine Verbindung zu Google) */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:italic;font-weight:400;font-display:swap;src:url(fonts/inter-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-style:italic;font-weight:700;font-display:swap;src:url(fonts/inter-latin-700-italic.woff2) format("woff2")}
/* BalletDoc – gemeinsames Stylesheet
   Farben, Schrift und Masse von balletdoc.com übernommen.
   Korrektur: Hero-Bild und Titel um 90 px nach rechts, Bild 60 px nach unten,
   damit das grosse Logo das Bild nicht mehr bedrängt. */

:root {
  --bg: #d7d7d2;
  --bg-dim: #bfbfbb;
  --card: #f6f6ee;
  --ink: #333333;
  --light: #d7d7d2;
  --maxw: 1214px;
  --gutter: 40px;
  --w: min(var(--maxw), calc(100vw - 2 * var(--gutter)));
  --u: calc(var(--w) / 1214);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p a, li a { text-underline-offset: 3px; }
.wrap { width: var(--w); margin: 0 auto; }

/* Umschalter SportsDoc | BalletDoc */
.switch { display: grid; grid-template-columns: 1fr 1fr; height: 66px; }
.switch a { display: flex; align-items: center; justify-content: center; transition: background .2s; }
.switch .other { background: var(--bg-dim); }
.switch .other:hover { background: #b3b3af; }
.switch .current { background: var(--bg); }
.switch img { width: 160px; }

/* Navigation */
.nav {
  position: absolute; top: 141px; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  display: flex; align-items: center; gap: 50px; z-index: 5;
}
.nav a { font-weight: 700; font-size: 16px; letter-spacing: .015em; text-decoration: none; }
.nav a:not(.btn) { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a.active { border-bottom-color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--ink); color: var(--light); border-radius: 60px; padding: 13px 29px;
  font-weight: 700; font-size: 16px; letter-spacing: .015em; transition: opacity .2s; white-space: nowrap;
}
.btn:hover { opacity: .85; }
.btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.burger { display: none; }

/* Hero (alle Seiten gleich aufgebaut) */
.hero { position: relative; display: flow-root; margin-top: 70px; padding-bottom: 120px; }
.hero-logo { position: absolute; left: 0; top: 0; width: calc(var(--u) * 300); z-index: 2; }
.hero-logo img { width: 100%; }
.hero-photo { width: calc(var(--u) * 575); margin: calc(var(--u) * 185) 0 0 calc(var(--u) * 216); position: relative; z-index: 1; }
.hero-text { position: absolute; left: calc(var(--u) * 714); top: calc(var(--u) * 435); width: calc(var(--u) * 500); z-index: 3; }
.hero h1 { margin: 0; font-weight: 700; font-size: calc(var(--u) * 70); line-height: 1.1; letter-spacing: -.01em; }
.hero h1 sup { font-size: .45em; vertical-align: .9em; }
.hero .kicker { margin: 0 0 4px; font-size: 21px; font-weight: 400; }
.hero-text p { margin: calc(var(--u) * 30) 0 0 calc(var(--u) * 125); max-width: 374px; letter-spacing: .015em; line-height: 1.7; }
.hero-text ul { margin: calc(var(--u) * 30) 0 0 calc(var(--u) * 125); padding-left: 18px; max-width: 374px; font-size: 15px; line-height: 1.6; }
.hero-text li { margin-bottom: 4px; }

/* Inhaltsblöcke */
.block { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 120); align-items: start; padding: 0 0 120px; }
.block.single { grid-template-columns: 1fr; }
.block.narrow > div { max-width: 540px; margin-left: calc(var(--u) * 330); }
h2 { font-size: 21px; line-height: 1.6; margin: 0 0 15px; }
h3 { font-size: 28px; line-height: 1.3; margin: 0 0 24px; }
.block p { margin: 0 0 20px; }
strong em, em strong { font-weight: 700; font-style: italic; }
.block .btn { margin-top: 10px; }
.block img { width: 100%; }
.square { aspect-ratio: 1 / 1; object-fit: cover; }

/* Leistungen: Liste mit Punkt-Icons */
.checks { list-style: none; padding: 0; margin: 0; }
.checks > li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checks > li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 6l4 4-4 4' fill='none' stroke='%23d7d7d2' stroke-width='2'/%3E%3C/svg%3E") center/20px no-repeat;
}
.checks > li > strong { display: block; }
.checks ul { margin: 4px 0 0; padding-left: 18px; list-style: circle; }
.checks ul ul { list-style: disc; }

/* Über mich: Karten */
.card { background: var(--card); padding: 46px 120px 46px 120px; margin-bottom: 40px; }
.card h3 { margin-bottom: 18px; }
.timeline { display: grid; grid-template-columns: 110px 1fr; gap: 2px 20px; font-size: 14px; line-height: 1.6; }
.card ul { margin: 0 0 16px; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.card p { font-size: 14px; margin: 0 0 10px; }
.card h4 { font-size: 15px; margin: 16px 0 6px; }
.cards-2 { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; align-items: start; }
.cards-2 .card { padding: 40px 30px; }
.icons { list-style: none; padding: 0 !important; font-size: 14px; }
.icons li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.icons li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); }

/* Blog */
.posts { width: min(570px, 100%); margin: 0 auto; padding-bottom: 80px; }
.post-card { margin-bottom: 90px; }
.post-card img { width: 100%; }
.post-card h2 { font-size: 28px; line-height: 1.3; margin: 26px 60px 12px; }
.post-card h2 a { text-decoration: none; }
.post-card p { margin: 0 60px 20px; }
.post-card .btn { margin-left: 60px; }
.article { padding-bottom: 120px; }
.article > img { width: 100%; margin-bottom: 30px; }
.article h1 { font-size: 48px; line-height: 1.2; margin: 0 0 30px; }
.article .text { max-width: 760px; }
.article p { margin: 0 0 20px; }
.article ul { margin: -8px 0 20px; }
.back { display: inline-block; margin-top: 20px; font-weight: 700; text-decoration: none; }
.back:hover { text-decoration: underline; }

/* Rechtstexte */
.legal { padding: 50px 0 120px; max-width: 900px; }
.legal h1 { font-size: 70px; line-height: 1.1; margin: 0 0 40px; }
.legal h2 { font-size: 28px; margin: 40px 0 14px; }
.legal p { margin: 0 0 16px; }

/* Footer */
footer { background: var(--ink); color: var(--light); padding: 90px 0 100px; }
footer a { text-decoration: none; }
.foot-logo { width: 500px; max-width: 100%; margin-bottom: 45px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: center; }
.foot-grid p { margin: 0; font-size: 17px; line-height: 1.7; }
.foot-grid a:hover { text-decoration: underline; }
.mail { justify-self: end; display: inline-flex; align-items: center; gap: 10px; background: var(--light); color: var(--ink); border-radius: 60px; padding: 12px 24px; }
.mail:hover { text-decoration: none !important; opacity: .85; }
.mail svg { width: 15px; height: 15px; fill: currentColor; }
.copy { margin-top: 70px; font-size: 13px; }
.copy a:hover { text-decoration: underline; }
.sticky-book { display: none; }

@media (max-width: 1100px) {
  .nav { gap: 26px; }
  .card { padding: 40px 50px; }
}

/* Handy */
@media (max-width: 860px) {
  :root { --gutter: 22px; }
  .switch { height: 56px; }
  .switch img { width: 120px; }
  .nav { display: none; }
  .burger {
    display: block; position: absolute; top: 96px; right: var(--gutter); z-index: 6;
    width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px 6px;
  }
  .burger span { display: block; height: 4px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
  .menu-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 150px; left: var(--gutter); right: var(--gutter);
    background: var(--bg); padding: 26px; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.12);
  }
  .hero { margin-top: 34px; padding-bottom: 60px; }
  .hero-logo, .hero-text { position: static; }
  .hero-logo { width: 58%; }
  .hero-photo { width: 84%; margin: 34px 0 0 16%; }
  .hero-text { width: auto; margin-top: 36px; }
  .hero h1 { font-size: 44px; }
  .hero-text p, .hero-text ul { margin: 18px 0 0; max-width: none; }
  .block { grid-template-columns: 1fr; gap: 34px; padding-bottom: 60px; }
  .block.flip .media { order: 2; }
  .block.narrow > div { margin-left: 0; }
  .card { padding: 30px 22px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline dt { font-weight: 700; margin-top: 8px; }
  .cards-2 { grid-template-columns: 1fr; gap: 0; }
  .post-card h2, .post-card p { margin-left: 0; margin-right: 0; }
  .post-card .btn { margin-left: 0; }
  .article h1, .legal h1 { font-size: 36px; }
  footer { padding: 60px 0 120px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .mail { justify-self: start; }
  .copy { margin-top: 44px; }
  .sticky-book { display: inline-flex; position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 20; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
}

/* Einblenden beim Scrollen (nur wenn JavaScript läuft) */
.fx .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.fx .reveal.in { opacity: 1; transform: none; }

/* Vorhang: Bild öffnet sich von links nach rechts */
.fx .curtain { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.65,0,.35,1); }
.fx .curtain.in { clip-path: inset(0 0 0 0); }

/* ---------- SportsDoc: gleiche Gestaltung, eigene Farben ---------- */
.sd { --bg: #bfbfbb; --bg-dim: #d7d7d2; color: #f6f6ee; }
.sd .switch .other:hover { background: #cbcbc6; }
.sd .btn { background: #f6f6ee; color: #333333; }
.sd .nav a:not(.btn):hover, .sd .nav a.active { border-bottom-color: #f6f6ee; }
.sd .burger span { background: #f6f6ee; }
.sd .card { color: #333333; }
.sd .checks > li::before {
  background: #f6f6ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 6l4 4-4 4' fill='none' stroke='%23333333' stroke-width='2'/%3E%3C/svg%3E") center/20px no-repeat;
}
.note { font-size: 13px; margin-top: 24px; }

/* SportsDoc: Hero an der ursprünglichen Position (ohne die BalletDoc-Korrektur) */
@media (min-width: 861px) {
  .sd .hero-photo { margin-top: calc(var(--u) * 125); margin-left: calc(var(--u) * 126); }
  .sd .hero-text  { left: calc(var(--u) * 624); }
}

/* BalletDoc: Bild und Titel 15 px weiter links als die erste Korrektur, damit die Überlappung gewollt wirkt */
@media (min-width: 861px) {
  .bd .hero-photo { margin-left: calc(var(--u) * 201); }
  .bd .hero-text  { left: calc(var(--u) * 699); }
}

/* Entwurfsband (nur Vorschau) */
.draft {
  background: #b5452b; color: #fff; text-align: center;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  padding: 8px 16px; height: 34px; line-height: 18px; box-sizing: border-box;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Navigation und Menü um die Höhe des Bandes nach unten schieben */
.draft-on .nav { top: calc(141px + 34px); }
@media (max-width: 860px) {
  .draft { font-size: 12px; }
  .draft-more { display: none; }
  .draft-on .burger { top: calc(96px + 34px); }
  .draft-on.menu-open .nav { top: calc(150px + 34px); }
}

/* Bildbeschriftung (Namen der Sportler*innen) */
.credit { margin: 8px 0 0; font-size: 12px; letter-spacing: .04em; opacity: .85; }
.hero-credit { margin-left: calc(var(--u) * 216); position: relative; z-index: 1; }
@media (min-width: 861px) { .sd .hero-credit { margin-left: calc(var(--u) * 126); } }
@media (max-width: 860px) { .hero-credit { margin-left: 16%; } }

.timeline dd { margin: 0; }
.timeline dt { white-space: nowrap; }
