/* =========================================================
   timeCard Landingpage – Stylesheet
   ========================================================= */
:root {
  --yellow: #ffc600;
  --yellow-600: #f0b400;
  --yellow-50: #fff8dc;
  --ink: #232323;
  --ink-2: #3c3c3b;
  --muted: #5d5d5a;
  --line: #e7e5df;
  --bg: #ffffff;
  --bg-soft: #f7f6f2;
  --dark: #1c1c1b;
  --dark-2: #2a2a29;
  --ok: #1f8a4c;
  --err: #b3261e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.05), 0 24px 60px rgba(0,0,0,.12);
  --max: 1200px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; overflow-x: clip; /* clip statt hidden: hidden deaktiviert auf Mobilgeräten die mitlaufende Kopfzeile */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--yellow-600); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yellow-600); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
.tc { font-weight: 400; } .tc b, .tc strong { font-weight: 800; font-style: italic; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #f3f2ee; }
.section--dark .lead, .section--dark p { color: #cfcdc6; }
.section--yellow { background: var(--yellow); }
.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--yellow); border-radius: 2px; }
.section--dark .eyebrow { color: var(--yellow); }
.lead { font-size: 1.15rem; color: var(--muted); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
  font-family: inherit; white-space: nowrap;
}
.hero-cta .btn, .callout .btn, .result-card .btn { white-space: normal; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(255,198,0,.35); }
.btn--primary:hover { background: var(--yellow-600); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.35rem; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand small { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; line-height: 1; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.site-nav a:hover { background: var(--bg-soft); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .header-cta .btn--ghost { display: none; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; display: none; box-shadow: var(--shadow-lg); max-height: calc(100vh - 72px); overflow: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 12px; font-size: 1.05rem; }
}
@media (max-width: 560px) { .header-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -18%; top: -30%; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  background: radial-gradient(circle at center, var(--yellow) 0, var(--yellow) 55%, transparent 56%); opacity: .95; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 .08em; }
.hero .lead { font-size: 1.22rem; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink-2); }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; margin-top: 2px; }
.check svg { width: 13px; height: 13px; }
.hero-visual { position: relative; }
.hero-visual img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }
.hero-badge {
  position: absolute; left: 0; bottom: 8%; background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; font-size: .9rem; line-height: 1.3;
}
.hero-badge strong { display: block; font-size: 1.35rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { right: -40%; top: auto; bottom: -20%; width: 120vw; height: 120vw; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
}

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 22px 20px; }
.trust-label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.trust-logos img { height: 54px; width: auto; }
.trust-logos .seal { height: 64px; }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card h3 { margin-top: 4px; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; margin-bottom: 14px;
}
.card .icon svg { width: 24px; height: 24px; stroke: var(--ink); }
.section--dark .card { background: var(--dark-2); border-color: #3a3a38; color: #f3f2ee; box-shadow: none; }
.section--dark .card p { color: #c9c7c0; }
.tag {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--yellow-50); color: var(--ink-2); border: 1px solid #f1e2a6;
}
.tag--ok { background: #e7f5ec; border-color: #bfe3cc; color: #145c33; }
.tag--info { background: #eef2f7; border-color: #d4dde8; color: #34465c; }
.tag--dark { background: var(--ink); color: var(--yellow); border-color: var(--ink); }

.list-check { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.list-check li { position: relative; padding-left: 28px; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232323' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.frame-bar { display: flex; gap: 6px; padding: 10px 14px; background: #f1f0ec; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d4ce; }

/* ---------- Law / Pflicht ---------- */
.law-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .law-grid { grid-template-columns: 1fr; } }
.law-card { border-left: 4px solid var(--yellow); }
.law-card .date { font-size: .82rem; font-weight: 700; color: var(--yellow); letter-spacing: .06em; text-transform: uppercase; }
.callout {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  background: var(--yellow); color: var(--ink); border-radius: var(--radius); padding: 26px 30px;
}
.callout p { margin: 0; color: var(--ink) !important; font-weight: 600; font-size: 1.1rem; max-width: 46em; }

/* ---------- Features tabs ---------- */
.feature-group h3 { display: flex; align-items: center; gap: 10px; }
.feature-group h3 .num { font-size: .8rem; background: var(--ink); color: var(--yellow); border-radius: 6px; padding: 2px 8px; }
.feature-group dl { margin: 0; display: grid; gap: 10px; }
.feature-group dt { font-weight: 700; }
.feature-group dd { margin: 0 0 4px; color: var(--muted); font-size: .96rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Devices ---------- */
.device-card { display: flex; flex-direction: column; }
.device-card .media { background: var(--bg-soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; height: 260px; margin-bottom: 18px; padding: 18px; overflow: hidden; }
/* Flexbox statt Grid: nur so bezieht sich max-height: 100 % auf die feste Rahmenhöhe */
.device-card .media img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.device-card .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.device-card .price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--muted); }
.device-card .price b { color: var(--ink); font-size: 1.05rem; }

/* ---------- App comparison ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .96rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--ink); color: #fff; font-size: 1rem; }
.compare thead th small { display: block; font-weight: 500; color: #cfcdc6; font-size: .8rem; }
.compare tbody th { background: var(--bg-soft); width: 18%; font-weight: 700; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .hl-col { background: #fffbea; }
.note {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--yellow); border-radius: var(--radius-sm); padding: 16px 20px; margin-top: 22px; font-size: .96rem;
}
.note svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.note p { margin: 0; }

/* ---------- Module cards ---------- */
.module-card { display: flex; flex-direction: column; }
.module-card header { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.module-card header .icon { margin: 0; flex: none; }
.module-card header h3 { margin: 0; }
.module-card .req { font-size: .86rem; color: var(--muted); margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.module-card .req a { font-weight: 600; }

/* ---------- SBE ---------- */
.sbe { background: linear-gradient(135deg, var(--yellow) 0%, #ffd84a 100%); border-radius: 24px; padding: clamp(28px, 5vw, 56px); }
.sbe .split { align-items: center; }
.sbe .price-big { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.sbe .price-big small { font-size: 1rem; font-weight: 600; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.45fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 980px) { .calc { grid-template-columns: 1fr; } }
.calc-panel { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: clamp(20px, 3vw, 34px); color: var(--ink); }
.section--dark .calc-panel p, .section--dark .calc-panel .hint { color: var(--muted); }
.section--dark .calc-panel .inline-hint { color: var(--ink); }
.calc-step { padding: 22px 0; border-bottom: 1px solid var(--line); }
.calc-step:first-child { padding-top: 0; }
.calc-step:last-child { border-bottom: 0; padding-bottom: 0; }
.calc-step > h3 { display: flex; gap: 12px; align-items: center; font-size: 1.12rem; margin-bottom: 14px; }
.calc-step > h3 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: .9rem; flex: none; }
.calc-step .hint { font-size: .88rem; color: var(--muted); margin: 8px 0 0; }
.emp-row { display: flex; gap: 16px; align-items: center; }
.emp-row input[type=range] { flex: 1; accent-color: var(--ink); height: 28px; }
.num-input {
  width: 110px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; font: inherit; font-weight: 700; font-size: 1.1rem; text-align: center;
}
.num-input:focus { border-color: var(--ink); outline: none; }
.opt { display: grid; gap: 10px; }
.opt-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px;
  border: 2px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s;
}
.opt-item:hover { border-color: #cfccc3; }
.opt-item:has(input:checked) { border-color: var(--ink); background: #fffcf0; }
.opt-item input[type=checkbox], .opt-item input[type=radio] { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.opt-item .t { font-weight: 700; line-height: 1.3; }
.opt-item .d { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); }
.opt-item .side { font-size: .85rem; color: var(--muted); text-align: right; }
.mod-users { grid-column: 2 / -1; display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.mod-users input { width: 90px; padding: 6px 8px; font-size: .95rem; }
.opt-item:has(input:disabled) { opacity: .85; cursor: default; }
.lock { font-size: .78rem; font-weight: 600; color: #7a5a00; }
.hw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .hw-grid { grid-template-columns: 1fr; } }
.hw-item { border: 2px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.hw-item .t { font-weight: 700; line-height: 1.3; }
.hw-item .d { font-size: .84rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; align-self: flex-start; }
.stepper button { width: 38px; height: 38px; border: 0; background: var(--bg-soft); font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: var(--yellow); }
.stepper input { width: 56px; height: 38px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
select.sel { width: 100%; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .seg { grid-template-columns: 1fr; } }
.inline-hint { background: var(--yellow-50); border: 1px solid #f1e2a6; border-radius: 10px; padding: 10px 14px; font-size: .9rem; margin-top: 12px; }

.calc-result { position: sticky; top: 92px; }
body.has-demo-bar .calc-result { top: 136px; }
.result-card { background: var(--ink); color: #fff; border-radius: 20px; padding: 30px; box-shadow: var(--shadow-lg); }
.result-card .lbl { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #bdbbb3; font-weight: 700; }
.result-card .big { font-family: var(--font-head); font-size: clamp(2.3rem, 5vw, 3rem); font-weight: 800; color: var(--yellow); line-height: 1.05; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.result-card .mid { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.result-card hr { border: 0; border-top: 1px solid #3d3d3b; margin: 20px 0; }
.result-card .sub { color: #cfcdc6; font-size: .92rem; }
.result-card .follow { background: #2d2d2c; border-radius: 12px; padding: 14px 16px; margin-top: 16px; font-size: .9rem; color: #dedcd5; }
.result-card .follow b { color: #fff; }
.result-card .btn { width: 100%; margin-top: 20px; }
.disclaimer { font-size: .82rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.section--dark .disclaimer { color: #b9b7b0; }
.incl { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: .88rem; color: #dedcd5; }
.incl li::before { content: "✓ "; color: var(--yellow); font-weight: 700; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--yellow); line-height: 1;
}

/* ---------- Downloads ---------- */
.dl-group h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dl-list a {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; text-decoration: none; transition: border-color .15s, transform .15s;
}
.dl-list a:hover { border-color: var(--ink); transform: translateX(2px); }
.dl-list .pdf { flex: none; width: 40px; height: 40px; border-radius: 8px; background: #fbe9e7; color: #b3261e; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.dl-list .t { font-weight: 700; line-height: 1.3; }
.dl-list .d { display: block; font-size: .84rem; color: var(--muted); font-weight: 400; }
.dl-list .size { margin-left: auto; font-size: .8rem; color: var(--muted); white-space: nowrap; }

/* ---------- Industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }

/* ---------- Other products ---------- */
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card .media { background: var(--bg-soft); aspect-ratio: 3 / 2; overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card .body .links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 14px; font-size: .92rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--yellow); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 14px; margin-top: 24px; }
.contact-info a, .contact-info div { display: flex; gap: 14px; align-items: center; text-decoration: none; font-weight: 600; }
.contact-info .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; flex: none; }
.contact-info .ci svg { width: 20px; height: 20px; }
.form { background: #fff; border-radius: 20px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; font: inherit; background: #fff;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field textarea { min-height: 110px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 2px solid var(--line); border-radius: 999px; font-size: .9rem; cursor: pointer; font-weight: 600; }
.checks label:has(input:checked) { border-color: var(--ink); background: #fffcf0; }
.checks input { accent-color: var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; }
.calc-attached { background: #e7f5ec; border: 1px solid #bfe3cc; color: #145c33; border-radius: 10px; padding: 10px 14px; font-size: .9rem; font-weight: 600; }
.form-status { font-weight: 600; min-height: 1.4em; margin: 0; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--err); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfcdc6; padding: 56px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .fh { color: #fff; font-size: 1rem; margin-bottom: 12px; font-weight: 700; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid #353533; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .84rem; color: #9d9b94; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; gap: 8px;
    background: rgba(28,28,27,.94); padding: 8px; border-radius: 999px; box-shadow: var(--shadow-lg);
  }
  .mobile-cta .btn { flex: 1; padding: 12px 10px; font-size: .92rem; }
  body { padding-bottom: 76px; }
}

/* Mitlaufende Preisleiste (nur schmale Bildschirme, nur im Kalkulator) */
.calc-mini { display: none; }
@media (max-width: 980px) {
  .calc-mini {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; gap: 14px; align-items: center;
    background: var(--ink); color: #fff; border: 2px solid var(--yellow); border-radius: 16px; padding: 10px 16px;
    text-decoration: none; box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .25s;
  }
  .calc-mini.is-on { transform: none; }
  .calc-mini small { display: block; font-size: .7rem; color: #bdbbb3; text-transform: uppercase; letter-spacing: .06em; }
  .calc-mini b { color: var(--yellow); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
  .calc-mini .go { margin-left: auto; font-size: .85rem; font-weight: 700; }
  body.calc-in-view .mobile-cta { display: none; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Demo-Hinweis ---------- */
.demo-bar {
  background: repeating-linear-gradient(-45deg, #232323 0 14px, #2e2e2d 14px 28px); color: #fff;
  text-align: center; font-size: .88rem; padding: 8px 16px; line-height: 1.4;
}
.demo-short { display: none; }
@media (max-width: 700px) { .demo-long { display: none; } .demo-short { display: inline; } .demo-bar { font-size: .8rem; padding: 6px 12px; } }
body.has-demo-bar { scroll-padding-top: 120px; }
html:has(body.has-demo-bar) { scroll-padding-top: 120px; }
.demo-bar strong { color: var(--yellow); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin-right: 4px; }

/* ---------- Nach oben ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 44; width: 50px; height: 50px; border-radius: 50%;
  border: 0; background: var(--ink); color: var(--yellow); cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s, background .15s;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #000; }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 700px) { .to-top { bottom: 84px; right: 14px; width: 44px; height: 44px; } }
@media (max-width: 980px) { body.calc-in-view .to-top { opacity: 0; pointer-events: none; } }

/* ---------- Modal ---------- */
dialog.modal {
  width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink); background: #fff; overflow: hidden;
}
dialog.modal[open] { display: flex; flex-direction: column; animation: modal-in .2s ease; }
dialog.modal::backdrop { background: rgba(20,20,19,.6); backdrop-filter: blur(3px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } }
.modal-head { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--line); background: var(--yellow); }
.modal-head h2 { font-size: 1.35rem; margin: 0; }
.modal-close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 24px 26px; overflow: auto; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
@media (max-width: 700px) { .modal-grid { grid-template-columns: 1fr; } }
.modal-grid h3 { font-size: 1rem; margin: 12px 0 10px; }
.modal-grid .list-check { font-size: .94rem; gap: 6px; }
.modal-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 16px 26px; border-top: 1px solid var(--line); background: var(--bg-soft); }

/* ---------- Ergebnis (Kostenrechner) ---------- */
.res-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 6px; }
.res-pair .big { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.res-pair .lbl { white-space: nowrap; }
@media (max-width: 420px) { .res-pair .lbl { font-size: .7rem; letter-spacing: .06em; } .res-pair { gap: 10px; } }
.res-pair .big--alt { color: #fff; }
.res-note { font-size: .82rem; color: #b9b7b0 !important; margin: 14px 0 0; line-height: 1.5; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; text-decoration: none; }
.post-card .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { font-size: 1.15rem; }
.post-card p { color: var(--muted); font-size: .96rem; }
.post-card .more { margin-top: auto; font-weight: 700; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.post-card .more svg { width: 16px; height: 16px; }
.article { max-width: 780px; margin: 0 auto; padding: 48px 20px 80px; }
.article .crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.article .crumbs a { color: inherit; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.article .meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.article .lead { font-size: 1.2rem; color: var(--ink-2); }
.article h2 { font-size: 1.5rem; margin-top: 1.8em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1em; }
.article li { margin-bottom: .35em; }
.article blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--yellow); background: var(--bg-soft); border-radius: 0 10px 10px 0; }
.article table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .95rem; }
.article th, .article td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--bg-soft); }
.update-note { margin: 0 0 1.4em; padding: 14px 18px; background: #e7f5ec; border: 1px solid #bfe3cc; border-left: 4px solid var(--ok); border-radius: 10px; font-size: .96rem; }
.sources { margin-top: 40px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: .92rem; }
.sources h2 { font-size: 1.05rem; margin: 0 0 10px; }
.sources ul { margin: 0; }
.article-cta { margin-top: 40px; background: var(--ink); color: #fff; border-radius: 18px; padding: 28px; }
.article-cta h2 { margin-top: 0; font-size: 1.35rem; color: #fff; }
.article-cta p { color: #cfcdc6; }
.article-cta .btn + .btn { margin-left: 8px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 20px 96px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.placeholder { background: var(--yellow-50); border: 1px dashed var(--yellow-600); padding: 2px 6px; border-radius: 4px; }
