/* ============================================================
   Cindy (sb-labs.de/cindy/)
   Umsetzung von Cindy.dc.html aus Claude Design. Die Seite folgt
   dem System: hell ist Standard, dunkel über prefers-color-scheme.
   Gilt auch für Support und Datenschutz unter /cindy/.
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/Archivo-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/Archivo-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/Archivo-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Black";
  src: url("../assets/fonts/ArchivoBlack-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #EEF2F2;
  --band: #E4EAEA;
  --ink: #06090B;
  --muted: #46555A;
  --line: rgba(6, 9, 11, 0.12);
  --line-strong: rgba(6, 9, 11, 0.28);
  --accent: #08706A;
  --phone-shadow: drop-shadow(0 24px 32px rgba(6, 9, 11, 0.16));
  --font: "Archivo", "Helvetica Neue", sans-serif;
  --display: "Archivo Black", "Archivo", sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06090B;
    --band: #0B1114;
    --ink: #F2F6F6;
    --muted: #93A3A6;
    --line: rgba(242, 246, 246, 0.10);
    --line-strong: rgba(242, 246, 246, 0.22);
    --accent: #6FE9DE;
    --phone-shadow: none;
  }
}

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

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a:focus-visible,
.gallery:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Kopf ---------- */
.header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand__icon {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.brand__name {
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.02em;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}

/* ---------- Wiederkehrende Bausteine ---------- */
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
/* Entwurf: clamp(44px, 5.6vw, 76px). Unter 357 px Breite sinkt das Minimum,
   damit „RHYTHMUS.“ (rund 6,8 em) in die Spalte passt. */
.title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 76px);
  font-size: clamp(min(44px, 14vw - 6px), 5.6vw, 76px);
  line-height: 0.95;
  text-transform: uppercase;
}
.lead {
  margin: 0;
  max-width: 28em;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.accent { color: var(--accent); }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.badge {
  margin: 0;
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.note {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.phone {
  display: block;
  height: auto;
  filter: var(--phone-shadow);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 64px;
}
.band {
  background: var(--band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.arrow-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.arrow-link svg { display: block; flex: none; }

/* ---------- Einstieg ---------- */
.hero {
  padding-top: clamp(24px, 5vw, 72px);
  padding-bottom: clamp(72px, 9vw, 128px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  container-type: inline-size;
}
/* Entwurf: clamp(68px, 9vw, 128px). „GEBEN.“ ist rund 4,2 em breit; damit
   es nie breiter als die Textspalte wird, deckelt 23.5cqi die Grösse. */
.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(68px, 9vw, 128px);
  font-size: min(clamp(68px, 9vw, 128px), 23.5cqi);
  line-height: 0.9;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hero__lead {
  margin: 0;
  max-width: 30em;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.hero .badge-row { padding-top: 4px; }
.hero__visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.hero__visual .phone { width: min(340px, 76vw); }

/* ---------- Das Workout ---------- */
.workout {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}
.workout__grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 32px 24px;
}
.workout__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
}
.workout__item--goal { border-top-color: var(--accent); }
.workout__num {
  font-family: var(--display);
  font-size: clamp(72px, 8vw, 116px);
  line-height: 0.88;
}
.workout__item--goal .workout__num { color: var(--accent); }
.workout__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Der Timer ---------- */
.rhythm {
  padding-top: clamp(80px, 10vw, 144px);
  padding-bottom: clamp(80px, 10vw, 144px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}
.rhythm__head {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rhythm__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 72px;
}
.rhythm__copy {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rhythm__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.4;
}
.rhythm__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.rhythm__visual {
  flex: 2 1 560px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.rhythm__visual picture { display: block; width: 100%; max-width: 760px; }
.rhythm__visual .phone { width: 100%; max-width: 760px; }

/* ---------- Mehr als ein Timer ---------- */
.more { border-top: 1px solid var(--line); }
.more__inner {
  padding-top: clamp(80px, 10vw, 144px);
  padding-bottom: clamp(80px, 10vw, 144px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
}
.gallery {
  display: flex;
  gap: 48px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.gallery__item {
  flex: 0 0 252px;
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.gallery__item .phone { width: 100%; }
.gallery__caption {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gallery__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.gallery__title {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}
.gallery__text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
/* Auf breiten Bildschirmen stehen alle vier iPhones nebeneinander.
   Die Spalten bleiben höchstens 252 px breit; reicht der Platz nicht,
   werden sie schmaler statt zu scrollen. */
@media (min-width: 960px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 252px));
    justify-content: space-between;
    column-gap: 24px;
    overflow-x: visible;
    scroll-snap-type: none;
  }
}

/* ---------- Deine Daten ---------- */
.privacy {
  padding-top: clamp(80px, 10vw, 128px);
  padding-bottom: clamp(80px, 10vw, 128px);
  display: flex;
  flex-wrap: wrap;
  gap: 48px 72px;
}
.privacy__copy {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.privacy__copy .lead { max-width: 24em; }
.privacy__grid {
  flex: 2 1 560px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 0 40px;
}
.privacy__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line-strong);
  padding: 22px 0 32px;
}
.privacy__item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.privacy__item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Schluss ---------- */
.closing {
  padding-top: clamp(96px, 12vw, 168px);
  padding-bottom: clamp(96px, 12vw, 168px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}
.closing__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(60px, 10vw, 140px);
  line-height: 0.9;
  text-transform: uppercase;
}

/* ---------- Fuss ---------- */
.footer { border-top: 1px solid var(--line); }
.footer__inner {
  padding-top: 26px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  font-size: 14px;
  color: var(--muted);
}
.footer__inner > span a {
  color: var(--ink);
  text-decoration: none;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.footer__nav a {
  color: var(--muted);
  text-decoration: none;
}

/* ---------- Textseiten: Support und Datenschutz ---------- */
.legal {
  padding-top: clamp(32px, 6vw, 88px);
  padding-bottom: clamp(80px, 10vw, 136px);
}
.legal > * { max-width: 44rem; }
.legal h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}
.legal .legal__meta {
  margin: 20px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.legal h2 {
  margin: 56px 0 0;
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}
.legal h3 {
  margin: 32px 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
.legal p,
.legal ul,
.legal ol {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  overflow-wrap: break-word;
}
.legal .legal__meta + p { margin-top: 40px; }
.legal ul,
.legal ol { padding-left: 1.25em; }
.legal li + li { margin-top: 6px; }
.legal strong {
  font-weight: 600;
  color: var(--ink);
}
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal table {
  display: block;
  max-width: min(100%, 56rem);
  overflow-x: auto;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.legal th,
.legal td {
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal th {
  font-weight: 600;
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}

/* ---------- Hover: nur Unterstreichung ---------- */
@media (hover: hover) {
  .nav a:hover,
  .footer__nav a:hover,
  .footer__inner > span a:hover,
  .arrow-link:hover,
  .brand:hover .brand__name {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }
  .note a:hover,
  .legal a:hover { text-decoration-thickness: 2px; }
}

.nav a[aria-current="page"],
.footer__nav a[aria-current="page"] { color: var(--ink); }
