﻿:root {
  --navy: #0f2742;
  --blue: #153a5b;
  --light: #f7f8fb;
  --white: #ffffff;
  --accent: #19a7a8;
  --accent-light: #9de4e4;
  --text: #1e293b;
  --muted: #64748b;
  --line: #e1e7ef;
  --shadow: 0 22px 60px rgba(15, 39, 66, 0.12);
  --radius: 8px;
  --header-height: 82px;
  --font-sans: Inter, Arial, sans-serif;
  --font-display: "Josefin Sans", Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); overflow-x: hidden; }
body { margin: 0; padding-top: var(--header-height); color: var(--text); background: var(--white); font-family: var(--font-sans); line-height: 1.6; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.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: 16px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--accent); color: var(--navy); font-weight: 700; transition: top .2s ease; }
.skip-link:focus { top: 16px; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header .container { width: min(1500px, calc(100% - 40px)); }
.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 10; min-height: var(--header-height); border-bottom: 1px solid rgba(225, 231, 239, .84); background: rgba(255, 255, 255, .96); backdrop-filter: blur(18px); box-shadow: 0 12px 34px rgba(15, 39, 66, .08); }
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(15, 39, 66, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--navy); flex: 0 0 auto; min-width: 0; margin-right: 20px; }
.brand-logo-image { display: block; width: clamp(300px, 25vw, 470px); height: auto; max-height: 62px; object-fit: contain; object-position: left center; }
.brand-service { display: grid; gap: 1px; padding-left: 12px; border-left: 1px solid rgba(15, 39, 66, .16); }
.brand-service strong { color: var(--navy); font-family: var(--font-display); font-size: 1.13rem; font-weight: 400; line-height: 1.08; }
.brand-service small { color: var(--muted); font-size: .75rem; font-weight: 700; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; min-width: 0; gap: 18px; color: var(--blue); font-size: .98rem; font-weight: 600; }
.main-nav a { position: relative; }
.nav-group { position: relative; display: flex; align-items: center; }
.nav-group-link { gap: 6px; }
.nav-group-link > a { display: inline-flex; align-items: center; }
.nav-group-label { position: relative; display: inline-flex; align-items: center; gap: 0; padding: 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; }
.nav-group-label::after { display: none; content: none; }
.nav-group.is-open .nav-group-label::after { display: none; }
.nav-group-toggle { display: none; width: 0; height: 0; padding: 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; align-items: center; justify-content: center; }
.nav-group-toggle::before { display: none; content: none; }
.nav-group.is-open .nav-group-toggle::before { display: none; }
.nav-submenu { position: absolute; top: calc(100% + 4px); left: 50%; display: grid; min-width: 220px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.98); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(6px); transition: opacity .18s ease, transform .18s ease; }
.nav-submenu::before { position: absolute; left: 0; right: 0; top: -10px; height: 10px; content: ""; }
.nav-submenu a { padding: 10px 12px; border-radius: 6px; white-space: nowrap; }
.nav-submenu a:hover, .nav-submenu a:focus-visible, .nav-submenu a[aria-current="page"] { background: rgba(25,167,168,.1); color: var(--navy); }
.nav-group:hover .nav-submenu, .nav-group:focus-within .nav-submenu, .nav-group.is-open .nav-submenu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-group-link .nav-submenu { top: calc(100% + 8px); left: auto; right: -12px; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(680px, calc(100vw - 36px)); min-width: 0; padding: 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); transform: translateY(8px); }
.nav-group-link .nav-submenu a { padding: 12px 14px; white-space: normal; line-height: 1.35; }
.nav-group-link:hover .nav-submenu, .nav-group-link:focus-within .nav-submenu, .nav-group-link.is-open .nav-submenu { transform: translateY(0); }
.main-nav a:not(.btn)::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--accent); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--navy); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: #ffffff; font-weight: 800; line-height: 1.2; box-shadow: 0 14px 30px rgba(25, 167, 168, .20); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover, .btn:focus-visible { background: #21babb; box-shadow: 0 18px 38px rgba(25, 167, 168, .24); transform: translateY(-2px); }
.btn-secondary { border-color: rgba(255, 255, 255, .44); background: rgba(255, 255, 255, .1); color: var(--white); box-shadow: none; }
.btn-secondary:hover, .btn-secondary:focus-visible { background: rgba(255, 255, 255, .16); box-shadow: none; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .9rem; white-space: nowrap; margin-left: 18px; }
.section { padding: 108px 0; }
.section-muted { background: var(--light); }
#leistungen { position: relative; overflow: hidden; background: linear-gradient(120deg, rgba(7, 26, 45, .86), rgba(7, 26, 45, .74)), url("assets/hero-lohnbuero-neutral-accent.png") center / cover no-repeat fixed; color: var(--white); }
#leistungen .container { position: relative; z-index: 1; }
#leistungen .section-heading h2 { color: var(--white); }
#leistungen .section-heading p:not(.eyebrow) { color: rgba(255, 255, 255, .82); }
#leistungen .service-card { border-color: rgba(255, 255, 255, .28); border-top-color: var(--accent); background: rgba(255, 255, 255, .92); box-shadow: 0 24px 70px rgba(0, 0, 0, .18); backdrop-filter: blur(10px); }
#leistungen .service-card h3 { color: var(--navy); }
#leistungen .service-card p { color: #50647d; }

.hero { position: relative; overflow: hidden; padding: 104px 0 92px; background: linear-gradient(120deg, rgba(15, 39, 66, .97), rgba(21, 58, 91, .93)), radial-gradient(circle at 84% 18%, rgba(25, 167, 168, .18), transparent 30%), var(--navy); color: var(--white); }
.hero::after { position: absolute; right: 0; bottom: 0; width: 46%; height: 72%; background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 36px 36px; content: ""; opacity: .55; mask-image: linear-gradient(90deg, transparent, #000 36%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr); align-items: center; column-gap: 56px; row-gap: 46px; }
.eyebrow { margin: 0 0 16px; color: var(--accent-light); font-size: .82rem; font-weight: 800; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 900px; margin-bottom: 28px; font-family: var(--font-sans); font-size: clamp(2.2rem, 3.25vw, 3.65rem); font-weight: 800; line-height: 1.05; }
h2 { margin-bottom: 18px; color: var(--navy); font-family: var(--font-sans); font-size: clamp(2rem, 3vw, 3rem); font-weight: 800; line-height: 1.12; }
h3 { color: var(--navy); font-size: 1.14rem; line-height: 1.28; }
.hero-text { max-width: 740px; margin-bottom: 34px; color: rgba(255, 255, 255, .88); font-family: var(--font-display); font-size: clamp(1.3rem, 1.48vw, 1.58rem); font-weight: 300; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }
.trust-list { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 34px; width: 100%; margin: 4px 0 0; padding: 0; list-style: none; }
.trust-list li { position: relative; flex: 0 0 auto; padding: 0 0 0 18px; border: 0; border-radius: 0; background: transparent; color: rgba(255,255,255,.9); font-size: .95rem; font-weight: 700; white-space: nowrap; }
.trust-list li::before { position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); content: ""; box-shadow: 0 0 0 4px rgba(25,167,168,.14); }
.trust-list li:last-child { grid-column: auto; }
.hero-payroll-scene { position: relative; min-height: 470px; display: grid; place-items: center; }
.hero-payroll-scene-image { display: block; width: min(100%, 600px); height: auto; filter: drop-shadow(0 34px 70px rgba(0,0,0,.22)); }
.hero-check-draw { position: absolute; left: 246px; top: 208px; width: 150px; height: 122px; overflow: visible; transform: rotate(-4deg); filter: drop-shadow(0 10px 18px rgba(61,149,39,.28)); pointer-events: none; }
.hero-check-draw path { fill: none; stroke: #6ad13b; stroke-width: 24; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 280; stroke-dashoffset: 280; animation: heroCheckWrite 4.6s ease-in-out infinite; }
@keyframes heroCheckWrite {
  0%, 14% { opacity: 0; stroke-dashoffset: 280; }
  18% { opacity: 1; }
  18%, 54% { stroke-dashoffset: 0; opacity: 1; }
  78% { stroke-dashoffset: 0; opacity: 1; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}

.section-heading { max-width: 730px; margin-bottom: 52px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.section-heading.light h2, .section-heading.light p:not(.eyebrow) { color: var(--white); }
.section-heading.light p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.card-grid { display: grid; gap: 28px; }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .service-card, .blog-card { min-height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover, .service-card:hover, .blog-card:hover { border-color: rgba(25,167,168,.42); box-shadow: var(--shadow); transform: translateY(-5px); }
.card { padding: 26px; }
.card-icon { display: inline-grid; width: 42px; height: 42px; margin-bottom: 22px; place-items: center; border-radius: var(--radius); background: rgba(25,167,168,.12); color: var(--blue); font-weight: 800; }
.card p, .service-card p { margin-bottom: 0; color: var(--muted); }
.service-card { padding: 28px; border-top: 4px solid var(--accent); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.step span { display: grid; width: 38px; height: 38px; margin-bottom: 20px; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; }
.step p { margin-bottom: 0; color: var(--muted); font-size: .95rem; }
.section-navy { background: var(--navy); color: var(--white); }
.advantages-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); align-items: start; gap: 68px; }
.advantage-list { display: grid; gap: 18px; }
.advantage-list div { position: relative; padding: 18px 20px 18px 48px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.07); color: rgba(255,255,255,.92); font-weight: 700; }
.advantage-list div::before { position: absolute; left: 18px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); content: ""; }
.blog-card { display: flex; min-height: 166px; padding: 24px; flex-direction: column; justify-content: space-between; }
.blog-card span { color: var(--accent); font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.blog-card h3 { margin-bottom: 0; }
.blog-card p { margin: 14px 0 0; color: var(--muted); font-size: .98rem; }

.article-hero { position: relative; overflow: hidden; padding: 110px 0 84px; background: linear-gradient(120deg, rgba(15, 39, 66, .97), rgba(21, 58, 91, .93)), radial-gradient(circle at 82% 16%, rgba(25, 167, 168, .18), transparent 28%), var(--navy); color: var(--white); }
.article-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 54px; align-items: center; }
.article-hero-copy p:not(.eyebrow) { max-width: 760px; color: rgba(255,255,255,.84); font-size: 1.08rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.article-meta span { padding: 9px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.92); font-weight: 700; }
.article-hero-panel { padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.08); box-shadow: 0 18px 48px rgba(0,0,0,.16); backdrop-filter: blur(10px); }
.article-hero-panel strong { display: block; margin-bottom: 12px; color: var(--white); font-size: 1.1rem; }
.article-hero-panel p { margin: 0; color: rgba(255,255,255,.82); }
.article-body { display: grid; grid-template-columns: minmax(0, .72fr) minmax(260px, .28fr); gap: 44px; align-items: start; }
.article-content { display: grid; gap: 34px; }
.article-section { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 16px 44px rgba(15,39,66,.06); }
.article-section h2 { margin-bottom: 16px; font-size: clamp(1.55rem, 2vw, 2rem); }
.article-section p:last-child, .article-section ul:last-child, .article-section ol:last-child { margin-bottom: 0; }
.article-section ul, .article-section ol { margin: 0; padding-left: 22px; color: var(--muted); }
.article-section li + li { margin-top: 10px; }
.article-highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.article-highlight { padding: 22px; border-radius: var(--radius); background: linear-gradient(145deg, #f9fcfe, #f3fbfb); border: 1px solid rgba(25,167,168,.18); }
.article-highlight strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 1.05rem; }
.article-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-height) + 28px); }
.article-side-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 16px 44px rgba(15,39,66,.06); }
.article-side-card strong { display: block; margin-bottom: 12px; color: var(--navy); font-size: 1.02rem; }
.article-side-card p, .article-side-card li { color: var(--muted); }
.article-side-card ul { margin: 0; padding-left: 20px; }
.article-side-card li + li { margin-top: 10px; }
.article-backlink { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 800; }
.article-backlink::before { width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ""; transform: rotate(45deg); }
.article-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.knowledge-hero { position: relative; overflow: hidden; padding: 88px 0 78px; background: linear-gradient(120deg, rgba(15, 39, 66, .98), rgba(21, 58, 91, .94)), radial-gradient(circle at 84% 12%, rgba(25, 167, 168, .2), transparent 30%), var(--navy); color: var(--white); }
.knowledge-hero::after { position: absolute; right: 0; bottom: 0; width: 44%; height: 82%; background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 34px 34px; content: ""; opacity: .5; mask-image: linear-gradient(90deg, transparent, #000 38%); }
.knowledge-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .62fr); align-items: center; gap: 54px; }
.knowledge-hero-copy h1 { margin-bottom: 22px; }
.knowledge-hero-card { padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.08); box-shadow: 0 18px 48px rgba(0,0,0,.16); backdrop-filter: blur(10px); }
.knowledge-hero-card strong { display: block; margin-bottom: 12px; color: var(--white); font-size: 1.14rem; }
.knowledge-hero-card p { margin: 0; color: rgba(255,255,255,.82); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 28px; color: rgba(255,255,255,.74); font-size: .88rem; font-weight: 700; }
.breadcrumb a { color: var(--accent-light); }
.breadcrumb span { display: inline-flex; align-items: center; gap: 9px; }
.breadcrumb span::before { width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; content: ""; transform: rotate(-45deg); opacity: .72; }
.knowledge-section { background: linear-gradient(180deg, var(--light), var(--white) 34%); }
.knowledge-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(260px, .28fr); gap: 44px; align-items: start; }
.knowledge-main { display: grid; gap: 28px; min-width: 0; }
.knowledge-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 16px 44px rgba(15,39,66,.06); }
.knowledge-card h2 { margin-bottom: 14px; font-size: clamp(1.55rem, 2vw, 2rem); }
.knowledge-card p { color: var(--muted); }
.knowledge-card p:last-child { margin-bottom: 0; }
.knowledge-tip { border-color: rgba(25,167,168,.24); background: linear-gradient(145deg, #f9fcfe, #f2fbfb); }
.checklist-box { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: checklist; }
.checklist-box li { position: relative; min-height: 48px; padding: 12px 14px 12px 60px; border: 1px solid rgba(25,167,168,.16); border-radius: var(--radius); background: #f8fcfd; color: var(--muted); counter-increment: checklist; }
.checklist-box li::before { position: absolute; left: 14px; top: 11px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--accent); color: var(--white); content: counter(checklist); font-size: .84rem; font-weight: 800; }
.mistake-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mistake-list li { position: relative; padding: 14px 14px 14px 44px; border: 1px solid #e9d8d8; border-radius: var(--radius); background: #fffafa; color: #6f3a3a; }
.mistake-list li::before { position: absolute; left: 16px; top: 18px; width: 11px; height: 11px; border-radius: 50%; background: #d65f5f; content: ""; box-shadow: 0 0 0 4px rgba(214,95,95,.12); }
.cta-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 32px; border-radius: var(--radius); background: linear-gradient(120deg, var(--navy), var(--blue)); color: var(--white); box-shadow: var(--shadow); }
.cta-box h2 { color: var(--white); font-size: clamp(1.55rem, 2vw, 2.2rem); }
.cta-box p:not(.eyebrow) { margin-bottom: 0; color: rgba(255,255,255,.82); }
.related-articles { display: grid; gap: 22px; }
.related-articles .section-heading { margin-bottom: 0; }
.related-articles .blog-card p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.knowledge-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-height) + 28px); }
.legal-note { margin: 2px 0 0; color: var(--muted); font-size: .86rem; }

.faq-visual-image { display: block; width: min(100%, 330px); max-width: 330px; height: auto; margin: 34px 0 0; filter: drop-shadow(0 26px 42px rgba(15,39,66,.18)); animation: faqImageFloat 5.8s ease-in-out infinite; transform-origin: center; }
@keyframes faqImageFloat { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.faq-grid { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 62px; }
.faq-list { display: grid; gap: 16px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq-item button { position: relative; width: 100%; min-height: 68px; padding: 18px 54px 18px 20px; border: 0; background: transparent; color: var(--navy); cursor: pointer; font-weight: 800; text-align: left; }
.faq-item button::after { position: absolute; right: 20px; top: 50%; width: 14px; height: 14px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); content: ""; transform: translateY(-65%) rotate(45deg); transition: transform .2s ease; }
.faq-item.is-open button::after { transform: translateY(-35%) rotate(225deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.faq-answer p { min-height: 0; margin: 0; overflow: hidden; color: var(--muted); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding: 0 20px 20px; }
.contact-section { background: linear-gradient(90deg, rgba(247,248,251,.96), rgba(255,255,255,.98)), var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(280px,.78fr) minmax(0,1.22fr); gap: 64px; align-items: start; }
.contact-copy { position: sticky; top: calc(var(--header-height) + 28px); }
.contact-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.contact-note { display: grid; gap: 6px; margin-top: 30px; padding: 20px; border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--white); box-shadow: 0 16px 44px rgba(15,39,66,.08); }
.contact-note strong { color: var(--navy); }
.contact-note span { color: var(--muted); }
.contact-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-row { display: grid; gap: 7px; }
.form-row-full { grid-column: 1 / -1; }
label { color: var(--navy); font-size: .9rem; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 48px; border: 1px solid #d5dee9; border-radius: var(--radius); background: var(--white); color: var(--text); outline: none; padding: 11px 13px; transition: border-color .2s ease, box-shadow .2s ease; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(25,167,168,.14); }
.checkbox-row { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 12px; color: var(--muted); font-size: .9rem; font-weight: 500; }
.checkbox-row input { width: 18px; min-height: 18px; margin-top: 4px; accent-color: var(--accent); }
.form-feedback { grid-column: 1 / -1; min-height: 24px; margin: 0; color: var(--blue); font-weight: 700; }
.site-footer { padding: 32px 0; background: #071a2d; color: rgba(255,255,255,.76); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 20px; font-weight: 700; }
.footer-inner a:hover, .footer-inner a:focus-visible { color: var(--white); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .56s ease, transform .56s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } .faq-visual-image { animation: none !important; } }
@media (max-width: 1040px) { .main-nav { gap: 16px; } .hero-grid, .advantages-grid, .contact-grid, .article-hero-grid, .article-body, .knowledge-hero-grid, .knowledge-layout { grid-template-columns: 1fr; } .hero { padding-top: 86px; } .contact-copy, .article-side, .knowledge-side { position: static; } .card-grid.four, .steps, .article-highlight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 920px) { .brand-logo-crop { width: 265px; height: 52px; background-size: 455px auto; } }
@media (max-width: 1360px) { .site-header .container { width: min(1440px, calc(100% - 40px)); } .brand-logo-image { width: 500px; max-height: 66px; } .main-nav { gap: 16px; font-size: .92rem; } }
@media (max-width: 1180px) { .site-header .container { width: min(1240px, calc(100% - 32px)); } .brand-logo-image { width: 420px; max-height: 60px; } .main-nav { gap: 12px; font-size: .88rem; } }
@media (max-width: 1040px) { .brand-logo-image { width: 350px; max-height: 54px; } }
@media (max-width: 940px) { .brand-logo-image { width: 300px; max-height: 48px; } }
@media (max-width: 900px) { .trust-list { flex-direction: column; align-items: flex-start; gap: 12px; } .trust-list li { white-space: normal; } .container { width: min(100% - 28px,1120px); } .nav-toggle { display: block; } .main-nav { position: fixed; top: var(--header-height); right: 14px; left: 14px; display: grid; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; } .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); } .main-nav a, .nav-group-label { padding: 13px 10px; } .nav-group { display: grid; } .nav-group-link { grid-template-columns: 1fr; align-items: center; gap: 0; } .nav-group-link > a { padding: 13px 10px; } .nav-group-toggle { display: none; width: 0; height: 0; justify-self: end; } .nav-group-label { justify-content: space-between; width: 100%; } .nav-submenu, .nav-group-link .nav-submenu { position: static; width: auto; min-width: 0; max-height: 0; grid-template-columns: 1fr; padding: 0 0 0 12px; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; opacity: 1; pointer-events: auto; overflow: hidden; transform: none; transition: max-height .2s ease, padding .2s ease; } .nav-group.is-open .nav-submenu, .nav-group:focus-within .nav-submenu { max-height: 760px; padding: 0 0 8px 12px; } .nav-submenu a { padding: 10px; white-space: normal; } .main-nav .btn { margin-top: 8px; } .section { padding: 72px 0; } .hero-grid { gap: 40px; } .hero-actions { align-items: stretch; flex-direction: column; } .hero-actions .btn { width: 100%; } .hero-payroll-scene { min-height: 390px; } .hero-check-draw { left: 224px; top: 194px; width: 126px; height: 102px; } .hero-check-draw path { stroke-width: 20; } .card-grid.three, .faq-grid, .article-highlight-grid { grid-template-columns: 1fr; } .contact-form { grid-template-columns: 1fr; padding: 22px; } .article-hero, .knowledge-hero { padding: 90px 0 68px; } .article-section, .article-side-card, .knowledge-card { padding: 22px; } .cta-box { grid-template-columns: 1fr; } }
@media (max-width: 560px) { :root { --header-height: 74px; } .faq-visual-image { max-width: 260px; } .trust-list { gap: 10px; } .brand-logo-crop { width: 230px; height: 48px; background-size: 405px auto; } .hero { padding: 62px 0 70px; } h1 { font-size: 2.25rem; } h2 { font-size: 1.9rem; } .accounting-symbol { min-height: 330px; } .symbol-document { left: 18px; top: 40px; width: 176px; height: 232px; padding: 28px 22px; } .symbol-calculator { right: 18px; bottom: 34px; width: 168px; padding: 18px; } .symbol-check { right: 118px; top: 116px; width: 54px; height: 54px; } .trust-list, .footer-inner, .footer-inner nav { align-items: flex-start; flex-direction: column; } .trust-list li { width: 100%; white-space: normal; } }
.cookie-consent { position: fixed; inset: 0; z-index: 1200; display: none; align-items: flex-end; justify-content: center; padding: 24px; background: rgba(7, 26, 45, .42); }
.cookie-consent.is-visible { display: flex; }
.cookie-consent-panel { width: min(100%, 760px); padding: 26px; border: 1px solid rgba(25,167,168,.22); border-radius: var(--radius); background: var(--white); box-shadow: 0 28px 80px rgba(7,26,45,.24); }
.cookie-consent-head { display: grid; gap: 8px; margin-bottom: 18px; }
.cookie-consent-head span { color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cookie-consent-head h2 { margin: 0; font-size: clamp(1.45rem, 2vw, 2rem); }
.cookie-consent-head p { margin: 0; color: var(--muted); }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cookie-consent-actions .btn, .cookie-consent-actions .cookie-plain-button { min-height: 44px; }
.cookie-plain-button { display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy); font-weight: 800; cursor: pointer; }
.cookie-plain-button:hover, .cookie-plain-button:focus-visible { border-color: var(--accent); color: var(--accent-dark); }
.cookie-consent-details { display: none; gap: 12px; margin-top: 18px; }
.cookie-consent-details.is-open { display: grid; }
.cookie-choice { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fcfd; }
.cookie-choice input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.cookie-choice strong { display: block; color: var(--navy); }
.cookie-choice p { margin: 4px 0 0; color: var(--muted); font-size: .94rem; }
.footer-cookie-button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.footer-cookie-button:hover, .footer-cookie-button:focus-visible { color: var(--white); }
.cookie-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cookie-info-card { padding: 22px; border: 1px solid rgba(25,167,168,.16); border-radius: var(--radius); background: #f8fcfd; }
.cookie-info-card span { display: inline-flex; margin-bottom: 10px; color: var(--accent); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cookie-info-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.cookie-info-card p { margin: 0; color: var(--muted); }
.cookie-table-wrap { overflow-x: auto; }
.cookie-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.cookie-table th, .cookie-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cookie-table th { color: var(--navy); background: #f8fcfd; font-size: .92rem; }
.cookie-table td { color: var(--muted); }
@media (max-width: 700px) { .cookie-consent { align-items: flex-end; padding: 12px; } .cookie-consent-panel { padding: 20px; } .cookie-consent-actions { flex-direction: column; } .cookie-consent-actions .btn, .cookie-consent-actions .cookie-plain-button { width: 100%; } .cookie-info-grid { grid-template-columns: 1fr; } }
/* Schlankes, neutrales Cookie-Popup */
.cookie-consent { inset: auto 0 18px 0; align-items: flex-end; justify-content: center; padding: 0 12px; background: transparent; pointer-events: none; }
.cookie-consent.is-visible { display: flex; }
.cookie-consent-panel { width: min(100%, 420px); padding: 16px; border: 1px solid #d7d7d7; border-radius: 6px; background: #ffffff; color: #111111; box-shadow: 0 10px 28px rgba(0,0,0,.12); pointer-events: auto; }
.cookie-consent-head { gap: 6px; margin-bottom: 12px; }
.cookie-consent-head span { color: #111111; font-size: .68rem; letter-spacing: .04em; }
.cookie-consent-head h2 { color: #111111; font-size: 1.05rem; line-height: 1.25; }
.cookie-consent-head p { color: #333333; font-size: .86rem; line-height: 1.5; }
.cookie-consent-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
.cookie-consent-actions .btn, .cookie-consent-actions .cookie-plain-button { min-height: 38px; width: 100%; padding: 0 12px; border: 1px solid #111111; border-radius: 4px; background: #ffffff; color: #111111; box-shadow: none; font-size: .84rem; }
.cookie-consent-actions .btn { background: #111111; color: #ffffff; }
.cookie-consent-actions .btn:hover, .cookie-consent-actions .btn:focus-visible { background: #111111; box-shadow: none; transform: none; }
.cookie-consent-actions .cookie-plain-button:hover, .cookie-consent-actions .cookie-plain-button:focus-visible { border-color: #111111; color: #111111; background: #f4f4f4; }
.cookie-consent-details { gap: 8px; margin-top: 10px; }
.cookie-choice { gap: 9px; padding: 10px; border-color: #d7d7d7; border-radius: 4px; background: #ffffff; }
.cookie-choice input { accent-color: #111111; }
.cookie-choice strong { color: #111111; font-size: .9rem; }
.cookie-choice p { color: #333333; font-size: .8rem; }
@media (max-width: 700px) { .cookie-consent { bottom: 10px; padding: 0 10px; } .cookie-consent-panel { width: min(100%, 360px); padding: 14px; } }
.floating-chat { position: fixed; right: 20px; bottom: 20px; z-index: 1100; display: grid; justify-items: end; gap: 10px; font-family: inherit; }
.floating-chat-panel { display: none; width: min(calc(100vw - 32px), 320px); overflow: hidden; border: 1px solid rgba(15,39,66,.14); border-radius: 8px; background: #ffffff; box-shadow: 0 22px 56px rgba(7,26,45,.20); }
.floating-chat.is-open .floating-chat-panel { display: block; }
.floating-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #071a2d; color: #ffffff; }
.floating-chat-head strong { font-size: .95rem; }
.floating-chat-close { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: transparent; color: #ffffff; cursor: pointer; font-size: 1.05rem; line-height: 1; }
.floating-chat-body { display: grid; gap: 12px; padding: 16px; color: #111111; }
.floating-chat-message { padding: 12px; border-radius: 8px; background: #f4f7f9; color: #1c2b39; font-size: .92rem; line-height: 1.5; }
.floating-chat-actions { display: grid; gap: 8px; }
.floating-chat-actions a, .floating-chat-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 12px; border: 1px solid #071a2d; border-radius: 6px; background: #ffffff; color: #071a2d; font-weight: 800; cursor: pointer; }
.floating-chat-actions a:first-child { background: #071a2d; color: #ffffff; }
.floating-chat-button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid #071a2d; border-radius: 999px; background: #071a2d; color: #ffffff; box-shadow: 0 14px 36px rgba(7,26,45,.22); cursor: pointer; font-weight: 900; }
.floating-chat-icon { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #ffffff; color: #071a2d; font-size: .78rem; font-weight: 900; }
@media (max-width: 700px) { .floating-chat { right: 12px; bottom: 12px; } .floating-chat-button { min-height: 44px; padding: 0 14px; } .floating-chat-panel { width: min(calc(100vw - 24px), 310px); } }
/* Chat mit kurzer Frage */
.floating-chat-panel { width: min(calc(100vw - 32px), 350px); }
.floating-chat-body { gap: 10px; }
.floating-chat-message { margin: 0; }
.floating-chat-field { display: grid; gap: 6px; color: #071a2d; font-weight: 800; font-size: .84rem; }
.floating-chat-field input, .floating-chat-field textarea { width: 100%; border: 1px solid rgba(15,39,66,.18); border-radius: 6px; padding: 10px 11px; background: #ffffff; color: #111111; font: inherit; font-weight: 500; resize: vertical; }
.floating-chat-field textarea { min-height: 92px; }
.floating-chat-field input:focus, .floating-chat-field textarea:focus { border-color: #071a2d; outline: 3px solid rgba(7,26,45,.10); }
.floating-chat-actions button { background: #071a2d; color: #ffffff; }
.floating-chat-actions a { background: #ffffff; color: #071a2d; }
.floating-chat-status { min-height: 18px; margin: 0; color: #3b4b5b; font-size: .82rem; }
@media (max-width: 700px) { .floating-chat-panel { width: min(calc(100vw - 24px), 330px); } }
.contact-direct { display: grid; gap: 8px; margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 16px 44px rgba(15,39,66,.06); }
.contact-direct strong { color: var(--navy); }
.contact-direct a { color: var(--accent-dark); font-weight: 800; }
.checkbox-row a { color: var(--accent-dark); font-weight: 800; }
/* WhatsApp Button */
.floating-chat-button { border-color: #25d366; background: #25d366; color: #ffffff; box-shadow: 0 14px 36px rgba(37, 211, 102, .28); }
.floating-chat-button:hover, .floating-chat-button:focus-visible { background: #1ebe5d; border-color: #1ebe5d; }
.floating-chat-icon { background: #ffffff; color: #128c4a; }
.floating-chat-actions button { border-color: #25d366; background: #25d366; color: #ffffff; }
.floating-chat-actions button:hover, .floating-chat-actions button:focus-visible { background: #1ebe5d; border-color: #1ebe5d; }


/* Mobile Feinschliff Startseite und Menü */
@media (max-width: 900px) {
  .site-header .container { width: min(100% - 24px, 1120px); }
  .header-inner { gap: 12px; }
  .brand { margin-right: 0; }
  .brand-logo-image { width: clamp(210px, 58vw, 300px); max-height: 46px; }
  .main-nav {
    right: 12px;
    left: 12px;
    max-height: calc(100dvh - var(--header-height) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav a,
  .nav-group-label,
  .nav-group-link > a {
    width: 100%;
    min-width: 0;
    line-height: 1.28;
    overflow-wrap: anywhere;
  }
  .nav-submenu,
  .nav-group-link .nav-submenu {
    width: 100%;
    padding-left: 10px;
  }
  .nav-group.is-open .nav-submenu,
  .nav-group:focus-within .nav-submenu {
    max-height: 60vh;
    overflow-y: auto;
  }
  .hero { padding: 52px 0 62px; }
  .hero::after { width: 72%; opacity: .28; }
  .hero-grid { gap: 28px; }
  .hero-copy { min-width: 0; }
  .hero-copy h1 { max-width: 100%; overflow-wrap: anywhere; }
  .hero-text { max-width: 100%; }
  .hero-visual { max-width: 100%; overflow: hidden; }
  .hero-payroll-scene { min-height: clamp(240px, 76vw, 360px); }
  .hero-payroll-scene-image { width: min(100%, 430px); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1120px); }
  .brand-logo-image { width: clamp(178px, 55vw, 230px); max-height: 40px; }
  .nav-toggle { width: 42px; height: 42px; flex: 0 0 42px; }
  .main-nav { right: 10px; left: 10px; padding: 10px; border-radius: 8px; }
  .main-nav a,
  .nav-group-label,
  .nav-group-link > a { padding: 11px 8px; font-size: .96rem; }
  .nav-submenu a { padding: 9px 8px; font-size: .92rem; }
  .hero { padding: 46px 0 56px; }
  h1 { font-size: clamp(2rem, 9.2vw, 2.35rem); line-height: 1.08; }
  .hero-text { margin-bottom: 26px; font-size: 1.08rem; line-height: 1.55; }
  .hero-actions { gap: 10px; }
  .btn { min-height: 46px; padding: 0 16px; }
  .hero-payroll-scene { min-height: 255px; }
  .hero-payroll-scene-image { width: min(100%, 330px); }
}

@media (max-width: 380px) {
  .brand-logo-image { width: 172px; }
  h1 { font-size: 1.95rem; }
  .hero-text { font-size: 1rem; }
}

/* Mobile Schnellkontakt-Leiste */
.mobile-quick-contact { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .floating-chat { display: none; }
  .mobile-quick-contact {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1150;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(15,39,66,.14);
    background: rgba(255,255,255,.98);
    box-shadow: 0 -10px 28px rgba(7,26,45,.13);
  }
  .mobile-quick-contact-item {
    display: grid;
    min-width: 0;
    min-height: 54px;
    place-items: center;
    gap: 3px;
    border-radius: 8px;
    color: #0f2742;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.1;
  }
  .mobile-quick-contact-item svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: currentColor;
  }
  .mobile-quick-contact-item:active,
  .mobile-quick-contact-item:focus-visible {
    background: #f1f6f8;
    outline: none;
  }
  .mobile-quick-contact-whatsapp { color: #128c4a; }
  .cookie-consent { bottom: calc(82px + env(safe-area-inset-bottom)); }
}

/* Mobile Schnellkontakt: größere 3D-Icons */
@media (max-width: 760px) {
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .mobile-quick-contact {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,.72);
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 -18px 42px rgba(7,26,45,.18);
  }
  .mobile-quick-contact-item {
    min-height: 66px;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(244,249,251,.82));
    box-shadow: 0 10px 22px rgba(15,39,66,.14), inset 0 1px 0 rgba(255,255,255,.9);
    color: #0f2742;
    font-size: .84rem;
    font-weight: 900;
    text-shadow: 0 1px 0 rgba(255,255,255,.82);
    transform: translateY(0);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  }
  .mobile-quick-contact-item svg {
    width: 31px;
    height: 31px;
    filter: drop-shadow(0 4px 7px rgba(15,39,66,.18));
  }
  .mobile-quick-contact-item:active,
  .mobile-quick-contact-item:focus-visible {
    background: linear-gradient(145deg, #ffffff, #eef7f8);
    box-shadow: 0 6px 14px rgba(15,39,66,.14), inset 0 1px 0 rgba(255,255,255,.9);
    transform: translateY(2px);
  }
  .mobile-quick-contact-whatsapp {
    color: #128c4a;
    background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(232,255,241,.86));
  }
  .cookie-consent { bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* Mobile Schnellkontakt: nur Icons ohne Text */
@media (max-width: 760px) {
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .mobile-quick-contact {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-quick-contact-item {
    min-height: 62px;
    gap: 0;
    font-size: 0;
  }
  .mobile-quick-contact-item span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .mobile-quick-contact-item svg {
    width: 38px;
    height: 38px;
  }
  .cookie-consent { bottom: calc(90px + env(safe-area-inset-bottom)); }
}
