/* Basis: Tokens, Reset, Layout, gemeinsame Bausteine (JBOD / Bigint) */

:root {
  --ink: #12161c;
  --ink-strong: #0a1b2e;
  --ink-soft: #565e6b;
  --ink-mute: #6b7280;
  --ink-ghost: #9aa1ac;
  --blue: #1a7fd4;
  --blue-dark: #0f5da0;
  --blue-light: #7fb4e8;
  --navy: #061426;
  --teal: #7fd7c4;
  --surface: #f4f5f9;
  --surface-tint: #e8f2fb;
  --line: #e7e8ee;
  --line-strong: #d9dbe4;
  --ghost: #f0f1f5;
  --white: #fff;

  --font: "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 28px);
  --wrap: 1360px;
  --section: clamp(56px, 9vw, 96px);
  --radius-panel: clamp(16px, 3vw, 28px);
  --radius-card: 20px;
  --radius-tile: 18px;
  --radius-pill: 999px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, p, blockquote, dl, dd, figure { margin: 0; }

/* ---------- Layout ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-top: var(--section); }
.section--tight { padding-top: clamp(40px, 6vw, 56px); }
.section--flush { padding-top: 8px; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 40px clamp(32px, 6vw, 120px);
  align-items: start;
}
.split--center { align-items: center; }
.split--spaced { margin-top: 44px; }
.split--cta { gap: 32px clamp(32px, 5vw, 96px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.split > .split__aside { padding-top: 8px; }

/* ---------- Typografie ---------- */

.h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
.h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; }
.h2--sm { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 24px; }
.h2--lead { margin-bottom: 40px; }
.h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; }
.lede { font-size: 18px; line-height: 1.65; }
.body { font-size: 17px; line-height: 1.75; }
.body--soft { color: var(--ink-soft); }
.body--strong { font-weight: 600; }
.body--onDark { color: #c3ccd8; max-width: 62ch; }
.kicker { margin-top: 12px; }
.small { font-size: 15.5px; }
.muted { color: var(--ink-ghost); }
.accent { color: var(--blue-light); }
.accent-warm { color: var(--teal); }
.eyebrow { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; }
.stack > * + * { margin-top: 20px; }
.stack--tight > * + * { margin-top: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}
.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-strong);
}
.brand:hover { color: var(--ink-strong); }
.brand__mark { width: 30px; height: 30px; }
.brand--wordmark { align-items: baseline; gap: 2px; font-size: 22px; letter-spacing: 0.02em; }
.brand__mono { font-family: var(--font-mono); font-weight: 500; color: var(--blue); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 260px;
  min-width: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: 0 6px 24px rgba(10, 27, 46, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-mute);
  white-space: nowrap;
}
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a.is-active { background: var(--surface); color: var(--ink); font-weight: 600; }
.site-header__cta { margin-left: auto; display: flex; }

@media (max-width: 720px) {
  .nav { order: 2; flex: 1 1 100%; justify-content: flex-start; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm { padding: 11px 22px; font-size: 15.5px; }
.btn--xs { padding: 8px 16px; font-size: 14.5px; }
.btn--dark { background: var(--ink-strong); color: var(--white); }
.btn--dark:hover { background: #123252; color: var(--white); }
.btn--light { background: var(--white); color: var(--ink-strong); }
.btn--light:hover { background: #dbe6f2; color: var(--ink-strong); }
.btn--outline { background: var(--white); border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { background: var(--surface); color: var(--ink); }
.link-more { font-weight: 600; }

/* ---------- Dunkle Panels mit Glow ---------- */

.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--navy);
  color: var(--white);
}
.panel__glow { position: absolute; inset: 0; pointer-events: none; }
.panel__glow--teal { background: radial-gradient(120% 90% at 78% 108%, rgba(64, 214, 196, 0.34) 0%, rgba(23, 96, 148, 0.26) 34%, rgba(6, 20, 38, 0) 66%); }
.panel__glow--blue { background: radial-gradient(70% 60% at 12% 8%, rgba(35, 85, 145, 0.32) 0%, rgba(6, 20, 38, 0) 70%); }
.panel__glow--rise { background: radial-gradient(90% 100% at 20% 110%, rgba(38, 120, 190, 0.42) 0%, rgba(6, 20, 38, 0) 64%); }
.panel__glow--corner { background: radial-gradient(80% 90% at 95% 0%, rgba(64, 214, 196, 0.26) 0%, rgba(6, 20, 38, 0) 62%); }
.panel__glow--veil { background: linear-gradient(180deg, rgba(6, 20, 38, 0.88) 0%, rgba(6, 20, 38, 0.72) 55%, rgba(6, 20, 38, 0.86) 100%); }
.panel__body { position: relative; padding: clamp(32px, 6vw, 96px) clamp(24px, 5vw, 96px); }
.panel__body--snug { padding: clamp(32px, 5vw, 80px) clamp(24px, 5vw, 96px); }

.hero {
  min-height: clamp(280px, 46vw, 460px);
  display: grid;
  place-items: center;
}
.hero--photo {
  background: var(--navy) url("https://infopro.ch/wp-content/uploads/2022/06/old_town_V3.jpg") center / cover no-repeat;
}

.wordmark {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(52px, 10vw, 124px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
  user-select: none;
}
.wordmark__mono { font-family: var(--font-mono); font-weight: 400; }

/* ---------- Medien ---------- */

.media { border-radius: var(--radius-panel); overflow: hidden; background: var(--surface); }
.media img { width: 100%; height: clamp(280px, 40vw, 520px); object-fit: cover; }
.media--ratio img { height: auto; aspect-ratio: 4 / 3; }

/* ---------- Footer ---------- */

.site-footer { margin-top: var(--section); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 28px 64px;
  max-width: 820px;
  padding-bottom: 56px;
}
.footer-cols h2 { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.footer-cols a { color: var(--ink); }
.footer-cols a:hover { color: var(--blue-dark); }
.footer-ghost {
  overflow: hidden;
  height: clamp(64px, 12vw, 170px);
  display: grid;
  align-items: end;
}
.footer-ghost span {
  font-size: clamp(56px, 15vw, 220px);
  line-height: 0.82;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ghost);
  user-select: none;
}
.footer-bar { background: var(--surface); }
.footer-bar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 26px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 32px;
  font-size: 15px;
  color: var(--ink-soft);
}
.footer-bar__inner a { color: var(--ink-soft); }
.badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.badge svg { width: 16px; height: 16px; }
@media (max-width: 720px) { .badge { margin-left: 0; } }
