/* Schweizer Behördenservice Gastl – Stylesheet */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-semibold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-bold.woff2") format("woff2"); }

:root {
  --primary: #1e3a5f;
  --primary-dark: #152b47;
  --primary-light: #2d4a6f;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eaf1ff;
  --fg: #1a1a2e;
  --muted-fg: #5b6b80;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-muted: #f8fafc;
  --border: #e2e8f0;
  --success: #15803d;
  --error: #b91c1c;
  --radius: 0.5rem;
  --radius-lg: 0.875rem;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-lg: 0 10px 30px -10px rgba(15, 23, 42, .25);
  --header-h: 4.25rem;
  --container: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem; line-height: 1.65; color: var(--fg); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; color: var(--fg); letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2, .h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3, .h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.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: 1rem; top: -4rem; background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); z-index: 1000; }
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
.narrow { max-width: 52rem; }
.center { text-align: center; }
.muted { color: var(--muted-fg); }
.small { font-size: .875rem; }
.mt { margin-top: 1rem; }
.mt-lg { margin-top: 2.5rem; }

.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.25rem; border-radius: var(--radius); border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn-sm { padding: .5rem .9rem; font-size: .875rem; }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #e8eef7; color: var(--primary); }
.btn-outline { background: #fff; color: var(--fg); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn + .btn { margin-left: .5rem; }
.btn-block + .btn-block { margin-left: 0; margin-top: .6rem; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }

/* Hinweisleiste */
.notice-bar { background: #fef3c7; color: #78350f; text-align: center; padding: .55rem 1rem; font-size: .9rem; font-weight: 600; position: relative; z-index: 60; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--primary); color: #fff;
  transition: background-color .2s, box-shadow .2s, color .2s;
}
.site-header.scrolled { background: rgba(255, 255, 255, .97); color: var(--fg); box-shadow: 0 1px 0 var(--border), var(--shadow); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.logo-mark { width: 2.4rem; height: 2.4rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-small { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; opacity: .75; font-weight: 600; }
.brand-name { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }

.main-nav { display: none; }
.main-nav > ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-flex; align-items: center; gap: .25rem; color: inherit; text-decoration: none; font-weight: 500; font-size: .93rem; padding: .5rem .7rem; border-radius: var(--radius); opacity: .9; }
.main-nav > ul > li > a:hover, .main-nav a.active { opacity: 1; background: rgba(255, 255, 255, .12); }
.site-header.scrolled .main-nav > ul > li > a:hover, .site-header.scrolled .main-nav a.active { background: var(--bg-soft); color: var(--accent); }
.has-dropdown { position: relative; }
.dropdown { position: absolute; left: 0; top: 100%; padding-top: .5rem; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown ul { list-style: none; margin: 0; padding: .5rem; width: 17rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.dropdown a { display: flex; gap: .6rem; color: var(--fg); opacity: 1; padding: .55rem .7rem; width: 100%; }
.dropdown a .icon { color: var(--accent); }
.dropdown a:hover { background: var(--bg-soft); color: var(--accent); }
.dropdown-all { border-top: 1px solid var(--border); margin-top: .35rem; padding-top: .35rem; }
.dropdown-all a { color: var(--accent); font-weight: 600; }

.header-actions { display: none; align-items: center; gap: .5rem; }
.header-actions .btn + .btn { margin-left: 0; }
.site-header.scrolled .btn-ghost { color: var(--fg); border-color: var(--border); }
.site-header.scrolled .btn-ghost:hover { color: var(--accent); border-color: var(--accent); background: #fff; }

.menu-toggle { display: inline-flex; background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: inherit; border-radius: var(--radius); padding: .45rem; cursor: pointer; }
.site-header.scrolled .menu-toggle { border-color: var(--border); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav { background: #fff; color: var(--fg); border-top: 1px solid var(--border); max-height: calc(100vh - var(--header-h)); overflow-y: auto; box-shadow: var(--shadow-lg); }
.mobile-nav ul { list-style: none; margin: 0; padding: .75rem 1.25rem; }
.mobile-nav a { display: block; padding: .6rem .5rem; color: var(--fg); text-decoration: none; font-weight: 500; border-radius: var(--radius); }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { background: var(--bg-soft); color: var(--accent); }
.mobile-nav .sub a { padding-left: 1.5rem; font-size: .94rem; color: var(--muted-fg); }
.mobile-actions { padding: .5rem 1.25rem 1.25rem; }

@media (min-width: 1100px) {
  .main-nav, .header-actions { display: flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* Hero */
.hero { background: var(--primary); color: #fff; padding: 3rem 0 3.5rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10rem; top: -10rem; width: 32rem; height: 32rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(37, 99, 235, .35), transparent); pointer-events: none; }
.hero-large { padding: 4.5rem 0 5rem; }
@media (min-width: 1024px) { .hero-large { padding: 6rem 0 6.5rem; } }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 48rem; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero-lead { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 44rem; margin-bottom: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-ctas .btn + .btn { margin-left: 0; }
.eyebrow { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: .6rem; }
.eyebrow-light { color: #9cc0ff; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "›"; margin-right: .35rem; opacity: .7; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* Trust strip */
.trust-strip { border-bottom: 1px solid var(--border); background: #fff; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2rem; padding-top: 1.1rem; padding-bottom: 1.1rem; font-size: .92rem; color: var(--muted-fg); }
.trust-items span { display: inline-flex; align-items: center; gap: .45rem; }
.trust-items .icon { color: var(--accent); }

/* Sections */
.section { padding: 4rem 0; }
@media (min-width: 1024px) { .section { padding: 5rem 0; } }
.section-muted { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto 2.75rem; }
.section-text { color: var(--muted-fg); font-size: 1.05rem; }

/* Cards */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } .card-grid-4 { grid-template-columns: repeat(4, 1fr); } .card-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 56rem; margin: 0 auto; } }
.service-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.6rem; color: var(--fg); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); color: var(--fg); transform: translateY(-2px); }
.service-card h3 { margin: 1rem 0 .4rem; }
.service-card:hover h3 { color: var(--accent); }
.service-card p { color: var(--muted-fg); font-size: .95rem; flex: 1; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: .75rem; background: var(--accent-soft); color: var(--accent); }
.service-icon .icon { width: 1.5rem; height: 1.5rem; }
.card-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--accent); font-weight: 600; font-size: .92rem; }
.service-card:hover .card-link .icon { transform: translateX(3px); }
.card-link .icon { transition: transform .15s; }
.plain-card, .example-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.plain-card p { color: var(--muted-fg); margin: 0; font-size: .95rem; }

/* Benefits */
.benefit-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(4, 1fr); } }
.benefit { text-align: center; }
.benefit-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--accent); color: #fff; margin-bottom: 1rem; }
.benefit p { color: var(--muted-fg); font-size: .95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { text-align: center; position: relative; }
@media (min-width: 1024px) {
  .steps:not(.steps-compact) li:not(:last-child)::after { content: ""; position: absolute; top: 2rem; left: calc(50% + 2.5rem); width: calc(100% - 5rem + 2rem); height: 2px; background: var(--border); }
}
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.steps p { color: var(--muted-fg); font-size: .95rem; }
.steps-compact { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 700px) { .steps-compact { grid-template-columns: repeat(2, 1fr); } }
.steps-compact li { text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; background: var(--bg-muted); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem; }
.steps-compact .step-no { width: 2.4rem; height: 2.4rem; font-size: 1rem; margin: 0; grid-row: span 2; }
.steps-compact h3 { margin: .25rem 0 .2rem; font-size: 1.02rem; }
.steps-compact p { margin: 0; font-size: .92rem; }

/* Split / info */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.5fr 1fr; gap: 4rem; } }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); }

/* Contact list */
.contact-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .6rem; }
.contact-list .icon { margin-top: .3rem; opacity: .85; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list-dark .icon { color: var(--accent); opacity: 1; }

/* Content pages */
.content-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .content-grid { grid-template-columns: minmax(0, 1fr) 21rem; gap: 3.5rem; align-items: start; } }
.content-aside { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .content-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.aside-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.aside-card h2 { margin-bottom: .75rem; }
.aside-cta { background: var(--bg-soft); }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links a { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--border); }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--accent); }
.aside-links .icon { color: var(--accent); }

.prose h2 { margin-top: 2.5rem; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose li { color: #334155; }
.prose ul:not(.check-list):not(.doc-list) { padding-left: 1.25rem; }
.prose ul:not(.check-list):not(.doc-list) li { margin-bottom: .35rem; }

.check-list, .doc-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.check-list li, .doc-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .icon { color: var(--success); margin-top: .3rem; }
.doc-list .icon { color: var(--accent); margin-top: .3rem; }
@media (min-width: 640px) { .check-list-2col { grid-template-columns: 1fr 1fr; } }

.effort-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .effort-grid { grid-template-columns: repeat(3, 1fr); } }
.effort { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem; background: var(--bg-muted); display: flex; flex-direction: column; gap: .15rem; }
.effort-label { font-size: .85rem; color: var(--muted-fg); }
.effort strong { font-size: 1.3rem; color: var(--primary); }
.effort-note { font-size: .82rem; color: var(--muted-fg); }

.disclaimer { display: flex; gap: .6rem; align-items: flex-start; background: var(--bg-soft); border-left: 3px solid var(--accent); padding: 1rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: .92rem; color: var(--muted-fg); margin-top: 2rem; }
.disclaimer .icon { color: var(--accent); margin-top: .25rem; }

/* FAQ */
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-chevron { transition: transform .2s; color: var(--muted-fg); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem 1.1rem; color: var(--muted-fg); }
.faq-answer p { margin: 0; }
.faq-group-title { margin: 2.5rem 0 1rem; font-size: 1.35rem; }
.faq-group-title:first-child { margin-top: 0; }

/* Preise */
.price-layout { display: grid; gap: 2rem; }
@media (min-width: 900px) { .price-layout { grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; } }
.price-card { border: 2px solid var(--accent); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); }
.price { font-size: 1.1rem; color: var(--muted-fg); margin-bottom: 1.5rem; }
.price span { display: block; font-size: 3rem; font-weight: 700; color: var(--primary); letter-spacing: -0.03em; line-height: 1.1; }
.info-row { border-bottom: 1px solid var(--border); padding: .9rem 0; }
.info-row h3 { margin-bottom: .2rem; font-size: 1rem; }
.info-row p { margin: 0; color: var(--muted-fg); }
.pay-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.pay-grid span { border: 1px solid var(--border); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; background: var(--bg-muted); }
.example-card dl { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; margin: 1rem 0 0; }
.example-card dt { color: var(--muted-fg); }
.example-card dd { margin: 0; text-align: right; font-weight: 600; }
.example-card .total { border-top: 1px solid var(--border); padding-top: .6rem; color: var(--fg); font-weight: 700; font-size: 1.15rem; }
.price-mini { font-size: 1.6rem; font-weight: 700; color: var(--primary); margin: 0; }
.price-mini span { display: block; font-size: .85rem; font-weight: 400; color: var(--muted-fg); }

/* Prozess */
.process-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.process-item { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.process-item .step-no { width: 3.25rem; height: 3.25rem; font-size: 1.25rem; margin: 0; }
.process-item p { color: var(--muted-fg); }
.process-item .check-list { margin: 0; }
.time-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.time-card { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.2rem; color: var(--fg); text-decoration: none; }
.time-card:hover { border-color: var(--accent); color: var(--fg); }
.time-card .icon { color: var(--accent); }
.time-card span { flex: 1; font-weight: 500; }
.time-card strong { color: var(--primary); white-space: nowrap; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.form-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: #fff;
  border: 1px solid #cbd5e1; border-radius: var(--radius); padding: .7rem .85rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { display: block; color: var(--error); font-size: .85rem; margin-top: .3rem; }
.field-check { display: flex; gap: .7rem; align-items: flex-start; }
.field-check input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; flex-shrink: 0; accent-color: var(--accent); }
.field-check label { font-weight: 400; font-size: .92rem; color: var(--muted-fg); margin: 0; }
.field-check.has-error label { color: var(--error); }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend { font-weight: 700; font-size: 1.05rem; margin-bottom: .8rem; padding: 0; }
.choice-grid { display: grid; gap: .6rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .choice-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; gap: .55rem; border: 1px solid #cbd5e1; border-radius: var(--radius); padding: .75rem .9rem; font-weight: 500; font-size: .95rem; transition: border-color .15s, background-color .15s; }
.choice span .icon { color: var(--accent); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius); padding: .9rem 1rem; margin-bottom: 1.25rem; font-size: .95rem; }
.alert-success { background: #dcfce7; color: #14532d; border: 1px solid #86efac; }
.alert-error { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }
.form-status:empty { display: none; }
.form-status { margin-bottom: 1rem; }
button[disabled] { opacity: .65; cursor: progress; }

/* CTA band */
.cta-band { background: var(--primary); color: #fff; padding: 4rem 0; }
.cta-inner { text-align: center; max-width: 52rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .82); font-size: 1.1rem; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.cta-buttons .btn + .btn { margin-left: 0; }

/* Footer */
.site-footer { background: var(--bg-muted); border-top: 1px solid var(--border); color: var(--muted-fg); font-size: .93rem; }
.footer-grid { display: grid; gap: 2.25rem; padding-top: 3.5rem; padding-bottom: 3rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.brand-dark { color: var(--fg); margin-bottom: 1rem; }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fg); margin-bottom: .9rem; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-links a, .footer-links .link-button { color: var(--muted-fg); text-decoration: none; }
.footer-links a:hover, .footer-links .link-button:hover { color: var(--accent); }
.footer-note { margin-top: 1rem; font-size: .82rem; }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.2rem 0; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 100; display: flex; justify-content: center; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 20px 50px -12px rgba(15, 23, 42, .35); padding: 1.25rem; max-width: 46rem; display: grid; gap: 1rem; }
@media (min-width: 720px) { .cookie-inner { grid-template-columns: 1fr auto; align-items: center; } }
.cookie-inner p { margin: 0; font-size: .9rem; color: var(--muted-fg); }
.cookie-inner strong { color: var(--fg); }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-actions .btn + .btn { margin-left: 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cookie-banner, .cta-band, .content-aside { display: none !important; } .hero { background: none; color: #000; padding: 1rem 0; } .hero h1, .hero-lead { color: #000; } }
.field-check { flex-wrap: wrap; }
.field-check .field-error { width: 100%; margin: 0 0 0 1.85rem; }
@media (min-width: 1200px) { .card-grid-services { grid-template-columns: repeat(4, 1fr); } }
.service-card-cta { background: var(--primary); border-color: var(--primary); color: #fff; }
.service-card-cta h3, .service-card-cta .card-link { color: #fff; }
.service-card-cta p { color: rgba(255, 255, 255, .8); }
.service-card-cta .service-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.service-card-cta:hover { color: #fff; border-color: var(--accent); }
.service-card-cta:hover h3 { color: #fff; }
.steps-compact h3 { margin-top: .4rem; }
.field-check label { flex: 1; min-width: 0; }
.choice-grid { margin-bottom: 1.1rem; }
.form-card h2 { font-size: 1.5rem; }

/* ===== v1.1.0: Mobile, Bedienung, Barrierefreiheit ===== */

/* Menü-Schalter & Untermenü */
.menu-toggle { width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; color: inherit; text-decoration: none; }
.menu-toggle:hover { color: inherit; }
.mobile-nav { display: none; }
.mobile-nav:target, .mobile-nav.open { display: block; }
.js .mobile-nav:target:not(.open) { display: none; }
.no-js .site-header:has(.mobile-nav:target) .menu-toggle .icon-open { display: none; }
.no-js .site-header:has(.mobile-nav:target) .menu-toggle .icon-close { display: block; }
.nojs-close { display: none; text-align: center; padding: .75rem; }
.no-js .nojs-close { display: block; }
.mobile-nav a { min-height: 2.75rem; display: flex; align-items: center; }
body.menu-open { overflow: hidden; }
.has-dropdown { display: flex; align-items: center; }
.dropdown-toggle { background: transparent; border: 0; color: inherit; padding: .4rem .25rem; margin-left: -.45rem; cursor: pointer; border-radius: var(--radius); opacity: .85; display: inline-flex; }
.dropdown-toggle:hover { opacity: 1; }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.logo-img { height: 2.4rem; width: auto; max-width: 11rem; object-fit: contain; }

/* Ablauf: Bearbeitungszeiten umbrechen statt abschneiden */
.time-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.time-card { flex-wrap: wrap; min-width: 0; }
.time-card span { min-width: 0; }
.time-card strong { white-space: normal; }

/* Hero mit Bild (optional, im CMS wählbar) */
.hero-grid { display: grid; gap: 2rem; }
.hero-grid .breadcrumb { grid-column: 1 / -1; }
.hero-media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.15fr 1fr; align-items: center; } }
@media (max-width: 1023px) { .hero-media { display: none; } }
.content-figure { margin: 0 0 2rem; }
.content-img { width: 100%; height: auto; border-radius: var(--radius-lg); }

/* Schnellkontakt-Leiste (nur Handy) */
.action-bar { display: none; }
@media (max-width: 767px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px -10px rgba(15, 23, 42, .25); backdrop-filter: blur(8px);
  }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.9rem; border-radius: var(--radius); border: 1px solid var(--border); color: var(--fg); font-weight: 600; font-size: .92rem; text-decoration: none; background: #fff; }
  .action-bar a .icon { color: var(--accent); }
  .action-bar a.action-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
  .action-bar a.action-primary .icon { color: #fff; }
  body { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
  body.menu-open .action-bar { display: none; }
}

/* Cookie-Hinweis kompakt */
.cookie-banner { left: .75rem; right: .75rem; bottom: .75rem; }
.cookie-inner { padding: 1rem 1.1rem; gap: .75rem; }
.cookie-actions .btn { min-height: 2.75rem; flex: 1; }
@media (max-width: 767px) {
  .cookie-banner { bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  .cookie-inner p { font-size: .85rem; }
  body.menu-open .cookie-banner { display: none; }
}

/* Tippflächen ≥ 44 px auf Touch-Geräten */
@media (max-width: 1099px) {
  .footer-links a, .footer-links .link-button { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .footer-links { gap: 0; }
  .contact-list a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .contact-list li { align-items: center; }
  .contact-list .icon { margin-top: 0; }
  .breadcrumb a { display: inline-block; padding: .35rem 0; }
}
.field-check input { width: 1.4rem; height: 1.4rem; margin-top: .1rem; }
.field-check label { cursor: pointer; }

/* Formulare auf dem Handy */
@media (max-width: 639px) {
  .field input, .field select, .field textarea { min-height: 3rem; font-size: 1rem; }
  .form-card .btn-lg { width: 100%; }
  .choice span { min-height: 3rem; }
}

/* Startseite & Inhalte kompakter auf dem Handy */
@media (max-width: 699px) {
  .hero { padding: 2.25rem 0 2.5rem; }
  .hero-large { padding: 2.75rem 0 3rem; }
  .hero-lead { font-size: 1.05rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .trust-items { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; justify-items: start; font-size: .84rem; line-height: 1.35; }
  .trust-items span { align-items: flex-start; }
  .trust-items .icon { margin-top: .1rem; }
  .section { padding: 3rem 0; }
  .section-head { margin-bottom: 1.75rem; }
  .card-grid-services { gap: .75rem; }
  .service-card { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; padding: 1rem; align-items: start; }
  .service-card .service-icon { width: 2.6rem; height: 2.6rem; grid-row: span 2; }
  .service-card h3 { margin: .1rem 0 .2rem; font-size: 1.05rem; }
  .service-card p { margin: 0; font-size: .9rem; grid-column: 2; }
  .service-card .card-link { display: none; }
  .benefit-grid { gap: 1.25rem; }
  .benefit { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; text-align: left; }
  .benefit-icon { width: 2.75rem; height: 2.75rem; margin: 0; grid-row: span 2; }
  .benefit h3 { margin: .15rem 0 .25rem; }
  .benefit p { margin: 0; }
  .steps { gap: 1.25rem; }
  .steps:not(.steps-compact) li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; text-align: left; }
  .steps:not(.steps-compact) .step-no { width: 2.75rem; height: 2.75rem; font-size: 1.1rem; margin: 0; grid-row: span 2; }
  .steps:not(.steps-compact) h3 { margin: .2rem 0 .2rem; }
  .steps:not(.steps-compact) p { margin: 0; }
  .process-item { grid-template-columns: 1fr; padding: 1.25rem; gap: .75rem; }
  .price span { font-size: 2.4rem; }
  .cta-band { padding: 3rem 0; }
  .cta-buttons .btn { width: 100%; }
  .footer-grid { padding-top: 2.5rem; gap: 1.75rem; }
}
