:root {
  --bg: #F8F5F0;
  --sand: #F1EBE3;
  --line: #E2D9CF;
  --photo: #E4D8CE;
  --text: #2A2627;
  --muted: #48403F;
  --soft: #625A57;
  --accent: #7A4A4E;
  --accent-ink: #FFFFFF;
  --dark: #2A2627;
  --dark-text: #F8F5F0;
  --dark-muted: #CFC6C2;
  --serif: "Libre Caslon Display", Georgia, serif;
  --serif-text: "Libre Caslon Text", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.2vw, 70px); line-height: 1.06; letter-spacing: -.01em; white-space: pre-line; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; }
h3 { font-size: 26px; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.pre { white-space: pre-line; }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 14px 28px; font-family: var(--sans); font-size: 16px; letter-spacing: .03em; text-decoration: none; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.btn:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline:hover { color: var(--accent); border-color: var(--accent); filter: none; }
.btn-light { background: var(--dark-text); color: var(--dark); border-color: var(--dark-text); }
.btn-light:hover { color: var(--dark); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.logo { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.logo img { display: block; height: 46px; width: auto; }
.logo-full img { height: 56px; }
.logo-full { align-items: flex-start; }
.logo-tagline { margin-top: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
@media (max-width: 640px) { .logo img { height: 38px; } .logo-full img { height: 48px; } }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; letter-spacing: .04em; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"], .nav a[aria-current=""] { color: var(--accent); }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.test-banner { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 13px; letter-spacing: .06em; padding: 6px 16px; }

/* sections */
section { padding-block: 104px; }
/* Anchor jumps stop below the sticky header. */
section[id] { scroll-margin-top: 84px; }
.band { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--dark); color: var(--dark-text); }
.dark .eyebrow { color: var(--dark-muted); }
.dark .muted, .dark .lead { color: #E4DEDA; }
.dark a:not(.btn) { color: var(--dark-text); }
.dark .btn-light, .ref-cta .btn-light { color: var(--dark); }
.sec-head { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.sec-head > div { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }

/* services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; gap: 22px; padding: 36px 32px; background: #fff; border: 1px solid var(--line); }
.service > div:last-child { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.service h3 { font-size: 26px; }
.service p { font-size: 16px; color: var(--muted); flex: 1; }
.service .more, .ref .more { font-size: 15px; letter-spacing: .04em; color: var(--accent); text-decoration: none; }
.service .more:hover { text-decoration: underline; }
.service-icon svg { width: 56px; height: 56px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: square; }
.service-icon .dot { fill: #E6DCD2; stroke: none; }

/* hero */
.hero { padding-block: 72px 56px; }
/* With no key-figures strip in between, the next section starts close to the hero. */
.hero + section:not(.facts) { padding-top: 32px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-media { flex: 1 1 440px; min-width: 0; position: relative; padding-bottom: 44px; }
.photo { background: var(--photo); width: 100%; display: flex; align-items: flex-end; padding: 20px; color: #4F4644; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.photo.has-img { padding: 0; }
.ratio-45 { aspect-ratio: 4 / 5; max-height: 620px; }
.ratio-43 { aspect-ratio: 4 / 3; }
.namecard { position: absolute; left: -20px; bottom: 0; background: var(--bg); padding: 20px 24px; box-shadow: 0 12px 32px rgba(42,38,39,.10); display: flex; flex-direction: column; gap: 4px; max-width: 320px; }
.namecard b { font-family: var(--serif); font-weight: 400; font-size: 23px; }
.namecard span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
@media (max-width: 560px) { .namecard { left: 12px; right: 12px; } }

/* facts */
.facts { padding-block: 36px; }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; }
.fact b { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact span { font-size: 14px; color: var(--soft); }

/* cards */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 40px; }
.strength { border-top: 2px solid var(--accent); padding-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.strength h3 { font-size: 27px; }
.strength p { font-size: 16px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--text); }
.step { padding: 30px 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.step .num { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.step h4 { margin: 0; font-size: 20px; font-weight: 500; }
.step p { font-size: 16px; color: var(--muted); }
.cols.refs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.ref h3 { font-size: 23px; }
.ref { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--text); }
.ref .more { font-size: 14px; letter-spacing: .04em; color: var(--accent); margin-top: 2px; }
.ref:hover h3 { color: var(--accent); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 16px; border-top: 2px solid var(--accent); padding-top: 18px; }
.kpis b { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpis span { font-size: 14px; color: var(--soft); }
.ref-quote { background: var(--sand); padding: 28px 28px; }
.ref-cta { margin-top: 80px; background: var(--dark); color: var(--dark-text); padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; align-items: flex-end; }
.ref-cta > div:first-child { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.ref-cta .eyebrow { color: var(--dark-muted); }
.ref-cta .lead { color: #E4DEDA; }
.btn-outline-light { background: transparent; color: var(--dark-text); border-color: var(--dark-text); }
.btn-outline-light:hover { color: var(--dark-text); filter: none; background: rgba(255,255,255,.06); }
.ref .photo { position: relative; }
.badge { position: absolute; top: 16px; left: 16px; background: var(--bg); color: var(--text); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; }
.ref .sold-in { font-size: 14px; font-weight: 500; color: var(--accent); }
.ref small { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.quote { background: var(--sand); padding: 38px 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; margin: 0; }
.quote blockquote { margin: 0; font-family: var(--serif-text); font-style: italic; font-size: 20px; line-height: 1.5; }
.quote figcaption { font-size: 14px; color: var(--soft); }
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; margin-bottom: 56px; }
.about > .photo { flex: 1 1 340px; max-height: 540px; }
.about > div { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.roles-title { margin: 0 0 24px; font-family: var(--sans); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--soft); font-weight: 400; }
.role { background: var(--bg); border-top: 2px solid var(--accent); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.role b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; }
.role span { font-size: 15px; color: var(--muted); }
.cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 22px; }

/* forms */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.split > div { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > form, .split > .form-host { flex: 1 1 520px; min-width: 0; }
.wform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.wform .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .wform { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 13px 14px; min-height: 52px; border: 1px solid #B9AEA6; background: #fff; color: var(--text); border-radius: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.dark .field label { color: #E4DEDA; }
.dark .field input, .dark .field select, .dark .field textarea { background: transparent; border-color: #6B6261; color: var(--dark-text); }
.dark .field select option { color: var(--text); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--accent); }
fieldset.group { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.group legend { font-size: 14px; padding: 0; margin-bottom: 10px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 10px 20px; }
.checks .check { font-size: 15px; align-items: center; }
.checks .check input { margin: 0; }
.dark fieldset.group legend { color: #E4DEDA; }
.other-field { margin-top: -6px; max-width: 520px; }
.form-note { font-size: 14px; color: var(--soft); }
.err { color: #B3261E; font-size: 13px; min-height: 0; }
.dark .err { color: #FFB4AB; }
.form-msg { padding: 18px 20px; background: var(--sand); color: var(--text); }
.dark .form-msg { background: #3A3536; color: var(--dark-text); }
.loading { color: var(--soft); font-size: 14px; }

/* listings */
/* Listing cards keep their size when there are only one or two. */
.cols.listings { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 32px; }
.listing .more { font-size: 14px; letter-spacing: .04em; color: var(--accent); }
.listing:hover h3 { color: var(--accent); }
/* Empty photo: a quiet placeholder with the roof line from the logo. */
.photo.placeholder { background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40'%3E%3Cpath d='M4 38 L60 6 L116 38 M78 16 V8 H88 V22' fill='none' stroke='%237A4A4E' stroke-opacity='.45' stroke-width='1.6'/%3E%3C/svg%3E") center 42% / 38% auto no-repeat; border: 1px solid var(--line); justify-content: center; }
.photo.placeholder span { margin-bottom: 8%; color: var(--soft); }
.listing { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.listing .photo { position: relative; }
.listing h3 { font-size: 24px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); }
.detail { display: flex; flex-wrap: wrap; gap: 56px; }
.detail > .photo { flex: 1 1 520px; position: relative; }
.detail > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.spec-table { border-top: 1px solid var(--line); margin: 0; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--soft); }
.spec-table dd { margin: 0; text-align: right; }
.rich p + p { margin-top: 1em; }

/* footer */
.site-footer { padding-block: 64px 40px; }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; margin-bottom: 40px; }
.site-footer address { font-style: normal; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; }
.site-footer .contact { display: flex; flex-direction: column; font-size: 15px; }
.site-footer .bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; color: var(--soft); }
.site-footer .bottom a { color: var(--soft); }
/* mobile menu */
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; flex: 0 0 auto; }
.nav-toggle span { display: block; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
@media (max-width: 980px) {
  .site-header .wrap { flex-wrap: nowrap; padding-block: 12px; }
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(42,38,39,.08); flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 20px; font-size: 17px; }
  .site-header.open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  section { padding-block: 72px; }
  section[id] { scroll-margin-top: 72px; }
}
@media (max-width: 640px) { section { padding-block: 56px; } .hero { padding-block: 32px 40px; } .sec-head { margin-bottom: 32px; } }
/* back to top */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--accent); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(42,38,39,.12); font-size: 20px; text-decoration: none; z-index: 9; }
.to-top:hover { color: var(--accent); background: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Cookie banner */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(42,38,39,.10); padding: 18px 0 max(18px, env(safe-area-inset-bottom, 0px)); }
.consent .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.consent p { margin: 0; flex: 1 1 420px; font-size: 15px; color: var(--muted); }
.consent .btns { flex: 0 0 auto; }
.consent .btn { min-height: 46px; padding: 10px 24px; }
@media (max-width: 560px) { .consent .btns { flex: 1 1 100%; } .consent .btn { flex: 1 1 0; justify-content: center; } }

#quotes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; }
#quotes .quote { padding: 30px 26px; }
#quotes .quote blockquote { font-size: 18px; }

/* Ad landing page (bewertung-anfrage) */
.lp-header .wrap { flex-wrap: nowrap; justify-content: space-between; }
.lp-header .lp-phone { min-height: 44px; padding: 8px 18px; font-size: 15px; white-space: nowrap; }
.lp-trust { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid rgba(248,245,240,.16); padding-top: 22px; }
.lp-person { display: flex; align-items: center; gap: 16px; }
.lp-person .photo { width: 64px; height: 64px; flex: 0 0 64px; aspect-ratio: 1 / 1; border-radius: 50%; padding: 0; }
.lp-person .photo img { object-position: 50% 15%; }
.lp-person b { display: block; font-weight: 500; font-size: 18px; }
.lp-person span { font-size: 14px; color: var(--dark-muted); }
.lp-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-points li { position: relative; padding-left: 26px; color: #E4DEDA; }
.lp-points li::before { content: "✓"; position: absolute; left: 0; color: var(--dark-text); }
.lp-points a { color: var(--dark-text); }
.stars { color: #E8B84A; letter-spacing: 1px; margin-right: 4px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 560px) { .lp-header .lp-phone { padding: 8px 12px; font-size: 14px; } .lp-header .logo img { height: 32px; } }
