@font-face {
  font-family: Manrope;
  src: url("/assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #000000;
  --muted: #575757;
  --white: #fff;
  --surface: #f4f4f4;
  --orange: #f18815;
  --line: #dedede;
  --container: 1248px;
  --gutter: clamp(24px, 4vw, 64px);
  --section-space: clamp(72px, 8vw, 120px);
  --body-size: clamp(16px, 1.3vw, 18px);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-padding-top: 32px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Manrope, Arial, sans-serif; font-size: var(--body-size); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #000; outline-offset: 6px; border-radius: 2px; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.title { font-size: clamp(2.25rem, 3.9vw, 3.5rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.04em; }
.section-title { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.16; font-weight: 600; letter-spacing: -0.05em; }
.body-copy { font-size: var(--body-size); line-height: 1.75; color: var(--muted); }
.small-copy { font-size: 14px; line-height: 1.65; }
.skip-link { position: absolute; top: 12px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--ink); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { padding-block: 24px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 20px; flex-shrink: 0; color: var(--ink); text-decoration: none; }
.brand img { width: 102px; height: auto; }
.brand-label { border-left: 1px solid var(--line); padding-left: 20px; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.site-nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 600; }
.nav-link { padding-block: 12px; text-decoration: none; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 16px; padding: 15px 24px; border: 1px solid transparent; border-radius: 4px; color: var(--ink); background: var(--orange); font-size: 15px; font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; }
.button:hover { background: #f18815; text-decoration: none; }
.button svg { width: 18px; height: 18px; flex-shrink: 0; }
.button-small { min-height: 46px; padding: 11px 21px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; padding-block: 8px; font-size: 15px; font-weight: 600; }

.hero { padding-block: 46px 80px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(32px, 4.5vw, 68px); }
.hero-copy { min-width: 0; padding-block: 24px; }
.hero-copy .title { max-width: 12ch; margin-bottom: 30px; }
.hero-copy .body-copy { max-width: 43ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 32px; }
.hero-audience { max-width: 38ch; margin-top: 42px; color: var(--muted); }
.hero-image { position: relative; min-width: 0; overflow: hidden; border-radius: 4px 64px 4px 4px; background: var(--surface); }
.hero-image img { width: 100%; height: clamp(430px, 40vw, 580px); object-fit: cover; object-position: 51% 50%; }
.hero-image figcaption { position: absolute; inset: auto 0 0; padding: 40px 24px 20px; color: var(--white); background: linear-gradient(transparent, rgb(0 0 0 / 72%)); font-size: 13px; line-height: 1.6; }

.services { background: var(--surface); }
.section-intro { display: grid; grid-template-columns: 1.08fr 1fr; align-items: end; gap: clamp(32px, 4.5vw, 68px); margin-bottom: 58px; }
.section-intro .section-title { max-width: 19ch; }
.section-intro .body-copy { max-width: 44ch; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.service-group { min-width: 0; }
.service-heading { display: flex; align-items: center; gap: 16px; padding-bottom: 25px; font-size: clamp(23px, 2.2vw, 29px); line-height: 1.3; font-weight: 600; letter-spacing: -0.035em; }
.service-heading svg { width: 28px; height: 28px; flex-shrink: 0; color: #000; }
.service-list { list-style: none; padding: 0; margin: 0; }
.service-list li { padding-block: 24px; border-top: 1px solid var(--line); }
.service-name { margin-bottom: 7px; font-size: 18px; font-weight: 650; line-height: 1.5; letter-spacing: -0.02em; }
.service-list .body-copy { max-width: 46ch; font-size: 16px; }
.service-note { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }

.contact { background: var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 4.5vw, 68px); }
.contact .section-title { max-width: 16ch; }
.contact-intro { max-width: 36ch; margin-top: 24px; color: #d1d1cc; }
.contact-details { min-width: 0; }
.contact-link { display: inline-block; max-width: 100%; padding-block: 7px; font-size: clamp(20px, 2vw, 28px); line-height: 1.5; letter-spacing: -0.03em; overflow-wrap: anywhere; text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.contact-details .button { margin-top: 26px; }
.company-address { margin-top: 34px; font-size: 14px; font-style: normal; line-height: 1.9; color: #d1d1cc; }
.contact a:focus-visible { outline-color: var(--orange); }
.company-address a { display: inline-block; padding-block: 4px; }

.site-footer { padding-block: 38px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px 48px; }
.footer-company { font-size: 13px; color: var(--muted); }
.footer-company p { margin-bottom: 5px; }
.footer-company a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 4px 24px; max-width: 640px; font-size: 13px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; }

.legal-main { min-height: 50vh; padding-block: 36px var(--section-space); }
.legal-container { width: min(calc(100% - var(--gutter) * 2), 860px); margin-inline: auto; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 36px; color: var(--muted); font-size: 14px; }
.legal-document { font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.legal-document h1 { margin-bottom: 44px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.15; font-weight: 600; letter-spacing: -0.05em; text-wrap: balance; }
.legal-document h2 { margin-block: 38px 18px; font-size: 24px; line-height: 1.4; font-weight: 650; letter-spacing: -0.03em; }
.legal-document h3 { margin-block: 28px 14px; font-size: 20px; line-height: 1.4; font-weight: 650; }
.legal-document p { margin-block: 0 18px; }
.legal-document ul, .legal-document ol { padding-left: 24px; }
.legal-document a { color: #000; }
.legal-page .site-footer { border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .hero { padding-block: 28px 64px; }
  .hero-actions { gap: 12px 20px; }
  .hero-audience { margin-top: 28px; }
  .service-grid { gap: 40px; }
  .section-intro { align-items: start; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-links { justify-content: flex-start; max-width: none; }
}

@media (max-width: 720px) {
  .site-header { padding-block: 20px; }
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 72px; }
  .brand-label { padding-left: 8px; font-size: 13px; }
  .site-nav { gap: 8px; font-size: 13px; }
  .site-nav .button { min-height: 44px; padding: 10px 15px; font-size: 13px; }
  .hero { padding-block: 20px 56px; }
  .hero-grid, .section-intro, .service-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 32px; }
  .hero-copy { padding-block: 12px 0; }
  .title { max-width: 12ch; font-size: clamp(1.875rem, 8.4vw, 2.375rem); }
  .hero-copy .title { margin-bottom: 24px; }
  .hero-actions { margin-top: 26px; }
  .hero-audience { max-width: 42ch; margin-top: 24px; }
  .hero-image { border-top-right-radius: 48px; }
  .hero-image img { height: 300px; }
  .hero-image figcaption { padding: 32px 18px 16px; }
  .section-intro { gap: 24px; margin-bottom: 40px; }
  .service-grid { gap: 38px; }
  .service-heading { padding-bottom: 22px; }
  .service-list li { padding-block: 20px; }
  .service-note { margin-top: 28px; }
  .contact-grid { gap: 36px; }
  .contact .section-title { max-width: 18ch; }
  .contact-intro { max-width: 40ch; }
  .company-address { margin-top: 26px; }
  .site-footer { padding-block: 30px; }
  .footer-links { gap: 2px 20px; }
  .legal-main { padding-top: 20px; }
  .back-link { margin-bottom: 26px; }
}

@media (max-width: 370px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: background-color 160ms ease; }
}

/* Shared administration identity; the original wordmark is never stretched. */
.verwaltung-brand{display:inline-flex;align-items:center;gap:18px;flex-shrink:0;color:#fff;text-decoration:none}
.brand-mark{--brand-width:92px;position:relative;display:block;inline-size:var(--brand-width);aspect-ratio:270/161;flex-shrink:0}
.brand-mark>img{position:absolute;inset-inline-start:0;inset-block-start:-6.8323%;width:100%;max-width:none;height:auto;aspect-ratio:270/200;object-fit:contain}
/* Keep the registration mark at the upper-right corner of the logo box. */
.brand-mark>sup{position:absolute;inset-inline-end:0;inset-block-start:0;font:normal max(8px,calc(var(--brand-width)*.1))/1 Arial,sans-serif;color:#fff}
.verwaltung-brand>.brand-label{border-inline-start:1px solid #575757;padding-inline-start:18px;font-size:14px;font-weight:400;line-height:1.5;letter-spacing:0}
.legal-page .site-header{background:#000;color:#fff}
.site-header .container,.verwaltung-footer .container{width:min(calc(100% - clamp(24px,7vw,100px)*2),1248px)}
.site-header .nav-link:focus-visible{outline-color:var(--orange)}
.verwaltung-footer{padding-block:64px 24px;background:#000;color:#fff}
.verwaltung-footer a{text-decoration:none}
.verwaltung-footer a:hover{text-decoration:underline;text-underline-offset:5px}
.verwaltung-footer a:focus-visible{outline:3px solid var(--orange);outline-offset:5px}
.footer-overview{display:grid;grid-template-columns:.95fr 1.3fr 1fr;gap:clamp(24px,3vw,48px);padding-bottom:64px}
.footer-identity .brand-mark{--brand-width:108px}
.footer-identity>p{margin-top:26px;color:#dedede;font-size:14px;line-height:1.8}
.footer-identity .footer-request{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;min-height:44px;margin-top:22px;border-bottom:1px solid var(--orange);font-size:14px}
.footer-request>span{color:var(--orange);font-size:22px}
.footer-contact>p,.footer-address>p{font-size:.875rem;color:#dedede;line-height:1.7;margin-bottom:15px}
.footer-contact>a{display:grid;grid-template-columns:minmax(0,max-content) auto;justify-content:start;align-items:center;gap:2px 10px;min-height:44px;max-width:100%;padding-block:6px;overflow-wrap:anywhere;font-size:1rem;font-weight:600;line-height:1.45}
.footer-contact>a::before{content:var(--contact-label);grid-column:1/-1;color:#dedede;font-size:.8125rem;font-weight:500;line-height:1.35}
.footer-contact>a[href^="tel:"]{--contact-label:"Telefon"}
.footer-contact>a[href^="mailto:"]{--contact-label:"E-Mail"}
.footer-contact .footer-company-link{--contact-label:"Website"}
.footer-company-link>span{color:var(--orange)}
.footer-address>p{color:#fff;font-weight:500}
.footer-address address{color:#dedede;font-size:14px;font-style:normal;line-height:1.9}
.footer-address address span{display:block;font-size:12px;margin-top:14px}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px 28px;border-top:1px solid #575757;padding-top:20px;color:#dedede;font-size:.8125rem;line-height:1.7}
.footer-bottom nav{display:flex;align-items:center;flex-wrap:wrap;gap:0 24px}
.footer-bottom nav>a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:1000px){.footer-overview{grid-template-columns:1.2fr 1fr;gap:36px 48px}.footer-identity{grid-column:1/-1}.footer-bottom{align-items:start;flex-direction:column}}
@media(max-width:720px){.brand-mark{--brand-width:76px}.verwaltung-brand{gap:12px}.verwaltung-brand>.brand-label{padding-inline-start:12px;font-size:12px}.verwaltung-footer{padding-top:48px}.footer-overview{grid-template-columns:1fr;gap:35px;padding-bottom:40px}.footer-identity .brand-mark{--brand-width:100px}.footer-bottom nav{gap:0 20px}}
@media print{.verwaltung-footer{display:none}}
