/* „Hausverwaltung, einfach.“ — Smoke-Test-Seite unter twelve-digital.de/hausverwaltung.
   Hell und redaktionell, Navy mit Petrol. Eigenständig, berührt die dunkle
   Firmenseite (styles.css) nicht. Schriften selbst gehostet unter /shared/fonts. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/shared/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/shared/fonts/Inter-Bold.woff2") format("woff2");
}

:root {
  --paper: #f6f4ef;
  --paper-2: #efece4;
  --card: #ffffff;
  --ink: #13213c;
  --ink-2: #3b4a66;
  --muted: #5d6b84;
  --line: #e4e0d6;
  --teal: #0f766e;
  --teal-2: #14b8a6;
  --teal-soft: #e3f3f1;
  --amber: #b45309;
  --amber-soft: #fdf1e3;
  --navy-soft: #e8ecf5;
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 1px 0 rgba(19, 33, 60, .04), 0 24px 48px -28px rgba(19, 33, 60, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px;
  font: 700 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--teal); }
.btn-ghost { color: var(--ink); border-color: #c9c3b5; background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 1rem; font-size: 14px; background: var(--ink); color: #fff; }
.btn-small:hover { background: var(--teal); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(246, 244, 239, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; min-width: 0; flex: 0 1 auto; }
.brand strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.brand small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
.mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; flex: none; }
.mark svg { width: 20px; height: 20px; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--teal); }
.topbar-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; flex: none; }
.nav + .topbar-actions { margin-left: 0; }
.lang { color: var(--ink-2); font-size: 14px; text-decoration: none; border-bottom: 1px solid #c9c3b5; padding-bottom: 1px; }
.lang:hover { color: var(--teal); border-color: var(--teal); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 184, 166, .14), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); background: var(--teal-soft); border-radius: 999px; padding: .4rem .85rem; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 0 rgba(20, 184, 166, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); } }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.02em; margin: 1.1rem 0 1.2rem; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.4rem; }
.ticks { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font-size: 14px; color: var(--ink-2); }
.ticks li { display: inline-flex; align-items: center; gap: .4rem; }
.ticks svg { width: 18px; height: 18px; color: var(--teal); flex: none; }

/* Product preview (sample data) */
.preview { margin: 0; position: relative; }
.preview figcaption { margin-top: .8rem; font-size: 13px; color: var(--muted); text-align: center; letter-spacing: .02em; }

.window { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; font-size: 13px; }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfaf7; color: var(--muted); font-size: 12px; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3ded2; }
.window-bar span { margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-body { display: grid; grid-template-columns: 150px 1fr 1fr; grid-template-rows: auto auto; gap: 14px; padding: 16px; background: linear-gradient(180deg, #fbfaf7, #fff); }
.side { grid-row: span 2; border-right: 1px solid var(--line); padding-right: 12px; }
.side-house { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 14px; }
.side-house svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.side-house b { display: block; font-size: 13px; line-height: 1.25; }
.side-house small { color: var(--muted); font-size: 11px; }
.side-tabs li { padding: 7px 10px; border-radius: 8px; color: var(--ink-2); margin-bottom: 2px; }
.side-tabs li.on { background: var(--navy-soft); color: var(--ink); font-weight: 700; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 8px; min-width: 0; }
.panel h4 { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.panel-defects { grid-column: 2 / 4; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-top: 1px solid #f0ede6; }
.rows li:first-child { border-top: 0; }
.rows b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows small { display: block; color: var(--muted); font-size: 11.5px; }
.grow { flex: 1; min-width: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-new, .pill-new { --c: #b45309; --b: #fdf1e3; }
.dot-progress, .pill-progress { --c: #1d4ed8; --b: #e8eefc; }
.dot-assigned, .pill-assigned { --c: #6d28d9; --b: #f1eafd; }
.dot-done, .pill-done { --c: #0f766e; --b: #e3f3f1; }
.dot { background: var(--c); }
.pill { background: var(--b); color: var(--c); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.rows-docs svg { width: 18px; height: 18px; color: var(--ink-2); flex: none; }
.checklist li { display: flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--ink-2); }
.checklist li.done { color: var(--ink); }
.tick { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #c9c3b5; display: grid; place-items: center; flex: none; }
.checklist li.done .tick { background: var(--teal); border-color: var(--teal); color: #fff; }
.tick svg { width: 14px; height: 14px; }

/* Honest status strip */
.status { border-block: 1px solid var(--line); background: var(--card); }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.status-grid > div { padding: 26px 28px 26px 0; }
.status-grid > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.status h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: .35rem; }
.status p { color: var(--ink-2); font-size: 15px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--paper-2); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: .8rem; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.015em; max-width: 46rem; text-wrap: balance; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.feature { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feature-k { font-family: var(--serif); font-size: 15px; color: var(--teal); font-weight: 600; letter-spacing: .04em; }
.feature h3 { font-family: var(--serif); font-size: 23px; line-height: 1.2; font-weight: 600; margin: .6rem 0 .8rem; }
.feature p { color: var(--ink-2); font-size: 16px; }
.feature ul { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: .55rem; }
.feature li { display: flex; gap: .5rem; font-size: 15px; color: var(--ink-2); }
.feature li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }

.not { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.8rem; border: 1px dashed #cfc8b8; border-radius: var(--radius); padding: 18px 24px; }
.not h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.not ul { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.not li { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-2); font-size: 15px; }
.not svg { width: 16px; height: 16px; color: #a8a090; flex: none; }

.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.role { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--ink); }
.role:nth-child(2) { border-top-color: var(--teal); }
.role:nth-child(3) { border-top-color: var(--teal-2); }
.role:nth-child(4) { border-top-color: #8a93a6; }
.role h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.role p { color: var(--muted); font-size: 14.5px; margin: .4rem 0 1rem; }
.role li { position: relative; padding-left: 1rem; font-size: 15px; color: var(--ink-2); margin-top: .45rem; }
.role li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

.price-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.price-grid .muted { margin-top: 1rem; max-width: 34rem; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.price { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
.price-unit { color: var(--ink-2); margin: .5rem 0 1.5rem; }

/* Interest form */
.section-form { background: var(--ink); color: #fff; }
.section-form .section-title { color: #fff; }
.kicker-light { color: #5eead4; }
.form-grid { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 56px; align-items: start; }
.form-lede { color: #c9d2e3; margin-top: 1rem; max-width: 34rem; }
.ticks-light { margin-top: 1.4rem; color: #dbe2ef; }
.ticks-light svg { color: #5eead4; }
.form-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 30px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.form-card label { display: block; font-size: 14px; font-weight: 700; margin-bottom: .4rem; }
.form-card input, .form-card select {
  width: 100%; min-height: 50px; padding: 0 14px; margin-bottom: 1.1rem;
  font: 400 16px var(--sans); color: var(--ink);
  border: 1.5px solid #d6d1c4; border-radius: 12px; background: #fff;
}
.form-card select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2313213c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form-card input:focus, .form-card select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20, 184, 166, .18); }
.form-card input[aria-invalid="true"] { border-color: #b91c1c; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; color: var(--muted); margin-top: 1rem; line-height: 1.55; }
.form-status { font-size: 15px; border-radius: 12px; padding: 14px 16px; margin-top: 1rem; background: var(--navy-soft); color: var(--ink); }
.form-status[data-tone="ok"] { background: var(--teal-soft); color: #115e59; margin-top: 0; }
.form-status[data-tone="err"] { background: #fdecec; color: #991b1b; }

.faq-wrap { max-width: 860px; }
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 400; font-size: 26px; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 44rem; }

.final { padding: 0 0 clamp(56px, 8vw, 96px); }
.final-inner { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--shadow); }
.final h2 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.2; max-width: 36rem; min-width: 0; text-wrap: balance; }
.final-inner > .btn { flex-shrink: 0; }
[data-testid="interest-email"] a { overflow-wrap: anywhere; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 17px; margin-bottom: .6rem; }
.footer-brand .mark { width: 28px; height: 28px; border-radius: 8px; }
.footer-brand .mark svg { width: 16px; height: 16px; }
.footer .muted { max-width: 30rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; color: var(--ink-2); }
.footer-links a, .footer-links .linklike { color: var(--ink-2); min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover, .footer-links .linklike:hover { color: var(--teal); }

/* Privacy page (Teil A here, Teil B rendered by twelve.js with /shared/legal.css) */
body.legal { background: var(--paper); }
.legal-main { max-width: 820px; padding: 40px 0 72px; }
.legal-main .back { display: inline-block; margin-bottom: 1.4rem; font-size: 15px; text-decoration: none; }
.legal-main h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; margin-bottom: .6rem; }
.legal-main .part { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin: 2.6rem 0 1rem; }
.legal-main section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 14px; }
.legal-main section h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: .6rem; }
.legal-main section p { color: var(--ink-2); font-size: 16px; }
.legal-main section p + p { margin-top: .8rem; }
.legal-main #legal-content { font-size: 15px; }

/* Responsive */
@media (max-width: 1060px) {
  .nav { display: none; }
  .roles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .price-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: minmax(0, 1fr); }
  .status-grid { grid-template-columns: 1fr; }
  .status-grid > div, .status-grid > div + div { padding: 18px 0; border-left: 0; }
  .status-grid > div + div { border-top: 1px solid var(--line); }
  .final-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(1160px, 100% - 32px); }
  .brand small { display: none; }
  .brand { gap: .5rem; }
  .brand strong { font-size: 15px; }
  .mark { width: 30px; height: 30px; }
  .topbar-inner { gap: .8rem; }
  .topbar-actions { gap: .7rem; }
  .topbar .btn-small { display: none; }
  .roles { grid-template-columns: 1fr; }
  .window-body { grid-template-columns: 1fr 1fr; padding: 12px; gap: 10px; }
  .side { display: none; }
  .panel-defects { grid-column: 1 / 3; }
  .actions .btn { flex: 1 1 100%; }
  .form-card { padding: 22px; }
  .feature { padding: 22px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 30px; }
  .window-body { grid-template-columns: 1fr; }
  .panel-defects { grid-column: auto; }
  .topbar .lang { font-size: 13px; }
}
@media (max-width: 360px) {
  .final h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .btn { transition: none; }
}
