/* ==========================================================================
   Cremer Systemhaus – gemeinsame Grundlagen (alle Varianten)
   ========================================================================== */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url('../fonts/nunito-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url('../fonts/nunito-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #7ab937;
  --green-dark: #5f9426;
  --blue: #002a53;
  --blue-mid: #006fb5;
  --text: #1b1b1b;
  --muted: #5f5f5f;
  --line: #dcdcdc;
  --bg: #ffffff;
  --bg-soft: #f6f8f4;
  --font: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin-top: 0; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }

.sr-only {
  position: absolute !important; 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: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 16px; top: 16px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.small { font-size: .85em; color: var(--muted); }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font-size: inherit; }
.note { background: #fff8e1; border-left: 4px solid #f0b400; padding: 10px 14px; font-size: .9em; }
.todo { background: #fff3b0; padding: 0 4px; }

/* Navigation: Grundverhalten für Mobilgeräte */
.nav-toggle { display: none; background: none; border: 0; padding: 10px; }
.nav-toggle .bar { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--blue); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Google Maps mit Einwilligung */
.map { position: relative; background: #eef1ec; min-height: 360px; display: flex; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map-placeholder { display: none; }
.map-placeholder { margin: auto; padding: 24px; text-align: center; max-width: 360px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.map-placeholder p { margin: 0; }

/* Datenschutz-Hinweis */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent-inner { background: #fff; color: var(--text); max-width: 760px; width: 100%; padding: 20px 22px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); border-top: 4px solid var(--green); }
.consent-title { font-weight: 700; margin: 0 0 6px; color: var(--blue); }
.consent-inner p { margin: 0 0 12px; font-size: 14px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* E-Mail-Anliegen */
.ma-text { display: flex; flex-direction: column; }
.ma-title { font-weight: 700; }

/* Rechtstexte */
.legal h2 { margin-top: 1.6em; }
.legal p { max-width: 75ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Variante DEUTLICH – gleiche Inhalte und Markenfarben, modernes Karten-Layout,
   feste Kopfzeile, großzügiger Hero, Einblende-Effekte.
   ========================================================================== */
:root { --radius: 16px; --shadow: 0 10px 30px rgba(0, 42, 83, .10); }
body { font-size: 17px; color: #22303d; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ico { width: 20px; height: 20px; flex: none; }

/* Kopfbereich – fest beim Scrollen */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 42, 83, .10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; transition: min-height .3s; }
.is-scrolled .header-inner { min-height: 70px; }
.logo { display: block; line-height: 0; }
.logo img { width: 210px; transition: width .3s; }
.is-scrolled .logo img { width: 170px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav ul a { position: relative; display: block; padding: 8px 12px; font-weight: 700; font-size: 16px; color: var(--blue); text-decoration: none; }
.main-nav ul a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--green); transform: scaleX(0); transition: transform .25s; }
.main-nav ul a:hover::after, .main-nav ul a[aria-current]::after { transform: scaleX(1); }
.nav-cta { padding: 10px 18px !important; font-size: 15px !important; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 120px 0 150px;
  background: radial-gradient(circle at 85% 20%, rgba(122, 185, 55, .35), transparent 45%), linear-gradient(120deg, rgba(0, 42, 83, .96) 30%, rgba(0, 42, 83, .70)), #002a53 url('../img/hero.webp') center / cover no-repeat; }
.hero-inner { position: relative; }
.dots { display: flex; gap: 10px; margin-bottom: 22px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: #0b4a85; }
.dots i:nth-child(2) { background: var(--blue-mid); }
.dots i:nth-child(3) { background: var(--green); }
.hero-title { margin: 0 0 34px; max-width: 880px; }
.hero-title .balken-1 { display: block; font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; }
.hero-title .balken-2 { display: block; margin-top: 18px; font-size: clamp(17px, 2vw, 22px); font-weight: 500; line-height: 1.5; color: #cfe0ef; max-width: 640px; }
.page-index .hero-title .balken-1 { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Infoleiste als schwebende Karte */
.infobar { position: relative; z-index: 2; margin-top: -60px; margin-bottom: 80px; }
.infobar-inner { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 0; }
.info-item { display: flex; align-items: center; gap: 14px; padding: 26px 28px; text-decoration: none; color: var(--blue); font-weight: 700; border-right: 1px solid #edf0f3; }
.info-item:last-child { border-right: 0; }
.info-item .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(122, 185, 55, .15); color: var(--green-dark); }
a.info-item:hover { color: var(--green-dark); }

/* Inhalte */
.content { padding-bottom: 80px; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--blue); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 26px; }
.section-title br { display: none; }
.sub-title { color: var(--blue); font-size: 21px; font-weight: 800; margin: 0 0 12px; }
.list-title { color: var(--green-dark); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin: 40px 0 18px; }
.lead p { line-height: 1.8; margin: 0 0 1em; font-size: 18px; }
.block { margin-bottom: 80px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 64px; }
.page-index .col-side .map { position: sticky; top: 110px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 460px; }
.points { list-style: none; margin: 0; padding: 0; }
.points-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.points-services li { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid #e7ecf0; color: var(--blue); font-weight: 700; line-height: 1.45; transition: transform .25s, box-shadow .25s, border-color .25s; }
.points-services li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.points-services .pi { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--blue); color: #fff; }
.points-services li:nth-child(even) .pi { background: var(--green); }
.points-services .ico { width: 26px; height: 26px; }
.points-partner { display: flex; flex-wrap: wrap; gap: 10px; }
.points-partner li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: 30px; background: var(--bg-soft); color: var(--blue); font-size: 15px; font-weight: 600; }
.points-partner .pi { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; }
.points-partner .ico { width: 14px; height: 14px; stroke-width: 2.8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 2px solid transparent; padding: 14px 26px; border-radius: 40px; font-size: 16px; font-weight: 800; text-decoration: none; transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(122, 185, 55, .35); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { background: #003c75; box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue); }

/* Vorteile */
.benefits { padding: 0 0 80px; }
.benefit-list { list-style: none; margin: 0; padding: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; border-radius: 24px; background: linear-gradient(120deg, var(--blue), #0b4a85); color: #fff; }
.benefit { display: flex; align-items: center; gap: 18px; }
.bi { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .12); color: var(--green); }
.bi .ico { width: 32px; height: 32px; }
.benefit h3 { font-size: 19px; margin: 0 0 2px; }
.benefit p { margin: 0; color: #cfe0ef; }

/* Partnerlogos */
.partners { padding: 60px 0; background: var(--bg-soft); }
.partners-title { text-align: center; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); font-weight: 800; margin-bottom: 30px; }
.partner-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner-logos li { display: grid; place-items: center; background: #fff; border-radius: 14px; padding: 22px 14px; transition: box-shadow .25s; }
.partner-logos li:hover { box-shadow: var(--shadow); }
.partner-logos img { filter: grayscale(100%); opacity: .8; transition: filter .3s, opacity .3s; }
.partner-logos li:hover img { filter: none; opacity: 1; }

/* Fußzeile */
.site-footer { background: #001d3a; color: #b9c8d6; font-size: 15px; padding-top: 64px; }
.site-footer a, .site-footer .link-button { color: #fff; text-decoration: none; }
.site-footer a:hover, .site-footer .link-button:hover { color: var(--green); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-cols p { margin: 0 0 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand { font-weight: 800; color: #fff; font-size: 19px; }
.footer-head { font-weight: 800; color: var(--green); text-transform: uppercase; font-size: 13px; letter-spacing: .1em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links .link-button { font-size: 14px; text-decoration: none; }

/* Support */
.support-box { display: grid; grid-template-columns: 220px 1fr; gap: 48px; background: #fff; border: 1px solid #e7ecf0; border-radius: 24px; padding: 44px; box-shadow: var(--shadow); }
.support-logo img { width: 200px; border-radius: 20px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { counter-increment: s; position: relative; background: var(--bg-soft); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.step::before { content: counter(s); position: absolute; top: 18px; right: 20px; font-size: 34px; font-weight: 900; color: rgba(0, 42, 83, .10); }
.step-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green); color: #fff; margin-bottom: 6px; }
.step-title { font-weight: 800; color: var(--blue); }
.step-text { font-size: 15px; color: var(--muted); }
.btn-download { font-size: 17px; padding: 16px 30px; }

/* E-Mail-Anliegen */
.mail-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 26px 0; }
.mail-action { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid #e7ecf0; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s; }
.mail-action:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.ma-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(122, 185, 55, .15); color: var(--green-dark); transition: background .25s, color .25s; }
.mail-action:hover .ma-icon { background: var(--green); color: #fff; }
.ma-title { color: var(--blue); font-size: 18px; font-weight: 800; }
.ma-desc { font-size: 15px; color: var(--muted); margin-top: 2px; }
.ma-addr { font-size: 14px; color: var(--green-dark); font-weight: 700; margin-top: 10px; }

/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr)); gap: 20px; }
.member { display: flex; gap: 16px; align-items: center; padding: 22px 20px; border-radius: 20px; background: #fff; border: 1px solid #e7ecf0; transition: transform .25s, box-shadow .25s, border-color .25s; }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.member img { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--bg-soft), 0 0 0 6px var(--green); }
.member-text { min-width: 0; }
.member-text h3 { color: var(--blue); font-size: 18px; margin: 0 0 4px; }
.member-text p { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 0 0 8px; }
.member-text a { font-size: 14px; font-weight: 600; color: var(--green-dark); text-decoration: none; white-space: nowrap; }
.member-text a:hover { text-decoration: underline; }
.review { display: grid; justify-items: start; background: linear-gradient(120deg, var(--bg-soft), #eef5e6); border-radius: 24px; padding: 44px; }
.review p { margin: 0 0 10px; }

/* Kontakt */
.contact-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 40px; }
.contact-group { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
.contact-group p { margin: 0; line-height: 1.9; }
.contact-group a, .address-box a { color: var(--blue); font-weight: 700; }
.address-box { background: var(--blue); color: #d6e0ea; border-radius: 24px; padding: 34px; align-self: start; position: sticky; top: 110px; }
.address-box .sub-title { color: var(--green); font-size: 14px; text-transform: uppercase; letter-spacing: .12em; }
.address-box strong, .address-box a { color: #fff; }
.address-box address, .address-box p { margin: 0 0 24px; line-height: 1.8; }
.social { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 30px; background: var(--bg-soft); text-decoration: none; color: var(--blue); font-weight: 700; transition: background .2s, color .2s; }
.social a:hover { background: var(--blue); color: #fff; }
.social .ico { width: 14px; height: 14px; }
.map { border-radius: var(--radius); overflow: hidden; }
.map-wide { min-height: 440px; }

/* Rechtstexte */
.legal h2 { color: var(--blue); font-size: 21px; }

/* Datenschutz-Hinweis */
.consent-inner { border-radius: 20px; border-top: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }

/* Einblenden */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsiv */
@media (max-width: 1100px) {
  .nav-cta span { display: none; }
  .partner-logos { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .header-inner { flex-wrap: wrap; min-height: 76px; }
  .logo img { width: 180px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 18px; }
  .nav-open .main-nav { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 12px 4px; }
  .main-nav ul a::after { left: 4px; right: auto; width: 40px; }
  .nav-cta { justify-content: center; }
  .nav-cta span { display: inline; }
  .two-col, .support-box { grid-template-columns: 1fr; gap: 36px; }
  .page-index .col-side .map, .address-box { position: static; }
  .address-box { margin-bottom: 40px; }
  .steps, .benefit-list { grid-template-columns: 1fr; }
  .infobar-inner { grid-template-columns: 1fr; }
  .info-item { border-right: 0; border-bottom: 1px solid #edf0f3; padding: 18px 22px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 70px 0 110px; }
  .btn { padding: 13px 22px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-groups, .footer-cols { grid-template-columns: 1fr; }
  .partner-logos { grid-template-columns: repeat(2, 1fr); }
  .support-box, .review { padding: 26px; }
  .benefit-list { padding: 28px; }
  .block { margin-bottom: 56px; }
  .consent-actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 420px) {
  .member { flex-direction: column; text-align: center; }
}
