:root { --accent: #1956a5; --accent-dark: #124585; --accent-hover: #124b91; --accent-shadow: rgba(25, 86, 165, .18); --faq-bg: #f5f5f5; --faq-border: #d5e0eb; --faq-border-strong: #b8cce3; --ink: #293039; --body: #5d6670; --light: #f5f5f5; --white: #fff; --max: 1200px; }
/* Optionale Kundenansicht mit dem Grün des früheren RVM-Logos (#52AF31). */
body.theme-green { --accent: #52af31; --accent-dark: #3d9024; --accent-hover: #438f2b; --accent-shadow: rgba(82, 175, 49, .2); --faq-bg: #edf6ea; --faq-border: #c7e2bd; --faq-border-strong: #a8d396; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--body); background: var(--white); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.45; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 400; line-height: 1.15; }
h1 { color: var(--white); font-size: clamp(2rem, 3vw, 3.25rem); }
h2 { margin-bottom: 28px; font-size: clamp(1.6rem, 2.1vw, 2.35rem); }
h3 { margin-bottom: 44px; color: var(--white); font-size: clamp(1.55rem, 2.2vw, 2.25rem); }
.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }
.section { padding: 84px 0; }
.hero { position: relative; min-height: 610px; color: var(--white); background: url('../assets/images/hero.png') center center / cover no-repeat; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 37%, rgba(0,0,0,.08) 75%); }
.hero__content { position: relative; z-index: 1; }
.navigation { display: flex; align-items: flex-start; justify-content: space-between; padding-top: 42px; }
.brand { position: relative; display: block; width: 185px; height: 76px; overflow: hidden; }
/* Die gelieferte Logo-Datei ist quadratisch; dieser Ausschnitt zeigt die komplette Wort-Bild-Marke. */
.brand img { position: absolute; top: -63px; left: -8px; width: 200px; max-width: none; height: auto; }
.navigation__links { display: flex; gap: 48px; padding-top: 12px; }
.navigation__links a, .footer a { text-decoration: none; }
.navigation__links a { color: var(--white); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.navigation__links a:hover, .footer a:hover { text-decoration: underline; }
.theme-toggle { display: inline-flex; gap: 8px; align-items: center; padding: 8px 11px; border: 1px solid rgba(255, 255, 255, .65); color: var(--white); background: transparent; cursor: pointer; font: inherit; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.theme-toggle:hover, .theme-toggle:focus-visible { background: rgba(255, 255, 255, .16); }
.theme-toggle:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.theme-toggle__swatch { width: 12px; height: 12px; border-radius: 50%; background: #52af31; }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px; background: var(--white); }
.hero__copy { max-width: 555px; padding-top: 45px; }
.hero__copy p { max-width: 450px; margin-bottom: 32px; }
.button-group { display: flex; flex-wrap: wrap; gap: 20px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 24px; border: 1px solid transparent; font-size: .9rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.button--primary { color: var(--white); background: var(--accent); }
.button--primary:hover { background: var(--accent-dark); }
.button--outline { color: var(--white); border-color: var(--white); }
.button--outline:hover { color: var(--ink); background: var(--white); }
.button--light { color: var(--ink); border-color: var(--ink); background: var(--white); }
.button--light:hover { color: var(--white); background: var(--ink); }
.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: start; }
.two-columns--intro { align-items: center; }
.intro { padding-bottom: 64px; }
.intro p { max-width: 480px; }
.intro__image { width: 100%; aspect-ratio: 1.8 / 1; object-fit: cover; }
.services { padding-top: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; }
.service-card { display: flex; min-height: 300px; flex-direction: column; justify-content: space-between; padding: 34px 30px 26px; color: #dce9fb; background: var(--accent); transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.service-card:hover, .service-card:focus-within { background: var(--accent-hover); box-shadow: 0 16px 28px var(--accent-shadow); transform: translateY(-9px); }
.service-card p { margin-bottom: 0; }
.process { padding-top: 46px; }
.process-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 18px; align-items: start; }
.process-step img { width: 74px; height: 74px; object-fit: contain; margin-bottom: 14px; }
.process-step strong { color: var(--ink); font-size: .93rem; }
.process-step p { margin: 6px 0 0; font-size: .9rem; }
.process-arrow { padding-top: 22px; color: var(--ink); font-size: 3rem; line-height: 1; }
.facts { padding: 42px 0; color: var(--white); background: var(--ink); }
.facts h2 { color: var(--white); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px; }
.facts__grid article { display: flex; gap: 15px; align-items: center; }
.facts__grid img { width: 62px; height: 62px; object-fit: contain; }
.facts__grid p { margin: 0; line-height: 1.18; }
.facts__grid strong { font-size: 1.6rem; font-weight: 400; }
.downloads { padding-bottom: 62px; }
.download-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 26px; color: var(--body); font-size: .92rem; text-decoration: none; }
.download-item:hover { color: var(--accent); }
.download-item img { width: 52px; height: 52px; object-fit: contain; }
.download-empty { color: var(--body); }
.glass-group img { width: min(100%, 360px); height: auto; margin: 4px 0 28px; }
.glass-group p { max-width: 470px; }
.glass-group a { color: var(--accent); }
.glass-group .button--light { color: var(--ink); }
.glass-group .button--light:hover { color: var(--white); }
/* Eigenständiger FAQ-Bereich: optisch klar vom übrigen Seiteninhalt getrennt. */
.faq { background: var(--faq-bg); }
.faq__layout { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.35fr); gap: 74px; align-items: start; }
.faq__intro { position: sticky; top: 32px; padding-top: 16px; }
.faq__intro h2 { max-width: 430px; margin-bottom: 20px; }
.faq__intro p:not(.eyebrow) { max-width: 390px; margin-bottom: 30px; font-size: 1.05rem; }
.eyebrow { margin-bottom: 15px; color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.faq__list { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--faq-border); background: var(--white); box-shadow: 0 5px 16px rgba(41, 48, 57, .05); }
.faq__item[open] { border-color: var(--faq-border-strong); box-shadow: 0 14px 28px var(--accent-shadow); }
.faq__item summary { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 21px 24px; color: var(--ink); cursor: pointer; font-weight: 700; line-height: 1.35; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.faq__question { display: flex; gap: 15px; align-items: baseline; }
.faq__number { flex: 0 0 auto; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.faq__icon { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid var(--faq-border-strong); border-radius: 50%; }
.faq__icon::before, .faq__icon::after { position: absolute; top: 50%; left: 50%; width: 10px; height: 1px; content: ''; background: var(--accent); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer { max-width: 690px; padding: 0 68px 24px 63px; color: var(--body); }
.faq__answer p { margin: 0; line-height: 1.65; }
.contact { padding-top: 44px; }
.contact-list { padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: center; margin: 20px 0; }
.contact-list img { width: 28px; height: 28px; object-fit: contain; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); text-decoration: underline; }
.contact-form { display: flex; flex-direction: column; align-items: flex-start; }
.contact-form input, .contact-form textarea { width: 100%; margin-bottom: 14px; border: 0; background: var(--light); padding: 15px; color: var(--ink); font: inherit; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .button { margin-top: 5px; }
.form-note { margin: 12px 0 0; color: var(--accent); }
.form-note--error { color: #ad1f2b; }
.privacy-note { max-width: 480px; margin: 15px 0 0; font-size: .8rem; line-height: 1.4; }
.privacy-note a { color: var(--accent); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.map { min-height: 400px; background: #edf1ed; }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }
.map-consent { display: grid; min-height: 400px; place-items: center; padding: 32px; text-align: center; background: linear-gradient(rgba(245, 248, 247, .22), rgba(245, 248, 247, .22)), url('../assets/images/location-overview.svg') center / cover no-repeat; }
.map-consent > div { max-width: 590px; padding: 28px 32px; background: rgba(255, 255, 255, .9); box-shadow: 0 8px 30px rgba(41, 48, 57, .16); }
.map-consent h2 { margin-bottom: 14px; }
.map-consent p { margin-bottom: 22px; }
.map-consent .button { margin-bottom: 18px; }
.map-consent a { display: block; color: var(--accent); }
.map-noscript { margin: 0; padding: 30px; text-align: center; }
.footer { padding: 56px 0; color: #d9dde1; background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 54px; align-items: start; }
.footer__logo { width: 180px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; transform: scale(1.65); transform-origin: center; clip-path: inset(28% 0); margin: -45px 0; }
.footer__links { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 28px; font-size: .78rem; text-transform: uppercase; }
.footer address { display: grid; gap: 9px; font-style: normal; font-size: .88rem; }
.footer address span { white-space: pre-line; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.legal-header { padding: 25px 0; background: var(--ink); }
.legal-header .container { display: flex; align-items: center; justify-content: space-between; }
.legal-header .brand { flex: 0 0 auto; }
.legal-header a:not(.brand) { color: var(--white); font-size: .85rem; text-decoration: none; }
.legal-header a:not(.brand):hover { text-decoration: underline; }
.legal-main { width: min(calc(100% - 64px), 860px); margin: 0 auto; padding: 84px 0; }
.legal-main h1 { color: var(--ink); font-size: clamp(2rem, 3vw, 3rem); }
.legal-main h2 { margin-top: 48px; margin-bottom: 16px; font-size: 1.4rem; }
.legal-main h3 { margin-top: 26px; margin-bottom: 10px; color: var(--ink); font-size: 1.1rem; }
.legal-main ul { padding-left: 22px; }
.legal-main a { color: var(--accent); }
.legal-footer { padding: 26px 0; color: #d9dde1; background: var(--ink); }
.legal-footer p { margin: 0; font-size: .85rem; }
.back-to-top { position: fixed; z-index: 10; right: 26px; bottom: 26px; display: grid; width: 48px; height: 48px; place-items: center; border: 0; border-radius: 50%; color: var(--white); background: var(--accent); box-shadow: 0 7px 18px rgba(0, 0, 0, .24); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, background-color .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); }
.back-to-top span { font-size: 1.65rem; line-height: 1; }

@media (max-width: 850px) {
  .section { padding: 60px 0; } .hero { min-height: 590px; } .two-columns { gap: 42px; } .service-grid { gap: 24px; } .process-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; } .process-arrow { display: none; } .facts__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } .faq__layout { grid-template-columns: 1fr; gap: 34px; } .faq__intro { position: static; padding-top: 0; } .faq__intro p:not(.eyebrow) { max-width: 590px; } .footer__grid { grid-template-columns: 1fr 1fr; } .footer__logo { grid-row: span 2; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 40px), var(--max)); } .hero { min-height: 700px; background-position: 62% center; } .hero__shade { background: rgba(0,0,0,.64); } .navigation { padding-top: 25px; align-items: flex-start; } .brand { width: 163px; height: 68px; } .brand img { top: -59px; left: -8px; width: 176px; } .menu-toggle { display: block; padding: 7px 0; } .navigation__links { display: none; position: absolute; top: 82px; right: 0; flex-direction: column; gap: 18px; min-width: 180px; padding: 20px; background: var(--ink); } .navigation__links.is-open { display: flex; } .hero__copy { padding-top: 55px; } .button { width: 100%; } .two-columns, .service-grid { grid-template-columns: 1fr; } .intro__image { order: -1; } .services { padding-top: 0; } .service-card { min-height: 245px; } .process-grid { grid-template-columns: 1fr; } .process-step { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: start; } .process-step img { grid-row: span 2; margin: 0; } .facts__grid { grid-template-columns: 1fr; } .faq__item summary { gap: 12px; padding: 18px; } .faq__question { gap: 10px; } .faq__answer { padding: 0 18px 20px 47px; } .map { min-height: 330px; } .map iframe { height: 330px; } .map-consent { min-height: 330px; } .footer__grid { grid-template-columns: 1fr; gap: 32px; } .footer__logo { margin: -45px 0; } .footer__links { max-width: 330px; }
  .legal-main { width: min(calc(100% - 40px), 860px); padding: 55px 0; }
  .back-to-top { right: 18px; bottom: 18px; }
}
