:root { --paper:#fffaf3; --surface:#fffdf9; --ink:#201714; --muted:#85776e; --line:#e7d8ca; --accent:#ca4328; --accent-dark:#a6311d; --accent-soft:#fceee3; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Arial,Helvetica,sans-serif; font-size:16px; line-height:1.5; }
a { color:inherit; }
button,input,select,textarea { font:inherit; }
button,summary,label.package-choice { cursor:pointer; }
button:disabled { cursor:default; opacity:.5; }
:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
[hidden] { display:none !important; }
h1,h2,h3,p { margin-top:0; }
.container { width:min(1420px,calc(100% - 88px)); margin-inline:auto; }
.skip-link { position:absolute; top:-100px; left:16px; padding:12px; background:var(--ink); color:white; z-index:30; }
.skip-link:focus { top:10px; }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.site-header { position:relative; z-index:2; border-bottom:1px solid #e2d7cd; }
.header-inner { height:80px; display:flex; justify-content:space-between; align-items:center; gap:18px; }
.brand { text-decoration:none; color:#000; font-family:Arial,Helvetica,sans-serif; font-weight:400; font-size:36px; line-height:1; letter-spacing:-.055em; white-space:nowrap; }
.brand-neubau { font-weight:800; }
.brand-kosten { font-weight:400; }
.help-button { border:0; padding:10px 0 10px 14px; color:var(--ink); background:none; font-size:15px; }
.help-button:hover { color:var(--accent); }
.site-home { position:relative; }
.hero-backdrop { position:absolute; z-index:0; top:0; right:0; width:57%; height:570px; overflow:hidden; pointer-events:none; }
.hero-backdrop img { width:100%; height:100%; object-fit:cover; object-position:60% 47%; }
.hero-backdrop::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,var(--paper),rgba(255,250,243,.65) 24%,rgba(255,250,243,.08) 62%),linear-gradient(180deg,rgba(255,250,243,.16),transparent 55%,var(--paper) 100%); }
.home-main { position:relative; z-index:1; }
.hero { padding-block:64px 68px; }
.hero h1 { font-size:clamp(42px,4.5vw,72px); font-weight:700; letter-spacing:-.052em; line-height:1.04; margin-bottom:23px; max-width:950px; }
.hero h1 span { color:var(--accent); }
.hero-description { font-size:24px; letter-spacing:-.035em; line-height:1.45; margin-bottom:8px; }
.hero-note { font-size:18px; color:var(--muted); line-height:1.6; margin-bottom:0; }
.mobile-break { display:none; }
.houses h2 { font-size:32px; letter-spacing:-.04em; margin-bottom:20px; }
.house-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.house-card { display:block; min-width:0; overflow:hidden; background:var(--surface); border:1px solid #e4a180; border-radius:10px; text-decoration:none; transition:transform .15s,border-color .15s; }
.house-card:hover { transform:translateY(-3px); border-color:var(--accent); }
.house-photo { position:relative; width:100%; aspect-ratio:375 / 253; overflow:hidden; background:#e9ddcb; }
.house-photo img { position:absolute; width:445.866667%; max-width:none; height:auto; top:-193.675889%; }
.house-photo[data-house="satteldach"] img { left:-15.733333%; }
.house-photo[data-house="bungalow"] img { left:-120.8%; }
.house-photo[data-house="stadtvilla"] img { left:-225.866667%; }
.house-photo[data-house="andere"] img { left:-330.666667%; }
.house-label { display:flex; align-items:center; justify-content:space-between; min-height:68px; gap:8px; padding:17px 20px; }
.house-label h3 { margin:0; font-size:23px; line-height:1.2; letter-spacing:-.045em; font-weight:600; }
.house-label > span { font-size:28px; line-height:1; color:var(--accent); }
.progress { display:flex; list-style:none; padding:0 0 30px; margin:34px auto 0; max-width:680px; }
.progress li { position:relative; flex:1; display:flex; flex-direction:column; gap:9px; align-items:center; text-align:center; font-size:12px; letter-spacing:-.02em; }
.progress li a { display:flex; flex-direction:column; align-items:center; gap:9px; text-decoration:none; }
.progress li:not(:last-child)::after { content:''; position:absolute; height:1px; top:18px; left:calc(50% + 30px); width:calc(100% - 60px); background:#df9679; }
.progress-number { width:37px; height:37px; display:grid; place-items:center; border:1px solid #df9274; border-radius:50%; background:var(--paper); font-size:15px; }
.progress .active .progress-number { color:#fff; background:var(--accent); border-color:var(--accent); }
.progress .complete .progress-number { color:var(--accent); background:var(--accent-soft); }
.calculator-main { max-width:1120px; }
.area-section { text-align:center; padding-top:45px; }
.chosen-house { color:var(--accent); font-size:14px; margin-bottom:13px; font-weight:600; }
.area-section h1 { font-size:48px; letter-spacing:-.055em; line-height:1.08; margin-bottom:27px; }
.area-control { max-width:350px; margin-inline:auto; }
.field-label { display:block; font-size:13px; font-weight:500; }
.area-control > .field-label { color:var(--muted); margin-bottom:10px; }
.area-entry { display:flex; align-items:center; border:1px solid #d7beaa; border-radius:12px; background:var(--surface); min-height:78px; }
.area-entry:focus-within,.custom-entry:focus-within { outline:2px solid var(--accent); outline-offset:3px; }
.area-entry input { flex:1; min-width:0; width:100%; border:0; padding:15px 5px 15px 20px; background:transparent; color:var(--ink); font-size:39px; font-weight:500; line-height:1; text-align:center; caret-color:var(--ink); }
.area-entry input:focus-visible,.custom-entry input:focus-visible { outline:none; }
.unit { padding-right:24px; font-size:20px; color:var(--muted); }
.area-range { display:block; width:100%; margin:19px 0 0; height:32px; accent-color:var(--accent); }
.range-labels { display:flex; justify-content:space-between; font-size:11px; color:var(--muted); }
.input-error { color:#a22f20; font-size:12px; line-height:1.6; margin:10px 0 0; }
.input-error:empty { display:none; }
.custom-area { max-width:750px; margin-inline:auto; }
.custom-note { font-size:14px; color:var(--muted); margin-bottom:20px; }
.custom-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; text-align:left; }
.custom-entry { display:flex; align-items:center; min-height:56px; border:1px solid #d7beaa; border-radius:9px; margin-top:9px; padding-right:14px; background:var(--surface); }
.custom-entry input { width:100%; min-width:0; border:0; padding:13px; background:none; font-size:19px; color:var(--ink); }
.custom-entry span { color:var(--muted); font-size:14px; }
.packages-section { margin-top:36px; }
.packages-section > h2 { font-size:26px; text-align:center; margin-bottom:23px; letter-spacing:-.04em; }
.package-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:start; }
.package-card { min-width:0; border:1px solid #e1b99e; border-radius:13px; overflow:hidden; background:var(--surface); }
.package-card:has(input:checked) { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); background:#fff5ec; }
.package-choice { display:flex; flex-direction:column; padding:23px 21px 19px; }
.package-top { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:21px; font-weight:600; letter-spacing:-.04em; }
.package-top input { width:19px; height:19px; flex-shrink:0; margin:0; accent-color:var(--accent); }
.package-description { font-size:14px; color:var(--muted); margin-top:10px; min-height:42px; line-height:1.5; }
.package-price { font-size:32px; font-weight:600; letter-spacing:-.055em; line-height:1.2; margin-top:22px; white-space:nowrap; }
.tax-caption { margin-top:5px; font-size:11px; color:var(--muted); }
.package-details { border-top:1px solid #ecd7c6; }
.package-details summary { display:flex; align-items:center; justify-content:space-between; list-style:none; padding:14px 21px; font-size:13px; }
.package-details summary::-webkit-details-marker { display:none; }
.package-details summary span { color:var(--accent); font-size:20px; line-height:1; }
.package-details[open] summary span { transform:rotate(45deg); }
.package-detail-content { padding:0 21px 20px; }
.package-detail-content h3 { font-size:13px; font-weight:600; margin:10px 0 4px; }
.package-detail-content p { font-size:12px; line-height:1.7; color:var(--muted); margin:0; }
.included-note { text-align:center; font-size:12px; color:var(--muted); margin:18px 0 0; }
.offer-start { max-width:460px; margin:30px auto 0; text-align:center; }
.primary-button { display:inline-flex; align-items:center; justify-content:center; gap:20px; padding:15px 22px; min-height:50px; border:0; border-radius:9px; background:var(--accent); color:white; font-size:15px; font-weight:600; text-decoration:none; }
.primary-button:hover:not(:disabled) { background:var(--accent-dark); }
.offer-button { width:100%; min-height:57px; font-size:17px; }
.offer-button > span { font-size:22px; }
.offer-start p { margin:10px 0 0; font-size:12px; color:var(--muted); }
.offer-section { max-width:780px; margin:40px auto 0; border-top:1px solid var(--line); padding-top:29px; scroll-margin-top:22px; }
.offer-section > h2 { font-size:29px; letter-spacing:-.04em; margin-bottom:8px; }
.offer-selection { font-size:13px; color:var(--muted); margin-bottom:24px; }
fieldset { padding:0; margin:0 0 26px; border:0; min-width:0; }
legend { font-size:17px; font-weight:600; margin-bottom:15px; padding:0; letter-spacing:-.025em; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 18px; }
.form-grid label { display:block; font-size:13px; min-width:0; }
.form-full { grid-column:1 / -1; }
.form-grid input,.form-grid textarea { display:block; width:100%; min-width:0; border:1px solid #d9c6b5; border-radius:8px; padding:12px; margin-top:7px; background:var(--surface); color:var(--ink); font-size:16px; }
.form-grid textarea { resize:vertical; }
.optional { color:var(--muted); font-size:12px; margin-left:5px; }
.upload-field { display:block; padding:20px; border:1px dashed #d5ac8f; border-radius:10px; background:#fff8f0; }
.upload-title { display:block; font-size:15px; font-weight:600; margin-bottom:7px; }
.upload-note { display:block; color:var(--muted); font-size:12px; line-height:1.7; margin-bottom:14px; }
.upload-field input { width:100%; font-size:13px; }
.upload-field input::file-selector-button { border:1px solid #d2bba7; background:var(--surface); color:var(--ink); border-radius:6px; padding:9px 12px; font:inherit; margin-right:10px; }
.file-list { list-style:none; padding:0; margin:14px 0 0; }
.file-list li { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 0; border-bottom:1px solid var(--line); font-size:12px; }
.file-list span { min-width:0; overflow-wrap:anywhere; }
.remove-file { flex-shrink:0; border:0; background:none; color:var(--accent); padding:10px 0 10px 12px; font-size:12px; }
.consent { display:flex; gap:11px; align-items:flex-start; font-size:12px; line-height:1.7; }
.consent input { margin:3px 0 0; width:18px; height:18px; flex-shrink:0; accent-color:var(--accent); }
.draft-notice { font-size:12px; line-height:1.6; color:var(--muted); margin:18px 0; }
.form-submit { width:100%; }
.form-status { font-size:13px; line-height:1.7; margin:15px 0 0; }
.form-status:empty { display:none; }
.help-dialog { width:min(540px,calc(100% - 34px)); max-height:85vh; padding:27px; border:1px solid #d4ab90; border-radius:14px; background:var(--paper); color:var(--ink); }
.help-dialog::backdrop { background:#24191066; }
.dialog-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; }
.dialog-heading h2 { font-size:25px; line-height:1.2; letter-spacing:-.04em; }
.close-button { border:0; background:none; padding:0 4px; font-size:28px; color:var(--muted); }
.help-dialog p,.help-dialog li { font-size:14px; line-height:1.7; }
.help-dialog p { color:var(--muted); }
.help-dialog ol { padding-left:20px; }
.help-dialog li { padding-bottom:12px; }
@media(max-width:1100px) { .container { width:calc(100% - 48px); } .house-label { padding:15px; } .house-label h3 { font-size:20px; } .hero-description { font-size:21px; } }
@media(max-width:850px) { .house-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .package-grid { grid-template-columns:1fr; max-width:580px; margin-inline:auto; } .package-choice { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 15px; } .package-top { grid-column:1 / -1; } .package-description { min-height:0; margin-top:0; grid-column:1; grid-row:2 / 4; max-width:190px; align-self:center; } .package-price { margin-top:0; grid-column:2; grid-row:2; text-align:right; font-size:29px; } .tax-caption { margin:0; grid-column:2; grid-row:3; text-align:right; } .hero-backdrop { width:68%; opacity:.7; } }
@media(max-width:600px) {
  .container { width:calc(100% - 36px); } .header-inner { height:71px; } .brand { font-size:29px; } .help-button { font-size:13px; }
  .hero-backdrop { width:100%; height:365px; opacity:.45; } .hero-backdrop img { object-position:73% 44%; } .hero-backdrop::after { background:linear-gradient(90deg,var(--paper),rgba(255,250,243,.75) 33%,rgba(255,250,243,.25) 90%),linear-gradient(180deg,rgba(255,250,243,.2),var(--paper) 100%); }
  .hero { padding-block:35px 38px; } .hero h1 { font-size:38px; line-height:1.07; letter-spacing:-.052em; margin-bottom:20px; } .hero-description { font-size:17px; line-height:1.55; margin-bottom:9px; max-width:320px; } .hero-note { font-size:14px; line-height:1.6; max-width:275px; } .mobile-break { display:block; }
  .houses h2 { font-size:26px; margin-bottom:17px; } .house-grid { gap:12px; } .house-label { min-height:57px; padding:12px 11px; gap:5px; } .house-label h3 { font-size:17px; } .house-label > span { font-size:22px; }
  .progress { margin-top:29px; padding-bottom:28px; } .progress li,.progress li a { gap:8px; font-size:10px; } .progress-number { width:32px; height:32px; font-size:14px; } .progress li:not(:last-child)::after { top:15px; left:calc(50% + 25px); width:calc(100% - 50px); }
  .area-section { padding-top:29px; } .chosen-house { font-size:13px; margin-bottom:12px; } .area-section h1 { font-size:38px; margin-bottom:25px; } .area-control { max-width:300px; } .area-entry { min-height:75px; } .area-entry input { font-size:37px; } .area-range { height:39px; margin-top:14px; } .custom-grid { grid-template-columns:1fr; gap:15px; }
  .packages-section { margin-top:28px; } .packages-section > h2 { font-size:25px; margin-bottom:19px; } .package-grid { gap:13px; } .package-choice { padding:19px 18px 17px; gap:8px 12px; } .package-top { font-size:21px; margin-bottom:4px; } .package-description { font-size:13px; max-width:165px; } .package-price { font-size:28px; } .tax-caption { font-size:10px; } .package-details summary { padding:13px 18px; } .package-detail-content { padding:0 18px 18px; } .included-note { font-size:11px; max-width:310px; margin:16px auto 0; }
  .offer-start { margin-top:25px; } .offer-section { margin-top:30px; padding-top:25px; } .form-grid { grid-template-columns:1fr; gap:15px; } .form-full { grid-column:auto; } .upload-field { padding:17px; } .help-dialog { padding:23px; }
}
@media(max-width:360px) { .brand { font-size:26px; } .hero h1,.area-section h1 { font-size:34px; } .house-label h3 { font-size:15px; } .package-choice { grid-template-columns:1fr; } .package-description { grid-row:auto; max-width:none; } .package-price,.tax-caption { grid-column:1; grid-row:auto; text-align:left; } .package-price { margin-top:8px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .house-card { transition:none; } }

/* A compact introduction and one consistent guide above the current step. */
.site-home .hero { padding-block:48px 28px; }
.site-home .hero h1 { margin-bottom:0; font-size:clamp(38px,4.5vw,68px); }
.site-home .progress,.site-calculator .progress { margin:0 auto 26px; padding-bottom:0; }
.site-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px 28px; margin-top:38px; padding-block:22px 28px; border-top:1px solid var(--line); font-size:12px; color:var(--muted); }
.site-footer nav { display:flex; flex-wrap:wrap; align-items:center; gap:14px 20px; }
.site-footer a { text-underline-offset:3px; }
.site-footer .account-links { margin-left:auto; }
@media(max-width:600px) {
 .site-home .hero { padding-block:30px 26px; }
 .site-home .hero h1 { font-size:clamp(32px,8.7vw,46px); }
 .site-home .progress,.site-calculator .progress { margin-bottom:24px; }
 .site-footer { margin-top:28px; gap:18px; }
}

/* The calculator shares the homepage's spacious image-led introduction. */
.site-calculator { position:relative; }
.calculator-main { position:relative; z-index:1; max-width:1420px; }
.calculator-hero { padding-block:48px 28px; }
.calculator-hero h1 { font-size:clamp(38px,4.5vw,68px); margin-bottom:0; }
.calculator-hero .chosen-house { display:inline-block; border:1px solid var(--line); border-radius:30px; padding:7px 13px; background:#fffaf3d9; color:var(--ink); margin-bottom:18px; }
.calculator-backdrop { width:57%; height:450px; opacity:.65; }
.calculator-backdrop .house-photo { width:100%; position:absolute; top:30px; right:0; background:transparent; }
.calculator-backdrop::after { background:linear-gradient(90deg,var(--paper),rgba(255,250,243,.65) 25%,rgba(255,250,243,.16) 75%),linear-gradient(180deg,rgba(255,250,243,.2),transparent 35%,var(--paper) 95%); }
.service-picker { border:0; padding:0; margin:0 auto 28px; max-width:680px; text-align:center; }
.service-picker legend { width:100%; padding:0; margin-bottom:13px; font-size:16px; font-weight:600; }
.service-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.service-options label { position:relative; min-width:0; }
.service-options input { position:absolute; opacity:0; width:1px; height:1px; }
.service-options span { display:flex; align-items:center; justify-content:center; min-height:48px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--surface); font-size:14px; }
.service-options input:checked + span { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); background:var(--accent-soft); }
.service-options input:focus-visible + span { outline:2px solid var(--accent); outline-offset:3px; }
.site-calculator .area-section { padding-top:8px; }
.site-calculator .packages-section,.cost-overview,.offer-start,.offer-section { max-width:1120px; margin-inline:auto; }
.floor-area-control { max-width:350px; margin:0 auto 24px; text-align:center; }
.floor-area-control > label { font-size:14px; }
.floor-area-control .custom-note { font-size:12px; margin:10px 0 4px; }
.floor-area-control .custom-entry input { text-align:center; }
.text-button { border:0; background:none; color:var(--accent-dark); text-decoration:underline; text-underline-offset:3px; padding:8px; font-size:12px; }
.floor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:760px; margin-inline:auto; }
.floor-details { max-width:760px; margin:16px auto 0; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.cost-overview { border:1px solid var(--line); border-radius:13px; padding:25px; margin-top:30px; background:var(--surface); }
.cost-overview h2 { font-size:24px; letter-spacing:-.04em; margin-bottom:18px; }
.cost-overview dl { margin:0; }
.cost-overview dl > div,.total-line { display:flex; justify-content:space-between; align-items:baseline; gap:16px; }
.cost-overview dl > div { padding:8px 0; font-size:14px; }
.cost-overview dd { margin:0; white-space:nowrap; }
.total-line { border-top:1px solid var(--line); padding-top:17px; margin-top:12px; }
.total-line strong { font-size:32px; letter-spacing:-.045em; white-space:nowrap; }
@media(max-width:850px) { .floor-grid { grid-template-columns:1fr; max-width:580px; } }
@media(max-width:600px) {
 .calculator-hero { padding-block:30px 26px; }
 .calculator-hero h1 { font-size:clamp(32px,8.7vw,46px); }
 .calculator-backdrop { width:100%; height:360px; opacity:.5; }
 .calculator-backdrop .house-photo { width:90%; top:30px; right:-8%; }
 .service-options { gap:7px; }
 .service-options span { font-size:12px; padding:10px 6px; }
 .service-picker { margin-bottom:24px; }
 .cost-overview { padding:20px 16px; }
 .cost-overview dl > div { font-size:12px; }
 .total-line strong { font-size:28px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Keep the complete house photograph inside an image-sized, softly fading backdrop. */
.calculator-backdrop { top:80px; width:min(850px,67%); height:auto; opacity:.65; }
.calculator-backdrop .house-photo { position:relative; top:auto; right:auto; width:100%; aspect-ratio:375 / 253; }
.calculator-backdrop { mask-image:linear-gradient(to bottom,transparent 0%,#000 12%,#000 76%,transparent 100%); }
.calculator-backdrop::after { background:linear-gradient(90deg,var(--paper),rgba(255,250,243,.7) 22%,rgba(255,250,243,.12) 70%,rgba(255,250,243,.35)); }
.service-options { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:440px; margin-inline:auto; }
.service-options span { gap:10px; }
.service-options span::before { content:''; width:17px; height:17px; border:1px solid #b49a86; border-radius:4px; flex-shrink:0; }
.service-options input:checked + span::before { content:'✓'; display:grid; place-items:center; color:white; background:var(--accent); border-color:var(--accent); font-size:13px; line-height:1; }
.service-hint { margin:12px 0 0; font-size:13px; color:var(--muted); }
.site-calculator .area-section { margin-bottom:28px; }
.sampling-note { max-width:760px; margin:22px auto 0; padding:18px 20px; border-left:2px solid var(--accent); background:#fff5ec; }
.sampling-note h3 { margin-bottom:7px; font-size:17px; letter-spacing:-.025em; }
.sampling-note p { margin:0; font-size:14px; line-height:1.6; }
.sampling-note .sampling-status { font-size:12px; color:var(--muted); margin-top:7px; }
@media(max-width:600px) {
 .calculator-backdrop { top:71px; width:100%; height:auto; opacity:.5; }
 .calculator-backdrop .house-photo { width:100%; top:auto; right:auto; }
 .service-options span { font-size:14px; min-height:48px; }
}
