/* softwarekostensparen.de — Variante C (modern / marketing).
   Sans-forward Landingpage; Serif als Akzent für Zitate. Gleiche Farb-Tokens und
   Dark Mode wie changereview.org. Source Sans 3 + Source Serif 4 (SIL OFL),
   lokal ausgeliefert; keine Drittanbieter-Requests. */

@font-face {
  font-family: 'Source Sans 3'; font-style: normal; font-weight: 200 900;
  font-display: swap; src: url(fonts/sourcesans-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900;
  font-display: swap; src: url(fonts/sourceserif-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Source Serif 4'; font-style: italic; font-weight: 200 900;
  font-display: swap; src: url(fonts/sourceserif-italic.woff2) format('woff2');
}

/* ---------- tokens ---------- */
:root {
  --bg:     #fbfaf7;
  --ink:    #1a1c20;
  --mid:    #4c515a;
  --dim:    #6e737c;
  --rule:   #e5e1d9;
  --accent: #35618f;
  --accent-2: #2b7a6b;
  --accent-ink: #ffffff;
  --accent-soft: #e8eef5;
  --wash:   #f3f1ea;
  --wide: 68em;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15171b; --ink: #e9e7e2; --mid: #b0aca4; --dim: #8a8e96;
    --rule: #2c3036; --accent: #93b8e2; --accent-2: #6fc7b4; --accent-ink: #0f1114;
    --accent-soft: #1e2a38; --wash: #1c1f24; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15171b; --ink: #e9e7e2; --mid: #b0aca4; --dim: #8a8e96;
  --rule: #2c3036; --accent: #93b8e2; --accent-2: #6fc7b4; --accent-ink: #0f1114;
  --accent-soft: #1e2a38; --wash: #1c1f24; color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-optical-sizing: auto;
  font-size: 1.12rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-underline-offset: .16em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

.skip { position: absolute; left: -9999px; background: var(--ink); color: var(--bg); padding: .6rem 1rem; border-radius: 4px; z-index: 20; text-decoration: none; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }
.measure { max-width: 40em; }

/* ---------- masthead ---------- */
.masthead { border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(180%) blur(10px); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.sitename { display: inline-flex; align-items: center; gap: .55rem; font-size: .95rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.sitename svg { width: 1.2em; height: 1.2em; display: block; color: var(--accent); }
.mastnav { display: flex; align-items: center; gap: 1.1rem; }
.mastlink { font-size: .9rem; font-weight: 600; color: var(--mid); text-decoration: none; }
.mastlink:hover { color: var(--ink); }
.mastlink--cta { background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; border-radius: 999px; }
.mastlink--cta:hover { color: var(--accent-ink); filter: brightness(1.06); }
@media (max-width: 36rem) { .mastlink:not(.mastlink--cta) { display: none; } }
.themetoggle { font: inherit; color: var(--dim); background: none; border: 1px solid var(--rule); border-radius: 999px; padding: .42rem; cursor: pointer; line-height: 0; }
.themetoggle:hover { color: var(--ink); border-color: var(--dim); }
.themetoggle svg { width: 1.1rem; height: 1.1rem; display: block; }
.themetoggle .tt-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tt-sun  { display: block; }
  :root:not([data-theme="light"]) .tt-moon { display: none; }
}
:root[data-theme="dark"] .tt-sun  { display: block; }
:root[data-theme="dark"] .tt-moon { display: none; }
:root[data-theme="light"] .tt-sun  { display: none; }
:root[data-theme="light"] .tt-moon { display: block; }

/* ---------- headings ---------- */
h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; margin: 0 0 1.3rem; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); line-height: 1.12; font-weight: 800; letter-spacing: -.024em; margin: 0 0 1rem; text-wrap: pretty; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.012em; margin: 0 0 .45rem; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .5rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--accent); }

/* ---------- buttons ---------- */
.btnrow { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; margin-top: 2.2rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-size: 1.02rem; font-weight: 700; text-decoration: none; cursor: pointer; padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid transparent; transition: transform .12s, filter .15s, border-color .15s; }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--onaccent { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--onaccent:hover { filter: brightness(1.03); transform: translateY(-1px); }
.btn--ghost-onaccent { background: transparent; color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 45%, transparent); }
.btn--ghost-onaccent:hover { border-color: var(--accent-ink); }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(4rem, 10vw, 7rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 15% 0%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(50% 55% at 100% 20%, color-mix(in srgb, var(--accent-2) 22%, transparent) 0%, transparent 55%);
  opacity: .9; }
.hero .lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.65rem); line-height: 1.42; color: var(--mid); max-width: 32em; margin: 0; }
.hero .microcopy { font-size: .9rem; color: var(--dim); margin: 1.2rem 0 0; }

/* ---------- stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1.5rem 1rem; margin-top: 3rem; padding-top: 2.2rem; border-top: 1px solid var(--rule); }
.stat .n { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.stat .l { font-size: .92rem; color: var(--mid); margin-top: .4rem; }

/* ---------- sections ---------- */
section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.band { background: var(--wash); border-block: 1px solid var(--rule); }
.section-head { max-width: 42em; margin-bottom: 2.6rem; }
.section-lead { color: var(--mid); font-size: 1.22rem; line-height: 1.5; margin: 0; }

/* ---------- feature grid ---------- */
.features { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.feature { border: 1px solid var(--rule); border-radius: 14px; background: var(--bg); padding: 1.7rem; transition: border-color .15s, transform .12s; }
.feature:hover { border-color: var(--accent); transform: translateY(-2px); }
.feature .ic { display: inline-flex; align-items: center; justify-content: center; width: 2.7rem; height: 2.7rem; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.feature .ic svg { width: 1.4rem; height: 1.4rem; }
.feature p { margin: 0; color: var(--mid); font-size: 1.02rem; line-height: 1.5; }

/* ---------- examples ---------- */
.examples { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: .5rem; list-style: none; padding: 0; }
.examples li { border-left: 3px solid var(--accent); padding: .3rem 0 .3rem 1rem; color: var(--mid); }
.examples strong { color: var(--ink); display: block; margin-bottom: .15rem; }

/* ---------- example calculation ---------- */
.figpanel { border: 1px solid var(--rule); border-radius: 16px; background: var(--bg); padding: clamp(1.6rem, 4vw, 2.6rem); max-width: 38em; box-shadow: 0 1px 0 var(--rule); }
table.figures { width: 100%; border-collapse: collapse; font-size: 1.06rem; }
table.figures td { text-align: left; padding: .7rem .2rem; border-bottom: 1px solid var(--rule); }
table.figures td.amount { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.figures tr.total td { border-top: 2px solid var(--dim); border-bottom: none; font-weight: 800; color: var(--ink); font-size: 1.25rem; padding-top: 1rem; }
table.figures tr.total td.amount { color: var(--accent); }
.fignote { color: var(--dim); font-size: .95rem; margin: 1.1rem 0 0; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; border: 1px solid var(--rule); border-radius: 14px; background: var(--bg); padding: 1.5rem; }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: .9rem; }
.steps p { margin: 0; color: var(--mid); font-size: 1rem; line-height: 1.48; }

/* ---------- comparison table ---------- */
.comparewrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 34rem; }
table.compare th, table.compare td { text-align: left; padding: 1rem 1.1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.compare thead th { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
table.compare tbody th { font-weight: 700; color: var(--ink); }
table.compare td { color: var(--mid); }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: none; }
table.compare tr.highlight th, table.compare tr.highlight td { background: var(--accent-soft); color: var(--ink); }
table.compare tr.highlight th { color: var(--accent); }

/* ---------- pricing ---------- */
.pricing { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: 16px; background: var(--bg); padding: 1.8rem; }
.plan--feature { border: 2px solid var(--accent); background: var(--accent-soft); }
.plan .kicker { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 0 0 .8rem; }
.plan .price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 .7rem; line-height: 1.05; }
.plan .price small { font-size: .88rem; font-weight: 600; color: var(--dim); display: block; margin-top: .25rem; }
.plan p { margin: 0; color: var(--mid); font-size: 1rem; line-height: 1.5; }
.plan .tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: .18rem .7rem; margin-bottom: .9rem; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq { max-width: 46em; }
.faq details { border: 1px solid var(--rule); border-radius: 12px; background: var(--bg); margin-bottom: .8rem; padding: 0 1.3rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .1rem; top: 50%; transform: translateY(-50%); font-weight: 400; font-size: 1.6rem; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { margin: 0 0 1.2rem; color: var(--mid); font-size: 1.04rem; line-height: 1.55; }

/* ---------- CTA ---------- */
.ctaband { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--accent-2))); color: var(--accent-ink); }
.ctaband .inner { max-width: 40em; }
.ctaband h2 { color: var(--accent-ink); }
.ctaband p { color: color-mix(in srgb, var(--accent-ink) 88%, transparent); font-size: 1.24rem; margin: 0; }

/* ---------- about ---------- */
.about .measure p { color: var(--mid); }
.about .measure p strong { color: var(--ink); }
.pullquote { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.4; letter-spacing: -.01em; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 1.4rem; margin: 0 0 2rem; max-width: 30em; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--rule); padding-block: 2.2rem 3.5rem; font-size: .88rem; color: var(--dim); }
footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
footer a { color: var(--mid); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- prose (legal) ---------- */
.prose { padding-block: clamp(2.5rem, 7vw, 4rem); max-width: 39.5em; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.7rem); margin-bottom: 2rem; }
.prose h2 { font-size: 1.28rem; margin: 2.6rem 0 .85rem; letter-spacing: -.01em; }
.prose h2:first-of-type { margin-top: 2rem; }
.prose .addr { margin: 0 0 1.3em; line-height: 1.55; }
.prose .addr p { margin: 0; }
.prose ul { margin: 0 0 1.15em; padding-left: 1.3rem; }
.prose li { margin-bottom: .3em; }
.prose .stand { color: var(--dim); font-size: .92rem; margin-top: 2.8rem; }
.backlink { display: inline-block; margin-bottom: 2rem; font-size: .92rem; color: var(--mid); text-decoration: none; }
.backlink:hover { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
