/* hausbetreuung-wien.net – Offizielles Design System 2026 */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-500-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-700-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2');
}

:root {
  --primary: #0F2438;
  --primary-light: #16324F;
  --accent: #1B6B50;
  --accent-hover: #14533E;
  --accent-light: #E6F4EE;
  --gold: #D97706;
  --dark: #091824;
  --bg: #F8FAF9;
  --bg-alt: #EFF4F2;
  --card-bg: #FFFFFF;
  --t1: #1E293B;
  --t2: #475569;
  --t3: #64748B;
  --border: #D1DDD7;
  --border-light: #E2EAE6;
  --on-dark: #CBD5E1;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --shadow-sm: 0 1px 3px rgba(15, 36, 56, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 36, 56, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--t1);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
img, svg { max-width: 100%; vertical-align: middle; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; color: var(--primary); }
h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.03em; }
h2 { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.025em; }
h3 { font-size: 20px; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.skip {
  position: absolute;
  top: -999px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  z-index: 1000;
  border-radius: 4px;
}
.skip:focus { top: 10px; }

/* Top Bar */
.top-bar {
  background: var(--primary);
  color: var(--on-dark);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar a { color: #fff; text-decoration: none; font-weight: 600; }
.top-bar a:hover { text-decoration: underline; }

/* Header */
.hdr {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--shadow-sm);
}
.hdr .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.02em;
}
.logo span b { color: var(--accent); }
.logo.inv { color: #fff; }
.logo.inv span b { color: #2DD4BF; }
.logo-tag {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 2px;
}
.logo.inv .logo-tag {
  background: rgba(45, 212, 191, 0.2);
  color: #2DD4BF;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  color: var(--t2);
  font-weight: 500;
  font-size: 15px;
  transition: color .15s;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}
.hdr-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hdr-cta a:not(.btn) {
  text-decoration: none;
  color: var(--t2);
  font-size: 14px;
  font-weight: 500;
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0F2438 0%, #16324F 60%, #0A1C2C 100%);
  color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero .lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-dark);
  margin: 16px 0 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 99px;
  font-weight: 600;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  font-size: 14px;
  color: var(--on-dark);
}
.checks li {
  position: relative;
  padding-left: 22px;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2DD4BF;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .15s ease-in-out;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn-out {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}
.btn-out:hover {
  background: var(--bg-alt);
  border-color: var(--primary);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 6px;
}
.btn-block {
  width: 100%;
}

/* Sections */
.s { padding: 60px 0; }
.s.alt { background: var(--bg-alt); }
.s-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.s-head p {
  color: var(--t2);
  margin: 6px 0 0;
  max-width: 600px;
}

/* Grids */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }

/* Service Box */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}
.svc-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.svc-box:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.svc-box-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.card-badge {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg-alt);
  color: var(--t2);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.price-tag {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.svc-box b {
  font-size: 18px;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
}
.svc-box p {
  font-size: 14px;
  color: var(--t2);
  margin: 0;
  line-height: 1.5;
}

/* District Grid */
.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.dist-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.dist-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.d-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}
.d-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.d-focus {
  font-size: 13px;
  color: var(--t2);
  margin-top: 6px;
  line-height: 1.4;
}

/* Trust Banner */
.trust-banner {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item h4 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 6px;
}
.trust-item p {
  font-size: 13px;
  color: var(--t2);
  margin: 0;
  line-height: 1.45;
}

/* Partner Featured Card */
.partner-card-featured {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.partner-badge {
  background: linear-gradient(90deg, #0F2438 0%, #16324F 100%);
  color: #fff;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.partner-pill {
  background: rgba(45, 212, 191, 0.25);
  color: #2DD4BF;
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 99px;
}
.partner-body {
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.partner-logo-box {
  width: 130px;
  height: 90px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}
.partner-logo-box strong {
  font-size: 16px;
  color: var(--primary);
  letter-spacing: .05em;
}
.partner-logo-box span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .08em;
}
.partner-leader {
  font-size: 13px;
  color: var(--t2);
  margin: 2px 0 8px;
}
.partner-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 8px;
}
.stars { color: var(--gold); }
.partner-meta {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.5;
  margin: 0 0 10px;
}
.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 12px;
  background: var(--bg-alt);
  color: var(--t1);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.partner-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Tools Callout */
.tools-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tool-banner-box {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.tool-banner-box h3 {
  font-size: 22px;
  margin: 12px 0 8px;
}
.tool-banner-box p {
  color: var(--t2);
  margin-bottom: 20px;
  font-size: 15px;
}

/* Wizard */
.wiz {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  color: var(--t1);
}
.wiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.wiz-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
}
.wiz-step {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t2);
}
.bar {
  background: var(--border-light);
  height: 6px;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 20px;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width .25s ease;
}
.wiz-body {
  min-height: 220px;
}
.row2 {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* Inputs & Form Elements */
.fld {
  margin-bottom: 16px;
}
.fld label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary);
}
.inp {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--t1);
  background: #fff;
  transition: border-color .15s;
}
.inp:focus {
  outline: none;
  border-color: var(--accent);
}
.chk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}
.chk input {
  margin-top: 3px;
  accent-color: var(--accent);
}
.hp {
  display: none !important;
}

/* Interactive Calculator */
.calc-container {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
.calc-slider-wrap {
  margin: 20px 0;
}
.calc-slider-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.calc-slider-val {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}
.calc-range {
  width: 100%;
  accent-color: var(--accent);
}
.calc-result-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.calc-price-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 4px;
}
.calc-big-price {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.03em;
}
.calc-itemized {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.calc-itemized li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  color: var(--t2);
}
.calc-itemized li span:last-child {
  font-weight: 600;
  color: var(--t1);
}

/* Checklist */
.cl-group {
  margin-bottom: 24px;
}
.cl-group-title {
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
}
.cl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .1s;
  font-size: 14.5px;
}
.cl-item:hover {
  background: var(--bg-alt);
}
.cl-item input {
  margin-top: 4px;
  accent-color: var(--accent);
}
.cl-item input:checked + span {
  text-decoration: line-through;
  color: var(--t3);
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.pricing-table th {
  background: var(--bg-alt);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--primary);
  border-bottom: 2px solid var(--border);
}
.pricing-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

/* FAQ Details */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.faq summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-size: 16px;
  color: var(--primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 20px;
  color: var(--accent);
}
.faq[open] summary::after { content: "−"; }
.faq div {
  padding: 0 20px 18px;
  color: var(--t2);
  line-height: 1.6;
  font-size: 15px;
}

/* Page Hero */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 40px 0;
}
.page-hero h1 {
  color: #fff;
  margin: 10px 0 8px;
}
.page-hero p {
  color: var(--on-dark);
  font-size: 17px;
  margin: 0;
  max-width: 720px;
}
.crumb {
  font-size: 13px;
  color: var(--on-dark);
  margin-bottom: 8px;
}
.crumb a {
  color: #fff;
  text-decoration: none;
}
.crumb a:hover {
  text-decoration: underline;
}

/* Cards & Info Box */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}
.vienna-box {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: 10px;
  padding: 18px;
  margin: 20px 0;
}
.vienna-box h4 {
  color: #92400E;
  margin-bottom: 6px;
}
.vienna-box p {
  color: #78350F;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
}

/* Mobile Sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 80;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  font-size: 16px;
  padding: 14px;
}

/* Footer */
.ftr {
  background: var(--primary);
  color: var(--on-dark);
  padding: 60px 0 30px;
}
.ftr .cols {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 36px;
}
.ftr .fh {
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  font-size: 15px;
}
.ftr ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ftr ul li {
  margin-bottom: 8px;
}
.ftr ul a {
  color: var(--on-dark);
  text-decoration: none;
  font-size: 14px;
  transition: color .15s;
}
.ftr ul a:hover {
  color: #fff;
}
.ftr .bot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.ftr .bot a {
  color: #fff;
}

/* Cookie notice */
.cookie {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  font-size: 13px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .ftr .cols { grid-template-columns: 1fr 1fr; }
  .partner-body { grid-template-columns: 1fr; text-align: center; }
  .partner-logo-box { margin: 0 auto; }
  .partner-rating, .partner-tags { justify-content: center; }
  .partner-actions { flex-direction: row; justify-content: center; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: block; }
  .grid.g2, .grid.g3, .tools-split { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 70px; }
  .checks { grid-template-columns: 1fr; }
}

@media print {
  .no-print, .hdr, .ftr, .cookie, .mobile-cta, .top-bar { display: none !important; }
  body { background: #fff; color: #000; }
  .wrap { max-width: 100%; padding: 0; }
}

/* Mobil-Kopfzeile 23.10.2026: kein seitliches Scrollen */
@media (max-width: 680px) {
  .logo-tag, .hdr-cta .btn, .hdr-cta a:not(.btn) { display: none; }
  .hdr .wrap { gap: 8px; }
  .eyebrow { white-space: normal; max-width: 100%; }
  .ftr .cols { grid-template-columns: 1fr; }
  h1, h2 { overflow-wrap: break-word; hyphens: auto; }
}

/* Mobil-Feinschliff 23.10.2026: Tippflaechen, Checkboxen */
@media (max-width: 680px) {
  .crumb a, .top-bar a, .ftr a, .cookie a { display: inline-block; padding: 6px 0; }
  input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; }
}

/* Mobil-Menue 23.10.2026: geoeffnetes Menue anzeigen */
@media (max-width: 768px) {
  .hdr { position: sticky; }
  .hdr .wrap { position: relative; }
  .nav.open { display: flex; flex-direction: column; gap: 2px; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px 20px 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); z-index: 60; }
  .nav.open a { display: block; padding: 10px 0; }
}

/* UI-Fix 23.10.2026: Kopfzeile ohne Umbruch, Kontrast, Karten, Footer, Cookie-Leiste */
.hdr .logo, .hdr .logo span, .nav a, .hdr-cta a, .burger { white-space: nowrap; }
.hdr .logo, .hdr-cta { flex-shrink: 0; }
.logo svg { flex-shrink: 0; }
.nav { gap: 18px; }
/* Menue-Knopf-Modus bis 1120 px (vorher 768 px) */
@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr .wrap { position: relative; }
  .nav.open { display: flex; flex-direction: column; gap: 2px; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px 20px 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); z-index: 60; align-items: stretch; }
  .nav.open a { display: block; padding: 10px 0; }
}
/* Leistungsumfang auf hellem Kasten lesbar */
.info-card .checks { color: var(--t1); }
.info-card .checks li::before { color: var(--accent); }
/* Leistungskarten: Preis unter Themen-Tag, max. 3 Spalten */
.svc-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.svc-box-head { flex-direction: column; align-items: flex-start; gap: 8px; }
/* Ueberschriften mobil ohne automatische Silbentrennung */
@media (max-width: 680px) {
  h1, h2 { hyphens: manual; overflow-wrap: anywhere; }
  h1 { font-size: clamp(24px, 6.7vw, 32px); }
  .hero .wrap > * { min-width: 0; }
  .badge { max-width: 100%; }
}
/* Footer: Markenspalte ueber volle Breite, kein heller Streifen mobil */
@media (max-width: 992px) {
  .ftr .cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  body { padding-bottom: 0; }
  .ftr { padding-bottom: 100px; }
}
/* Cookie-Hinweis als schmale Leiste unten */
.cookie:not([hidden]) { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; border-width: 1px 0 0; padding: 10px 24px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 20px; }
.cookie p { margin: 0 !important; line-height: 1.45; max-width: 860px; }
.cookie > div { flex-shrink: 0; }
@media (max-width: 768px) {
  .cookie:not([hidden]) { padding: 10px 16px; justify-content: flex-start; }
  .cookie p { font-size: 12px; }
  body:has(.cookie:not([hidden])) .mobile-cta { display: none; }
}
/* hausbetreuung: Badge LIEGENSCHAFTEN passt neben voller Navigation nicht; Abstand Badge/H1 */
@media (min-width: 769px) {
  .hdr .logo-tag { display: none; }
}
.hero .badge { margin-bottom: 14px; }

/* Monetarisierung 23.10.2026 */
/* Lead-Block (Assistent auf Preis-, Checklisten- und Ratgeberseiten) */
.mx-lead { width: 100%; max-width: 640px; min-width: 0; box-sizing: border-box; margin: 40px auto 0; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.mx-lead > h2 { font-size: 22px; margin: 0 0 8px; }
.mx-lead > p { color: var(--t2); font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.mx-lead > p.mx-alt { font-size: 14px; margin: 14px 0 0; text-align: center; }
.mx-side .mx-lead { margin-top: 0; }
/* Kaufpfad für Betriebe („In eigener Sache“) */
.mx-box { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 12px; padding: 24px; margin: 32px 0 0; box-shadow: var(--shadow-sm); }
.mx-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--dark); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 4px; padding: 2px 8px; margin: 0 0 10px; }
.mx-title { font-size: 22px; margin: 0 0 8px; }
.mx-box > p:not(.mx-label) { font-size: 15px; line-height: 1.6; color: var(--t1); margin: 0; }
.mx-prices { list-style: none; padding: 0; margin: 16px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.mx-prices li { border: 1px solid var(--border); border-radius: 8px; padding: 12px; font-size: 14px; background: var(--bg); }
.mx-prices b { display: block; font-size: 15px; color: var(--dark); }
.mx-price { display: block; font-family: var(--mono); font-weight: 700; color: var(--primary); margin-top: 2px; }
.mx-d { display: block; color: var(--t2); margin-top: 6px; font-size: 13px; line-height: 1.5; }
.mx-box > p.mx-foot { font-size: 13px; color: var(--t2); }
.mx-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.mx-actions .btn { white-space: normal; text-align: center; }
/* Partner-Modul (build/partners.mjs): Kennzeichnung mind. 12 px, kontrastreich */
.pm { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin: 24px 0 0; }
.pm-label { display: inline-block; font-size: 12px; font-weight: 700; color: #1E293B; background: #FEF3C7; border: 1px solid #F59E0B; border-radius: 4px; padding: 2px 8px; margin: 0 0 10px; }
.pm-title { font-size: 17px; font-weight: 700; color: var(--dark); margin: 0 0 6px; }
.pm-text { font-size: 14px; line-height: 1.6; color: var(--t2); margin: 0 0 10px; }
.pm-list { padding-left: 18px; font-size: 15px; line-height: 1.8; margin: 0 0 10px; }
.pm-note { font-size: 13px; color: var(--t2); }
.pm-foot { font-size: 12px; line-height: 1.5; color: var(--t2); margin: 0; }
#partner { margin-top: 32px; }
#partner ul { padding-left: 18px; line-height: 1.7; }
@media (max-width: 680px) {
  .mx-box { padding: 18px; }
  .mx-lead { padding: 0; background: none; border: 0; border-radius: 0; }
  .mx-actions .btn { width: 100%; }
}

/* hidden-Fix 23.10.2026: hidden-Attribut gewinnt immer */
[hidden] { display: none !important; }

/* Fertigstellung 23.10.2026 */
/* Assistent: Schrittanzeige einzeilig, keine Leerfläche bei nur einer Leistung */
.wiz-top { gap: 12px; align-items: flex-start; }
.wiz-title { min-width: 0; }
.wiz-step { white-space: nowrap; flex-shrink: 0; padding-top: 2px; }
.wiz[data-services]:not([data-services*="|"]) .wiz-body { min-height: 0; }
.wiz .inp { max-width: 100%; text-overflow: ellipsis; }
.nowrap { white-space: nowrap; }
/* Footer: Logo ohne Umbruch, Icon nicht schrumpfen */
.ftr .logo { flex-wrap: nowrap; }
.ftr .logo span { white-space: nowrap; }
.ftr .logo-tag { display: none; }
.ftr .logo svg { flex-shrink: 0; }
/* Verweis-Kästen (Druckvorlagen, Ausschreibung) */
.vl-links, .hb-multi { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 12px; padding: 20px 22px; margin: 28px 0 0; }
.vl-links h2, .hb-multi h2 { font-size: 19px; margin: 0 0 8px; }
.vl-links p, .hb-multi p { font-size: 15px; line-height: 1.6; color: var(--t1); margin: 0 0 6px; }
.vl-links ul { margin: 8px 0 0; padding-left: 18px; font-size: 15px; line-height: 1.7; }
.vl-links a, .hb-multi a { font-weight: 600; }
/* Druckvorlagen */
.vl-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.vl-text h2 { font-size: 22px; margin: 28px 0 10px; }
.vl-text h2:first-child { margin-top: 0; }
.vl-text p, .vl-steps { font-size: 16px; line-height: 1.7; color: var(--t1); margin: 0 0 14px; }
.vl-steps { padding-left: 22px; }
.vl-steps li { margin-bottom: 6px; }
.vl-legal { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-size: 14px !important; }
.vl-side { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; position: sticky; top: 90px; }
.vl-side-h { font-weight: 700; color: var(--dark); margin: 0 0 6px; font-size: 15px; }
.vl-side ul { margin: 0 0 16px; padding-left: 18px; font-size: 14px; line-height: 1.7; }
.vl-side ul:last-child { margin-bottom: 0; }
.vl-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.vl-bar p { margin: 0; font-size: 14px; color: var(--t2); max-width: 640px; }
.vl-sheet { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px; box-shadow: var(--shadow-sm); color: #111; }
.vl-sheet-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; border-bottom: 2px solid #111; padding-bottom: 8px; margin-bottom: 14px; }
.vl-sheet-head h2 { font-size: 22px; margin: 0; color: #111; }
.vl-sheet-head span { font-size: 12px; color: #444; }
.vl-h3 { font-size: 15px; margin: 18px 0 8px; color: #111; }
.vl-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px 24px; margin: 0 0 14px; }
.vl-field { display: flex; align-items: flex-end; gap: 8px; font-size: 13px; color: #333; min-height: 30px; }
.vl-field span { white-space: nowrap; flex-shrink: 0; }
.vl-field i { flex: 1; border-bottom: 1px solid #555; min-width: 60px; height: 1px; }
.vl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vl-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
.vl-table th, .vl-table td { border: 1px solid #666; padding: 5px 6px; text-align: left; vertical-align: top; color: #111; overflow-wrap: break-word; }
.vl-table th { background: #EEF2F1; font-weight: 700; font-size: 12px; }
.vl-table td { height: 28px; }
.vl-table tr.vl-group td { background: #F4F6F6; font-weight: 700; height: auto; }
.vl-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.vl-sign i { display: block; border-bottom: 1px solid #555; height: 28px; }
.vl-sign span { display: block; font-size: 12px; color: #444; margin-top: 4px; }
.vl-foot { font-size: 11px; color: #555; margin: 18px 0 0; }
.vl-mobile { display: none; font-size: 13px; color: var(--t2); margin-top: 10px; }
@media (max-width: 900px) {
  .vl-wrap { grid-template-columns: 1fr; gap: 24px; }
  .vl-side { position: static; }
}
@media (max-width: 680px) {
  .vl-sheet { padding: 16px; }
  .vl-sign { grid-template-columns: 1fr; }
  .vl-mobile { display: block; }
  .vl-field { flex-wrap: wrap; }
  .vl-field span { white-space: normal; flex-shrink: 1; min-width: 0; }
  .vl-field i { flex: 1 1 120px; }
}
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  body:has(.vl-sheet) .page-hero, body:has(.vl-sheet) .skip { display: none !important; }
  body:has(.vl-sheet) main > .s { padding: 0 !important; }
  .vl-sheet { border: 0; box-shadow: none; padding: 0; border-radius: 0; }
  .vl-scroll { overflow: visible; }
  .vl-table { min-width: 0; font-size: 10pt; }
  .vl-table th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .vl-table tr { break-inside: avoid; }
  .vl-table td { height: 24px; }
  .vl-sign { break-inside: avoid; }
}
@media (max-width: 480px) {
  .wiz { padding: 18px 16px; }
  .wrap.grid.g2 > div > div[style*="padding:24px"] { padding: 14px !important; }
}

/* Korrekturrunde 23.10.2026 */
/* Schreiblinien-Felder: Beschriftung darf umbrechen, statt über den Rand zu laufen (Streubuch bei ~1000 px) */
@media screen {
  .vl-field { min-width: 0; }
  .vl-field span { white-space: normal; flex: 0 1 auto; min-width: 0; }
  .vl-field i { flex: 1 1 60px; min-width: 40px; }
}
.hb-multi-note { font-size: 14px !important; color: var(--t2) !important; }
@media print {
  /* Begehungsprotokoll: alles auf eine A4-Seite */
  .vl-compact .vl-sheet-head { margin-bottom: 8px; padding-bottom: 5px; }
  .vl-compact .vl-sheet-head h2 { font-size: 16pt; }
  .vl-compact .vl-fields { gap: 4px 20px; margin-bottom: 8px; }
  .vl-compact .vl-field { min-height: 24px; font-size: 9.5pt; }
  .vl-compact .vl-table { font-size: 9pt; }
  .vl-compact .vl-table th, .vl-compact .vl-table td { padding: 3px 5px; }
  .vl-compact .vl-table td { height: 21px; }
  .vl-compact .vl-sign { margin-top: 18px; }
  .vl-compact .vl-sign i { height: 22px; }
  .vl-compact .vl-foot { margin-top: 8px; font-size: 8pt; }
}
body.cta-off .mobile-cta { display: none !important; }
