/* Klarblank Städ — demo site. Fonts are self-hosted (SIL Open Font License). */
@font-face { font-family: "Jakarta"; src: url("fonts/jakarta.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #f5f8f7;
  --white: #ffffff;
  --mint: #e2f1ec;
  --mint-2: #cfe8e0;
  --ink: #10211e;
  --ink-soft: #4b5d59;
  --teal: #0b6b62;
  --teal-dark: #08524b;
  --teal-light: #8fd3c4;
  --sun: #f6c445;
  --line: #dbe6e2;
  --star: #b57b0e;
  --good: #1f7a4d;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 20px 50px rgba(16, 33, 30, .10);
  --head: "Jakarta", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 750; line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
h1 .hl, h2 .hl { color: var(--teal); }
p { margin: 0 0 16px; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.muted { color: var(--ink-soft); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 12px; background: var(--teal); color: var(--white); border: 2px solid var(--teal); font: 650 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 107, 98, .25); }
.btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-small { padding: 9px 16px; font-size: .92rem; border-radius: 10px; }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); border-color: var(--ink); box-shadow: none; }
.btn-light { background: var(--white); color: var(--teal-dark); border-color: var(--white); }
.btn-light:hover { background: var(--mint); border-color: var(--mint); box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 650; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.topbar { background: var(--teal-dark); color: rgba(255, 255, 255, .9); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar a { text-decoration: none; font-weight: 600; color: var(--white); }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(245, 248, 247, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16, 33, 30, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 0; font-family: var(--head); font-size: 1.35rem; font-weight: 800; text-decoration: none; letter-spacing: -0.03em; }
.logo-mark { width: 34px; height: 34px; flex: none; margin-right: 10px; }
.logo span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { position: relative; text-decoration: none; font-weight: 550; font-size: .95rem; color: var(--ink-soft); padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 28px; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: .95rem; font-weight: 550; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust svg { width: 22px; height: 22px; flex: none; color: var(--teal); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--radius-lg); }
.float-card { position: absolute; background: var(--white); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); font-size: .88rem; line-height: 1.35; }
.float-price { left: -28px; bottom: 32px; }
.float-price strong { display: block; font-family: var(--head); font-size: 1.45rem; font-weight: 800; color: var(--teal); letter-spacing: -0.02em; }
.float-rating { right: 18px; top: 18px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; }
.stars { color: var(--star); letter-spacing: 1px; }

/* Status dot */
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-soft); flex: none; }
.status.is-open::before { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }
.status.is-closed::before { background: #f87171; }

/* Sections */
.section { padding: 100px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; max-width: 17em; }
.section-white { background: var(--white); }
.section-mint { background: var(--mint); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: var(--teal-light); }
.section-dark p { color: rgba(255, 255, 255, .78); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mint-2); }
.service-img { overflow: hidden; }
.service-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.service:hover .service-img img { transform: scale(1.04); }
.service-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.service-body p { color: var(--ink-soft); font-size: .96rem; }
.service-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 6px; }
.price-tag { font-weight: 700; }
.price-tag small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .8rem; }
.service-wide { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; }
.service-wide .service-img img { height: 100%; aspect-ratio: auto; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc-form { padding: 36px; }
.calc-result { padding: 36px; background: var(--teal-dark); color: var(--white); display: flex; flex-direction: column; justify-content: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab { font: 600 .95rem var(--sans); padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.tab[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.field { margin-bottom: 22px; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 10px; }
.field-label output { font-family: var(--head); font-size: 1.3rem; font-weight: 800; color: var(--teal); }
input[type="range"] { width: 100%; accent-color: var(--teal); height: 28px; }
.range-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-soft); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { cursor: pointer; position: relative; }
.choice input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; opacity: 0; }
.choice span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); font-weight: 550; font-size: .93rem; }
.choice input:checked + span { border-color: var(--teal); background: var(--mint); color: var(--teal-dark); }
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.calc-result .label { font-size: .9rem; color: rgba(255, 255, 255, .8); margin: 0; }
.calc-price { font-family: var(--head); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 6px 0 4px; }
.calc-before { margin: 0 0 18px; color: rgba(255, 255, 255, .8); }
.calc-before s { opacity: .8; }
.calc-detail { font-size: .9rem; color: rgba(255, 255, 255, .8); border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 16px; margin-bottom: 22px; }
.calc-result .btn { align-self: flex-start; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: var(--teal-dark); font-family: var(--head); font-weight: 800; font-size: 1.15rem; margin-bottom: 16px; }
.step p { color: var(--ink-soft); margin: 0; }

/* Guarantee */
.guarantee { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.guarantee-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checks svg { width: 26px; height: 26px; color: var(--teal-light); margin-top: 2px; }
.checks strong { display: block; color: var(--white); }
.checks span { color: rgba(255, 255, 255, .75); font-size: .95rem; }

/* Reviews */
.review-summary { display: flex; align-items: center; gap: 14px; }
.review-summary .big { font-family: var(--head); font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.review blockquote { margin: 12px 0 18px; font-size: 1.05rem; line-height: 1.55; }
.review figcaption { margin-top: auto; font-size: .88rem; color: var(--ink-soft); }
.review figcaption strong { color: var(--ink); }
.review-cta { margin-top: 36px; padding: 30px 36px; border-radius: var(--radius-lg); background: var(--teal); color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.review-cta h3 { margin-bottom: 6px; }
.review-cta p { margin: 0; opacity: .92; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.areas li { list-style: none; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 550; font-size: .93rem; }
ul.areas { padding: 0; margin-bottom: 0; }

/* Forms */
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--white); padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .93rem; }
.form .full { grid-column: 1 / -1; }
input, select, textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 1px solid #c9d8d3; background: var(--white); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--mint-2); outline-offset: 0; border-color: var(--teal); }
.consent { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.form .btn { justify-self: start; }
.form-done { margin: 0; font-weight: 600; color: var(--good); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--teal-dark); display: grid; place-items: center; }
.icon-box svg { width: 22px; height: 22px; }
.contact-list strong { display: block; }
.contact-list a { color: var(--teal); font-weight: 600; text-decoration: none; }

/* Page head and service detail */
.page-head { padding: 56px 0 36px; }
.page-head .lead { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips a { text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .92rem; font-weight: 550; transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--teal); color: var(--teal); }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); align-items: start; }
.detail:first-of-type { border-top: 0; }
.detail img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); margin-top: 8px; }
.includes { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.includes li { position: relative; padding-left: 28px; }
.includes li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 10px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.price-table thead th { background: var(--mint); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-dark); }
.price-table td:not(:first-child), .price-table th:not(:first-child) { text-align: right; white-space: nowrap; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td strong { color: var(--teal-dark); }
.table-note { font-size: .85rem; color: var(--ink-soft); margin-top: 10px; }

/* FAQ */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 650; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--teal); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-right: 40px; }

/* Prose */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; margin-top: 40px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: var(--white); }
.site-footer .logo span { color: var(--teal-light); }
.site-footer h3 { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.site-footer p, .site-footer li { font-size: .93rem; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-about { margin-top: 14px; }
.demo-note { text-align: center; font-size: .8rem; margin: 48px 0 0 !important; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); opacity: .7; }

.mobile-bar { display: none; }

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal-delay-1 { transition-delay: .08s; }
  .js .reveal-delay-2 { transition-delay: .16s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Tablet */
@media (max-width: 960px) {
  .hero-inner, .guarantee, .quote-grid, .detail, .calc { grid-template-columns: 1fr; gap: 40px; }
  .calc { gap: 0; }
  .services, .review-grid { grid-template-columns: 1fr 1fr; }
  .service-wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
  .float-price { left: 16px; bottom: 16px; }
  .guarantee-media { max-width: 460px; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .topbar .hide-sm { display: none; }
  .header-inner { height: 64px; }
  .menu-toggle { display: grid; gap: 6px; background: none; border: 0; padding: 12px; margin-right: -12px; cursor: pointer; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; box-shadow: 0 18px 30px rgba(16, 33, 30, .08); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; }
  .hero { padding: 28px 0 56px; }
  .hero-inner { gap: 32px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .trust { grid-template-columns: 1fr; }
  .float-price { left: 12px; bottom: 12px; padding: 10px 14px; }
  .float-price strong { font-size: 1.15rem; }
  .services, .review-grid { grid-template-columns: 1fr; }
  .service-wide { grid-column: auto; grid-template-columns: 1fr; }
  .service-wide .service-img img { aspect-ratio: 16 / 10; }
  .calc-form, .calc-result { padding: 26px; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 68px 0; }
  .review-cta { padding: 26px; }
  .price-table th, .price-table td { padding: 11px 12px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .mobile-bar a { text-align: center; padding: 13px; border-radius: 12px; font-weight: 650; text-decoration: none; border: 2px solid var(--ink); }
  .mobile-bar a.primary { background: var(--teal); border-color: var(--teal); color: var(--white); }
}
