/* Cura Athletics: Umbau-Seite (November 2026). Look der Localhost-Startseite d-studio: die Hero-Karte mit dem
   Studio-Video, Cormorant Garamond für die große Zeile, Manrope für alles Gelesene, Kreide, Hecke und die
   Studiowand. Die Seite läuft unter der CSP der Live-Seite: keine <style>- oder <script>-Elemente im HTML.
   Safari 14: kein inset, kein flex gap, kein :has(), aspect-ratio nur mit Fallback. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-latin-400-normal-r2.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-latin-500-normal-r2.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-latin-600-normal-r2.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Pinyon Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pinyon-script-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --kreide: #F4F3F1;
  --leinen: #E8E6E2;
  --stein: #DAD7D2;
  --hecke: #17352A;
  --wall: #C4BCB1;
  --soft: #5E4B3E;
  --line: rgba(23, 53, 42, 0.22);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-text: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --step-display: clamp(2.25rem, 1.4rem + 2.6vw, 4rem);
  --step-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --step-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-small: 0.875rem;

  --margin: clamp(0.75rem, 1.6vw, 1.5rem);
  --pad-bar: clamp(1rem, 2.2vw, 2.25rem);
  --section: clamp(4rem, 2rem + 5vw, 7.5rem);
  --card-w: calc(100vw - 2 * var(--margin));
  --radius-media: clamp(0.5rem, 1vw, 0.75rem);
  --radius-control: 2px;
  --target: 2.75rem;
  --bar-h: 4rem;
  --foot-h: 3.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 1200px) { :root { --bar-h: 4.5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--kreide); }
body {
  margin: 0;
  background: var(--kreide);
  color: var(--hecke);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, address { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--hecke); color: var(--kreide); }

:focus { outline: 2px solid var(--hecke); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 90; padding: 0.75rem 1rem; background: var(--hecke); color: var(--kreide); font-weight: 500; }
.skip:focus { top: 0.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* the lockup: the wordmark light, "Boutique" in a script under it in Hecke (as on the localhost home page) */
.lockup { display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.lockup img { height: clamp(1.125rem, 0.95rem + 0.5vw, 1.5rem); width: auto; }
.lockup__script { margin-top: 0.16em; font-family: "Pinyon Script", "Snell Roundhand", cursive; font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.5rem); line-height: 1; color: var(--hecke); }

/* ---------- the card: the studio loop in an inset card, the logo lies in the picture ---------- */
.card {
  position: relative; overflow: hidden; margin: var(--margin) var(--margin) 0; border-radius: var(--radius-media);
  background: linear-gradient(to right, #C3BBB0, #B3AA9F);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.card__bar { position: absolute; left: 0; right: 0; top: 0; z-index: 3; }
.card__bar-inner { display: flex; justify-content: center; align-items: center; height: var(--bar-h); margin: 0 var(--pad-bar); border-bottom: 1px solid var(--line); }

.hero__title { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; line-height: 0.9; letter-spacing: 0.01em; }
.hero__sub { margin-top: 1.25rem; max-width: 26ch; font-size: var(--step-lead); line-height: 1.4; }
.hero__mail { margin-top: 1.25rem; font-size: var(--step-body); }
.hero__mail a { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; overflow-wrap: anywhere; }
.hero__mail a:hover { text-decoration-thickness: 2px; }
.hero__en { margin-top: 1.5rem; max-width: 34ch; font-size: var(--step-small); line-height: 1.5; }
.hero__video { pointer-events: none; }

.hero__pause {
  position: absolute; right: var(--pad-bar); bottom: var(--pad-bar); z-index: 3;
  display: inline-flex; align-items: center; justify-content: center; width: var(--target); height: var(--target); padding: 0;
  border: 0; border-radius: var(--radius-control); background: rgba(244, 243, 241, 0.78); color: var(--hecke);
}
.hero__pause[hidden] { display: none; }
.hero__pause svg { width: 1.125rem; height: 1.125rem; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linejoin: round; }
.hero__pause .i-play { display: none; fill: currentColor; stroke: none; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }

/* phone and tablet: the copy sits on the wall, the loop below it shows the three looks, its top fades into the wall */
@media (max-width: 899px) {
  .card { padding-top: var(--bar-h); }
  .card::after { content: ""; display: block; padding-top: 101%; }
  .hero__copy { position: relative; z-index: 2; padding: clamp(1.5rem, 6vw, 2.75rem) var(--pad-bar) 0; }
  .hero__title { font-size: calc(var(--card-w) * 0.13); }
  .hero__pause { left: var(--pad-bar); right: auto; }
  .hero__video {
    position: absolute; left: -90%; bottom: 0; width: 200%; max-width: none; height: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .card::after { padding-top: 70%; }
  .hero__title { font-size: calc(var(--card-w) * 0.1); }
  .hero__video { left: -40%; width: 150%; }
}

/* desktop: the whole frame of the loop (as on the home page), at most the window above the footer line;
   the copy sits on the empty wall to the left */
@media (min-width: 900px) {
  .card {
    height: calc(var(--card-w) * 0.5583); max-height: calc(100vh - var(--margin) - var(--foot-h)); min-height: 30rem;
    background: linear-gradient(to bottom, #AFA9A2, #B0A89F 50%, #ADA599 78%, #B2A9A2 92%, #CDC5BF);
  }
  .hero__video {
    position: absolute; right: 0; top: 0; width: auto; height: 100%; max-width: none; aspect-ratio: 1920 / 1072;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%);
  }
  .hero__copy {
    position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; width: 50%;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    padding: var(--bar-h) var(--pad-bar) 0;
  }
  .hero__title { font-size: calc(var(--card-w) * 0.068); }
  @supports (font-size: min(1px, 2px)) {
    .hero__title { font-size: min(calc(var(--card-w) * 0.068), 13vh); }
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 900ms var(--ease-out) both; }
  .hero__copy > :nth-child(2) { animation-delay: 140ms; }
  .hero__copy > :nth-child(3) { animation-delay: 260ms; }
  .hero__copy > :nth-child(4) { animation-delay: 380ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- the footer line ---------- */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  min-height: var(--foot-h); padding: 0.5rem calc(var(--margin) + var(--pad-bar)); font-size: 0.8125rem; color: #4A3B30;
}
.foot p { margin: 0.25rem 1.5rem 0.25rem 0; }
.foot ul { display: flex; flex-wrap: wrap; }
.foot li { margin-right: 1.5rem; }
.foot li:last-child { margin-right: 0; }
.foot a { display: inline-block; padding: 0.625rem 0; text-decoration: none; }
.foot a:hover, .foot a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- legal pages: a plain bar in the wall colour, the text in one column ---------- */
.plain-bar { background: var(--wall); border-bottom: 1px solid var(--line); }
.plain-bar .card__bar-inner { border-bottom: 0; }
.doc { max-width: 44rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) calc(var(--margin) + var(--pad-bar)) var(--section); box-sizing: content-box; }
.doc__title { font-family: var(--font-display); font-weight: 500; font-size: var(--step-display); line-height: 1.02; letter-spacing: -0.005em; }
.doc__stand { margin-top: 1rem; color: var(--soft); font-size: var(--step-small); }
.doc__note { margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius-control); background: var(--leinen); }
.doc__body { margin-top: clamp(2rem, 4vw, 3rem); }
.doc__body > * + * { margin-top: 1rem; }
.doc__body h2 { margin-top: clamp(2.5rem, 5vw, 3.5rem); font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem); line-height: 1.08; }
.doc__body > h2:first-child { margin-top: 0; }
.doc__body h2 + * { margin-top: 0.625rem; }
.doc__body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.doc__body a:hover { text-decoration-thickness: 2px; }
.doc__back { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.doc__back a { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }

@media print {
  .skip, .hero__pause, .hero__video, .foot { display: none !important; }
}
