/* TASSlink – Website-Stylesheet. Richtung „Klarheit in Markenblau“. */

:root {
  --petrol: #00587C;
  --petrol-deep: #004864;
  --petrol-ink: #E6F3F8;      /* heller Text auf Petrol */
  --petrol-ink-2: #BFDDE9;    /* Sekundärtext auf Petrol, aus dem Farbton abgeleitet */
  --cyan: #00A9CD;
  --cyan-deep: #0089A8;
  --ink: #0B1F2A;
  --ink-2: #4E6472;
  --surface: #EEF4F8;
  --surface-2: #DCE6EC;
  --line: #D6E2EA;
  --line-strong: #B9CBD6;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 10px;
  --shadow-panel: 0 18px 40px -22px rgba(0, 0, 0, .28);
  --wrap: 1312px;
  --gutter: clamp(16px, 4.4vw, 64px);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--white); scrollbar-color: var(--petrol) var(--surface); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--petrol); color: var(--white); }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .16s ease, text-decoration-color .16s ease; }
a:hover { text-decoration-color: var(--cyan); }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: 56px; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: 38px; font-size: clamp(30px, 3vw, 40px); line-height: 1.12; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.num, .results dd, .bar-val, td.num { font-variant-numeric: tabular-nums; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--petrol); color: var(--white); padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Kopf und Navigation ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 36px; height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 30px; margin: 0 auto 0 20px; list-style: none; }
.nav-links a { display: inline-block; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .16s ease; white-space: nowrap; }
.nav-links a:hover { border-bottom-color: var(--cyan); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--petrol); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .icon-close { display: none; }
.nav-links .mobile-cta { display: none; }
.nav-links .mobile-cta .btn { color: var(--white); border-bottom: 1px solid var(--petrol); padding: 0 22px; font-size: 16px; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Buttons und Links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; background: var(--petrol); color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; border-radius: var(--radius-sm); white-space: nowrap; border: 1px solid var(--petrol); cursor: pointer; transition: background-color .16s ease, border-color .16s ease, transform .16s var(--ease-out); }
.btn:hover { background: var(--petrol-deep); border-color: var(--petrol-deep); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 9px; }
.btn-light { background: var(--white); color: var(--petrol); border-color: var(--white); }
.btn-light:hover { background: var(--petrol-ink); border-color: var(--petrol-ink); color: var(--petrol-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-decoration-color: var(--cyan); }
.link-arrow svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; padding: 60px 0 64px; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 520px; grid-template-areas: "left panel"; column-gap: 64px; align-items: start; }
/* Bildgrund hinter Bannern: KI-Motiv rechts, nach links ins Weiß ausgeblendet */
.page-hero.has-bg { position: relative; overflow: hidden; }
.hero { --banner-img: url("../img/hero-glasfassade.jpg"); }
.page-hero.bg-lichtspiel { --banner-img: url("../img/hero-lichtspiel.jpg"); }
.page-hero.bg-waben { --banner-img: url("../img/hero-waben.jpg"); }
.hero::after, .page-hero.has-bg::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--banner-img) right center / cover no-repeat; opacity: .5; -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 22%, #000 62%); mask-image: linear-gradient(90deg, transparent 0, transparent 22%, #000 62%); }
.hero > .wrap, .page-hero.has-bg > .wrap { position: relative; z-index: 1; }
.page-hero.has-bg::after { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 58%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, transparent 58%, #000 100%); }
.hero-left { grid-area: left; }
.hero-grid .panel { grid-area: panel; }
.lead { margin: 28px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 36px; }
.proof-band { background: var(--petrol); color: var(--petrol-ink); }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding: 26px 0; list-style: none; }
.proof li { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.35; color: var(--petrol-ink-2); }
.proof li + li::before { content: ""; display: block; width: 1px; height: 44px; background: rgba(255, 255, 255, .32); margin-right: 14px; }
.proof strong { display: block; color: var(--white); font-weight: 600; }
.proof .datev { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--white); }
.proof .vds { height: 30px; width: auto; filter: brightness(0) invert(1); }
.proof .rating { display: block; flex: none; border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.proof .rating img { height: 56px; width: auto; }
.proof-band ::selection { background: var(--white); color: var(--petrol); }

/* ---------- Potenzialanalyse-Panel ---------- */
.panel { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-panel); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.panel-head h2 { font-size: 18px; font-weight: 600; letter-spacing: 0; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--petrol); border: 1px solid var(--petrol); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.field { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px 10px; transition: border-color .16s ease; }
.field:focus-within { border-color: var(--petrol); }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field-head label { font-size: 13px; color: var(--ink-2); }
.field-head output { font-size: 20px; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.field input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 6px; margin: 12px 0 8px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--petrol) var(--p, 50%), var(--surface-2) var(--p, 50%)); cursor: pointer; }
.field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--petrol); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); transition: transform .12s var(--ease-out); }
.field input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--petrol); box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.field input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: transparent; }
.field input[type="range"]:hover::-webkit-slider-thumb, .field input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.08); }
.field input[type="range"]:focus-visible { outline: 3px solid var(--petrol); outline-offset: 6px; border-radius: 999px; }
.field-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.factor { margin-top: 28px; }
.factor-title { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 8px; align-items: baseline; margin-top: 14px; font-size: 15px; }
.bar-val { font-weight: 600; font-size: 17px; }
.bar-track { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: var(--surface-2); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 5px; background: var(--petrol); transform-origin: left; animation: grow .9s var(--ease-out) both; }
.bar-fill.cyan { background: var(--cyan); animation-delay: .12s; }
@keyframes grow { from { transform: scaleX(0); } }
.results { margin: 28px 0 0; border-top: 1px solid var(--line); }
.results > div { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.results dt { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.3; }
.results dt small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.results dd { margin: 0; font-size: 24px; font-weight: 600; color: var(--petrol); white-space: nowrap; }
.panel-note { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.panel-note a { color: inherit; }

/* ---------- Abschnitte ---------- */
.section { padding: 96px 48px; padding: 96px var(--gutter); border-top: 1px solid var(--line); }
.section > .wrap { width: min(var(--wrap), 100%); }
.section.tint { background: var(--surface); border-top: 0; }
.section.flush { border-top: 0; padding-top: 0; }
.section.petrol { background: var(--petrol); color: var(--petrol-ink); border-top: 0; }
.section.petrol h2, .section.petrol h3 { color: var(--white); }
.section.petrol p { color: var(--petrol-ink-2); }
.section.petrol a:not(.btn) { color: var(--white); }
.section.petrol ::selection { background: var(--white); color: var(--petrol); }
.section.petrol :focus-visible { outline-color: var(--white); }
.section.petrol .teaser-points { margin-top: 0; }
.section-head p { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.two-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.two-col p + p { margin-top: 16px; }
.two-col .text { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.two-col .text strong { color: var(--ink); font-weight: 600; }

/* ---------- Vergleich: klassisch vs. TASSlink ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.compare-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 24px; }
.compare-card.highlight { border-color: var(--petrol); }
.compare-card h3 { font-size: 18px; }
.compare-card.highlight h3 { color: var(--petrol); }
.compare-rows { margin-top: 20px; border-top: 1px solid var(--line); }
.compare-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare-rows dt { margin: 0; color: var(--ink-2); }
.compare-rows dd { margin: 0; font-weight: 600; font-size: 17px; white-space: nowrap; }
.compare-rows .final dd { font-size: 26px; color: var(--petrol); }
.compare-rows .final dt { color: var(--ink); font-weight: 500; }
.compare-note { margin-top: 20px; font-size: 14px; color: var(--ink-2); }

/* ---------- Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--surface-2); counter-increment: step; }
.steps li::after { content: ""; position: absolute; left: 0; top: -2px; width: 100%; height: 2px; background: var(--petrol); transform-origin: left; }
.js .steps li::after { transform: scaleX(0); transition: transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * .35s); }
.js .steps.in li::after { transform: scaleX(1); }
.steps li:nth-child(2) { --i: 1; }
.steps li:nth-child(3) { --i: 2; }
.steps li::before { content: counter(step); display: inline-block; font-size: 15px; font-weight: 600; color: var(--petrol); margin-bottom: 14px; }
.steps h3 { font-size: 22px; }
.steps p { margin-top: 12px; color: var(--ink-2); line-height: 1.6; }

.section .cta { margin-top: 44px; }

/* ---------- Bausteine ---------- */
.konzepte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 48px; }
.konzepte > div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.konzepte dt { margin: 0; font-weight: 600; }
.konzepte dd { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.konzepte dd small { display: block; margin-top: 4px; font-size: 13px; color: var(--petrol); }

/* ---------- TASS: vier Rechtsgebiete ---------- */
.tass { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.tass > div { border-top: 1px solid var(--line-strong); padding-top: 18px; }
.tass b { display: block; font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--petrol); }
.tass b.cyan { color: var(--cyan-deep); }
.tass span { display: block; margin-top: 10px; font-weight: 600; }
.tass p { margin-top: 6px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* ---------- Aussagen in Spalten ---------- */
.statements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; margin-top: 48px; }
.statements h3 { font-size: 21px; }
.statements p { margin-top: 12px; color: var(--ink-2); line-height: 1.6; }

/* ---------- Nachweise ---------- */
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.cert { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.cert img { width: 96px; height: auto; }
.cert img.vds { margin-top: 8px; }
.cert h3 { font-size: 18px; }
.cert p { margin-top: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.cert a { font-size: 14px; display: inline-block; margin-top: 10px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; list-style: none; }
.team img { width: 180px; height: 180px; }
.team h3 { margin-top: 20px; font-size: 20px; }
.team p { margin-top: 2px; font-size: 15px; color: var(--ink-2); }
.team .role { margin-top: 8px; font-weight: 500; color: var(--ink); }

/* ---------- Teaser-Band und Kontakt ---------- */
.teaser-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.teaser-grid .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.teaser-points { margin-top: 28px; list-style: none; display: grid; gap: 14px; }
.teaser-points li { padding-left: 28px; position: relative; color: var(--petrol-ink); }
.teaser-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--cyan); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }

/* ---------- Unterseiten ---------- */
.keyfacts { margin-top: 32px; max-width: 560px; }
.keyfacts dd { font-size: 20px; }
.cert-logo { margin-top: 28px; width: 160px; height: auto; }
.cert-logo.wide { width: 320px; }
.cert-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.cert-logo.rating-seal { width: 234px; }
.page-hero { padding: 64px 0 48px; }
.page-hero .lead { max-width: 64ch; }
.page-hero .cta { margin-top: 32px; }
.form-note { margin-top: 16px; max-width: 56ch; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.form-note a { color: inherit; }
.prose { max-width: 68ch; font-size: 18px; line-height: 1.65; }
.prose p + p, .prose ul + p, .prose p + ul, .prose ol + p, .prose p + ol { margin-top: 18px; }
.prose h2 { margin-top: 56px; font-size: clamp(26px, 2.4vw, 32px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 36px; }
.prose h2 + p, .prose h3 + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 8px; }
.prose li::marker { color: var(--petrol); }
.prose strong { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; }
.chips li { padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 500; font-size: 15px; }
.table { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 16px; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: 14px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line-strong); }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }
.table .highlight td { color: var(--petrol); font-weight: 600; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 12px 24px; margin-top: 24px; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; color: var(--ink-2); }
.notice { margin-top: 32px; padding: 20px 24px; background: var(--surface); border-radius: var(--radius); font-size: 16px; color: var(--ink-2); max-width: 68ch; }
.notice strong { color: var(--ink); }


/* ---------- Roter Faden: der Weg einer Anfrage (Steuerkanzleien) ---------- */
.path { margin-top: 56px; list-style: none; counter-reset: station; }
.path-step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 300px) minmax(0, 1fr); column-gap: 48px; padding-bottom: 80px; counter-increment: station; }
.path-step:last-child { padding-bottom: 0; }
.path-marker { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--petrol); background: var(--petrol); color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; transition: background-color .5s var(--ease-out), color .5s var(--ease-out); }
.path-marker::before { content: counter(station); }
.path-step::before, .path-step::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; }
.path-step::before { background: var(--surface-2); }
.path-step::after { background: var(--petrol); transform-origin: top; }
.path-step:last-child::before, .path-step:last-child::after { display: none; }
.js .path-step:not(.in) .path-marker { background: var(--white); color: var(--petrol); }
.js .path-step::after { transform: scaleY(0); transition: transform .9s var(--ease-out) .25s; }
.js .path-step.in::after { transform: scaleY(1); }
.path-head h3 { font-size: 24px; padding-top: 9px; }
.path-head p { margin-top: 12px; color: var(--ink-2); line-height: 1.6; }
.path-body { min-width: 0; }
.path-body .compare, .path-body .chips { margin-top: 0; }
.doc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.path-body .keyfacts { margin-top: 0; max-width: 640px; }
.path-body .keyfacts dd { white-space: normal; text-align: right; }
.path-body .chips li { background: var(--white); }
@media (max-width: 1100px) {
  .path-step { grid-template-columns: 40px minmax(0, 1fr); column-gap: 20px; padding-bottom: 56px; }
  .path-marker { width: 40px; height: 40px; font-size: 15px; }
  .path-step::before, .path-step::after { left: 19px; top: 40px; }
  .path-head h3 { font-size: 22px; padding-top: 6px; }
  .path-body { grid-column: 2; margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .path-step::after { transform: none; transition: none; }
  .js .path-step:not(.in) .path-marker { background: var(--petrol); color: var(--white); }
  .path-marker { transition: none; }
}

/* ---------- Kontaktseite ---------- */
.reach { margin-top: 0; }
.reach > div { padding: 20px 0; }
.reach dd { font-size: 22px; white-space: normal; text-align: right; }
.reach dd a { text-decoration: none; }
.reach dd a:hover { text-decoration: underline; text-decoration-color: var(--cyan); }
@media (max-width: 640px) {
  .reach > div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .reach dd { text-align: left; font-size: 20px; }
}

/* ---------- Beide Seiten der Abrechnung (Funktionsweise) ---------- */
.sides { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; margin-top: 48px; }
.sides-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.sides-card h3 { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.sides-card .side-row + h3 { margin-top: 28px; }
.side-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 12px 0 0; font-size: 16px; }
.side-row b { font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.side-row.highlight b { color: var(--petrol); }
.sides .table { margin-top: 0; }
.table th small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--petrol); }
.table tbody th { font-weight: 600; }
@media (max-width: 960px) { .sides { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- DATEV-Werbebanner (offizieller DATEV-myMarketing-Code, nur ab 701 px geladen) ---------- */
.datev-banner { display: flex; justify-content: center; margin-top: 48px; overflow: hidden; }
.datev-banner:not(.loaded) { display: none; }
.datev-banner #mym-insert-here-131641 { width: 100%; max-width: 900px; }
@media (max-width: 700px) { .datev-banner { display: none !important; } }

/* ---------- Terminseiten ---------- */
.booking { max-width: 760px; padding: 32px 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.booking h2 { font-size: 26px; }
.booking p { margin-top: 12px; color: var(--ink-2); line-height: 1.6; }
.booking .cta { margin-top: 24px; }
@media (max-width: 640px) { .booking { padding: 24px 20px; } }

/* ---------- Fuß ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.foot-title { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.foot-grid .foot-title a { color: inherit; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; }
.foot-grid a:hover { color: var(--petrol); text-decoration: underline; }
.foot-grid address { font-style: normal; line-height: 1.6; }
.foot-brand img { height: 28px; width: auto; margin-bottom: 18px; }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- Bewegung: Einblenden, Zaehlen, Bildschirm-Darstellungen ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in, .js .in .reveal { opacity: 1; transform: none; }
.js .fade { opacity: 0; transition: opacity .5s var(--ease-out); transition-delay: var(--d, 0s); }
.js .in .fade, .js .fade.in { opacity: 1; }
.compare-rows .with-bar { flex-wrap: wrap; }
.mini-bar { flex-basis: 100%; height: 6px; margin-top: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: var(--w, 100%); border-radius: 999px; background: var(--petrol); transform-origin: left; }
.highlight .mini-bar i { background: var(--cyan); }
.js .mini-bar i { transform: scaleX(0); transition: transform .8s var(--ease-out) .15s; }
.js .in .mini-bar i { transform: scaleX(1); }

.screen { margin: 48px 0 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-panel); overflow: hidden; }
.ok { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--petrol-ink); color: var(--petrol-deep); font-size: 12px; font-weight: 600; white-space: nowrap; }
.screen figcaption { padding: 14px 20px; font-size: 13.5px; color: var(--ink-2); border-top: 1px solid var(--line); background: var(--white); }
.doc { padding: 24px 28px 12px; }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); }
.doc-head b { font-size: 17px; font-weight: 600; }
.doc-head span { font-size: 13px; color: var(--ink-2); }
.doc-rows > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.doc-rows > div:last-child { border-bottom: 0; }
.doc-rows dt { margin: 0; color: var(--ink-2); }
.doc-rows dd { margin: 0; color: var(--ink); line-height: 1.5; }
.doc-rows .checks { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 640px) {
  .doc-rows > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .fade { opacity: 1; transform: none; transition: none; }
  .js .mini-bar i, .js .steps li::after { transform: none; transition: none; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1320px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 460px; column-gap: 56px; }
  .panel { padding: 24px; }
  .nav-links { gap: 24px; }
}
@media (max-width: 1240px) {
  .nav { height: 68px; gap: 16px; }
  .nav-toggle { display: inline-flex; }
  .nav .btn-sm { display: none; }
  .nav-links { position: absolute; left: 0; right: 0; top: 68px; display: none; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(0, 0, 0, .35); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); color: var(--petrol); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links .mobile-cta { display: block; padding-top: 8px; }
  .nav-links .mobile-cta .btn { width: 100%; }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "left" "panel"; }
  .hero-grid .panel { max-width: 640px; margin-top: 44px; }
  .two-col, .teaser-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .statements, .certs, .team, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .konzepte { grid-template-columns: minmax(0, 1fr); }
  .tass { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .section { padding: 72px var(--gutter); }
  .hero { padding: 40px 0 48px; }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 4px 0; }
  .legal dd { margin-bottom: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .lead, .section-head p, .two-col .text, .prose { font-size: 17px; }
  .hero { padding: 28px 0 40px; }
  .hero::after, .page-hero.has-bg::after { opacity: .32; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 35%, transparent 80%); mask-image: linear-gradient(180deg, #000 0, #000 35%, transparent 80%); }
  .hero .lead { margin-top: 18px; }
  .hero-left { display: contents; }
  .hero-grid { grid-template-areas: "copy" "actions" "panel"; }
  .hero-copy { grid-area: copy; }
  .hero-actions { grid-area: actions; }
  .hero-grid .panel { margin-top: 26px; }
  .cta { gap: 16px; margin-top: 26px; }
  .cta .btn { width: 100%; }
  .proof li { width: 100%; }
  .proof li + li::before { display: none; }
  .field { padding: 10px 12px 8px; }
  .field-head output { font-size: 18px; }
  .statements, .certs, .team, .steps, .tass { grid-template-columns: minmax(0, 1fr); }
  .konzepte > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .compare-card { padding: 22px 20px 18px; }
  .compare-rows dd { white-space: normal; text-align: right; }
  .cert { grid-template-columns: 72px 1fr; gap: 16px; padding: 20px; }
  .cert img { width: 72px; }
  .tass b { font-size: 52px; }
  .results dd { font-size: 21px; }
  .team img { width: 150px; height: 150px; }
  .table th, .table td { padding: 12px 8px; font-size: 15px; }
  .table.stack thead { display: none; }
  .table.stack, .table.stack tbody, .table.stack tr, .table.stack th, .table.stack td { display: block; }
  .table.stack tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table.stack th, .table.stack td { padding: 2px 0; border: 0; }
  .table.stack td { color: var(--ink-2); }
  .table.stack td:last-child { margin-top: 4px; font-size: 13px; color: var(--petrol); }
}
@media (prefers-reduced-motion: reduce) {
  .bar-fill { animation: none; }
  .link-arrow svg, .btn, .field input[type="range"]::-webkit-slider-thumb { transition: none; }
}
@media print {
  .site-head, .nav-toggle, .cta, .skip-link { display: none; }
  body { color: #000; }
  a { color: #000; text-decoration: none; }
}
