:root {
  --bg: #f7f5ee;
  --surface: #fffdf8;
  --surface-2: #eee9dc;
  --ink: #1e2b27;
  --muted: #66716d;
  --green: #18352d;
  --green-2: #2f5b4e;
  --yellow: #ffd224;
  --yellow-soft: #fff0a3;
  --line: rgba(30, 43, 39, .13);
  --shadow: 0 20px 60px rgba(26, 39, 34, .10);
  --radius: 26px;
  --radius-sm: 16px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { 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 { position: fixed; z-index: 9999; left: 16px; top: -100px; background: #fff; padding: 10px 14px; border-radius: 10px; transition: .2s; }
.skip-link:focus { top: 16px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; padding: 18px 0; color: #fff; transition: background .25s, padding .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(24,53,45,.96); padding: 10px 0; box-shadow: 0 8px 30px rgba(0,0,0,.12); backdrop-filter: blur(12px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-logo { width: 38px; height: 38px; object-fit: contain; flex: 0 0 auto; }
.brand-text { display: grid; line-height: 1.05; text-transform: uppercase; letter-spacing: .04em; }
.brand-text strong { font-size: .92rem; }
.brand-text small { font-size: .77rem; letter-spacing: .11em; opacity: .86; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 650; font-size: .92rem; opacity: .9; }
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }
.nav-cta { border: 1px solid rgba(255,255,255,.45); padding: 9px 16px; border-radius: 999px; }
.nav-toggle { display: none; width: 46px; height: 42px; border: 0; background: transparent; padding: 9px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: currentColor; border-radius: 3px; }
.hero { position: relative; min-height: 780px; color: white; display: grid; align-items: end; overflow: hidden; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { background: url('https://wohnprojekt-hospitalstrasse.de/assets/img/services-2.jpg') center 45% / cover no-repeat; transform: scale(1.02); }
.hero-overlay { background: linear-gradient(90deg, rgba(12,36,29,.90) 0%, rgba(12,36,29,.70) 44%, rgba(12,36,29,.18) 78%), linear-gradient(0deg, rgba(12,36,29,.44), transparent 55%); }
.hero-content { position: relative; z-index: 1; padding-top: 170px; padding-bottom: 150px; }
.hero-copy { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 800; color: var(--green-2); }
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--yellow); border-radius: 2px; }
.eyebrow.light { color: rgba(255,255,255,.86); }
.hero h1 { font-size: clamp(3.2rem, 7.1vw, 6.6rem); line-height: .95; letter-spacing: -.055em; margin: 24px 0 26px; max-width: 900px; }
.hero p { max-width: 690px; font-size: clamp(1.15rem, 2vw, 1.38rem); color: rgba(255,255,255,.88); margin: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 0; border-radius: 999px; padding: 12px 22px; text-decoration: none; font-weight: 800; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--yellow); color: #1b2c25; box-shadow: 0 10px 30px rgba(255,210,36,.22); }
.button.ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.42); backdrop-filter: blur(8px); }
.button.secondary { background: var(--green); color: #fff; }
.stats { position: relative; z-index: 10; margin-top: -65px; }
.stats-grid { background: var(--surface); box-shadow: var(--shadow); border-radius: var(--radius); min-height: 130px; display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid rgba(255,255,255,.55); }
.stats-grid div { display: grid; align-content: center; justify-items: center; padding: 24px 16px; text-align: center; position: relative; }
.stats-grid div:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stats-grid strong { font-size: 2rem; line-height: 1; letter-spacing: -.04em; }
.stats-grid span { color: var(--muted); font-size: .86rem; margin-top: 8px; }
.section { padding: 110px 0; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.section-heading { max-width: 650px; }
.section-heading.centered { text-align: center; margin-inline: auto; max-width: 780px; }
.section-heading.centered .eyebrow { justify-content: center; }
.section h2 { font-size: clamp(2.35rem, 4.2vw, 4.3rem); line-height: 1.03; letter-spacing: -.045em; margin: 18px 0 20px; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.lead-copy { font-size: 1.08rem; color: #3e4c47; }
.lead-copy p:first-child { font-size: 1.28rem; color: var(--ink); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.value-card { padding: 34px; min-height: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: relative; overflow: hidden; }
.value-card::after { content: ""; position: absolute; width: 130px; height: 130px; border-radius: 50%; background: var(--yellow-soft); right: -48px; bottom: -48px; opacity: .65; }
.value-number { color: var(--green-2); font-size: .78rem; letter-spacing: .15em; font-weight: 800; }
.value-card h3 { font-size: 1.55rem; margin: 36px 0 12px; }
.value-card p { color: var(--muted); margin: 0; }
.photo-story { padding-top: 40px; }
.photo-story-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; align-items: center; }
.photo-card { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); min-height: 560px; }
.photo-card img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.photo-story-copy h2 { font-size: clamp(2.3rem, 4vw, 3.9rem); }
.photo-story-copy p { color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 11px; align-items: center; }
.check-list li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); display: inline-grid; place-items: center; font-size: .8rem; font-weight: 900; flex: 0 0 auto; }
.process { background: var(--green); color: #fff; }
.process .eyebrow { color: rgba(255,255,255,.78); }
.process .section-heading p { color: rgba(255,255,255,.72); }
.notice { margin: 46px auto 54px; max-width: 850px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.9); }
.notice-icon { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--green); font-weight: 900; font-family: Georgia, serif; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; min-height: 270px; }
.steps li > span { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--green); display: grid; place-items: center; font-weight: 900; }
.steps h3 { margin: 36px 0 10px; font-size: 1.3rem; }
.steps p { color: rgba(255,255,255,.7); font-size: .95rem; margin: 0; }
.centered-action { text-align: center; margin-top: 36px; }
.external { background: var(--surface-2); }
.external-card { background: var(--surface); border-radius: var(--radius); padding: 48px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: center; box-shadow: var(--shadow); }
.external-logo-wrap { min-height: 260px; display: grid; place-items: center; border-radius: 20px; background: #fff; padding: 35px; border: 1px solid var(--line); }
.external-card h2 { font-size: clamp(2rem, 3vw, 3rem); }
.external-card p { color: var(--muted); }
.text-link { display: inline-flex; gap: 7px; font-weight: 800; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.timeline { margin-top: 66px; display: grid; gap: 20px; }
.timeline-item { display: grid; grid-template-columns: 340px 1fr; gap: 45px; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.timeline-image { min-height: 260px; overflow: hidden; }
.timeline-image img { width: 100%; height: 100%; object-fit: cover; }
.timeline-copy { padding: 38px 40px 38px 0; align-self: center; }
.timeline-copy > span { color: var(--green-2); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.timeline-copy h3 { font-size: 1.65rem; margin: 10px 0 10px; }
.timeline-copy p { color: var(--muted); margin: 0; }
.history-more { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.history-more summary { cursor: pointer; padding: 20px 24px; font-weight: 800; }
.history-detail { padding: 0 24px 20px; color: var(--muted); }
.faq { background: var(--surface-2); }
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 58px 22px 24px; font-weight: 800; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; color: var(--green); font-size: 1.25rem; align: center;}
.faq-item[open] summary::after { content: "−"; }
.faq-item div { padding: 0 24px 20px; color: var(--muted); }
.faq-item p { margin: 0; }
.contact { background: #ece8dd; }
#vormerken { scroll-margin-top: 180px; }
.form-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 60px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: 0 12px 40px rgba(26,39,34,.06); }
.form-card-primary { background: var(--green); color: #fff; }
.form-card-head { margin-bottom: 28px; }
.form-kicker { text-transform: uppercase; font-size: .73rem; letter-spacing: .14em; font-weight: 900; color: var(--green-2); }
.form-card-primary .form-kicker { color: var(--yellow); }
.form-card h3 { font-size: 2rem; line-height: 1.08; margin: 9px 0 10px; }
.form-card-head p { color: var(--muted); margin: 0; }
.form-card-primary .form-card-head p { color: rgba(255,255,255,.7); }
form { display: grid; gap: 17px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; font-size: .88rem; font-weight: 750; }
input, textarea, select { width: 100%; border: 1px solid rgba(30,43,39,.18); border-radius: 13px; background: #fff; color: var(--ink); padding: 13px 14px; outline: none; transition: border .16s, box-shadow .16s; }
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus, select:focus { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(47,91,78,.13); }
.form-card-primary input, .form-card-primary textarea, .form-card-primary select { border-color: rgba(255,255,255,.17); background: rgba(255,255,255,.96); }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-weight: 500; line-height: 1.45; color: var(--muted); }
.form-card-primary .consent { color: rgba(255,255,255,.74); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yellow); }
.consent a { text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-button { width: fit-content; margin-top: 3px; }
.form-status { min-height: 24px; font-size: .9rem; }
.form-status.success { color: #26734b; }
.form-card-primary .form-status.success { color: #baf3d3; }
.form-status.error { color: #b3261e; }
.form-card-primary .form-status.error { color: #ffb4ab; }
.site-footer { background: #11241e; color: rgba(255,255,255,.78); padding: 70px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 60px; }
.footer-brand { color: #fff; margin-bottom: 18px; }
.footer-grid p { margin: 12px 0 0; color: rgba(255,255,255,.58); }
.footer-grid strong { color: #fff; }
.footer-grid nav { display: grid; gap: 8px; margin-top: 12px; }
.footer-grid nav a { color: rgba(255,255,255,.62); text-decoration: none; }
.footer-grid nav a:hover { color: #fff; }
.footer-bottom { margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-size: .85rem; }
.footer-bottom a { color: inherit; text-decoration: none; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .button { transition: none; } }
@media (max-width: 980px) {
  .site-header { background: rgba(24,53,45,.96); padding: 10px 0; }
  .nav-toggle { display: block; color: #fff; }
  .site-nav { position: absolute; left: 20px; right: 20px; top: 70px; display: none; background: var(--surface); color: var(--ink); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); align-items: stretch; flex-direction: column; gap: 4px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 12px; }
  .nav-cta { border-color: var(--line); }
  .hero { min-height: 720px; }
  .hero-content { padding-bottom: 120px; }
  .two-col, .photo-story-grid, .faq-layout { grid-template-columns: 1fr; gap: 42px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .external-card { grid-template-columns: 1fr; }
  .external-logo-wrap { min-height: 200px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-text strong { font-size: .8rem; } .brand-text small { font-size: .67rem; }
  .brand-logo { width: 33px; height: 33px; }
  .hero { min-height: 670px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(12,36,29,.90), rgba(12,36,29,.55)), linear-gradient(0deg, rgba(12,36,29,.48), transparent); }
  .hero-content { padding-top: 140px; padding-bottom: 100px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-actions .button { width: 100%; }
  .stats { margin-top: -35px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid div { min-height: 110px; }
  .stats-grid div:nth-child(2)::after { display: none; }
  .stats-grid div:nth-child(-n+2)::before { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 1px; background: var(--line); }
  .section { padding: 78px 0; }
  .values-grid, .steps { grid-template-columns: 1fr; }
  .value-card, .steps li { min-height: auto; }
  .photo-card, .photo-card img { min-height: 420px; }
  .external-card { padding: 28px; }
  .timeline-item { grid-template-columns: 1fr; gap: 0; }
  .timeline-image { min-height: 220px; }
  .timeline-copy { padding: 28px; }
  .field-row { grid-template-columns: 1fr; }
  #vormerken { scroll-margin-top: 120px; }
  .form-card { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
