:root {
    --ink: #11191b;
    --ink-2: #1b282b;
    --paper: #ffffff;
    --paper-2: #f4f7f5;
    --muted: #657176;
    --line: #dce4df;
    --accent: #1c8d6a;
    --accent-dark: #126c50;
    --accent-soft: #dff3ea;
    --radius: 22px;
    --shadow: 0 24px 60px rgba(17,25,27,.12);
    --container: min(1180px, calc(100% - 40px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.nav-open, body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; background: #fff; padding: 10px 14px; border-radius: 10px; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.eyebrow { margin: 0 0 14px; color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; }
h1,h2,h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 7.5vw, 6.8rem); }
h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: #3e4b4f; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .25s ease, box-shadow .25s ease, transform .25s ease; }
.header-inner { height: 104px; display: grid; grid-template-columns: 205px 1fr auto; gap: 28px; align-items: center; transition: height .25s ease; }
.site-header:not(.is-scrolled) { color: #fff; }
.site-header.is-scrolled { background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 10px 40px rgba(12,25,26,.08); backdrop-filter: blur(14px); }
.site-header.is-scrolled .header-inner { height: 86px; }
.brand { width: 182px; display: flex; align-items: center; padding: 0; background: transparent; border-radius: 0; }
.brand img { width: 182px; height: auto; max-height: 92px; object-fit: contain; object-position: left center; transition: filter .25s ease, width .25s ease; }
.site-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }
.site-header.is-scrolled .brand img { width: 158px; filter: none; }
.main-nav { justify-self: end; display: flex; align-items: center; gap: 28px; font-size: .93rem; font-weight: 700; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--accent); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: .9rem; padding: 11px 14px; border: 1px solid currentColor; border-radius: 999px; }
.nav-toggle { display: none; border: 0; background: none; padding: 10px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: currentColor; display: block; margin: 5px 0; transition: .2s; }

.hero { min-height: 820px; height: min(94vh, 980px); position: relative; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; background-image: url('/assets/img/unternehmen.jpg'); background-position: center 48%; background-size: cover; transform: scale(1.03); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,17,19,.94) 0%, rgba(8,17,19,.78) 48%, rgba(8,17,19,.2) 100%), linear-gradient(0deg, rgba(8,17,19,.42), transparent 45%); }
.hero-content { position: relative; z-index: 1; padding-top: 80px; }
.hero-content .eyebrow { color: #8ae1bd; }
.hero h1 { max-width: 900px; }
.hero h1 span { color: #8ae1bd; }
.hero-copy { max-width: 670px; margin: 28px 0 34px; font-size: clamp(1.12rem, 2vw, 1.45rem); color: rgba(255,255,255,.84); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { min-height: 54px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.hero-points { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 22px; color: rgba(255,255,255,.8); font-size: .9rem; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .icon { color: #8ae1bd; }

.trust-strip { background: var(--ink); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid > div { padding: 30px 34px; border-right: 1px solid rgba(255,255,255,.12); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { display: block; font-size: 1.18rem; margin-bottom: 3px; }
.trust-grid span { color: rgba(255,255,255,.56); font-size: .9rem; }

.split-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(50px, 8vw, 105px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-badge { position: absolute; right: -24px; bottom: 34px; width: 145px; height: 145px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 18px 45px rgba(28,141,106,.34); }
.about-badge strong { font-size: 2rem; line-height: 1; }
.about-badge span { font-size: .8rem; margin-top: 5px; }
.section-copy h2 { max-width: 660px; margin-bottom: 28px; }
.section-copy > p:not(.eyebrow) { color: #536065; }
.feature-list { margin: 34px 0; display: grid; gap: 19px; }
.feature-list > div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.feature-list .icon { width: 42px; height: 42px; padding: 9px; background: var(--accent-soft); color: var(--accent-dark); border-radius: 12px; }
.feature-list strong { display: block; color: var(--ink); }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--accent-dark); font-weight: 800; }

.services-section { background: var(--paper-2); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 22px 55px rgba(17,25,27,.11); }
.service-card > img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.service-content { padding: 27px 28px 30px; position: relative; }
.service-number { font-size: .75rem; font-weight: 900; letter-spacing: .12em; color: var(--accent); }
.service-content h3 { margin: 7px 0 13px; }
.service-content p { color: var(--muted); font-size: .95rem; }
.service-content ul { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 7px; color: #465358; font-size: .88rem; }
.service-content li::before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 8px; }

.references-section { background: #fff; overflow: hidden; }
.gallery { columns: 4 250px; column-gap: 14px; }
.gallery-item { width: 100%; break-inside: avoid; margin: 0 0 14px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; position: relative; background: #e8ecea; cursor: zoom-in; }
.gallery-item img { width: 100%; height: auto; transition: transform .35s ease, filter .35s ease; }
.gallery-item span { position: absolute; left: 12px; bottom: 12px; background: rgba(12,22,23,.82); color: #fff; padding: 7px 10px; border-radius: 999px; font-size: .75rem; font-weight: 750; opacity: 0; transform: translateY(5px); transition: .2s; }
.gallery-item:hover img { transform: scale(1.025); filter: brightness(.82); }
.gallery-item:hover span { opacity: 1; transform: none; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(3,8,9,.94); display: grid; place-items: center; padding: 48px; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 88vh; object-fit: contain; border-radius: 10px; }
.lightbox-close { position: fixed; right: 28px; top: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }

.contact-section { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(28,141,106,.22), transparent 67%); top: -260px; left: -200px; pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.contact-copy .eyebrow { color: #8ae1bd; }
.contact-copy h2 { margin-bottom: 25px; }
.contact-copy .lead { color: rgba(255,255,255,.68); }
.contact-cards { margin-top: 38px; display: grid; gap: 11px; }
.contact-cards > * { display: flex; gap: 14px; align-items: center; padding: 15px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); }
.contact-cards .icon { width: 21px; height: 21px; color: #8ae1bd; }
.contact-cards small { display: block; color: rgba(255,255,255,.52); font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; }
.contact-cards strong { font-size: .93rem; overflow-wrap: anywhere; }
.form-card { background: #fff; color: var(--ink); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card form { display: grid; gap: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card label > span:first-child { display: block; font-size: .79rem; font-weight: 800; margin-bottom: 7px; color: #344246; }
.form-card input[type="text"], .form-card input[type="email"], .form-card textarea { width: 100%; border: 1px solid #cdd8d3; background: #fbfcfb; border-radius: 11px; padding: 13px 14px; outline: none; transition: border .2s, box-shadow .2s; }
.form-card textarea { resize: vertical; min-height: 145px; }
.form-card input:focus, .form-card textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(28,141,106,.11); }
.privacy-check { display: flex !important; gap: 10px; align-items: flex-start; color: #5a676b; font-size: .84rem; }
.privacy-check input { margin-top: 4px; accent-color: var(--accent); }
.privacy-check span { display: inline !important; font-weight: 500 !important; margin: 0 !important; }
.privacy-check a { color: var(--accent-dark); text-decoration: underline; }
.form-submit { border: 0; width: fit-content; }
.form-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.form-note { margin: -4px 0 0; color: #7b868a; font-size: .75rem; }
.form-message { margin-bottom: 18px; padding: 13px 15px; border-radius: 11px; font-size: .9rem; }
.form-message.success { background: #e2f7ed; color: #155b42; border: 1px solid #b8e5d1; }
.form-message.error { background: #fff0ef; color: #8e2d27; border: 1px solid #f0c9c5; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { background: #0a1113; color: #fff; padding: 70px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .7fr; gap: 70px; }
.footer-brand img { width: 150px; background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,.54); max-width: 390px; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-list li { display: flex; gap: 11px; color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-list .icon { margin-top: 4px; color: #8ae1bd; }
.footer-links { display: grid; gap: 10px; color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-links a:hover, .footer-list a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; color: rgba(255,255,255,.42); font-size: .78rem; }
.footer-bottom-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-credit { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.14); }
.footer-credit a { color: rgba(255,255,255,.72); font-weight: 700; transition: color .2s; }
.footer-credit a:hover { color: #fff; }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 800; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #1f9f68; box-shadow: 0 12px 28px rgba(0,0,0,.22); transition: transform .2s; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.03); }
.floating-whatsapp svg { width: 29px; height: 29px; }

.legal-hero { padding: 180px 0 70px; background: var(--ink); color: #fff; }
.legal-hero .eyebrow { color: #8ae1bd; }
.legal-hero h1 { font-size: clamp(3rem, 6vw, 5.4rem); }
.legal-wrap { max-width: 850px; }
.legal-wrap h2 { font-size: 1.45rem; letter-spacing: -.01em; margin: 40px 0 13px; }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p { color: #4d5a5e; }
.legal-wrap a { color: var(--accent-dark); text-decoration: underline; }
.legal-updated { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .86rem; }

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

:focus-visible { outline: 3px solid rgba(28,141,106,.55); outline-offset: 3px; }

@media (max-width: 1050px) {
    .header-inner { grid-template-columns: 180px 1fr auto; gap: 16px; }
    .main-nav { gap: 18px; }
    .header-phone span { display: none; }
    .header-phone { width: 43px; height: 43px; padding: 0; justify-content: center; }
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 45px; }
}
@media (max-width: 800px) {
    :root { --container: min(100% - 30px, 680px); }
    .section { padding: 82px 0; }
    .header-inner { height: 88px; grid-template-columns: 1fr auto; }
    .site-header.is-scrolled .header-inner { height: 76px; }
    .brand { width: 150px; }
    .brand img { width: 150px; max-height: 78px; }
    .site-header.is-scrolled .brand img { width: 132px; }
    .nav-toggle { display: block; justify-self: end; }
    .header-phone { display: none; }
    .main-nav { position: fixed; inset: 88px 0 auto 0; background: #fff; color: var(--ink); display: grid; gap: 0; padding: 18px 20px 26px; border-top: 1px solid var(--line); box-shadow: 0 20px 35px rgba(0,0,0,.1); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: .25s; }
    .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
    .site-header.is-scrolled .main-nav { inset-block-start: 76px; }
    .main-nav a { padding: 13px 7px; border-bottom: 1px solid var(--line); }
    .site-header:not(.is-scrolled) .main-nav.is-open { background: #fff; color: var(--ink); }
    .hero { min-height: 720px; height: 92svh; }
    .hero-overlay { background: linear-gradient(90deg, rgba(8,17,19,.92), rgba(8,17,19,.62)), linear-gradient(0deg, rgba(8,17,19,.55), transparent); }
    .hero-content { padding-top: 65px; }
    .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
    .hero-points { display: grid; gap: 8px; }
    .trust-grid { grid-template-columns: 1fr; padding: 8px 0; }
    .trust-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 20px 4px; }
    .trust-grid > div:last-child { border-bottom: 0; }
    .split-grid, .contact-grid { grid-template-columns: 1fr; }
    .split-grid { gap: 55px; }
    .about-badge { right: 16px; bottom: -30px; width: 116px; height: 116px; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 38px; }
    .footer-bottom { margin-top: 40px; }
    .gallery { columns: 2 150px; }
    .lightbox { padding: 20px; }
}
@media (max-width: 520px) {
    .hero-actions { display: grid; }
    .button { width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .form-submit { width: 100%; }
    .gallery { columns: 2 130px; column-gap: 9px; }
    .gallery-item { margin-bottom: 9px; border-radius: 10px; }
    .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
    .footer-bottom-meta { gap: 8px; }
    .footer-credit { padding-left: 0; border-left: 0; width: 100%; }
    .floating-whatsapp { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
