:root {
  --ink: #16201e;
  --muted: #5e6d68;
  --paper: #ffffff;
  --wash: #f5f7f4;
  --line: #dbe3df;
  --green: #0d735e;
  --green-dark: #103d35;
  --blue: #233f5c;
  --amber: #c48a2c;
  --amber-soft: #f5e4c7;
  --mist: #e8f0ed;
  --error: #a13c2d;
  --shadow: 0 20px 70px rgba(16, 61, 53, .16);
  font-family: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--green-dark);
  font-size: 1.05rem;
}

.brand small {
  color: var(--muted);
  font-size: .78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 750;
}

.site-nav a {
  color: var(--green-dark);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--green);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #fff !important;
  background: var(--green);
  border-radius: 8px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 34, 30, .96) 0%, rgba(10, 34, 30, .88) 42%, rgba(10, 34, 30, .34) 100%),
    url("images/dachaufbau-aufsparrendaemmung.jpg") center right / cover no-repeat;
}

.hero-content {
  padding: 92px 0 104px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: 3.75rem;
  line-height: 1.07;
}

.hero-text {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 1.28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.primary:hover {
  background: #0b604f;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .1);
}

.button.full {
  width: 100%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 10px;
  max-width: 560px;
  margin: 38px 0 0;
}

.trust-strip div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
}

.trust-strip dt {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 950;
}

.trust-strip dd {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .82);
}

.need-strip {
  margin-top: -54px;
  position: relative;
  z-index: 3;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.need-grid a {
  min-height: 142px;
  padding: 22px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.need-grid span,
.card-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.need-grid strong,
.need-grid small {
  display: block;
}

.need-grid strong {
  font-size: 1.12rem;
}

.need-grid small {
  margin-top: 8px;
  color: var(--muted);
  font-size: .92rem;
}

.section {
  padding: 88px 0;
}

.intro-section {
  padding-top: 112px;
}

.intro-layout,
.feature-layout,
.funding-layout,
.evidence-layout,
.faq-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(270px, 440px) 1fr;
  gap: 58px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 2.38rem;
  line-height: 1.15;
}

.intro-copy p,
.section-head p,
.feature-copy p,
.expert-layout > .section-head p,
.funding-layout p,
.evidence-copy p,
.faq-layout > div:first-child p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-copy p:first-child {
  margin-top: 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.services-section {
  background: var(--wash);
}

.service-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  color: var(--green-dark);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}

.service-tab.active {
  color: #fff;
  background: var(--green);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 348px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card[hidden] {
  display: none;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.feature-section {
  padding: 88px 0;
  background: #fff;
}

.feature-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.signal-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.signal-list div {
  padding: 16px;
  background: var(--wash);
  border-left: 4px solid var(--amber);
  border-radius: 0 8px 8px 0;
}

.signal-list strong,
.signal-list span {
  display: block;
}

.signal-list span {
  color: var(--muted);
}

.expert-section {
  color: #fff;
  background: var(--green-dark);
}

.expert-section .section-head p {
  color: rgba(255, 255, 255, .82);
}

.expert-layout {
  display: block;
}

.expert-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.expert-panels article {
  min-height: 260px;
  padding: 24px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
}

.expert-panels h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.expert-panels p {
  color: rgba(255, 255, 255, .82);
}

.expert-panels a {
  display: inline-flex;
  margin-top: 8px;
  color: #fff;
  font-weight: 850;
}

.process-section {
  background: var(--wash);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  min-height: 250px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 950;
}

.timeline h3 {
  margin: 18px 0 10px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.funding-section {
  padding: 70px 0;
  color: #fff;
  background: var(--blue);
}

.funding-layout {
  align-items: center;
}

.funding-layout p {
  color: rgba(255, 255, 255, .82);
}

.funding-card {
  padding: 24px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
}

.funding-card strong {
  display: block;
  margin-bottom: 12px;
}

.funding-card ul {
  margin: 0;
  padding-left: 18px;
}

.evidence-layout {
  align-items: center;
}

.evidence-board {
  padding: 26px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.expert-logo {
  width: 100%;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.cert-grid figure {
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cert-grid img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.cert-grid figcaption {
  margin-top: 10px;
  color: var(--green-dark);
  font-weight: 850;
  text-align: center;
}

.faq-section {
  background: var(--wash);
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.accordion button span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  flex: 0 0 auto;
}

.accordion div {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  margin-top: -10px;
}

.accordion div.open {
  display: block;
}

.contact-section {
  padding: 88px 0;
  color: #fff;
  background: var(--green-dark);
}

.contact-copy p {
  color: rgba(255, 255, 255, .82);
}

address {
  margin-top: 26px;
  color: rgba(255, 255, 255, .92);
  font-style: normal;
}

address a {
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c8d5d0;
  border-radius: 6px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.check-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 650;
}

.check-line input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 850;
}

.form-note.error {
  color: var(--error);
}

.privacy-hint {
  margin: 0;
  padding: 12px 14px;
  color: #38564c;
  background: #edf6f1;
  border: 1px solid #c9ded5;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: 24px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-layout p {
  margin: 0;
  color: var(--muted);
}

.footer-layout nav {
  display: flex;
  gap: 18px;
}

.footer-layout a {
  color: var(--green-dark);
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 940px) {
  .site-header {
    padding: 12px 16px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 6px;
  }

  .hero {
    min-height: 650px;
    background:
      linear-gradient(180deg, rgba(10, 34, 30, .96), rgba(10, 34, 30, .82), rgba(10, 34, 30, .58)),
      url("images/dachaufbau-aufsparrendaemmung.jpg") center / cover no-repeat;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .need-grid,
  .service-grid,
  .expert-panels,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-layout,
  .feature-layout,
  .funding-layout,
  .evidence-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 54px 0 42px;
  }

  .hero h1 {
    font-size: 2.08rem;
    line-height: 1.12;
  }

  .hero-text {
    font-size: 1.02rem;
  }

  .hero-actions,
  .service-tabs {
    width: 100%;
  }

  .button,
  .service-tab {
    width: 100%;
  }

  .need-grid,
  .service-grid,
  .expert-panels,
  .timeline,
  .cert-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .trust-strip div {
    padding: 12px 10px;
  }

  .trust-strip dt {
    font-size: 1.1rem;
  }

  .trust-strip dd {
    font-size: .78rem;
    overflow-wrap: break-word;
  }

  .need-strip {
    margin-top: 0;
  }

  .need-grid a {
    min-height: auto;
  }

  .section,
  .feature-section,
  .contact-section {
    padding: 62px 0;
  }

  .intro-section {
    padding-top: 62px;
  }

  h2 {
    font-size: 1.82rem;
  }

  .service-tabs {
    display: grid;
  }

  .feature-image img {
    height: 280px;
  }

  .service-card,
  .timeline li,
  .expert-panels article {
    min-height: auto;
  }

  .footer-layout {
    flex-direction: column;
    align-items: flex-start;
  }
}
