/* ==========================================================================
   fortyTimer – Website Stylesheet
   fortytwo consulting · Markenfarben: #EA5414 (Orange), #44474A (Anthrazit)
   Schriften lokal eingebunden – keine externen Requests.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Fonts */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/figtree-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/figtree-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/figtree-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------- 2. Tokens */

:root {
  --brand: #ea5414;
  --brand-600: #d3480e;
  --brand-700: #b23c0b;
  --brand-tint: #fef3ec;
  --brand-tint-2: #fde7d9;

  --ink: #1c1f22;
  --ink-2: #44474a;
  --ink-3: #6a6f74;
  --ink-4: #8b9095;

  --bg: #ffffff;
  --bg-soft: #f7f8f9;
  --bg-deep: #2b2e31;
  --line: #e5e7e9;
  --line-strong: #d3d6d9;

  --ok: #17795e;
  --ok-tint: #e8f5f0;
  --warn: #a16207;
  --warn-tint: #fdf6e3;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;
  --radius-xl: 28px;

  --shadow-s: 0 1px 2px rgba(28, 31, 34, .05), 0 1px 3px rgba(28, 31, 34, .04);
  --shadow: 0 4px 12px rgba(28, 31, 34, .06), 0 1px 3px rgba(28, 31, 34, .04);
  --shadow-l: 0 18px 45px -12px rgba(28, 31, 34, .18), 0 4px 12px rgba(28, 31, 34, .05);
  --shadow-brand: 0 10px 24px -8px rgba(234, 84, 20, .45);

  --wrap: 1160px;
  --wrap-narrow: 820px;
  --nav-h: 72px;
}

/* --------------------------------------------------------------- 3. Reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 .55em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem); letter-spacing: -.032em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); }
h4 { font-size: 1.0625rem; letter-spacing: -.012em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); text-decoration: underline; }

strong { color: var(--ink); font-weight: 600; }
small { font-size: .875rem; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

:focus-visible {
  outline: 3px solid rgba(234, 84, 20, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-tint-2); color: var(--ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; text-decoration: none; color: #fff; }

/* --------------------------------------------------------------- 4. Layout */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: clamp(3.5rem, 2rem + 6vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-3); font-size: 1.0625rem; margin-bottom: 0; }
.section-head h2 { margin-bottom: .5rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-600);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; border-radius: 2px;
  background: var(--brand); display: block;
}
.section-head--center .eyebrow { justify-content: center; }

.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-3); line-height: 1.6; }

/* Grid-Kinder dürfen nie breiter werden als ihre Spalte */
.grid > *, .split > *, .hero__grid > *, .def-grid > *, .stat-strip > * { min-width: 0; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.split {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  grid-template-columns: 1fr 1fr; align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--reverse > *:first-child { order: 2; }
@media (max-width: 900px) { .split--reverse > *:first-child { order: 0; } }

/* --------------------------------------------------------------- 5. Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
    box-shadow .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-s); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink-4); background: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--brand-600); }

.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.btn--sm { padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--lg { padding: .95rem 1.9rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.btn-row--center { justify-content: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--brand-600);
}
.arrow-link::after { content: '→'; transition: transform .18s ease; }
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------- 6. Header */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(28,31,34,.05); }

.site-header__inner {
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__word {
  font-size: 1.3rem; font-weight: 600; letter-spacing: -.03em;
  color: var(--ink); line-height: 1;
}
.brand__word em { font-style: normal; color: var(--brand); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .8rem; border-radius: var(--radius-s);
  color: var(--ink-2); font-weight: 500; font-size: .9688rem;
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.nav a[aria-current='page'] { color: var(--brand-600); font-weight: 600; }
.nav .btn { display: none; }
.nav .btn[aria-current='page'] { display: none; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  background: #fff; cursor: pointer; color: var(--ink);
}
.nav-toggle span { position: relative; display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px; transition: transform .2s ease, top .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: absolute; inset: var(--nav-h) 0 auto; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .75rem 24px 1.25rem; box-shadow: var(--shadow-l);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .75rem .5rem; font-size: 1.0625rem; border-radius: var(--radius-s); }
  .nav .btn { display: inline-flex; margin-top: .75rem; justify-content: center; }
}

/* --------------------------------------------------------------- 7. Hero */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 1.5rem + 6vw, 6rem) 0 clamp(3rem, 1.5rem + 5vw, 5rem);
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(234, 84, 20, .10), transparent 62%),
    radial-gradient(760px 420px at 4% 6%, rgba(68, 71, 74, .07), transparent 60%),
    var(--bg);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(68,71,74,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68,71,74,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
}
.hero > .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 4vw, 4rem); align-items: center;
}
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { max-width: 34em; }

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .4rem .95rem .4rem .5rem;
  font-size: .875rem; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-s); margin-bottom: 1.5rem;
}
.pill__tag {
  background: var(--brand-tint); color: var(--brand-700);
  font-weight: 600; font-size: .75rem; letter-spacing: .04em;
  padding: .2rem .6rem; border-radius: 999px; text-transform: uppercase;
}

.hero__points {
  list-style: none; padding: 0; margin: 1.9rem 0 0;
  display: grid; gap: .55rem;
}
.hero__points li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .9688rem; color: var(--ink-2); margin: 0;
}
.hero__points svg { flex: none; margin-top: .28rem; }

/* --------------------------------------------------------------- 8. Cards */

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 1.75rem;
  box-shadow: var(--shadow-s);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card--hover:hover { border-color: var(--line-strong); box-shadow: var(--shadow-l); transform: translateY(-3px); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-3); font-size: .9688rem; margin-bottom: 0; }
.card--flat { box-shadow: none; background: #fff; border-color: var(--line); }
.card--brand { background: var(--brand-tint); border-color: var(--brand-tint-2); }

.icon-badge {
  width: 46px; height: 46px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand-600);
  margin-bottom: 1.15rem; flex: none;
}
.icon-badge svg { width: 23px; height: 23px; }
.icon-badge--ink { background: #eef0f1; color: var(--ink-2); }
.icon-badge--ok { background: var(--ok-tint); color: var(--ok); }

.feature-list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .5rem; }
.feature-list li {
  position: relative; padding-left: 1.6rem; margin: 0;
  font-size: .9375rem; color: var(--ink-3); line-height: 1.55;
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: .52em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--brand);
  opacity: .85;
}
.feature-list--ink li::before { background: var(--ink-4); }
.feature-list strong { color: var(--ink); }

/* Checkliste */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; margin: 0; font-size: .9688rem; }
.check-list svg { flex: none; margin-top: .3rem; color: var(--ok); }

/* --------------------------------------------------------------- 9. Stats */

.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden;
}
.stat {
  background: #fff; padding: 1.6rem 1.5rem; text-align: center;
}
.stat__value {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 600;
  color: var(--ink); letter-spacing: -.03em; line-height: 1.1; display: block;
}
.stat__value em { font-style: normal; color: var(--brand); }
.stat__label { font-size: .875rem; color: var(--ink-3); margin-top: .35rem; display: block; }

/* --------------------------------------------------------- 10. App-Mockups */

.mock {
  border-radius: var(--radius-xl);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-l);
  overflow: hidden;
  font-size: 13px; line-height: 1.45;
}
.mock__bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem 1rem; border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.mock__dots { display: flex; gap: 5px; }
.mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.mock__url {
  flex: 1; text-align: center; font-size: 11.5px; color: var(--ink-4);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .18rem .8rem; max-width: 240px; margin-inline: auto;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock__body { padding: 1.15rem; display: grid; gap: .85rem; background: #fdfdfd; min-width: 0; }
.mock * { min-width: 0; }

.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mock-title { font-weight: 600; color: var(--ink); font-size: 14px; letter-spacing: -.01em; }
.mock-muted { color: var(--ink-4); font-size: 11.5px; }

.mock-timer {
  border: 1px solid var(--brand-tint-2); background: var(--brand-tint);
  border-radius: var(--radius); padding: 1rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.mock-timer__time {
  font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.mock-timer__meta { font-size: 11.5px; color: var(--ink-3); }
.mock-btn {
  background: var(--brand); color: #fff; border-radius: 999px;
  padding: .38rem 1rem; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.mock-btn--ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line-strong); }

.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
@media (max-width: 460px) { .mock-kpis { grid-template-columns: repeat(2, 1fr); } }
.mock-kpi {
  border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: .65rem .7rem; background: #fff;
}
.mock-kpi b {
  display: block; font-size: 16px; color: var(--ink); font-weight: 600;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.mock-kpi span { font-size: 10.5px; color: var(--ink-4); }
.mock-kpi--ok b { color: var(--ok); }
.mock-kpi--brand b { color: var(--brand-600); }

.mock-table { border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.mock-tr {
  display: grid; grid-template-columns: 1.1fr 1fr .8fr .7fr; gap: .5rem;
  padding: .48rem .7rem; font-size: 11.5px; border-top: 1px solid var(--line);
  align-items: center;
}
.mock-tr:first-child {
  border-top: 0; background: var(--bg-soft); color: var(--ink-3);
  font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em;
}
.mock-tr b { font-weight: 500; color: var(--ink-2); }

.chip {
  display: inline-block; padding: .1rem .5rem; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .01em;
}
.chip--ok { background: var(--ok-tint); color: var(--ok); }
.chip--warn { background: var(--warn-tint); color: var(--warn); }
.chip--brand { background: var(--brand-tint); color: var(--brand-700); }
.chip--ink { background: #eef0f1; color: var(--ink-2); }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot--run { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.dot--pause { background: #eab308; box-shadow: 0 0 0 3px rgba(234,179,8,.18); }
.dot--off { background: var(--line-strong); }

.mock-float {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-l);
  padding: .8rem .95rem; font-size: 12px; display: flex; gap: .65rem; align-items: center;
}
.mock-stage { position: relative; }
.mock-float--tl { top: -22px; left: -26px; }
.mock-float--br { bottom: -26px; right: -20px; }
.mock-stage .mock-float--br { bottom: -34px; right: -34px; }

@media (max-width: 520px) {
  .mock-timer { flex-direction: column; align-items: flex-start; }
  .mock-tr { grid-template-columns: 1fr 1fr .7fr; }
  .mock-tr > :nth-child(3) { display: none; }
}
@media (max-width: 620px) { .mock-float { display: none; } }

/* --------------------------------------------------- 11. Feature-Abschnitte */

.anchor-nav {
  position: sticky; top: var(--nav-h); z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.anchor-nav ul {
  list-style: none; display: flex; gap: .25rem; margin: 0; padding: .55rem 0;
  overflow-x: auto; scrollbar-width: none;
}
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav li { margin: 0; }
.anchor-nav a {
  display: block; white-space: nowrap; padding: .4rem .8rem;
  border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--ink-3);
}
.anchor-nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.anchor-nav a.is-active { background: var(--brand-tint); color: var(--brand-700); font-weight: 600; }

.feature-block { padding: clamp(2.75rem, 1.5rem + 4vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.feature-block:first-of-type { border-top: 0; }
.feature-block__head { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.feature-block__head .icon-badge { margin-bottom: 0; }
.feature-block__head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); margin-bottom: .3rem; }
.feature-block__head p { color: var(--ink-3); margin: 0; max-width: 62ch; }

.def-grid { display: grid; gap: 1.35rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.def {
  border-left: 2px solid var(--line); padding-left: 1.1rem;
  transition: border-color .2s ease;
}
.def:hover { border-left-color: var(--brand); }
.def h4 { margin-bottom: .3rem; color: var(--ink); }
.def p { font-size: .9375rem; color: var(--ink-3); margin: 0; }

.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.tag {
  font-size: .8125rem; font-weight: 500; color: var(--ink-2);
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: .28rem .7rem; border-radius: 999px;
}

/* Vergleichs-/Fakten-Tabelle */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: .9375rem; }
/* Breite Tabellen (3+ Spalten) dürfen horizontal scrollen statt zu quetschen */
.table-wrap--wide table.data { min-width: 560px; }
table.data th, table.data td { padding: .8rem 1rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
table.data thead th {
  border-top: 0; background: var(--bg-soft); color: var(--ink);
  font-weight: 600; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em;
}
table.data tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
table.data td { color: var(--ink-3); }

/* --------------------------------------------------------- 12. Dunkler Block */

.band {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(234,84,20,.22), transparent 60%),
    var(--bg-deep);
  color: #d9dbdd;
}
.band h2, .band h3, .band h4 { color: #fff; }
.band .lead, .band p { color: #b9bcbf; }
.band .eyebrow { color: #f6a37a; }
.band .eyebrow::before { background: var(--brand); }
.band .card {
  background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.1);
  box-shadow: none; backdrop-filter: blur(4px);
}
.band .card p { color: #b0b4b7; }
.band .icon-badge { background: rgba(234,84,20,.16); color: #f89a68; }
.band .feature-list li { color: #b0b4b7; }
.band .stat-strip { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.band .stat { background: rgba(255,255,255,.03); }
.band .stat__value { color: #fff; }
.band .stat__label { color: #a4a8ab; }
.band a { color: #f89a68; }

/* --------------------------------------------------------------- 13. CTA */

.cta {
  border-radius: var(--radius-xl); padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  background:
    radial-gradient(700px 340px at 88% 10%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, #d2440c 55%, #b23c0b 100%);
  color: #fff; text-align: center; box-shadow: var(--shadow-l);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 56ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 1.75rem; }

/* ------------------------------------------------------- 14. FAQ / Accordion */

.faq { display: grid; gap: .75rem; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-s); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.35rem;
  font-weight: 600; color: var(--ink); position: relative; font-size: 1.0313rem;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 1.35rem; top: 1.45rem;
  width: 10px; height: 10px; border-right: 2px solid var(--ink-4);
  border-bottom: 2px solid var(--ink-4); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.65rem; }
.faq summary:hover { color: var(--brand-600); }
.faq .faq__body { padding: 0 1.35rem 1.35rem; color: var(--ink-3); font-size: .9688rem; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- 15. Form */

.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .4rem; }
.field label { font-size: .9063rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: .8125rem; color: var(--ink-4); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .72rem .9rem; border: 1px solid var(--line-strong);
  border-radius: var(--radius-s); background: #fff; width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(234,84,20,.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }

.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: .9063rem; color: var(--ink-3); }
.checkbox input { width: 18px; height: 18px; margin-top: .18rem; flex: none; accent-color: var(--brand); }

.form-note {
  font-size: .8125rem; color: var(--ink-4); border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.contact-card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 1.75rem;
}
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .85rem; margin: 0; }
.contact-list .icon-badge { width: 38px; height: 38px; border-radius: 11px; margin: 0; }
.contact-list .icon-badge svg { width: 19px; height: 19px; }
.contact-list b { display: block; color: var(--ink); font-size: .9375rem; }
.contact-list span { font-size: .9063rem; color: var(--ink-3); }

/* --------------------------------------------------------------- 16. Prose */

.prose { max-width: 74ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose h3 { font-size: 1.125rem; margin-top: 1.85rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-3); }
.prose .placeholder {
  background: var(--warn-tint); border: 1px dashed #e6c98a; color: #7a5310;
  padding: .1rem .45rem; border-radius: 5px; font-size: .9em; font-weight: 500;
}
.notice {
  background: var(--brand-tint); border: 1px solid var(--brand-tint-2);
  border-radius: var(--radius); padding: 1.15rem 1.35rem;
  font-size: .9375rem; color: var(--ink-2); margin-bottom: 2rem;
}
.notice strong { color: var(--brand-700); }

/* --------------------------------------------------------------- 17. Footer */

.site-footer {
  background: var(--bg-soft); border-top: 1px solid var(--line);
  padding: clamp(2.75rem, 2rem + 2vw, 4rem) 0 2rem; font-size: .9375rem;
}
.footer-grid {
  display: grid; gap: 2.25rem;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  margin-bottom: 2.5rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-4); margin-bottom: 1rem; font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer li { margin: 0; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--brand-600); }
.site-footer p { color: var(--ink-3); font-size: .9063rem; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center; color: var(--ink-4); font-size: .875rem;
}
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* --------------------------------------------------------------- 18. Utils */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1.5rem; }
.muted { color: var(--ink-4); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .anchor-nav, .cta { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* ==========================================================================
   19. fortyTimer App-Mockups
   Nachbau der tatsächlichen Oberfläche (Stand v1.1.5) im Stil dieser Website.
   Farben, Abstände und Beschriftungen entsprechen der Anwendung.
   ========================================================================== */

.mock--app { font-size: 13px; }
.mock--app .mock__body {
  padding: 0;
  display: block;
  background: linear-gradient(180deg, #f8fafc 0%, #eff6f6 42%, #f8fafc 100%);
}

/* --- App-Navigation --- */
.ft-nav {
  display: flex; align-items: center; gap: .35rem;
  padding: .55rem .8rem;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}
.ft-nav__item {
  padding: .3rem .5rem; border-radius: 8px;
  font-size: 11px; font-weight: 700; color: #475569;
  white-space: nowrap; border: 1px solid transparent;
}
.ft-nav__item--active { color: #0f766e; background: #ecfdf5; border-color: #99f6e4; }
.ft-nav__spacer { flex: 1; }
.ft-nav__icon {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid #e2e8f0; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; color: #64748b; position: relative; flex: none;
}
.ft-nav__badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 13px; height: 13px; padding: 0 3px;
  border-radius: 999px; background: #e11d48; color: #fff;
  font-size: 8.5px; font-weight: 700; line-height: 13px; text-align: center;
}
.ft-nav__user {
  display: inline-flex; align-items: center; gap: .3rem;
  border: 1px solid #e2e8f0; border-radius: 999px;
  padding: .18rem .5rem .18rem .2rem; background: #fff;
  font-size: 10.5px; font-weight: 600; color: #0f172a; white-space: nowrap;
}
.ft-avatar {
  width: 17px; height: 17px; border-radius: 50%;
  background: #eef2ff; color: #4338ca;
  font-size: 9px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.ft-nav__version { font-size: 9.5px; color: #cbd5e1; font-weight: 600; }

/* --- Seiteninhalt --- */
.ft-body { padding: .9rem 1rem 1.1rem; display: grid; gap: .75rem; }

.ft-greet { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ft-greet__eyebrow {
  font-size: 9px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #0f766e;
}
.ft-greet__name {
  font-size: 22px; font-weight: 900; color: #0f172a;
  letter-spacing: -.03em; line-height: 1.1; margin: .1rem 0 .45rem;
}
.ft-greet__name i { font-style: normal; color: #ea580c; }
.ft-chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.ft-chip {
  border: 1px solid #e2e8f0; background: #fff; border-radius: 999px;
  padding: .16rem .55rem; font-size: 10px; font-weight: 600; color: #475569;
  white-space: nowrap;
}
.ft-chip--warn { border-color: #fed7aa; background: #fff7ed; color: #9a3412; }

.ft-now {
  border: 1px solid #e2e8f0; border-radius: 8px; background: #fff;
  padding: .5rem .75rem; text-align: right; flex: none;
}
.ft-now__label { font-size: 8.5px; letter-spacing: .14em; color: #94a3b8; font-weight: 700; }
.ft-now__time {
  font-size: 21px; font-weight: 900; color: #0f172a;
  letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.ft-now__date { font-size: 9.5px; color: #64748b; }

/* --- Karten --- */
.ft-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: .8rem .85rem;
}
.ft-card__label {
  font-size: 9px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #94a3b8;
  display: flex; align-items: center; gap: .35rem; margin-bottom: .5rem;
}
.ft-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.ft-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
@media (max-width: 560px) {
  .ft-grid-2, .ft-grid-4 { grid-template-columns: 1fr 1fr; }
}

/* --- Laufender Timer --- */
.ft-timer__row { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.ft-timer__since { font-size: 11px; font-weight: 600; color: #0f172a; }
.ft-timer__clock {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 999px;
  padding: .22rem .7rem;
  font-size: 17px; font-weight: 800; color: #0f172a;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.ft-timer__pause {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: 10px; color: #475569;
}
.ft-timer__pause b {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 999px;
  padding: .12rem .5rem; font-size: 11px; font-weight: 700; color: #0f172a;
}
.ft-timer__project { font-size: 11.5px; font-weight: 600; color: #0369a1; line-height: 1.35; }
.ft-btns { display: flex; gap: .4rem; margin-top: .6rem; flex-wrap: wrap; }
.ft-btn {
  border-radius: 999px; padding: .28rem .8rem;
  font-size: 10.5px; font-weight: 700; white-space: nowrap;
  border: 1px solid transparent;
}
.ft-btn--pause { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.ft-btn--stop { background: #eef2ff; border-color: #c7d2fe; color: #4338ca; }
.ft-btn--start {
  background: linear-gradient(135deg, #0f766e, #059669); color: #fff;
  padding: .34rem 1rem; font-weight: 800;
}
.ft-btn--start-blue { background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #fff; padding: .34rem 1rem; }
.ft-btn--blue { background: #3b52d4; color: #fff; border-radius: 6px; padding: .3rem .75rem; }
.ft-btn--ghost { background: #fff; border-color: #e2e8f0; color: #475569; border-radius: 6px; padding: .3rem .75rem; }
.ft-btn--ok { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.ft-btn--no { background: #fff1f2; border-color: #fecdd3; color: #be123c; }
.ft-btn--pdf { background: #fff1f2; border-color: #fecdd3; color: #be123c; border-radius: 999px; padding: .3rem .8rem; }
.ft-link { font-size: 10.5px; font-weight: 600; color: #ea580c; }

.ft-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.ft-dot--green { background: #10b981; }
.ft-dot--red { background: #f43f5e; }
.ft-dot--blue { background: #3b82f6; }
.ft-dot--orange { background: #f97316; }
.ft-dot--cyan { background: #06b6d4; }
.ft-dot--amber { background: #f59e0b; }

/* --- Kennzahlen --- */
.ft-kpi__label {
  font-size: 8.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: #94a3b8;
  display: flex; align-items: center; justify-content: space-between; gap: .3rem;
}
.ft-kpi__value {
  font-size: 24px; font-weight: 900; color: #0f172a;
  letter-spacing: -.035em; line-height: 1.15; margin-top: .3rem;
  font-variant-numeric: tabular-nums;
}
.ft-kpi__value small { font-size: 12px; font-weight: 700; color: #94a3b8; letter-spacing: 0; }
.ft-kpi__hint { font-size: 9.5px; color: #64748b; margin-top: .25rem; line-height: 1.4; }
.ft-kpi__icon {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.ft-bar { height: 4px; border-radius: 999px; background: #e2e8f0; margin-top: .4rem; overflow: hidden; }
.ft-bar span { display: block; height: 100%; border-radius: 999px; }
.ft-kpi__pair { display: flex; gap: 1.1rem; margin-top: .3rem; }
.ft-kpi__pair > div > span {
  font-size: 8.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #94a3b8; display: block;
}
.ft-kpi__pair b {
  font-size: 17px; font-weight: 800; letter-spacing: -.03em;
  color: #0f172a; font-variant-numeric: tabular-nums; display: block;
}
.ft-neg { color: #e11d48; }

/* --- Tabellen --- */
.ft-table { border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; overflow: hidden; }
.ft-tr {
  display: grid; gap: .5rem; align-items: center;
  padding: .45rem .7rem; border-top: 1px solid #eef2f6;
  font-size: 10.5px; color: #0f172a;
}
.ft-tr:first-child {
  border-top: 0;
  font-size: 8px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: #94a3b8;
  overflow-wrap: anywhere;
}
.ft-tr b { font-weight: 600; }
.ft-tr .ft-sub { display: block; font-size: 9px; color: #94a3b8; font-weight: 500; }
.ft-tr--kontostaende { grid-template-columns: 1.05fr 1fr .85fr 1.15fr; }
.ft-tr--antraege { grid-template-columns: 1fr .62fr .68fr .68fr .72fr 1.05fr; }
.ft-tr--zeiten { grid-template-columns: .85fr 1.1fr .7fr .7fr .55fr; }

.ft-badge {
  display: inline-block; border-radius: 999px;
  padding: .1rem .45rem; font-size: 9px; font-weight: 700; white-space: nowrap;
}
.ft-badge--ok { background: #ecfdf5; color: #047857; }
.ft-badge--wait { background: #fef3c7; color: #92400e; }
.ft-badge--no { background: #fff1f2; color: #be123c; }
.ft-badge--info { background: #eef2ff; color: #4338ca; }
.ft-badge--az { background: #eef2ff; color: #4338ca; }
.ft-badge--pz { background: #fff7ed; color: #c2410c; }

/* --- Urlaubskonto-Kopf (Anträge) --- */
.ft-vacation {
  border: 1px solid #dbeafe; background: #f5f9ff; border-radius: 8px;
  display: grid; grid-template-columns: repeat(3, 1fr); text-align: center;
  padding: .7rem .5rem;
}
.ft-vacation__title {
  grid-column: 1 / -1; text-align: left; font-size: 10.5px;
  font-weight: 600; color: #1e40af; margin-bottom: .3rem;
}
.ft-vacation b {
  display: block; font-size: 19px; font-weight: 900;
  letter-spacing: -.03em; line-height: 1.15;
}
.ft-vacation span { font-size: 9px; color: #64748b; }
.ft-vacation .c1 { color: #0f766e; }
.ft-vacation .c2 { color: #e11d48; }
.ft-vacation .c3 { color: #059669; }

/* --- Filterleiste --- */
.ft-filters {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: flex-end;
}
.ft-field { display: grid; gap: .15rem; }
.ft-field span { font-size: 9px; color: #64748b; font-weight: 600; }
.ft-field i {
  display: block; font-style: normal;
  border: 1px solid #e2e8f0; border-radius: 6px; background: #fff;
  padding: .26rem .5rem; font-size: 10px; color: #0f172a; min-width: 66px;
}
.ft-field i.ph { color: #94a3b8; }

/* --- Protokolleinträge --- */
.ft-log { display: grid; gap: .5rem; }
.ft-log__item {
  display: grid; grid-template-columns: 92px 1fr; gap: .7rem;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: .6rem .75rem;
}
.ft-log__meta { font-size: 9.5px; color: #64748b; line-height: 1.5; }
.ft-log__meta b { display: block; font-size: 10.5px; color: #0f172a; font-weight: 700; }
.ft-log__cat {
  font-size: 8.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #94a3b8; margin-right: .35rem;
}
.ft-log__subject { font-size: 10.5px; font-weight: 700; color: #0f172a; }
.ft-log__detail { font-size: 9.5px; color: #475569; line-height: 1.6; margin-top: .3rem; }
.ft-log__detail b { color: #0f172a; font-weight: 600; }

/* --- Live-Ansicht --- */
.ft-live__head {
  display: flex; align-items: center; gap: .45rem;
  font-size: 13px; font-weight: 800; color: #0f172a; letter-spacing: -.02em;
}
.ft-live__row {
  display: flex; align-items: center; gap: .45rem;
  font-size: 10.5px; color: #0f172a; padding: .18rem 0;
}
.ft-live__row .ft-sub { color: #64748b; font-weight: 600; }

@media (max-width: 520px) {
}

/* --- App-Mockups: an die Breite des Mockups anpassen (Container-Queries) --- */
.mock--app { container-type: inline-size; }
.ft-nav__item { flex: none; }

@container (max-width: 700px) {
  .ft-grid-4 { grid-template-columns: 1fr 1fr; }
  .ft-tr--kontostaende { grid-template-columns: 1fr .8fr .85fr 1.05fr; }
}
@container (max-width: 560px) {
  .ft-nav__item:nth-of-type(n+5) { display: none; }
  .ft-nav__version { display: none; }
  .ft-greet { flex-direction: column; gap: .6rem; }
  .ft-now { text-align: left; align-self: flex-start; }
  .ft-grid-2 { grid-template-columns: 1fr; }
  .ft-log__item { grid-template-columns: 84px 1fr; }
  .ft-tr--antraege { grid-template-columns: .92fr .55fr .72fr .68fr 1.42fr; }
  .ft-tr--antraege > :nth-child(4) { display: none; }
  .ft-tr--kontostaende { grid-template-columns: .88fr .82fr .7fr 1.05fr; column-gap: .7rem; }
}
@container (max-width: 430px) {
  .ft-tr--antraege { grid-template-columns: .95fr .62fr .72fr 1.45fr; }
  .ft-tr--antraege > :nth-child(3) { display: none; }
  .ft-tr--kontostaende { grid-template-columns: 1fr .95fr 1.05fr; }
  .ft-tr--kontostaende > :nth-child(2) { display: none; }
  .ft-nav__item:nth-of-type(n+4) { display: none; }
  .ft-nav__user { font-size: 9.5px; }
  .ft-grid-4 { grid-template-columns: 1fr 1fr; }
  .ft-filters .ft-field:nth-of-type(n+5) { display: none; }
  .ft-log__item { grid-template-columns: 1fr; gap: .3rem; }
  .ft-log__meta b { display: inline; margin-right: .4rem; }
}

/* Hero-Mockup kompakter halten, wenn die Spalte schmal ist */
@container (max-width: 560px) {
  .ft-now { display: none; }
  .ft-body { gap: .6rem; padding: .8rem .85rem 1rem; }
  .ft-greet { margin-bottom: -.1rem; }
}
.mock-float--tl { top: -30px; left: -34px; }

.ft-tr--antraege .ft-btn { padding: .2rem .5rem; font-size: 9px; }

@container (max-width: 430px) {
  .ft-nav__user { display: none; }
  .ft-nav__icon { margin-left: auto; }
}

/* Sehr schmales Mockup: Aktionsschaltflächen untereinander statt abgeschnitten */
@container (max-width: 430px) {
  .ft-tr--antraege { grid-template-columns: .95fr .6fr .78fr 1.12fr; }
  .ft-tr--antraege > :last-child { flex-direction: column; align-items: flex-start; gap: .18rem; }
  .ft-tr--antraege .ft-btn { padding: .16rem .45rem; font-size: 8.5px; }
}

.form-note--ok{
  background:var(--ok-tint);border:1px solid #bfe3d6;color:#0f5b46;
  border-radius:var(--radius-s);padding:.85rem 1rem;font-size:.9375rem;
}
.form-note--fehler{
  background:var(--warn-tint);border:1px solid #f0dfae;color:#7a4a06;
  border-radius:var(--radius-s);padding:.85rem 1rem;font-size:.9375rem;
}

/* Eigene display-Regeln überstimmen sonst das hidden-Attribut. */
[hidden]{display:none !important}

/* Honigtopf gegen Spam – für Menschen unsichtbar, für Bots verlockend.
   Bewusst nicht display:none, das erkennen manche Bots. */
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

/* Aufbewahrungsfristen – als Liste statt Tabelle, damit in der halbbreiten
   Karte nichts horizontal gescrollt werden muss. */
.fristen{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.fristen li{
  padding:.7rem .85rem;
  border:1px solid var(--line);
  border-left:3px solid var(--brand-tint-2);
  border-radius:var(--radius-s);
  background:var(--bg-soft);
}
.fristen b{display:block;font-size:.9375rem;font-weight:600;color:var(--ink);line-height:1.4}
.fristen span{display:block;margin-top:.1rem;font-size:.875rem;color:var(--ink-3);line-height:1.5}
.fristen em{font-style:normal;color:var(--brand);padding:0 .15rem}

/* Kompaktere Abstände – auf der Preisseite folgen viele kurze Abschnitte
   dicht aufeinander, die volle Sektionshöhe reißt dort zu große Lücken. */
.section--snug{
  padding-top:clamp(2.25rem,1.75rem + 1.4vw,3.25rem);
  padding-bottom:clamp(2.25rem,1.75rem + 1.4vw,3.25rem);
}

/* ============================================================ PREISRECHNER */
.calc-field{margin-top:1.25rem}
.calc-field label,.calc-label{display:block;font-weight:600;font-size:.9375rem;margin-bottom:.5rem;color:var(--ink)}
.calc-range{display:flex;align-items:flex-start;gap:1rem}
/* Regler und Skala werden vollständig selbst gezeichnet. Nur so sitzen die
   Striche exakt dort, wo der Griff einrastet – die vom Browser erzeugten
   Markierungen folgen einer anderen Rechnung und stehen leicht versetzt. */
.calc-slider{--thumb:20px;--spur:6px;--f:0;flex:1;min-width:0}
.calc-slider input[type=range]{
  -webkit-appearance:none;appearance:none;display:block;
  width:100%;height:var(--thumb);margin:0;background:transparent;cursor:pointer;
}
.calc-slider input[type=range]:focus-visible{
  outline:2px solid var(--brand);outline-offset:3px;border-radius:99px;
}

/* Spur: gefüllt bis zur Mitte des Griffs */
.calc-slider input[type=range]::-webkit-slider-runnable-track{
  height:var(--spur);border-radius:99px;
  background:linear-gradient(to right,
    var(--brand) 0 var(--fuell), var(--line-strong) var(--fuell) 100%);
}
.calc-slider input[type=range]::-moz-range-track{
  height:var(--spur);border-radius:99px;background:var(--line-strong);
}
.calc-slider input[type=range]::-moz-range-progress{
  height:var(--spur);border-radius:99px;background:var(--brand);
}

/* Griff */
.calc-slider input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:var(--thumb);height:var(--thumb);border-radius:50%;
  background:var(--brand);border:3px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.22);
  margin-top:calc((var(--spur) - var(--thumb)) / 2);
}
.calc-slider input[type=range]::-moz-range-thumb{
  width:var(--thumb);height:var(--thumb);border-radius:50%;box-sizing:border-box;
  background:var(--brand);border:3px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.22);
}
.calc-outbox{min-width:7.5rem;background:#fff;border:1px solid var(--line);
  border-radius:.7rem;padding:.4rem .75rem .5rem;text-align:center}
.calc-outbox__cap{display:block;font-size:.6875rem;font-weight:600;text-transform:uppercase;
  letter-spacing:.06em;color:var(--muted);line-height:1.4}
.calc-outbox output{display:block;font-weight:600;font-size:1.125rem;color:var(--ink);line-height:1.3}
.calc-hint{margin:.75rem 0 0;font-size:.875rem;color:var(--muted);line-height:1.55}
.seg{display:flex;flex-wrap:wrap;gap:.5rem}
.seg__btn{font:inherit;font-size:.9375rem;cursor:pointer;padding:.55rem .9rem;border-radius:.7rem;
  border:1px solid var(--line);background:#fff;color:var(--ink-2);transition:.15s}
.seg__btn i{font-style:normal;opacity:.75;font-size:.875em}
.seg__btn:hover{border-color:var(--brand)}
.seg__btn.is-on{background:var(--brand);border-color:var(--brand);color:#fff}
.calc-out{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--line);
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 1.5rem}
.calc-out__text{flex:1 1 18rem;min-width:0}
.calc-out__cta{flex:0 0 auto;white-space:nowrap}
@media (max-width:560px){.calc-out__cta{width:100%;justify-content:center}}
.calc-out__main{display:flex;align-items:baseline;gap:.5rem}
.calc-out__value{font-size:clamp(2.6rem,2rem + 2.4vw,3.4rem);font-weight:600;letter-spacing:-.04em;line-height:1;color:var(--ink)}
.calc-out__unit{font-size:1.05rem;color:var(--ink-2)}
.calc-out__sub{margin:.6rem 0 0;font-size:1rem;color:var(--ink-2)}
.calc-out__once{margin:.25rem 0 0;font-size:.9375rem;color:var(--muted)}
.price-line{font-size:1.75rem;font-weight:600;letter-spacing:-.03em;margin:.35rem 0 .5rem;color:var(--ink)}
.price-line small{font-size:.9rem;font-weight:400;color:var(--muted);letter-spacing:0}

/* Skala: jede Marke sitzt genau auf der Mitte des Griffs an dieser Stelle.
   Die Mitte wandert von thumb/2 bis 100% - thumb/2. */
.calc-ticks{position:relative;height:1.55rem;margin-top:.3rem}
.calc-ticks span{
  position:absolute;top:0;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:.3rem;
  font-size:.8125rem;font-weight:600;color:var(--muted);letter-spacing:.02em;white-space:nowrap;
}
.calc-ticks span::before{content:'';width:1px;height:5px;background:var(--line-strong)}
.calc-ticks span:nth-child(1){left:calc(var(--thumb) / 2)}
.calc-ticks span:nth-child(2){left:calc(var(--thumb) / 2 + (100% - var(--thumb)) * .25)}
.calc-ticks span:nth-child(3){left:calc(var(--thumb) / 2 + (100% - var(--thumb)) * .5)}
.calc-ticks span:nth-child(4){left:calc(var(--thumb) / 2 + (100% - var(--thumb)) * .75)}
.calc-ticks span:nth-child(5){left:calc(100% - var(--thumb) / 2)}
