/*  Swazm default theme. All colors/fonts come from CSS custom properties
    generated from content/site.json "theme" tokens into theme.css.
    Klubplan brand refinements are layered at the bottom of this file.  */

/*  Self-hosted Nunito (GDPR-safe — no Google Fonts request). The variable
    font covers every weight the site uses; theme.css sets --font-sans to it.  */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  /* optional (not swap): use Nunito if it's ready within a short block window
     — instant on a cached reload — otherwise keep the fallback for this load
     instead of swapping mid-render, which reflows the nav/hero text. */
  font-display: optional;
  src: url('/assets/fonts/nunito-var.woff2') format('woff2');
}

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

:root {
  /* Fallbacks — theme.css (generated) overrides these. */
  --color-primary: #295e4f;
  --color-primary-ink: #ffffff;
  --color-accent: #d9764a;
  --color-bg: #faf7f2;
  --color-surface: #ffffff;
  --color-ink: #22302c;
  --color-muted: #5c6b66;
  --font-sans: system-ui, sans-serif;
  --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

a { color: var(--color-primary); }

.container {
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2.5rem, 46rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}
.button--primary {
  background: var(--color-primary);
  color: var(--color-primary-ink);
}
.button--ghost {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.button--light {
  background: var(--color-surface);
  color: var(--color-primary);
}
.button:hover { filter: brightness(1.1); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.brand { text-decoration: none; color: inherit; display: flex; align-items: baseline; gap: 0.5rem; }
.brand__name { font-weight: 700; font-size: 1.15rem; }
.brand__tagline { color: var(--color-muted); font-size: 0.85rem; }
.brand__logo { max-height: 2.5rem; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a { text-decoration: none; color: inherit; }
.site-nav a.is-current { color: var(--color-primary); font-weight: 600; }
.site-nav a.button { color: var(--color-primary-ink); }

/* No-JS fallback for the language switch: plain links styled as chips. */
.lang-switch__fallback { display: flex; gap: 0.35rem; }
.lang-switch__fallback a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  border: 1px solid color-mix(in srgb, var(--color-ink) 20%, transparent);
  border-radius: 6px;
  padding: 0.15rem 0.45rem;
}
.lang-switch__fallback a:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* Language + currency switches: identical compact select chips. */
.currency-switch,
.lang-switch {
  font: inherit;
  font-size: 0.8rem;
  color: var(--color-muted);
  background: var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-ink) 20%, transparent);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  cursor: pointer;
}
.currency-switch:hover,
.lang-switch:hover { border-color: var(--color-primary); color: var(--color-primary); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
  }
  .nav-toggle__bar {
    display: block;
    width: 1.5rem; height: 2px;
    background: var(--color-ink);
    box-shadow: 0 -6px 0 var(--color-ink), 0 6px 0 var(--color-ink);
  }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: block; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav__list { flex-direction: column; align-items: flex-start; padding-block: 0.75rem; }
}

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6rem); }
.hero__inner {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) {
  .hero__inner:has(.hero__media) { grid-template-columns: 3fr 2fr; }
}
.hero__headline .accent { color: var(--color-accent); font-style: italic; }
.hero__lead { font-size: 1.15rem; color: var(--color-muted); max-width: 38rem; }
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero__media img { border-radius: var(--radius); }

/* Sections */
section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* Cards */
.cards__intro { color: var(--color-muted); max-width: 42rem; }
.cards__grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--color-ink) 12%, transparent);
}
.card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.card__icon { width: 2.5rem; margin-bottom: 0.75rem; }
.card__title { font-size: 1.1rem; }
.card__link { text-decoration: none; color: inherit; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__text { color: var(--color-muted); font-size: 0.95rem; }

/* Rich text */
.richtext__body { color: var(--color-ink); }
.richtext__body p { max-width: 46rem; }

/* CTA band */
.cta-band {
  background: var(--color-primary);
  color: var(--color-primary-ink);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 0.25em; }
.cta-band__text { opacity: 0.85; }

/* Dynamic list (items arrive client-side from an Azure Function) */
.dynlist__intro { color: var(--color-muted); }
.dynlist__items {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.dynlist__item {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--color-ink) 12%, transparent);
}
.dynlist__item h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.dynlist__item time { color: var(--color-accent); font-size: 0.8rem; font-weight: 600; }
.dynlist__item p { margin: 0.35rem 0 0; color: var(--color-muted); font-size: 0.95rem; }
.dynlist__status:empty { display: none; }
.dynlist__status { color: var(--color-muted); margin-top: 1rem; }

/* Contact */
.contact__form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact__form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.9rem; }
.contact__form input,
.contact__form textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--color-ink) 25%, transparent);
  border-radius: calc(var(--radius) / 2);
  background: var(--color-surface);
}
.contact__form button { justify-self: start; }
.contact__status:empty { display: none; }
.contact__status { font-weight: 600; }
.contact__fallback { color: var(--color-muted); margin-top: 1.5rem; }
/* Privacy consent line above the submit button. */
.contact__privacy { color: var(--color-muted); font-size: 0.82rem; margin: 0.25rem 0; }
.contact__privacy p { margin: 0; }

/* Packages / pricing */
.packages__intro { color: var(--color-muted); max-width: 42rem; }
.packages__grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--color-surface);
  border: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.plan--featured { border-color: var(--color-accent); }
.plan__badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
}
.plan__name { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--color-muted); margin: 0; }
.plan__tagline { font-size: 1.25rem; font-weight: 600; margin: 0; }
.plan__features { list-style: none; margin: 0.5rem 0; padding: 0; display: grid; gap: 0.5rem; }
.plan__features li { padding-left: 1.4rem; position: relative; color: var(--color-muted); }
.plan__features li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }
.plan__price { margin-top: auto; font-size: 1.4rem; font-weight: 700; }
.plan__price-note { font-size: 0.9rem; font-weight: 400; color: var(--color-muted); }
.plan__description { color: var(--color-muted); font-size: 0.95rem; }
.plan__price-line { display: block; }
.plan__price-line + .plan__price-line { font-size: 1.05rem; }
.packages__cta { margin-top: 2rem; }
.packages__footnote { color: var(--color-muted); font-size: 0.85rem; margin-top: 1.5rem; }

/* Price list — plain rows of name + price (add-ons, à-la-carte options) */
.price-list__intro { color: var(--color-muted); max-width: 42rem; }
.price-list__items { list-style: none; margin: 2rem 0 0; padding: 0; }
.price-list__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent);
}
.price-list__label { display: grid; }
.price-list__text { color: var(--color-muted); font-size: 0.9rem; }
.price-list__price { font-weight: 700; white-space: nowrap; }
.price-list__footnote { color: var(--color-muted); font-size: 0.85rem; margin-top: 1.5rem; }

/* Legal contact (Impressum) */
.legal-contact__address { font-style: normal; display: grid; gap: 0.2rem; margin: 1.5rem 0; }
.legal-contact__address span { display: block; }
.legal-contact__rows { margin: 0 0 1.5rem; }
.legal-contact__rows div { display: flex; gap: 0.75rem; }
.legal-contact__rows dt { color: var(--color-muted); min-width: 5rem; }
.legal-contact__rows dd { margin: 0; }

/* Comparison (them vs us) */
.comparison__intro { color: var(--color-muted); max-width: 42rem; }
.comparison__table { width: 100%; max-width: 50rem; border-collapse: collapse; margin-top: 2rem; }
.comparison__table th, .comparison__table td { text-align: left; padding: 0.8rem 1.1rem; border-bottom: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent); }
.comparison__table thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); }
.comparison__table th.comparison__ours { color: var(--color-accent); }
.comparison__them { color: var(--color-muted); }
.comparison__us { font-weight: 600; }
.comparison__ours, .comparison__us { background: color-mix(in srgb, var(--color-accent) 8%, transparent); }
.comparison__footnote { color: var(--color-muted); font-size: 0.85rem; margin-top: 1.5rem; }

/* Process / steps */
.process__steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.step__num { font-size: 0.85rem; font-weight: 700; color: var(--color-accent); }
.step__title { font-size: 1.05rem; margin: 0.4rem 0 0.3rem; }
.step__text { color: var(--color-muted); font-size: 0.95rem; }

/* About (portrait + text) */
.about__inner {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 820px) {
  .about__inner { grid-template-columns: 2fr 3fr; }
}
.about__media { margin: 0; }
.about__media img { border-radius: var(--radius); width: 100%; }
.about__sig { margin-top: 0.75rem; display: flex; flex-direction: column; }
.about__name { font-weight: 700; }
.about__role { color: var(--color-muted); font-size: 0.9rem; }
.about__body { color: var(--color-muted); }

/* Logos / trust strip */
.logos__title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--color-muted);
}
.logos__row {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}
.logos__item { color: var(--color-muted); font-weight: 600; opacity: 0.75; }
.logos__item img { max-height: 1.75rem; width: auto; }

/* Footer */
.site-footer {
  margin-top: 3rem;
  background: var(--color-surface);
  border-top: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent);
}
.site-footer__inner { padding-block: 2.5rem; display: grid; gap: 1.5rem; }
.site-footer__text { color: var(--color-muted); font-size: 0.95rem; }
.site-footer__legal ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; }
.site-footer__copyright { color: var(--color-muted); font-size: 0.85rem; margin: 0; }
.site-footer__heading { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--color-muted); margin: 0 0 0.6rem; }
.site-footer__column ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer__cta { border: 1px solid color-mix(in srgb, var(--color-ink) 12%, transparent); border-radius: var(--radius); padding: 1.5rem; }
.site-footer__cta-title { font-weight: 700; margin: 0 0 0.75rem; }
.site-footer__cta-text { color: var(--color-muted); font-size: 0.95rem; }
.site-footer__social { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; gap: 1rem; }
.site-footer__social a { display: inline-flex; color: var(--color-muted); }
.site-footer__social a:hover { color: var(--color-ink); }
.social-icon { width: 1.35rem; height: 1.35rem; display: block; }
@media (min-width: 860px) {
  /* Columns and the CTA share a row; about + copyright bracket them. */
  .site-footer__inner { grid-template-columns: 1.4fr repeat(auto-fit, minmax(8rem, 1fr)); align-items: start; }
  .site-footer__about, .site-footer__copyright { grid-column: 1 / -1; }
}

/* Klubplan live-demo island: a static placeholder on the marketing landing that
   the Blazor app replaces with the interactive DutyPlanBoard once WASM has
   loaded in the background (see #klub-live-demo). */
.klub-demo-island { max-width: 720px; margin: 0 auto; }
.klub-demo-caption {
  text-align: center;
  color: var(--color-muted, #5a6a8a);
  padding: 40px 16px;
  margin: 0;
  font-size: 15px;
}

/* ==========================================================================
   KLUB BRAND REFINEMENTS
   Layered over the SWAZM base above (later rules win). Uses the theme tokens:
   --color-primary (blue #2b6bf3), --color-accent (green #23b26d),
   --color-ink (navy #12203f), --color-muted, --color-surface, --color-bg.
   ========================================================================== */

/* -- Typography ------------------------------------------------------------ */
body { font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { color: var(--color-ink); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.eyebrow { color: var(--color-primary); font-weight: 700; }

/* -- Header ---------------------------------------------------------------- */
.site-header { background: rgba(255, 255, 255, 0.9); border-bottom: 1px solid #e7edf7; }
.site-header__inner { padding-block: 0.7rem; }
.brand__logo { max-height: 2rem; width: auto; }
.brand__tagline { display: none; }               /* the wordmark already reads "Klubplan" */
.site-nav a { color: var(--color-ink); font-weight: 600; }
/* :not(.button) — on the CTA this would paint primary-on-primary (invisible) */
.site-nav a:not(.button):hover { color: var(--color-primary); }
.site-nav a.is-current { color: var(--color-primary); }

/* -- Buttons --------------------------------------------------------------- */
.button {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.72rem 1.5rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.button:hover { filter: none; }
.button--primary { background: var(--color-primary); color: #fff; box-shadow: 0 8px 20px rgba(43, 107, 243, 0.28); }
.button--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(43, 107, 243, 0.36); }
.button--ghost { border-color: #cdddfb; color: var(--color-primary); background: #fff; }
.button--ghost:hover { background: #eef4ff; border-color: var(--color-primary); }
.button--light { background: #fff; color: var(--color-primary); box-shadow: 0 10px 24px rgba(9, 24, 66, 0.18); }
.button--light:hover { transform: translateY(-1px); }

/* -- Hero ------------------------------------------------------------------ */
.hero { padding-block: clamp(2.75rem, 7vw, 5rem); }
.hero__lead { font-size: 1.18rem; color: var(--color-muted); }
.hero__lead strong { color: var(--color-ink); }
.hero__headline .accent { color: var(--color-accent); font-style: normal; }
.hero__media img { border-radius: 0; box-shadow: none; filter: drop-shadow(0 24px 44px rgba(23, 43, 99, 0.16)); }
@media (min-width: 860px) {
  .hero__inner:has(.hero__media) { grid-template-columns: 1.05fr 0.95fr; }
}

/* -- Hero (custom richText: copy left + the live demo island right) -------- */
#hero .container { width: min(100% - 2.5rem, 68rem); }   /* widen past --narrow */
#hero { padding-block: clamp(2.4rem, 6vw, 4.2rem); }
.hero__inner--demo { align-items: center; }
.hero__inner--demo .hero__media { width: 100%; }
.hero__inner--demo .klub-demo-island { max-width: 100%; margin: 0; }
.hero__inner--demo .lp-hero-shot { max-width: none; margin-left: auto; }
@media (min-width: 860px) {
  .hero__inner--demo { grid-template-columns: 1.02fr 0.98fr; }
}

/* -- Feature cards (individual colour + icon per block) -------------------- */
.cards__grid { gap: 1.1rem; }
.card {
  border: 1px solid #e6edf9;
  box-shadow: 0 6px 20px rgba(23, 43, 99, 0.06);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  overflow: hidden;
  padding: 5rem 1.5rem 1.5rem;              /* clears the 3rem icon badge at top:1.5rem */
  --c: var(--color-primary);
}
.card::before,                              /* tinted rounded badge */
.card::after {                              /* the icon, masked + tinted in --c */
  content: "";
  position: absolute; top: 1.5rem; left: 1.5rem;
  width: 3rem; height: 3rem; border-radius: 13px;
}
.card::before { background: color-mix(in srgb, var(--c) 14%, #fff); }
.card::after {
  background: var(--c);
  -webkit-mask: var(--icon) center / 1.55rem no-repeat;
          mask: var(--icon) center / 1.55rem no-repeat;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(23, 43, 99, 0.12); }
.card__title { color: var(--color-ink); font-weight: 800; font-size: 1.12rem; }
.card__text { color: var(--color-muted); }
#features .card:nth-child(1) { --c: #2b6bf3; --icon: url(/assets/icons/chat-dots.svg); }
#features .card:nth-child(2) { --c: #23b26d; --icon: url(/assets/icons/calendar-check.svg); }
#features .card:nth-child(3) { --c: #f0972e; --icon: url(/assets/icons/bell.svg); }
#features .card:nth-child(4) { --c: #7c5cfc; --icon: url(/assets/icons/arrow-repeat.svg); }
#features .card:nth-child(5) { --c: #12a5b8; --icon: url(/assets/icons/files.svg); }
#features .card:nth-child(6) { --c: #e5556f; --icon: url(/assets/icons/house-door.svg); }
#values .card:nth-child(1) { --c: #2b6bf3; --icon: url(/assets/icons/slash-circle.svg); }
#values .card:nth-child(2) { --c: #23b26d; --icon: url(/assets/icons/shield-check.svg); }
#values .card:nth-child(3) { --c: #f0972e; --icon: url(/assets/icons/gift.svg); }
#values .card:nth-child(4) { --c: #7c5cfc; --icon: url(/assets/icons/chat-heart.svg); }

/* -- Process steps (individual colour + icon per point) -------------------- */
.process__steps { gap: 1.9rem 1.5rem; }
.step { position: relative; padding-top: 3.9rem; --c: var(--color-primary); }
.step__num {
  position: absolute; top: 0; left: 0;
  width: 3.1rem; height: 3.1rem; border-radius: 15px;
  font-size: 0;                              /* hide the "01"; the icon replaces it */
  background: color-mix(in srgb, var(--c) 14%, #fff);
}
.step__num::before {
  content: ""; position: absolute; inset: 0;
  background: var(--c);
  -webkit-mask: var(--icon) center / 1.6rem no-repeat;
          mask: var(--icon) center / 1.6rem no-repeat;
}
.step:nth-child(1) { --c: #2b6bf3; --icon: url(/assets/icons/pencil-square.svg); }
.step:nth-child(2) { --c: #23b26d; --icon: url(/assets/icons/calendar-week.svg); }
.step:nth-child(3) { --c: #f0972e; --icon: url(/assets/icons/share.svg); }
.step:nth-child(4) { --c: #7c5cfc; --icon: url(/assets/icons/check-circle.svg); }
.step__title { color: var(--color-ink); font-weight: 800; }
.step__text { color: var(--color-muted); }

/* -- Pricing --------------------------------------------------------------- */
.packages__grid { gap: 1.25rem; align-items: stretch; }
.plan { border: 1px solid #e6edf9; box-shadow: 0 6px 20px rgba(23, 43, 99, 0.06); }
.plan__name { color: var(--color-primary); font-weight: 800; }
.plan__price { font-size: 1.9rem; font-weight: 800; color: var(--color-ink); }
.plan__price-note { font-size: 0.9rem; font-weight: 500; color: var(--color-muted); }
.plan__features li::before { color: var(--color-accent); }
.plan .button { width: 100%; text-align: center; margin-top: 0.5rem; }
.plan--featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 22px 48px rgba(43, 107, 243, 0.18);
}
.plan__badge { background: var(--color-accent); }
.packages__footnote { text-align: center; }
.packages__footnote a { color: var(--color-primary); font-weight: 600; }

/* -- FAQ (was entirely unstyled: browser-default <details>) ---------------- */
.faq__intro { color: var(--color-muted); }
.faq__items { display: grid; gap: 0.75rem; margin-top: 2rem; }
.faq__item {
  background: var(--color-surface);
  border: 1px solid #e6edf9;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(23, 43, 99, 0.05);
  overflow: hidden;
}
.faq__item[open] { border-color: #cdddfb; box-shadow: 0 8px 22px rgba(23, 43, 99, 0.08); }
.faq__question {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-weight: 700;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "";
  flex: none;
  width: 0.62rem; height: 0.62rem;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__question::after { transform: rotate(-135deg); }
.faq__question:hover { color: var(--color-primary); }
.faq__answer { padding: 0 1.3rem 1.15rem; color: var(--color-muted); }
.faq__answer p { margin: 0; max-width: none; }

/* -- About (illustration + text) ------------------------------------------- */
.about__media img { border-radius: 0; filter: drop-shadow(0 18px 36px rgba(23, 43, 99, 0.14)); }
.about__body { color: var(--color-muted); font-size: 1.05rem; }
.about__body strong { color: var(--color-ink); }
.about__sig { align-items: center; text-align: center; }

/* -- CTA band sticks directly onto the footer ------------------------------ */
.cta-band { margin-bottom: 0; }
.cta-band h2 { color: #fff; }
.cta-band__text { opacity: 0.92; }
.cta-band__text p { max-width: 44rem; }

/* -- Footer (dark, branded; Produkt/Konto/Rechtliches in one horizontal row) */
.site-footer { margin-top: 0; background: var(--color-ink); border-top: none; color: #c3cfe6; }
.site-footer__inner { padding-block: 3rem 2rem; }
.site-footer__logo { max-height: 1.9rem; }
.site-footer .brand__name { color: #fff; }
.site-footer__text { color: #93a2c2; }
.site-footer__heading { color: #7f90b3; }
.site-footer a { color: #d5deef; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__contact { color: #d5deef; font-size: 0.95rem; display: inline-block; margin-top: 0.9rem; }
.site-footer__copyright { color: #7e8fb0; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.25rem; margin-top: 0.5rem; }
.site-footer__credit a { color: #93a2c2; }
@media (min-width: 720px) {
  /* About on the left; the three link groups share one row to save height. */
  .site-footer__inner {
    grid-template-columns: 1.7fr repeat(3, minmax(7rem, 1fr));
    column-gap: 2rem;
    align-items: start;
  }
  .site-footer__about { grid-column: 1; }
  .site-footer__copyright { grid-column: 1 / -1; }
}
.site-footer__column ul,
.site-footer__legal ul { display: grid; gap: 0.4rem; }

/* -- Clubhouse: copy + a static booking-calendar view ---------------------- */
#clubhouse .container { width: min(100% - 2.5rem, 68rem); }
#clubhouse .eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; }
#clubhouse .eyebrow::before {
  content: ""; width: 1.15rem; height: 1.15rem; flex: none;
  background: var(--color-primary);
  -webkit-mask: url(/assets/icons/building-check.svg) center / contain no-repeat;
          mask: url(/assets/icons/building-check.svg) center / contain no-repeat;
}
.ch-split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 820px) { .ch-split { grid-template-columns: 1fr 1fr; } }
.ch-copy p { color: var(--color-muted); }
.ch-copy strong { color: var(--color-ink); }
.ch-cal {
  background: #fff; border: 1px solid #e6edf9; border-radius: 18px;
  box-shadow: 0 18px 44px rgba(23, 43, 99, 0.10);
  padding: 1.1rem 1.2rem 1.3rem;
}
.ch-cal-top { margin-bottom: 0.7rem; }
.ch-cal-room { font-weight: 800; color: var(--color-ink); font-size: 0.95rem; }
.ch-cal-week, .ch-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.ch-cal-week { margin-bottom: 6px; }
.ch-cal-week span { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #8fa1c0; }
.ch-cal-days span { aspect-ratio: 1; display: grid; place-items: center; font-size: 12.5px; color: #33415e; border-radius: 9px; }
.ch-cal-days span:not(.is-booked):not(.is-pad) { background: #f4f7fc; }
.ch-cal-days span.is-booked { color: #fff; font-weight: 700; }
.ch-b1 { background: #2b6bf3; }
.ch-b2 { background: #23b26d; }
.ch-b3 { background: #f0972e; }
.ch-cal-legend { list-style: none; margin: 0.95rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem 1.1rem; font-size: 12.5px; color: var(--color-muted); }
.ch-cal-legend li { display: flex; align-items: center; gap: 0.45rem; }
.ch-dot { width: 0.72rem; height: 0.72rem; border-radius: 3px; flex: none; }

/* -- Active nav link (scroll-spy target): visible underline, not just colour  */
.site-nav a { position: relative; }
.site-nav a.is-current { color: var(--color-primary); }
.site-nav a.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px;
  height: 2px; border-radius: 2px; background: var(--color-primary);
}
@media (max-width: 960px) { .site-nav a.is-current::after { display: none; } }

/* -- Subtle fade-in-on-scroll (site.js adds .reveal to below-fold blocks) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* -- Icon / logo responsiveness -------------------------------------------- */
@media (max-width: 560px) {
  .brand__logo { max-height: 1.7rem; }
  .card { padding-top: 4.6rem; }
  .card::before, .card::after { width: 2.6rem; height: 2.6rem; }
  .card::after { -webkit-mask-size: 1.35rem; mask-size: 1.35rem; }
  .step__num { width: 2.7rem; height: 2.7rem; }
}

/* -- /about page: a distinct hero band + the "origin" split ----------------- */
/* Intro reads as a hero: soft blue band, set off from the plain-bg content. */
#me {
  background: linear-gradient(180deg, #e9f1ff 0%, var(--color-bg) 100%);
  border-bottom: 1px solid #dbe7ff;
  padding-block: clamp(2.75rem, 6vw, 4.75rem);
}
#me .about__media { text-align: center; }
#me .about__media img {
  width: 85%;                 /* 15% smaller than the column-filling default */
  margin-inline: auto;
}
/* Desktop hero: the portrait's bottom sits flush on the band's bottom border. */
@media (min-width: 820px) {
  #me { padding-bottom: 0; }
  #me .about__media { align-self: end; }
  #me .about__media img { margin-bottom: 0; display: block; }
}
/* "Warum es Klubplan gibt" — festival tent on the right for variety. */
@media (min-width: 820px) {
  #why .about__inner { grid-template-columns: 3fr 2fr; }
  #why .about__media { order: 2; }
  #why .about__copy { order: 1; }
}

/* -- Footer: subtle custom "buy me a coffee" link (in the footer text) ------ */
.site-footer__coffee-wrap { margin: 0.7rem 0 0; }
.site-footer a.site-footer__coffee {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #c3cfe6;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.site-footer a.site-footer__coffee:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* -- Coffee link for light page backgrounds (about page) ------------------- */
.coffee-note { color: var(--color-muted); display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.coffee-link, a.coffee-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-muted);
  background: #ffffff;
  border: 1px solid #dbe4f2;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.coffee-link:hover { border-color: var(--color-primary); color: var(--color-primary); background: #f6f9ff; }
