/* Kraftwerk Fitness – Stylesheet */
:root {
  --brand: #e2441a;          /* Kraft-Orange */
  --brand-dark: #b8330f;
  --accent: #d4f53c;         /* Energie-Limette */
  --ink: #15161a;            /* fast Schwarz */
  --ink-2: #23252c;
  --text: #2b2d33;
  --muted: #5d606a;
  --bg: #ffffff;
  --bg-tint: #fbf3ee;        /* leicht eingefärbt */
  --bg-soft: #f4f4f1;
  --line: rgba(21, 22, 26, .08);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21,22,26,.05), 0 12px 32px -12px rgba(21,22,26,.18);
  --shadow-lg: 0 2px 4px rgba(21,22,26,.06), 0 24px 48px -16px rgba(21,22,26,.28);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --section: clamp(64px, 10vw, 120px);
  --wrap: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); letter-spacing: -.015em; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 65ch; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint { background: var(--bg-tint); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #d9dbe0; }
.section--dark h2, .section--dark h3 { color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-dark); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--brand); }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .eyebrow::before { background: var(--accent); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 58ch; }

.pill {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  padding: .3em .8em; border-radius: 999px; background: rgba(226,68,26,.1); color: var(--brand-dark);
}
.pill--lime { background: var(--accent); color: var(--ink); }
.pill--dark { background: var(--ink); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.5em; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--brand-dark); color: #fff; box-shadow: 0 10px 24px -10px rgba(226,68,26,.7); }
.btn--primary:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.16); color: #fff; transform: translateY(-2px); }
.btn--lime { background: var(--accent); color: var(--ink); }
.btn--lime:hover { background: #e3ff6a; color: var(--ink); transform: translateY(-2px); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(21,22,26,.72);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 1.15rem; }
.logo:hover { color: #fff; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; }
.logo span em { font-style: normal; color: var(--accent); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

.nav {
  position: absolute; top: 68px; left: 0; right: 0;
  background: rgba(21,22,26,.97);
  padding: 12px 20px 24px;
  display: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a {
  display: block; padding: 14px 4px; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav li a:hover, .nav li a[aria-current="page"] { color: var(--accent); }
.nav .nav-cta { margin-top: 16px; width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { position: static; display: flex; align-items: center; gap: 28px; background: none; padding: 0; border: 0; }
  .nav ul { display: flex; gap: 26px; }
  .nav li a { padding: 6px 0; border: 0; font-size: .98rem; color: rgba(255,255,255,.85); position: relative; transition: color .2s; }
  .nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
  .nav li a:hover::after, .nav li a[aria-current="page"]::after { transform: scaleX(1); }
  .nav .nav-cta { margin-top: 0; width: auto; min-height: 44px; padding: .55em 1.2em; font-size: .95rem; }
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--ink);
  padding: 120px 0 clamp(56px, 9vw, 112px);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,22,26,.55) 0%, rgba(21,22,26,.35) 35%, rgba(21,22,26,.92) 100%),
    linear-gradient(90deg, rgba(21,22,26,.75) 0%, rgba(21,22,26,0) 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 14ch; margin-bottom: .35em; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.88); margin-bottom: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2.25rem; padding: 0; list-style: none; font-size: .95rem; color: rgba(255,255,255,.85); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Page hero (Unterseiten) */
.page-hero { background: var(--ink); color: #d9dbe0; padding: 140px 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,68,26,.45), rgba(226,68,26,0) 70%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,.8); }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .eyebrow::before { background: var(--accent); }

/* Section heads */
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 48px; }
  .section-head--split p { margin-bottom: .4em; }
}

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  display: flex; flex-direction: column; gap: 10px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin: 6px 0 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), #ff7a3d); color: #fff;
}
.icon svg { width: 26px; height: 26px; }
.card--featured { background: var(--ink); color: #c9ccd3; }
.card--featured h3 { color: #fff; }
.card--featured p { color: #c9ccd3; }
.card--featured .icon { background: var(--accent); color: var(--ink); }
.card-link { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 18px; height: 18px; transition: transform .2s; }
.card-link:hover svg { transform: translateX(4px); }
.card--featured .card-link { color: var(--accent); }

/* Split (Bild + Text) */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse .split-media { order: 2; }
}
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-media .img-small {
  position: absolute; width: 46%; aspect-ratio: 1; right: -12px; bottom: -28px;
  border: 6px solid var(--bg-tint); border-radius: var(--radius);
}
@media (min-width: 900px) { .split-media .img-small { right: -40px; bottom: -40px; } }
.badge-float {
  position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: .95rem;
}
.badge-float svg { width: 26px; height: 26px; color: var(--brand); }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 24px; height: 24px; flex: none; color: var(--brand); margin-top: 2px; }
.section--dark .checklist svg { color: var(--accent); }

/* Zeiten */
.hours { display: grid; gap: 20px; }
@media (min-width: 760px) { .hours { grid-template-columns: 1fr 1fr; } }
.hours-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.hours-card--accent { background: linear-gradient(140deg, #9f2b0b, var(--brand-dark)); color: #fff; }
.hours-card--accent h3, .hours-card--accent dt, .hours-card--accent dd { color: #fff; }
.hours-card h3 { display: flex; align-items: center; gap: 10px; }
.hours-card h3 svg { width: 24px; height: 24px; }
.hours-card dl { margin: 18px 0 0; display: grid; gap: 0; }
.hours-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.hours-card--accent dl div { border-color: rgba(255,255,255,.25); }
.hours-card dt { font-weight: 600; color: var(--ink); }
.hours-card dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.hours-card .note { font-size: .95rem; margin: 16px 0 0; opacity: .9; }

/* Preise */
.prices { display: grid; gap: 20px; }
@media (min-width: 900px) { .prices { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.price-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card .price { font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; margin: 6px 0 2px; }
.price-card .price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card p { color: var(--muted); margin: 0; }
.price-card .btn { margin-top: auto; }
.price-card--top { background: var(--ink); color: #c9ccd3; position: relative; }
.price-card--top .price, .price-card--top h3 { color: #fff; }
.price-card--top .price small, .price-card--top p { color: #c9ccd3; }
@media (min-width: 900px) { .price-card--top { transform: translateY(-12px); } .price-card--top:hover { transform: translateY(-16px); } }

/* Kurse */
.course-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .course-grid { grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; } .course-grid .course--big { grid-row: span 2; } }
.course { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); background: var(--ink-2); }
.course img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.course:hover img { transform: scale(1.04); }
.course::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,22,26,0) 25%, rgba(21,22,26,.9) 100%); }
.course-body { position: relative; z-index: 1; padding: 28px; }
.course-body h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0 6px; }
.course-body p { color: rgba(255,255,255,.88); margin: 0; }
.course--plain { background: linear-gradient(150deg, var(--ink-2), var(--ink)); }
.course--plain::after { display: none; }
.course--plain .deco { position: absolute; right: -30px; top: -30px; width: 180px; height: 180px; color: rgba(212,245,60,.14); }

/* CTA */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; width: 640px; height: 640px; left: -200px; bottom: -340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,68,26,.5), rgba(226,68,26,0) 70%);
}
.cta .wrap { position: relative; }
.cta-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list a, .contact-list .item {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none;
  transition: background-color .2s, transform .2s var(--ease);
}
.contact-list a:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); color: #fff; }
.contact-list .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--ink); display: grid; place-items: center; flex: none; }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: #aeb2bb; font-size: .85rem; }
.contact-list strong { font-size: 1.1rem; word-break: break-word; }

/* Fliesstext-Seiten */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose address { font-style: normal; }

/* Footer */
.site-footer { background: #0e0f12; color: #a9adb6; padding: 72px 0 32px; font-size: .98rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e3e5ea; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer address { font-style: normal; }
.site-footer .logo { margin-bottom: 14px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .9rem; }
.footer-bottom ul { display: flex; gap: 20px; }

/* Hilfsklassen */
.mt-s { margin-top: 20px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 40px; }
.self-start { align-self: flex-start; }
.lead--light { color: #c9ccd3; }
.site-footer address + ul { margin-top: 10px; }

/* Einblenden beim Scrollen */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal:not(.in) {
    opacity: 0; transform: translateY(16px);
    animation: reveal-safety 0s 2.5s forwards;
  }
  html.js .reveal { transition: opacity .5s var(--ease), transform .4s var(--ease), box-shadow .22s var(--ease); }
  @keyframes reveal-safety { to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
