:root {
  --blue: #0b4e9b;
  --blue-dark: #07366c;
  --blue-soft: #eaf2fb;
  --orange: #dd862e;
  --orange-dark: #b86619;
  --ink: #14202b;
  --muted: #5b6670;
  --paper: #ffffff;
  --warm: #f7f4ef;
  --line: #dbe2e8;
  --shadow: 0 20px 60px rgba(8, 37, 65, .13);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { 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:focus { position: fixed; z-index: 100; left: 16px; top: 16px; padding: 10px 14px; background: white; border-radius: 8px; }

.site-header { position: sticky; z-index: 30; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(20,32,43,.08); backdrop-filter: blur(16px); }
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 245px; height: 62px; object-fit: contain; object-position: left center; }
.navigation { display: flex; align-items: center; gap: 18px; font-size: .92rem; font-weight: 600; }
.navigation a { text-decoration: none; transition: color .2s ease; }
.navigation a:hover { color: var(--orange); }
.navigation a[aria-current="page"] { color: var(--orange-dark); }
.navigation .nav-cta { color: white; background: var(--blue); border-radius: 999px; padding: 10px 19px; }
.navigation .nav-cta:hover { color: white; background: var(--blue-dark); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.hero { position: relative; min-height: 700px; overflow: hidden; background: #f4f7fa; }
.hero-image { position: absolute; inset: 0 42% 0 0; background: url("hero-beratung-persoenlich-v15.webp") 47% center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0 42% 0 0; background: linear-gradient(90deg, rgba(10,28,43,.06), transparent 36%); pointer-events: none; }
.hero-layout { width: 42%; max-width: none; min-height: 700px; margin: 0 0 0 58%; padding: 62px max(28px, calc((100vw - 1180px) / 2)) 62px clamp(30px, 4vw, 66px); display: flex; align-items: center; }
.hero-card { width: 100%; padding: 38px 0; }
.eyebrow { margin: 0 0 12px; color: var(--orange-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.14; letter-spacing: -.025em; }
h1 { margin-bottom: 20px; font-size: clamp(2.15rem, 3.7vw, 3.45rem); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.8vw, 3.3rem); }
h3 { margin-bottom: 12px; font-size: 1.35rem; }
p { margin-top: 0; }
.hero-card > p:not(.eyebrow) { max-width: 52ch; margin-bottom: 27px; color: #37444e; font-size: 1.08rem; }
.hero-services { display: flex; flex-wrap: wrap; gap: 8px; margin: -7px 0 27px; padding: 0; list-style: none; }
.hero-services li { position: relative; padding: 8px 11px 8px 31px; border: 1px solid #d8e5f1; border-radius: 999px; color: var(--blue-dark); background: #f6faff; font-size: .86rem; font-weight: 700; line-height: 1.2; }
.hero-services li::before { content: "✓"; position: absolute; left: 11px; color: var(--orange-dark); font-weight: 900; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid transparent; border-radius: 10px; padding: 11px 20px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--orange); box-shadow: 0 9px 24px rgba(221,134,46,.25); }
.button-primary:hover { background: var(--orange-dark); }
.button-quiet { color: var(--blue); border-color: var(--blue); background: white; }
.hero .button-row { align-items: stretch; }
.hero .button-row .button { flex: 1 1 0; min-width: 0; padding-inline: 15px; text-align: center; }
.button-hero-light { color: white; background: var(--orange); box-shadow: 0 9px 24px rgba(221,134,46,.25); }
.button-hero-light:hover { color: white; background: var(--orange-dark); }
.button-hero-blue { color: white; background: var(--blue); box-shadow: 0 9px 24px rgba(11,78,155,.22); }
.button-hero-blue:hover { background: var(--blue-dark); }
.hero-trust { margin-top: 26px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; line-height: 1.32; }
.hero-identity { display: flex; max-width: 100%; flex-direction: column; align-items: flex-start; }
.hero-credential { width: 216px; max-width: 100%; }
.hero-trust span { display: flex; flex-direction: column; }
.hero-trust small { margin-bottom: 3px; color: var(--orange-dark); font-size: .67rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hero-trust strong { color: var(--ink); font-size: 1rem; }
.hero-trust .hero-role { display: block; width: 100%; white-space: nowrap; }
.hero-trust .hero-portrait { width: 68px; height: 68px; border: 3px solid white; border-radius: 50%; object-fit: cover; object-position: 50% 17%; box-shadow: 0 5px 16px rgba(7,54,108,.2); }
.hero-trust .hero-eee { width: 100%; height: auto; margin-top: 14px; }

.quickbar { color: white; background: var(--blue-dark); }
.quickbar-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quickbar-grid > div { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 82px; padding: 16px 22px; border-right: 1px solid rgba(255,255,255,.16); }
.quickbar-grid > div:last-child { border: 0; }
.quickbar-grid > div > span:last-child { font-weight: 700; }
.quickbar-grid strong { font-weight: inherit; }
.quick-icon { color: #ffc078; font-size: 1.3rem; }

.section { padding: 110px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.compact { margin-bottom: 40px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 14px 45px rgba(7,54,108,.08); }
.service-visual { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #eef5fc, #d8e7f6); }
.building-visual { background: linear-gradient(145deg, #f8f1e8, #efddc7); }
.service-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-visual img { transform: scale(1.025); }
.service-visual svg { width: 150px; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.building-visual svg { stroke: var(--orange-dark); }
.service-body { padding: 34px; }
.card-label { display: inline-block; margin-bottom: 10px; color: var(--orange-dark); font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
.service-body p { color: var(--muted); }
.service-body ul { margin: 22px 0 26px; padding: 0; list-style: none; }
.service-body li { position: relative; margin: 8px 0; padding-left: 24px; }
.service-body li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.text-link { color: var(--blue); font-weight: 800; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.benefits { background: var(--warm); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit-grid article { padding: 32px; border-radius: 18px; background: white; box-shadow: 0 10px 32px rgba(20,32,43,.06); }
.benefit-grid p { margin: 0; color: var(--muted); }
.line-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid rgba(11,78,155,.12); border-radius: 19px; background: linear-gradient(145deg, #f8fbff 12%, #eef5fc 56%, #fff2e4); box-shadow: 0 10px 24px rgba(11,78,155,.1), inset 0 1px 0 rgba(255,255,255,.9); }
.line-icon svg { width: 36px; height: 36px; fill: none; stroke: url(#icon-advice); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit-grid article:nth-child(2) .line-icon svg { stroke: url(#icon-home); }
.benefit-grid article:nth-child(3) .line-icon svg { stroke: url(#icon-funding); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.process-grid li { min-height: 285px; padding: 28px; background: white; }
.process-grid .number { display: block; margin-bottom: 34px; color: var(--orange); font-size: 3.4rem; font-weight: 300; line-height: 1; }
.process-grid p { color: var(--muted); font-size: .95rem; }

.about { color: white; background: var(--blue-dark); }
.about-grid { display: grid; grid-template-columns: minmax(300px, .82fr) 1.18fr; align-items: center; gap: clamp(60px, 8vw, 120px); }
.portrait-wrap { position: relative; }
.portrait-wrap > img { position: relative; z-index: 1; width: 100%; max-height: 610px; object-fit: cover; object-position: center 15%; border-radius: var(--radius); box-shadow: 0 22px 70px rgba(0,0,0,.26); }
.portrait-accent { position: absolute; z-index: 0; inset: -18px 18% 18px -18px; border-radius: var(--radius); background: var(--orange); }
.portrait-caption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; padding: 15px 18px; border-radius: 12px; background: rgba(7,54,108,.9); backdrop-filter: blur(8px); }
.portrait-caption strong { color: white; }
.portrait-caption span { color: #d9e7f6; font-size: .88rem; }
.about .eyebrow { color: #ffc078; }
.about-copy p:not(.eyebrow) { max-width: 62ch; color: #d7e2ec; font-size: 1.05rem; }
.about .text-link { color: #ffc078; }

.contact { color: var(--ink); background: var(--warm); }
.contact-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(45px, 6vw, 78px); }
.eyebrow.light { color: #ffc078; }
.contact .eyebrow.light { color: var(--orange-dark); }
.contact-intro > p:not(.eyebrow) { color: var(--muted); }
.direct-contact { display: grid; gap: 12px; margin: 32px 0 28px; }
.direct-contact a { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid #d6d0c6; text-decoration: none; }
.direct-contact span { color: var(--muted); }
.direct-contact strong { color: var(--orange-dark); }
.direct-contact a:hover strong { color: var(--orange); }
.map { width: 106%; max-width: none; margin: -1.5% -3% 0; padding: 2px; border: 0; border-radius: 18px; background: transparent; box-shadow: 0 12px 30px rgba(7,54,108,.08); -webkit-mask-image: radial-gradient(ellipse 67% 62% at center, #000 62%, rgba(0,0,0,.94) 73%, transparent 100%); mask-image: radial-gradient(ellipse 67% 62% at center, #000 62%, rgba(0,0,0,.94) 73%, transparent 100%); }
.contact-form { align-self: start; padding: 34px; border-radius: var(--radius); color: var(--ink); background: white; box-shadow: var(--shadow); }
.form-heading { display: flex; flex-direction: column; margin-bottom: 24px; }
.form-heading span { color: var(--orange-dark); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.form-heading strong { font-size: 1.35rem; }
.contact-form label { display: block; margin-bottom: 16px; font-size: .88rem; font-weight: 750; }
.contact-form small { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 6px; border: 1px solid #b9c4cd; border-radius: 9px; padding: 12px 13px; color: var(--ink); background: white; font: inherit; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(11,78,155,.15); border-color: var(--blue); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; line-height: 1.4; }
.checkbox input { width: 18px; height: 18px; flex: 0 0 auto; margin: 3px 0 0; }
.checkbox a { color: var(--blue); font-weight: 700; text-underline-offset: 2px; }
.checkbox a:hover { color: var(--orange-dark); }
.form-submit { width: 100%; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }

.site-footer { padding: 65px 0 24px; color: #c6d0d9; background: #0a1219; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; }
.footer-brand img { width: 270px; height: 80px; padding: 8px; border-radius: 8px; background: white; object-fit: contain; }
.footer-brand p { margin-top: 18px; color: #8fa0ae; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid strong { margin-bottom: 7px; color: white; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #ffc078; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8293a1; font-size: .82rem; }

/* Unterseiten */
.subpage-hero { position: relative; overflow: hidden; padding: 96px 0 88px; color: white; background: linear-gradient(125deg, var(--blue-dark), var(--blue) 68%, #1766b8); }
.subpage-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -130px; top: -210px; border: 70px solid rgba(255,255,255,.06); border-radius: 50%; }
.subpage-hero .shell { position: relative; z-index: 1; }
.subpage-hero .eyebrow { color: #ffc078; }
.subpage-hero h1 { max-width: 860px; margin-bottom: 22px; }
.subpage-hero p:not(.eyebrow) { max-width: 720px; color: #dce8f4; font-size: 1.15rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; color: #b9d1e8; font-size: .86rem; }
.breadcrumb a { color: white; text-decoration: none; }
.content-section { padding: 90px 0; }
.content-section.alt { background: var(--warm); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(42px, 7vw, 90px); }
.intro-grid img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.lead { color: var(--muted); font-size: 1.12rem; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer-card { display: flex; flex-direction: column; min-height: 275px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 34px rgba(7,54,108,.06); }
.offer-card .card-number { margin-bottom: 28px; color: var(--orange); font-size: .8rem; font-weight: 850; letter-spacing: .12em; }
.offer-card p { color: var(--muted); }
.offer-card .text-link { margin-top: auto; }
.check-list { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.page-cta { padding: 60px 0; color: white; background: var(--blue-dark); }
.page-cta .shell { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.page-cta h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.page-cta p { margin: 0; color: #cbdced; }
.page-cta .button { flex: 0 0 auto; }
.two-column-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card { padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.info-card p:last-child { margin-bottom: 0; }
.service-choice-section { padding-top: 74px; }
.service-choice-grid { align-items: stretch; }
.service-choice-card { display: flex; min-height: 355px; flex-direction: column; }
.service-choice-card > div { display: flex; flex: 1; flex-direction: column; }
.service-choice-card h2 { min-height: 2.28em; margin-bottom: 18px; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.service-choice-card p:not(.eyebrow) { color: var(--muted); }
.service-choice-card .button { align-self: flex-start; min-width: 230px; margin-top: 24px; }
.steps-list { counter-reset: steps; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps-list li { counter-increment: steps; padding: 26px; border-top: 4px solid var(--orange); border-radius: 0 0 15px 15px; background: white; box-shadow: 0 10px 30px rgba(7,54,108,.06); }
.steps-list li::before { content: "0" counter(steps); display: block; margin-bottom: 18px; color: var(--blue); font-size: 2rem; font-weight: 800; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; gap: 70px; }
.legal-copy { max-width: 820px; }
.legal-copy h2 { margin: 42px 0 14px; font-size: 1.55rem; }
.legal-copy h3 { margin: 28px 0 10px; font-size: 1.15rem; }
.legal-copy p, .legal-copy li { color: #394650; }
.legal-copy a { color: var(--blue); }
.legal-copy ul { padding-left: 22px; }
.legal-note { padding: 20px 22px; border-left: 4px solid var(--orange); border-radius: 8px; background: #fff8f0; }
.legal-nav { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 9px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.legal-nav strong { margin-bottom: 5px; }
.legal-nav a { color: var(--blue); text-decoration: none; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px,6vw,78px); }
.contact-page-grid .contact-form { border: 1px solid var(--line); }
.contact-details { display: grid; gap: 14px; margin: 30px 0; }
.contact-details a, .contact-details div { display: flex; flex-direction: column; padding: 17px 19px; border-radius: 12px; background: var(--blue-soft); text-decoration: none; }
.contact-details span { color: var(--muted); font-size: .8rem; }
.contact-details a strong { color: var(--orange-dark); }
.contact-details a:hover strong { color: var(--orange); }
.contact-details div strong { color: var(--blue-dark); }
.qualification-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.qualification-grid div { padding: 23px; border-radius: 15px; background: var(--blue-soft); }
.qualification-grid strong { display: block; color: var(--blue-dark); }

.knowledge-hero h1 { max-width: 900px; }
.knowledge-intro { padding-bottom: 72px; }
.knowledge-index { position: sticky; z-index: 20; top: 82px; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 40px; padding-top: 12px; padding-bottom: 12px; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 10px 28px rgba(7,54,108,.08); backdrop-filter: blur(12px); }
.knowledge-index a { padding: 9px 13px; border: 1px solid #d4e2ef; border-radius: 999px; color: var(--blue-dark); background: var(--blue-soft); font-size: .82rem; font-weight: 750; text-decoration: none; white-space: nowrap; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.knowledge-index a:hover { border-color: var(--orange); color: var(--orange-dark); transform: translateY(-1px); }
.knowledge-topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.knowledge-topic { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 15px; min-height: 126px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; color: inherit; background: white; text-decoration: none; box-shadow: 0 10px 28px rgba(7,54,108,.055); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.knowledge-topic:hover { transform: translateY(-3px); border-color: rgba(221,134,46,.55); box-shadow: 0 16px 34px rgba(7,54,108,.1); }
.knowledge-topic .topic-icon { grid-row: 1 / 3; display: grid; place-items: center; align-self: start; width: 48px; height: 48px; border-radius: 14px; color: white; background: linear-gradient(145deg, var(--blue), #1374c4 58%, var(--orange)); font-size: 1.45rem; font-weight: 850; }
.knowledge-topic .topic-icon.compact { font-size: .88rem; }
.knowledge-topic strong { align-self: end; color: var(--blue-dark); font-size: 1rem; }
.knowledge-topic > span:last-child { margin-top: 4px; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.knowledge-section { scroll-margin-top: 82px; }
.knowledge-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(35px,6vw,84px); align-items: end; margin-bottom: 38px; }
.knowledge-heading h2 { max-width: 720px; margin: 7px 0 0; }
.knowledge-heading .lead { margin: 0; }
.section-kicker, .foundation-label, .example-label { color: var(--orange-dark); font-size: .74rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.roof-decision { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.decision-card { display: flex; flex-direction: column; min-height: 520px; padding: clamp(25px,3vw,38px); border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 15px 42px rgba(7,54,108,.07); }
.decision-card.featured { border-color: rgba(221,134,46,.55); }
.decision-label { display: inline-block; padding: 7px 11px; border-radius: 999px; color: var(--blue-dark); background: var(--blue-soft); font-size: .78rem; font-weight: 800; }
.decision-card.featured .decision-label { color: #7a3d0c; background: #fff1e2; }
.decision-card h3 { margin: 18px 0 9px; color: var(--blue-dark); font-size: 1.35rem; }
.decision-card p { margin: 0; color: var(--muted); }
.decision-or { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: white; background: var(--blue-dark); font-size: .72rem; font-weight: 800; }
.decision-visual { display: block; width: 100%; height: 290px; margin: 18px auto 4px; object-fit: contain; object-position: center; }
.situation-panel { display: grid; grid-template-columns: .72fr 1.8fr; gap: 34px; margin-top: 24px; padding: clamp(26px,3vw,38px); border-radius: 20px; color: white; background: var(--blue-dark); }
.situation-title span { color: #f4ae69; font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.situation-title h3 { margin: 8px 0 0; color: white; font-size: 1.45rem; }
.situation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.18); }
.situation-grid > div { padding: 6px 19px; background: var(--blue-dark); }
.situation-grid strong { display: block; color: white; }
.situation-grid p { margin: 7px 0 0; color: rgba(255,255,255,.74); font-size: .88rem; }
.kumpel-tip { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 24px; padding: 20px 24px; border: 1px solid #f0d1ae; border-radius: 15px; background: #fff8ef; }
.tip-badge { padding: 8px 11px; border-radius: 9px; color: white; background: var(--orange); font-size: .76rem; font-weight: 850; white-space: nowrap; }
.kumpel-tip p { margin: 0; color: #4c4035; }
.inline-cta { display: flex; justify-content: space-between; gap: 25px; align-items: center; margin-top: 24px; padding: 24px 28px; border-radius: 16px; background: var(--blue-soft); }
.inline-cta div { display: flex; flex-direction: column; }
.inline-cta strong { color: var(--blue-dark); }
.inline-cta span { color: var(--muted); }
.inline-cta a { color: var(--orange-dark); font-weight: 850; text-decoration: none; white-space: nowrap; }
.component-system { display: grid; grid-template-columns: 1fr 42px 1fr 42px 1fr; gap: 10px; align-items: center; padding: clamp(24px,4vw,44px); border-radius: 22px; background: var(--blue-dark); }
.component-node { display: flex; flex-direction: column; min-height: 142px; padding: 22px; border: 1px solid rgba(255,255,255,.19); border-radius: 15px; background: rgba(255,255,255,.08); }
.component-node span { color: #f5ae68; font-size: .7rem; font-weight: 850; letter-spacing: .1em; }
.component-node strong { margin-top: auto; color: white; font-size: 1.2rem; }
.component-node small { margin-top: 5px; color: rgba(255,255,255,.67); }
.component-arrow { color: var(--orange); font-size: 1.8rem; text-align: center; }
.component-result { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 25px; margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); }
.component-result strong { color: white; }
.component-result span { color: rgba(255,255,255,.67); }
.foundation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.foundation-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.foundation-grid h3 { margin: 8px 0 10px; color: var(--blue-dark); }
.foundation-grid p { color: var(--muted); }
.merksatz { display: block; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--blue-dark); }
.split-explainer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px,7vw,90px); align-items: center; }
.compare-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.compare-cards article { min-height: 230px; padding: 27px; border-radius: 19px; background: white; box-shadow: 0 14px 38px rgba(7,54,108,.07); }
.compare-cards h3 { margin: 18px 0 8px; color: var(--blue-dark); }
.compare-cards p { color: var(--muted); }
.compare-symbol { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: white; font-size: 1.6rem; font-weight: 850; }
.compare-symbol.uncontrolled { background: var(--orange); }
.compare-symbol.controlled { background: var(--blue); }
.energy-chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; }
.energy-chain div { display: flex; flex-direction: column; min-height: 126px; justify-content: center; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 12px 32px rgba(7,54,108,.06); }
.energy-chain span { color: var(--orange-dark); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.energy-chain strong { margin-top: 8px; color: var(--blue-dark); font-size: 1.08rem; }
.energy-chain i { color: var(--orange); font-size: 1.8rem; font-style: normal; }
.knowledge-note { margin-top: 24px; padding: 24px 28px; border-left: 5px solid var(--blue); border-radius: 0 15px 15px 0; background: var(--blue-soft); }
.knowledge-note > strong { color: var(--blue-dark); }
.knowledge-note p { margin: 7px 0 0; color: var(--muted); }
.renovation-path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.renovation-path li { position: relative; min-height: 182px; padding: 23px 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.renovation-path li::after { content: ""; position: absolute; z-index: 1; right: -15px; top: 49px; width: 15px; height: 2px; background: var(--orange); }
.renovation-path li:last-child::after { display: none; }
.renovation-path li > span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 25px; border-radius: 50%; color: white; background: linear-gradient(145deg, var(--blue), #1374c4); font-weight: 850; }
.renovation-path div { display: flex; flex-direction: column; gap: 6px; }
.renovation-path strong { color: var(--blue-dark); }
.renovation-path small { color: var(--muted); line-height: 1.45; }
.example-house { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px,5vw,68px); margin-top: 30px; padding: clamp(30px,4vw,50px); border-radius: 22px; color: white; background: var(--blue-dark); box-shadow: 0 18px 46px rgba(7,54,108,.14); }
.example-house-intro h3 { margin: 10px 0 12px; color: white; font-size: clamp(1.55rem,2.4vw,2.1rem); }
.example-house-intro p { color: rgba(255,255,255,.74); }
.example-house ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.example-house li { display: grid; grid-template-columns: 44px 1fr; gap: 15px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.example-house li > span { color: #f5ae68; font-size: .76rem; font-weight: 850; }
.example-house li p { margin: 0; color: rgba(255,255,255,.75); }
.example-house li strong { color: white; }
.example-disclaimer { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.6); font-size: .82rem; }
.funding-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(45px,7vw,90px); align-items: center; }
.funding-checklist { padding: 32px; border: 1px solid #f0d1ae; border-radius: 20px; background: #fff8ef; }
.funding-checklist > strong { color: var(--blue-dark); font-size: 1.15rem; }
.funding-checklist ul { display: grid; gap: 12px; margin: 22px 0 26px; padding: 0; list-style: none; }
.funding-checklist li { position: relative; padding-left: 28px; color: #4b5560; }
.funding-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.funding-checklist a { color: var(--orange-dark); font-weight: 850; text-decoration: none; }
.cta-kicker { margin-bottom: 5px !important; color: #f7bc80 !important; font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 1040px) {
  .menu-button { display: block; }
  .navigation { position: absolute; left: 20px; right: 20px; top: 74px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow); }
  .navigation.open { display: flex; }
  .navigation a { padding: 12px 14px; }
  .navigation .nav-cta { margin-top: 6px; text-align: center; }
  .hero { min-height: 0; }
  .hero-image { position: relative; inset: auto; height: 460px; background-position: 47% center; }
  .hero::after { display: none; }
  .hero-layout { width: 100%; min-height: 0; margin: 0; padding: 42px var(--shell-gutter, 28px); }
  .hero-card { width: min(650px, 100%); margin: 0 auto; padding: 0; }
  .service-grid, .about-grid, .contact-grid, .intro-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-list { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .qualification-grid { grid-template-columns: 1fr; }
  .knowledge-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .knowledge-heading, .split-explainer, .funding-grid { grid-template-columns: 1fr; gap: 24px; }
  .situation-panel { grid-template-columns: 1fr; }
  .renovation-path { grid-template-columns: repeat(3, 1fr); }
  .renovation-path li:nth-child(3)::after { display: none; }
  .example-house { grid-template-columns: 1fr; }
  .example-disclaimer { grid-column: auto; }
  .portrait-wrap { max-width: 520px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .header-inner { height: 70px; }
  .brand img { width: 205px; height: 55px; }
  .hero-image { height: 300px; background-position: 46% center; }
  .hero-layout { padding: 34px 20px 38px; }
  .hero-card { width: 100%; padding: 0; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 2rem; }
  .button-row { flex-direction: column; }
  .hero-credential { width: 216px; }
  .quickbar-grid { grid-template-columns: 1fr; padding: 10px 0; }
  .quickbar-grid > div { min-height: 58px; justify-content: flex-start; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .section { padding: 78px 0; }
  .service-body, .benefit-grid article, .contact-form { padding: 25px; }
  .service-visual { aspect-ratio: 16 / 9; }
  .process-grid { grid-template-columns: 1fr; }
  .offer-grid, .steps-list, .two-column-cards { grid-template-columns: 1fr; }
  .service-choice-card { min-height: 0; }
  .service-choice-card h2 { min-height: 0; }
  .service-choice-card .button { width: 100%; min-width: 0; }
  .page-cta .shell { align-items: flex-start; flex-direction: column; }
  .process-grid li { min-height: auto; }
  .process-grid .number { margin-bottom: 20px; }
  .about-grid { gap: 55px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .direct-contact a { flex-direction: column; gap: 2px; }
  .knowledge-hero h1 { font-size: 2.15rem; }
  .knowledge-intro { padding-bottom: 62px; }
  .knowledge-index { top: 70px; flex-wrap: nowrap; width: 100%; max-width: none; margin-top: 30px; padding: 10px 14px; overflow-x: auto; border-radius: 0; box-shadow: 0 8px 20px rgba(7,54,108,.09); scrollbar-width: none; }
  .knowledge-index::-webkit-scrollbar { display: none; }
  .knowledge-topic-grid { grid-template-columns: 1fr; margin-top: 25px; }
  .knowledge-topic { min-height: 105px; }
  .knowledge-heading { margin-bottom: 28px; }
  .roof-decision { grid-template-columns: 1fr; }
  .decision-card { min-height: 0; }
  .decision-or { width: 44px; height: 44px; margin: -7px auto; }
  .situation-grid { grid-template-columns: 1fr; gap: 0; background: transparent; }
  .situation-grid > div { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.16); }
  .kumpel-tip { grid-template-columns: 1fr; gap: 12px; }
  .tip-badge { justify-self: start; }
  .inline-cta { align-items: flex-start; flex-direction: column; padding: 22px; }
  .inline-cta a { white-space: normal; }
  .component-system { grid-template-columns: 1fr; }
  .component-arrow { transform: rotate(90deg); }
  .component-result { grid-column: auto; flex-direction: column; gap: 8px; }
  .foundation-grid, .compare-cards { grid-template-columns: 1fr; }
  .compare-cards article { min-height: 0; }
  .energy-chain { grid-template-columns: 1fr; }
  .energy-chain i { transform: rotate(90deg); text-align: center; }
  .renovation-path { grid-template-columns: 1fr; }
  .renovation-path li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; min-height: 0; }
  .renovation-path li::after { right: auto; left: 37px; top: auto; bottom: -15px; width: 2px; height: 15px; }
  .renovation-path li:nth-child(3)::after { display: block; }
  .renovation-path li:last-child::after { display: none; }
  .renovation-path li > span { margin: 0; }
  .example-house { padding: 28px 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.form-note.form-success {
  color: #176b43;
  font-weight: 700;
}

.form-note.form-error {
  color: #a62b1f;
  font-weight: 700;
}

/* Ruhige, visuelle Wissensseite */
.knowledge-hero { padding: 76px 0 68px; }
.knowledge-hero h1 { max-width: 780px; margin-bottom: 14px; }
.knowledge-hero p:not(.eyebrow) { max-width: 590px; }
.knowledge-overview { padding: 54px 0 70px; border-bottom: 1px solid var(--line); background: white; }
.knowledge-topic-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 0; }
.knowledge-topic { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; column-gap: 17px; min-height: 142px; padding: 23px; border: 1px solid #dce5ed; border-radius: 18px; background: white; box-shadow: 0 10px 28px rgba(7,54,108,.05); }
.knowledge-topic:hover { border-color: #b7cadc; box-shadow: 0 15px 34px rgba(7,54,108,.09); }
.knowledge-topic .topic-icon { grid-row: 1 / 3; display: grid; place-items: center; align-self: start; width: 60px; height: 60px; border: 1px solid #cfdeeb; border-radius: 16px; color: var(--blue); background: #f1f6fb; }
.knowledge-topic .topic-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.knowledge-topic .topic-icon .accent { stroke: var(--orange); stroke-width: 2.2; }
.knowledge-topic strong { align-self: end; color: var(--blue-dark); font-size: 1.05rem; }
.knowledge-topic > span:last-child { margin-top: 5px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.knowledge-section { scroll-margin-top: 82px; padding: 96px 0; background: white; }
.knowledge-section.subtle { background: #f6f9fc; }
.knowledge-heading { align-items: start; margin-bottom: 38px; }
.knowledge-heading h2 { max-width: 760px; }
.knowledge-heading .lead { max-width: 42ch; color: #46535e; }
.section-kicker { color: var(--blue); }
.roof-decision { gap: 22px; }
.decision-card { min-height: 510px; border-color: #dce5ed; box-shadow: 0 12px 34px rgba(7,54,108,.055); }
.decision-card.featured { border-color: #dce5ed; }
.decision-label, .decision-card.featured .decision-label { align-self: flex-start; color: var(--blue-dark); background: var(--blue-soft); }
.decision-or { width: 52px; height: 52px; border: 1px solid #ccdae6; color: var(--blue-dark); background: white; box-shadow: 0 6px 18px rgba(7,54,108,.08); }
.situation-panel { grid-template-columns: .72fr 1.8fr; border: 1px solid #d8e4ee; color: var(--ink); background: white; box-shadow: 0 10px 28px rgba(7,54,108,.045); }
.situation-title span { color: var(--blue); }
.situation-title h3 { color: var(--blue-dark); }
.situation-grid { gap: 0; background: transparent; }
.situation-grid > div { padding: 6px 19px; border-left: 1px solid #d8e4ee; background: white; }
.situation-grid strong { color: var(--blue-dark); }
.situation-grid p { color: var(--muted); }
.kumpel-tip { border: 1px solid #e3e8ed; border-left: 4px solid var(--orange); border-radius: 12px; background: white; }
.tip-badge { padding: 0; color: var(--orange-dark); background: transparent; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.kumpel-tip p { color: #394650; }
.knowledge-comparison { overflow: hidden; border: 1px solid #dce5ed; border-radius: 22px; background: white; box-shadow: 0 14px 38px rgba(7,54,108,.06); }
.comparison-visual { width: 100%; height: auto; max-height: 600px; object-fit: contain; object-position: center; background: white; }
.comparison-visual-wide { max-height: 520px; }
.comparison-copy { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #dce5ed; }
.comparison-copy article { padding: 28px 30px 30px; }
.comparison-copy article + article { border-left: 1px solid #dce5ed; }
.comparison-copy h3 { margin: 15px 0 8px; color: var(--blue-dark); }
.comparison-copy p { max-width: 54ch; margin: 0; color: var(--muted); }
.knowledge-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.knowledge-facts p { margin: 0; padding: 18px 21px; border: 1px solid #dce5ed; border-radius: 12px; color: var(--muted); background: white; }
.knowledge-facts strong { color: var(--blue-dark); }
.plan-comparison { display: grid; grid-template-columns: 1fr 52px 1fr; gap: 18px; align-items: stretch; }
.plan-column { display: flex; flex-direction: column; padding: 30px; border: 1px solid #dce5ed; border-radius: 20px; background: white; box-shadow: 0 12px 34px rgba(7,54,108,.055); }
.plan-column-heading h3 { margin: 14px 0 24px; color: var(--blue-dark); }
.plan-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.plan-steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; min-height: 76px; padding: 12px 14px; border: 1px solid #dce5ed; border-radius: 13px; background: #f8fafc; }
.plan-steps li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; background: #7890a6; font-weight: 850; }
.plan-steps strong, .plan-steps small { display: block; }
.plan-steps strong { color: var(--blue-dark); }
.plan-steps small { margin-top: 3px; color: var(--muted); line-height: 1.35; }
.plan-steps-isolated li:nth-child(2) { margin-right: 0; margin-left: 0; }
.plan-steps-connected { position: relative; }
.plan-steps-connected::before { content: ""; position: absolute; z-index: 0; top: 38px; bottom: 38px; left: 33px; width: 2px; background: #a9cce6; }
.plan-steps-connected li { border-color: #c9ddeb; background: #f3f8fc; }
.plan-steps-connected li > span { background: var(--blue); }
.plan-outcome { margin: auto 0 0; padding-top: 22px; color: #46535e; }
.plan-column-isolated .plan-outcome strong { color: #9a4b16; }
.plan-column-coordinated .plan-outcome strong { color: var(--blue); }
.plan-comparison > .decision-or { align-self: center; }
.funding-process { padding: clamp(28px,4vw,46px); border: 1px solid #dce5ed; border-radius: 22px; background: white; box-shadow: 0 14px 38px rgba(7,54,108,.06); }
.funding-process > h3 { margin: 0 0 28px; color: var(--blue-dark); font-size: clamp(1.35rem,2vw,1.7rem); }
.funding-process > ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.funding-process > ol li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.funding-process > ol li:not(:last-child)::after { content: ""; position: absolute; top: 20px; right: -14px; width: 10px; height: 2px; background: var(--orange); }
.funding-process > ol li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; background: var(--blue); font-weight: 850; }
.funding-process strong, .funding-process small { display: block; }
.funding-process > ol strong { color: var(--blue-dark); line-height: 1.3; }
.funding-process > ol small { margin-top: 6px; color: var(--muted); line-height: 1.4; }
.funding-contract-note { margin-top: 32px; padding: 24px 26px; border-left: 4px solid var(--orange); border-radius: 10px; background: #fff7ee; }
.funding-contract-note > strong { color: var(--blue-dark); font-size: 1.08rem; }
.funding-contract-note p { margin: 8px 0 0; color: #4d4f51; }

@media (max-width: 1040px) {
  .knowledge-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .knowledge-heading { grid-template-columns: 1fr; gap: 18px; }
  .knowledge-heading .lead { max-width: 65ch; }
  .situation-panel { grid-template-columns: 1fr; }
  .funding-process > ol { grid-template-columns: repeat(2, 1fr); gap: 24px 30px; }
  .funding-process > ol li::after { display: none; }
}

@media (max-width: 640px) {
  .knowledge-hero { padding: 62px 0 55px; }
  .knowledge-overview { padding: 34px 0 48px; }
  .knowledge-topic-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 0; }
  .knowledge-topic { grid-template-columns: 54px 1fr; min-height: 112px; padding: 18px; }
  .knowledge-topic .topic-icon { width: 54px; height: 54px; border-radius: 14px; }
  .knowledge-topic .topic-icon svg { width: 31px; height: 31px; }
  .knowledge-section { padding: 72px 0; }
  .decision-card { min-height: 0; padding: 23px; }
  .decision-visual { height: 240px; }
  .situation-panel { padding: 24px 22px; }
  .situation-grid > div { padding: 14px 0; border-top: 1px solid #d8e4ee; border-left: 0; }
  .comparison-copy { grid-template-columns: 1fr; }
  .comparison-copy article { padding: 23px; }
  .comparison-copy article + article { border-top: 1px solid #dce5ed; border-left: 0; }
  .knowledge-facts { grid-template-columns: 1fr; gap: 10px; }
  .kumpel-tip { padding: 19px 20px; }
  .plan-comparison { grid-template-columns: 1fr; }
  .plan-comparison > .decision-or { margin: -7px auto; }
  .plan-column { padding: 24px 20px; }
  .plan-steps-isolated li:nth-child(2) { margin-right: 0; margin-left: 0; }
  .funding-process { padding: 24px 20px; }
  .funding-process > ol { grid-template-columns: 1fr; gap: 16px; }
  .funding-contract-note { padding: 20px; }
}
