/* Shared page styles for kring.ch — extracted 2026-08-04 from the six landing pages,
   which carried a byte-identical copy each. Edit here, not per page. */

:root {
  --c-bg: #F3F6FA;
  --c-bg-soft: #E8EEF6;
  --c-bg-card: #FFFFFF;
  --c-border: #E5E3DA;
  --c-border-strong: #C9C5B7;
  --c-text: #1A1815;
  --c-text-soft: #5F5E5A;
  --c-text-muted: #8E8C86;
  --c-accent: #185FA5;
  --c-accent-soft: #E7EEF6;
  --c-accent-border: #BFD0E4;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --max-w: 880px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--c-bg);
  background-image:
    radial-gradient(circle, rgba(24, 95, 165, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #DCE6F3 0%, rgba(220, 230, 243, 0) 600px);
  background-repeat: repeat, no-repeat;
  background-size: 22px 22px, 100% 600px;
  color: var(--c-text);
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

a { color: inherit; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(28px, 4vw, 34px); line-height: 1.15; }
h2 { font-size: 22px; line-height: 1.25; }
h3 { font-size: 16px; line-height: 1.4; }

p { margin: 0; }

.eyebrow {
  font-size: 11px;
  color: var(--c-text-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text-soft);
  max-width: 560px;
}

button {
  font: inherit;
  border: 0.5px solid var(--c-border-strong);
  background: var(--c-bg-card);
  color: var(--c-text);
  padding: 10px 18px;
  font-size: 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s ease;
}
button:hover { background: var(--c-bg-soft); }

button.primary {
  background: var(--c-text);
  color: var(--c-bg-card);
  border-color: var(--c-text);
}
button.primary:hover { background: #2F2C28; }

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 0.5px solid var(--c-border);
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand-logo { height: 34px; width: auto; display: block; }
.brand-path { font-size: 13px; color: var(--c-text-soft); margin-left: 4px; }
.nav { display: flex; gap: 1.25rem; font-size: 13px; color: var(--c-text-soft); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--c-text); }

.hero { margin: 0 0 3rem; }
.hero h1 { margin: 0 0 1.25rem; max-width: 580px; }
.hero .lede { margin-bottom: 1.5rem; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.section { margin: 0 0 1.5rem; background: var(--c-bg-soft); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; }
.section-title { margin: 0 0 1.5rem; }
.section-intro { font-size: 14px; color: var(--c-text-soft); margin: 0 0 1.5rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.compact { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

.card {
  background: var(--c-bg-card);
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
}
.card.link { text-decoration: none; color: inherit; display: block; }
.card.link:hover { border-color: var(--c-border-strong); }
.card.soft { background: var(--c-bg-soft); border: none; }
.card .icon {
  width: 22px;
  height: 22px;
  color: var(--c-accent);
  margin-bottom: 10px;
  display: block;
  stroke-width: 1.5;
}
.card-title { font-size: 15px; font-weight: 500; margin: 0 0 6px; }
.card-text { font-size: 13px; line-height: 1.6; color: var(--c-text-soft); margin: 0; }
.card-mono { font-size: 12px; color: var(--c-text-muted); margin: 0 0 8px; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.card-cta { font-size: 12px; color: var(--c-accent); margin: 10px 0 0; }
.card-cta svg { width: 13px; height: 13px; vertical-align: -2px; }

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  padding: 2px 8px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  border-radius: var(--radius-md);
}

.feature-mini {
  padding: 0.5rem 0;
}
.feature-mini .icon {
  width: 20px;
  height: 20px;
  color: var(--c-text-soft);
  margin-bottom: 6px;
  display: block;
  stroke-width: 1.5;
}
.feature-mini h3 { font-size: 14px; margin: 0 0 2px; }
.feature-mini p { font-size: 12px; color: var(--c-text-soft); }

.info-block {
  background: var(--c-bg-card);
  border: 0.5px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-block.soft {
  background: var(--c-bg-soft);
  border: none;
}
.info-block .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--c-text-soft);
  stroke-width: 1.5;
}
.info-block.lg .icon { width: 28px; height: 28px; }
.info-block h3 { font-size: 15px; margin: 0 0 4px; }
.info-block p { font-size: 13px; line-height: 1.6; color: var(--c-text-soft); }

.note {
  background: var(--c-bg-soft);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.note p { font-size: 13px; line-height: 1.6; margin: 0; }
.note p + p { margin-top: 6px; }
.note .label { color: var(--c-text-soft); margin-bottom: 6px; }

.quote {
  background: var(--c-bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.quote .label { font-size: 11px; color: var(--c-text-soft); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 0.75rem; }
.quote .text {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 1rem;
  font-weight: 400;
}
.quote .cite { display: flex; align-items: center; gap: 10px; }
.quote .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 11px;
  color: var(--c-accent);
}
.quote .cite-name { font-size: 13px; font-weight: 500; margin: 0; }
.quote .cite-role { font-size: 12px; color: var(--c-text-soft); margin: 0; }

.calc { margin: 0 0 1.5rem; }
.calc-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0.5rem;
}
.calc-label { font-size: 14px; color: var(--c-text-soft); min-width: 90px; }
.calc-slider { flex: 1; accent-color: var(--c-accent); }
.calc-value { font-size: 16px; font-weight: 500; min-width: 70px; text-align: right; }
.calc-hint { font-size: 12px; color: var(--c-text-muted); margin: 0 0 1.5rem 106px; }
@media (max-width: 540px) {
  .calc-hint { margin-left: 0; }
}

.price-box {
  background: var(--c-bg-card);
  border: 2px solid var(--c-accent-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 1rem;
  flex-wrap: wrap;
}
.price-label { font-size: 13px; color: var(--c-text-soft); margin: 0 0 6px; }
.price-amount { font-size: 36px; font-weight: 500; margin: 0; line-height: 1; }
.price-amount .suffix { font-size: 16px; color: var(--c-text-soft); font-weight: 400; }
.price-year { font-size: 13px; color: var(--c-text-soft); margin: 0; }

.price-features {
  border-top: 0.5px solid var(--c-border);
  padding-top: 12px;
}
.price-features-label { font-size: 13px; color: var(--c-text-soft); margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px;
  padding: 4px 10px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chip svg { width: 14px; height: 14px; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 2rem;
}
.compare-card {
  background: var(--c-bg-soft);
  border-radius: var(--radius-md);
  padding: 1rem;
}
.compare-label { font-size: 13px; color: var(--c-text-soft); margin: 0 0 6px; }
.compare-amount { font-size: 20px; font-weight: 500; margin: 0 0 4px; }
.compare-note { font-size: 12px; color: var(--c-text-soft); margin: 0; }

.chart-wrap { position: relative; width: 100%; height: 200px; }
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 2rem;
  font-size: 12px;
  color: var(--c-text-soft);
}
.chart-legend span { display: flex; align-items: center; gap: 6px; }
.chart-legend .dot-solid { width: 14px; height: 2px; background: var(--c-accent); }
.chart-legend .dot-dash { width: 14px; height: 0; border-top: 2px dashed #888780; }
.chart-legend .dot-dot { width: 14px; height: 0; border-top: 2px dotted #5F5E5A; }

.cta-box {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--c-bg-soft);
  border-radius: var(--radius-lg);
  margin: 0 0 2rem;
}
.cta-box h2 { font-size: 20px; margin: 0 0 0.5rem; }
.cta-box p { font-size: 13px; color: var(--c-text-soft); margin: 0 0 1.25rem; }
.cta-buttons { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 0.5px solid var(--c-border);
  flex-wrap: wrap;
}
.cobrand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--c-text-muted);
}
.cobrand-item { display: inline-flex; align-items: center; gap: 5px; }
.cobrand-item svg { width: 16px; height: 16px; display: block; }
.cobrand-item strong { color: var(--c-text); font-weight: 500; }
.cobrand-sep { color: var(--c-text-muted); }
.ok-open { color: #6F95C0; }
footer .swiss-made { flex-shrink: 0; display: inline-block; }
footer .swiss-made img { height: 24px; width: auto; display: block; }


/* Price table — preise.html (spec 1.32 §4). Scrolls inside .chart-wrap on narrow screens. */
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 380px; }
.price-table th, .price-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--c-border); }
.price-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-text-muted); font-weight: 600; }
.price-table td:first-child { font-weight: 600; color: var(--c-text); }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.price-table tbody tr:last-child td { border-bottom: none; }
