/* ==========================================================================
   Zwangsversteigerungen BRD – Ratgeber-Subdomain
   Static prototype → later converted to a WordPress theme.
   Brand values taken from zwangsversteigerungen-brd.de (site.css :root).
   ========================================================================== */

/* ---------- Fonts (self-hosted, GDPR: no Google Fonts CDN) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Brand (from main site) */
  --blue: #284255;          /* --Z_BRD-dark-blue */
  --blue-70: #284255b3;     /* --Z_BRD-grey */
  --green: #d3e660;         /* --Z_BRD-light-green */
  --beige: #f4f3ee;         /* --Z-BRD-light-beige */
  --sky: #7cb8e0;           /* accent used on main site */

  /* Derived */
  --blue-900: #1b2e3c;
  --blue-50: #eaf0f4;
  --green-600: #b9cc3f;
  --sky-50: #eaf4fb;
  --white: #ffffff;
  --text: #284255;
  --muted: #5b6f7e;
  --line: #dfe4e8;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(40, 66, 85, .06);
  --shadow: 0 12px 32px rgba(40, 66, 85, .10);
  --shadow-lg: 0 24px 60px rgba(40, 66, 85, .16);

  --container: 1180px;
  --gutter: 20px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-color: var(--sky); text-underline-offset: 3px; }
a:hover { color: var(--blue-900); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; color: var(--blue); letter-spacing: -.01em; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 640px) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; } }
.hero .container > *, .split > *, .grid > *, .steps > *, .article-layout > *, .cta-band > * { min-width: 0; }
h1 { font-size: clamp(1.75rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--green); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow svg { width: 14px; height: 14px; flex: none; }
.topbar a svg, .article-meta svg { flex: none; }
.eyebrow--light { background: rgba(255,255,255,.12); color: var(--green); }
.lead { font-size: 1.15rem; color: var(--muted); }
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--green); color: var(--blue); box-shadow: 0 6px 18px rgba(185, 204, 63, .45); }
.btn--primary:hover { background: var(--green-600); color: var(--blue-900); }
.btn--dark { background: var(--blue); color: var(--white); }
.btn--dark:hover { background: var(--blue-900); color: var(--white); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: var(--white); color: var(--blue); }
.btn--sm { padding: 11px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue); color: rgba(255,255,255,.85); font-size: .85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--green); }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__phone { display: inline-flex; align-items: center; gap: 8px; }
.topbar__phone svg { width: 15px; height: 15px; }
.topbar__countries { display: flex; gap: 6px; }
.topbar__countries a { padding: 2px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: .78rem; }
.topbar__countries a[aria-current] { background: var(--green); color: var(--blue); border-color: var(--green); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 14px; border-radius: 999px; color: var(--blue); }
.nav a:hover { background: var(--beige); }
.nav a[aria-current="page"] { background: var(--blue-50); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--blue); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--beige); padding: 72px 0 96px; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -160px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(124,184,224,.35), rgba(124,184,224,0) 70%);
}
.hero::after {
  content: ""; position: absolute; left: -120px; bottom: -220px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(211,230,96,.45), rgba(211,230,96,0) 70%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 span { background: linear-gradient(transparent 62%, var(--green) 62%); padding: 0 4px; }
.hero__checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.hero__checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.hero__checks svg { width: 22px; height: 22px; flex: none; color: var(--blue); background: var(--green); border-radius: 50%; padding: 4px; margin-top: 1px; }
.hero--compact { padding: 56px 0 72px; }
.hero--compact .container { grid-template-columns: 1fr; max-width: 900px; }
.hero--dark { background: var(--blue); color: rgba(255,255,255,.85); }
.hero--dark h1, .hero--dark h2 { color: var(--white); }
.hero--dark .lead { color: rgba(255,255,255,.8); }
.hero--dark::after { background: radial-gradient(circle, rgba(211,230,96,.18), rgba(211,230,96,0) 70%); }
.hero--dark::before { background: radial-gradient(circle at 30% 30%, rgba(124,184,224,.25), rgba(124,184,224,0) 70%); }

/* ---------- Search widget ---------- */
.search-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px; color: var(--text); }
.search-card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.search-card p.small { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select {
  font: 500 1rem var(--font); color: var(--blue); width: 100%;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23284255' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px var(--sky-50); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.search-card__note { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 14px; font-size: .82rem; color: var(--muted); }
.search-card__note svg { width: 16px; height: 16px; }

/* Inline (horizontal) search bar used in CTA bands */
.search-inline { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px; background: var(--white); padding: 10px; border-radius: 999px; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.search-inline input, .search-inline select { font: 500 1rem var(--font); color: var(--blue); border: 0; padding: 12px 18px; border-radius: 999px; background: var(--beige); appearance: none; -webkit-appearance: none; min-width: 0; }
.search-inline input:focus, .search-inline select:focus { outline: 2px solid var(--sky); }

/* ---------- Trust strip ---------- */
.trust { margin-top: -48px; position: relative; z-index: 2; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.trust__item { padding: 26px 24px; display: flex; gap: 14px; align-items: center; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--beige); display: grid; place-items: center; flex: none; }
.trust__icon svg { width: 24px; height: 24px; color: var(--blue); }
.trust__item strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.trust__item span { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--beige { background: var(--beige); }
.section--blue { background: var(--blue); color: rgba(255,255,255,.85); }
.section--blue h2, .section--blue h3 { color: var(--white); }
.section--tight { padding: 64px 0; }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; color: var(--blue); }
.card p:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; display: flex; flex-direction: column; color: var(--text); }
.card--link .card__more { margin-top: auto; padding-top: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card--link .card__more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card--link:hover .card__more svg { transform: translateX(4px); }

/* Property type tiles */
.type-tile { position: relative; background: var(--white); border-radius: var(--radius); padding: 26px 22px; text-decoration: none; color: var(--blue); display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); transition: all .2s ease; }
.type-tile:hover { background: var(--blue); color: var(--white); border-color: var(--blue); transform: translateY(-3px); }
.type-tile:hover .type-tile__icon { background: var(--green); }
.type-tile__icon { width: 58px; height: 58px; border-radius: 18px; background: var(--beige); display: grid; place-items: center; transition: background .2s ease; }
.type-tile__icon svg { width: 30px; height: 30px; color: var(--blue); }
.type-tile strong { font-size: 1.05rem; }
.type-tile strong, .type-tile span { overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 640px) { .type-tile { padding: 20px 16px; } .type-tile strong { font-size: .95rem; } }
.type-tile span { font-size: .85rem; opacity: .75; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 24px; background: var(--white); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--green); font-weight: 700; margin-bottom: 16px; }
.section--blue .step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.section--blue .step::before { background: var(--green); color: var(--blue); }
.steps--vertical { grid-template-columns: 1fr; gap: 18px; }
.steps--vertical .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; border: 1px solid var(--line); }
.steps--vertical .step::before { grid-row: span 2; margin: 0; }
.steps--vertical .step h3 { margin-bottom: 4px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 24px; height: 24px; flex: none; color: var(--blue); background: var(--green); border-radius: 50%; padding: 5px; margin-top: 2px; }
.section--blue .checklist svg { color: var(--blue); }

/* Visual panel (placeholder for photos – replace with real images later) */
.visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: linear-gradient(145deg, var(--sky-50), var(--beige)); display: grid; place-items: center; }
.visual svg.visual__art { width: 78%; height: auto; }
.visual__badge { position: absolute; left: 24px; bottom: 24px; background: var(--white); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; }
.visual__badge strong { display: block; font-size: 1.4rem; line-height: 1; }
.visual__badge span { font-size: .8rem; color: var(--muted); }
.visual__badge .dot { width: 42px; height: 42px; border-radius: 12px; background: var(--green); display: grid; place-items: center; }
.visual__badge .dot svg { width: 22px; height: 22px; color: var(--blue); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--green); line-height: 1.1; }
.stat span { color: rgba(255,255,255,.8); }

/* Feature list (premium) */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; list-style: none; padding: 0; margin: 0; }
.features li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.features svg { width: 20px; height: 20px; color: var(--sky); flex: none; }

/* ---------- Blog cards ---------- */
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16 / 9; display: grid; place-items: center; }
.post-card__img svg { width: 64px; height: 64px; color: var(--blue); opacity: .85; }
.post-card__img--1 { background: linear-gradient(135deg, var(--green), #e9f2b0); }
.post-card__img--2 { background: linear-gradient(135deg, var(--sky), var(--sky-50)); }
.post-card__img--3 { background: linear-gradient(135deg, var(--beige), #e6e3d6); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__meta { font-size: .8rem; color: var(--muted); display: flex; gap: 10px; }
.post-card__meta .tag { background: var(--blue-50); color: var(--blue); padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.post-card h3 { font-size: 1.12rem; margin: 0; }
.post-card p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--blue); border-radius: var(--radius-lg); padding: 64px 56px; color: rgba(255,255,255,.85); display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -120px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(211,230,96,.35), rgba(211,230,96,0) 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band--search { grid-template-columns: 1fr; text-align: center; }

/* ---------- FAQ (details/summary, no JS needed) ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--sky); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--beige) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23284255' stroke-width='3'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--green); }
.faq details > div { padding: 0 0 22px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.hero--dark .breadcrumb, .hero--dark .breadcrumb a { color: rgba(255,255,255,.7); }

/* ---------- Article (blog post) ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .88rem; color: var(--muted); margin-top: 8px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 16px; height: 16px; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; background: var(--beige); border-radius: var(--radius-sm); border-left: 4px solid var(--green); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--beige); font-weight: 600; }
.toc { background: var(--beige); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 32px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Inline CTA inside article text */
.cta-inline { display: flex; gap: 20px; align-items: center; margin: 2em 0; padding: 24px 26px; border-radius: var(--radius); background: linear-gradient(120deg, var(--blue), #34566e); color: rgba(255,255,255,.88); }
.cta-inline__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--green); display: grid; place-items: center; flex: none; }
.cta-inline__icon svg { width: 26px; height: 26px; color: var(--blue); }
.cta-inline strong { display: block; color: var(--white); font-size: 1.08rem; margin-bottom: 2px; }
.cta-inline p { margin: 0; font-size: .95rem; }
.cta-inline .btn { margin-left: auto; }

/* End-of-article CTA */
.cta-end { margin-top: 48px; padding: 36px; border-radius: var(--radius-lg); background: var(--beige); text-align: center; border: 2px dashed rgba(40,66,85,.18); }
.cta-end h3 { font-size: 1.45rem; }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.widget h4 { margin-bottom: 12px; }
.widget--cta { background: var(--blue); border: 0; color: rgba(255,255,255,.85); }
.widget--cta h4 { color: var(--white); font-size: 1.2rem; }
.widget--cta .field label { color: var(--white); }
.widget--phone { background: var(--beige); border: 0; }
.widget--phone a.phone { font-size: 1.25rem; font-weight: 700; text-decoration: none; display: block; margin: 4px 0; }
.widget ul.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.widget ul.links a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.widget ul.links a:hover { text-decoration: underline; }

/* Author box */
.author { display: flex; gap: 16px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 40px; }
.author__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--green); display: grid; place-items: center; font-weight: 700; flex: none; }
.author p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Blog archive ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-bar a { text-decoration: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.filter-bar a:hover, .filter-bar a[aria-current] { background: var(--blue); color: var(--white); border-color: var(--blue); }
.featured-post { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--text); margin-bottom: 40px; }
.featured-post .post-card__img { aspect-ratio: auto; min-height: 320px; }
.featured-post__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.featured-post h2 { font-size: 1.75rem; margin: 0; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; border: 1px solid var(--line); font-weight: 600; }
.pagination span[aria-current] { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.contact-card a.big { font-size: 1.45rem; font-weight: 700; text-decoration: none; display: block; margin: 6px 0 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer-bottom ul { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }

/* ---------- Client imagery (from zwangsversteigerungen-brd.de) ---------- */
/* Hero with key visual (house + hammer) */
.hero--visual { padding-bottom: 150px; }
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__visual::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff 0%, rgba(255,255,255,.6) 45%, rgba(255,255,255,0) 70%); }
.hero__visual img { position: relative; width: 100%; max-width: 480px; height: auto; filter: drop-shadow(0 30px 40px rgba(40,66,85,.18)); animation: float 6s ease-in-out infinite; }
.hero__chip { position: absolute; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; display: flex; gap: 10px; align-items: center; font-size: .85rem; font-weight: 600; z-index: 1; }
.hero__chip svg { width: 20px; height: 20px; color: var(--blue); background: var(--green); border-radius: 8px; padding: 3px; flex: none; }
.hero__chip--a { left: 0; top: 12%; animation: float 7s ease-in-out infinite reverse; }
.hero__chip--b { right: 0; bottom: 8%; animation: float 8s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Wide search panel overlapping the hero */
.search-wrap { position: relative; z-index: 3; margin-top: -96px; }
.search-bar { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px 30px 30px; }
.search-bar__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.search-bar__head h2 { font-size: 1.3rem; margin: 0; }
.search-bar__live { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: var(--muted); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #5fb85f; box-shadow: 0 0 0 0 rgba(95,184,95,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(95,184,95,0); } 100% { box-shadow: 0 0 0 0 rgba(95,184,95,0); } }
.search-bar__fields { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr auto; gap: 12px; align-items: end; }
.search-bar__fields .field { margin: 0; }
.search-bar__fields .btn { height: 52px; }
.search-bar__fields input, .search-bar__fields select { height: 52px; padding-top: 0; padding-bottom: 0; line-height: 52px; }
.trust--flat { margin-top: 40px; }
.trust--flat .trust__grid { box-shadow: none; border: 1px solid var(--line); }

/* Personal service box (staff photo) */
.service { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.service__photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; background: var(--beige); border: 6px solid var(--beige); }
.service__label { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 6px; }
.service__title { display: block; font-size: 1.45rem; line-height: 1.3; margin-bottom: 20px; }
.service__lines { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service__lines a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; padding: 14px 18px; border-radius: 16px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; font-size: 1.05rem; transition: all .15s ease; }
.service__lines a small { grid-column: 1 / -1; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.service__lines a svg { width: 18px; height: 18px; }
.service__lines a:first-child { background: var(--green); border-color: var(--green); }
.service__lines a:hover { border-color: var(--blue); transform: translateY(-1px); }
.service--compact { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; gap: 14px; box-shadow: none; border: 1px solid var(--line); }
.service--compact .service__photo { width: 110px; height: 110px; margin: 0 auto; border-width: 4px; }
.service--compact .service__title { font-size: 1.05rem; margin-bottom: 14px; }
.service--compact .service__lines { grid-template-columns: 1fr; gap: 8px; }
.service--compact .service__lines a { text-align: left; padding: 10px 14px; font-size: .98rem; }
.section--beige .service { box-shadow: var(--shadow-sm); }

/* Illustration cards (premium features) */
.illu-card { background: var(--white); border-radius: var(--radius); overflow: hidden; color: var(--text); display: flex; flex-direction: column; transition: transform .2s ease; }
.illu-card:hover { transform: translateY(-4px); }
.illu-card__img { background: linear-gradient(160deg, var(--sky-50), var(--beige)); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 22px; }
.illu-card__img img { width: 100%; height: 100%; object-fit: contain; }
.illu-card__body { padding: 24px 26px 28px; }
.illu-card__body h3 { color: var(--blue) !important; margin-bottom: 8px; }
.illu-card__body p { margin: 0; color: var(--muted); font-size: .95rem; }
.section--blue .section-head p { color: rgba(255,255,255,.8); }

/* Visual panel with real image */
.visual--img { padding: 32px; }
.visual--img > img { width: 100%; height: 100%; object-fit: contain; position: relative; }

/* Webinar teaser (click-to-YouTube: no third-party embed before consent) */
.webinar { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.webinar img { width: 100%; height: auto; transition: transform .4s ease; }
.webinar:hover img { transform: scale(1.03); }
.webinar__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(27,46,60,0) 40%, rgba(27,46,60,.55)); }
.webinar__play span { width: 84px; height: 84px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(211,230,96,.3); transition: transform .2s ease; }
.webinar:hover .webinar__play span { transform: scale(1.08); }
.webinar__play svg { width: 34px; height: 34px; color: var(--blue); margin-left: 5px; }
.webinar__caption { position: absolute; left: 24px; bottom: 20px; right: 24px; color: var(--white); font-weight: 600; font-size: .95rem; }

/* Partner logos */
.partners { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.partners img { width: 140px; height: 140px; object-fit: contain; background: var(--white); border-radius: var(--radius); padding: 14px; border: 1px solid var(--line); }

/* Mobile sticky CTA */
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 10px 10px; font-size: .9rem; }
  .steps, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1rem; }
  .header-cta .btn { display: none; }
  .hero { padding: 48px 0 80px; }
  .hero .container, .split, .featured-post, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse > :first-child { order: 0; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .section { padding: 72px 0; }
  .topbar__left .hide-sm { display: none; }
  .hero--visual { padding-bottom: 130px; }
  .hero__visual img { max-width: 360px; }
  .search-bar__fields { grid-template-columns: 1fr 1fr; }
  .search-bar__fields .field:first-child { grid-column: 1 / -1; }
  .search-bar__fields .btn { grid-column: 1 / -1; }
  .service { grid-template-columns: 1fr; text-align: center; gap: 20px; padding: 30px 22px; }
  .service__photo { margin: 0 auto; width: 150px; height: 150px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .topbar__right .hide-xs { display: none; }
  .logo img { height: 30px; }
  .grid--2, .grid--3, .grid--4, .steps, .features { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: 1fr 1fr !important; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .search-card { padding: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .search-inline { grid-template-columns: 1fr; border-radius: var(--radius); }
  .cta-inline { flex-direction: column; align-items: flex-start; }
  .cta-inline .btn { margin-left: 0; }
  .featured-post__body { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps--vertical .step { grid-template-columns: 1fr; }
  .steps--vertical .step::before { grid-row: auto; margin-bottom: 12px; }
  .visual__badge { left: 12px; bottom: 12px; padding: 8px 12px; gap: 8px; }
  .visual__badge strong { font-size: 1rem; }
  .visual__badge span { font-size: .72rem; }
  .visual__badge .dot { width: 32px; height: 32px; border-radius: 9px; }
  .visual--img { padding: 20px 20px 64px; }
  .search-bar { padding: 22px 18px; }
  .search-bar__fields { grid-template-columns: 1fr; }
  .service__lines { grid-template-columns: 1fr; text-align: left; }
  .service__title { font-size: 1.2rem; }
  .hero__chip { font-size: .75rem; padding: 8px 10px; }
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; box-shadow: var(--shadow-lg); }
  .site-footer { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
