/*
Theme Name: Baumeister Immobilien
Theme URI: https://baumeister-immobilien.com
Author: Pusch IT-Service
Author URI: https://pusch-service.de
Description: Individuelles Theme für Baumeister Immobilien. Richtet bei der Aktivierung Seiten, Menüs, Objekte und Bilder automatisch ein.
Version: 1.6.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: baumeister
License: Proprietär
*/

@font-face { font-family: "Inter Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-var.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-serif-display.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-serif-display-italic.woff2") format("woff2"); }

:root {
	--navy: #030632;
	--navy-2: #10155a;
	--gold: #c9a55c;
	--gold-dark: #a8873f;
	--sand: #f6f3ec;
	--ink: #1c1a29;
	--muted: #5d5a6e;
	--line: #e4e0d6;
	--white: #ffffff;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(18, 12, 58, .10);
	--serif: "DM Serif Display", Georgia, "Times New Roman", serif;
	--sans: "Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 1000; background: var(--white); padding: 10px 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.6em; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .2s ease; font-family: var(--sans); line-height: 1.2; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--gold); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.brand-text { font-family: var(--serif); color: var(--gold); font-size: 1.4rem; letter-spacing: .06em; text-transform: uppercase; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.main-nav a { display: block; padding: 10px 14px; color: rgba(255,255,255,.88); text-decoration: none; font-size: .96rem; font-weight: 500; border-radius: 8px; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--gold); }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: .2s; }

@media (max-width: 980px) {
	.nav-toggle { display: block; }
	.main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); display: none; padding: 10px 20px 22px; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
	.header-cta { display: none; }
	.brand img { height: 52px; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-sand { background: var(--sand); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.86); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.eyebrow { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.section-navy .eyebrow { color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section-navy .lead { color: rgba(255,255,255,.75); }

/* Hero */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(201,165,92,.25); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: clamp(56px, 8vw, 100px) 0; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.35); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; object-position: center 20%; }
.hero-badge { position: absolute; left: -26px; bottom: 28px; background: var(--white); color: var(--navy); border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.35; }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--gold-dark); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-badge { left: 14px; } }

.page-hero { background: var(--navy); color: var(--white); padding: clamp(56px, 7vw, 90px) 0 clamp(48px, 6vw, 70px); }
.page-hero h1 { color: var(--white); margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 1.15rem; max-width: 720px; margin: 0; }

/* Grids & cards */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(18,12,58,.16); }
.card-img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .97rem; }
.card-link { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--navy); }
.card-link::after { content: " →"; color: var(--gold-dark); }

.feature { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.section-navy .feature { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(201,165,92,.15); color: var(--gold-dark); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.section-navy .feature-icon { color: var(--gold); }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }
.section-navy .feature p { color: rgba(255,255,255,.72); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } .split.reverse > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.2 14.2L4.6 10l1.4-1.4 2.8 2.8 5.2-5.2 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }

.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 30px 26px 26px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 2.2rem; color: var(--gold); display: block; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--gold); line-height: 1.1; }
.stat span { font-size: .92rem; color: rgba(255,255,255,.72); }

.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); border-radius: 22px; padding: clamp(36px, 5vw, 60px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.cta-band h2 { color: var(--white); margin: 0 0 .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.78); }

.note { background: var(--sand); border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 0 10px 10px 0; font-size: .95rem; color: var(--muted); }
.todo { background: #fff6d6; border: 1px dashed #c9a55c; padding: 2px 6px; border-radius: 4px; color: #6b5414; }

/* Content pages */
.entry { padding: clamp(50px, 7vw, 90px) 0; }
.entry > .wrap-narrow > *:first-child { margin-top: 0; }
.entry h2 { margin-top: 1.6em; }
.entry h3 { margin-top: 1.4em; }
.entry .split h2, .entry .eyebrow + h2 { margin-top: 0; }
.entry .wrap .full { width: auto; margin-left: 0; transform: none; }
.entry .wrap > p, .entry .wrap > h2, .entry .wrap > h3 { max-width: 820px; }
.entry .alignwide, .entry .full { width: min(var(--wrap), 100vw - 40px); margin-left: 50%; transform: translateX(-50%); }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: .96rem; margin: 0 0 1.6em; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; width: 46%; }
.table td.num, .table th.num { text-align: right; }
.table tr.total td, .table tr.total th { font-weight: 700; color: var(--navy); border-top: 2px solid var(--navy); }
.table-wrap { overflow-x: auto; }
.feature-dark { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.85); }
.feature-dark h3 { color: var(--white); }
.table-dark th { color: rgba(255,255,255,.72); }
.table-dark td { color: var(--white); }
.table-dark th, .table-dark td { border-bottom-color: rgba(255,255,255,.12); }
.table-dark tr.total th, .table-dark tr.total td { color: var(--gold); border-top-color: var(--gold); }
.feature-dark .small { font-size: .9rem; color: rgba(255,255,255,.72); margin: 0; }

/* Objekte */
.objekt-card .card-body h3 { margin-bottom: .35em; font-size: 1.25rem; }
.objekt-media { position: relative; }
.objekt-tag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--navy); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.objekt-status { position: absolute; top: 14px; right: 14px; background: var(--navy); color: var(--white); font-size: .76rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.objekt-ort { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.objekt-preis { font-family: var(--serif); font-size: 1.55rem; color: var(--navy); font-weight: 600; margin-bottom: 14px; }
.objekt-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.objekt-facts b { color: var(--ink); font-weight: 600; }
.objekt-placeholder { aspect-ratio: 3/2; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); display: grid; place-items: center; color: var(--gold); }
.objekt-placeholder svg { width: 84px; height: 84px; opacity: .9; }
.objekt-single { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; }
.objekt-single .objekt-media img, .objekt-single .objekt-placeholder { border-radius: var(--radius); width: 100%; }
.objekt-aside { position: sticky; top: 110px; background: var(--sand); border-radius: var(--radius); padding: 28px; }
.objekt-aside .btn { width: 100%; justify-content: center; margin-top: 10px; }
@media (max-width: 900px) { .objekt-single { grid-template-columns: 1fr; } .objekt-aside { position: static; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=number], .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid #cfcadd; border-radius: 10px; font: inherit; font-size: 1rem; background: var(--white); color: var(--ink); }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form .consent input { margin-top: 4px; }
.form .hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.alert-ok { background: #e7f5ea; color: #1d5b2c; }
.alert-err { background: #fbe9e9; color: #7a1f1f; }

.contact-grid h2 { margin-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 50px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-box { background: var(--navy); color: rgba(255,255,255,.85); border-radius: var(--radius); padding: 34px; }
.contact-box h3 { color: var(--white); }
.contact-box a { color: var(--gold); }
.contact-box dl { margin: 0; }
.contact-box dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-top: 16px; }
.contact-box dd { margin: 2px 0 0; }

/* Rechner */
.rechner { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
@media (max-width: 860px) { .rechner { grid-template-columns: 1fr; } }
.rechner .form { gap: 14px; }
.rechner-out { background: var(--navy); color: rgba(255,255,255,.85); border-radius: 14px; padding: 28px; }
.rechner-out h3 { color: var(--white); }
.rechner-out .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .97rem; }
.rechner-out .row b { color: var(--white); font-weight: 600; white-space: nowrap; }
.rechner-out .big { margin-top: 18px; padding: 18px; border-radius: 12px; background: rgba(201,165,92,.14); }
.rechner-out .big span { display: block; font-size: .85rem; color: rgba(255,255,255,.72); }
.rechner-out .big b { font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.rechner-note { font-size: .82rem; color: rgba(255,255,255,.6); margin: 14px 0 0; }

/* Footer */
.site-footer { background: var(--navy); border-top: 3px solid var(--gold); color: rgba(255,255,255,.7); padding: 70px 0 0; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-logo img { height: 66px; width: auto; margin-bottom: 16px; }
.footer-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Misc WordPress */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .85rem; color: var(--muted); }
.pagination { margin-top: 40px; }


/* =========================================================================
   v1.1: Moderner Feinschliff
   ========================================================================= */
body { font-size: 16.5px; letter-spacing: -0.003em; font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -0.012em; }
h3 { font-size: 1.38rem; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Header: Glas-Effekt, schrumpft beim Scrollen */
.site-header { background: rgba(3, 6, 50, .92); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: none; border-bottom: 1px solid rgba(255,255,255,.06); transition: background .3s, box-shadow .3s; }
.site-header .wrap { transition: min-height .3s; }
.brand img { transition: height .3s; }
.site-header.is-scrolled { background: rgba(3, 6, 50, .97); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.site-header.is-scrolled .wrap { min-height: 68px; }
.site-header.is-scrolled .brand img { height: 46px; }
.main-nav a { position: relative; }
@media (min-width: 981px) {
	.main-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
	.main-nav a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { transform: scaleX(1); }
}

/* Buttons */
.btn { letter-spacing: .01em; box-shadow: 0 0 0 rgba(0,0,0,0); }
.btn-gold { background: linear-gradient(135deg, #d9b86f 0%, #c9a55c 55%, #b28c43 100%); box-shadow: 0 8px 24px rgba(201,165,92,.28); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201,165,92,.38); background: linear-gradient(135deg, #e2c47e 0%, #cfab61 55%, #b8924a 100%); color: var(--navy); }
.btn-navy:hover, .btn-outline:hover { transform: translateY(-2px); }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 85% 10%, rgba(201,165,92,.16), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(40,52,160,.35), transparent 60%), var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; padding: clamp(64px, 9vw, 120px) 0; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; }
.hero-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid rgba(201,165,92,.55); border-radius: calc(var(--radius) + 4px); pointer-events: none; }
.hero-media img { position: relative; border-radius: 18px; }
.hero-badge { background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 16px; padding: 18px 22px; }
.hero-badge strong { font-weight: 400; font-size: 1.9rem; }

/* Vertrauensleiste */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust li { display: flex; align-items: center; gap: 14px; font-size: .95rem; color: var(--muted); line-height: 1.35; }
.trust li b { display: block; color: var(--navy); font-weight: 600; }
.trust .ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(201,165,92,.14); color: var(--gold-dark); }
.trust svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; } }

/* Karten */
.card { border-radius: 18px; box-shadow: 0 1px 2px rgba(3,6,50,.06), 0 12px 32px rgba(3,6,50,.08); }
.card > a, .objekt-media { display: block; overflow: hidden; }
.card-img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-img { transform: scale(1.06); }
.card-link::after { display: inline-block; transition: transform .25s; }
.card:hover .card-link::after { transform: translateX(4px); }
.feature { border-radius: 18px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.feature:hover { border-color: rgba(201,165,92,.6); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(3,6,50,.08); }
.step { border-radius: 18px; transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(3,6,50,.08); }
.step::before { font-size: 2.6rem; }
.split img { border-radius: 20px; }
.stat strong { font-weight: 400; font-size: 2.4rem; }
.objekt-preis { font-weight: 400; }
.cta-band { position: relative; overflow: hidden; border-radius: 24px; background: radial-gradient(600px 300px at 100% 0%, rgba(201,165,92,.25), transparent 60%), linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); }
.page-hero { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 90% 0%, rgba(201,165,92,.16), transparent 60%), var(--navy); }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }

/* Scroll-Animationen (nur mit JavaScript, respektiert reduzierte Bewegung) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] { opacity: 1; transform: none; transition: none; }
	* { scroll-behavior: auto !important; }
}

/* v1.2: Header deckend (Logo verschmilzt mit dem Hintergrund), Objektgalerie */
.site-header, .site-header.is-scrolled { background: var(--navy); }
.bm-galerie.wp-block-gallery { gap: 12px !important; margin: 10px 0 30px; }
.bm-galerie .wp-block-image img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; cursor: zoom-in; }
.bm-galerie .wp-block-image:hover img { transform: scale(1.03); filter: brightness(1.05); }
.bm-galerie .wp-block-image { overflow: hidden; border-radius: 12px; }
.bm-galerie figcaption.wp-element-caption { font-size: .78rem !important; padding: 18px 10px 8px !important; border-radius: 0 0 12px 12px; }
.objekt-single .objekt-media img { aspect-ratio: 3/2; object-fit: cover; }

/* v1.3: Fokus, Galerie, Objekt-Chips, Druck, mobile Kontaktleiste */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
@media (min-width: 700px) {
	.bm-galerie.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc(33.333% - 8px) !important; flex-grow: 0; }
}
.objekt-chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.objekt-chips li { padding: 7px 14px; border: 1px solid rgba(201,165,92,.45); border-radius: 999px; color: var(--white); font-size: .9rem; background: rgba(255,255,255,.04); }
.objekt-chips li:first-child { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 600; }
.btn-ghost-dark { background: transparent; border: 0; color: var(--muted); width: 100%; justify-content: center; margin-top: 6px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.btn-ghost-dark:hover { color: var(--navy); }

.mobile-bar { display: none; }
@media (max-width: 760px) {
	.mobile-bar { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; gap: 8px; padding: 8px; border-radius: 18px; background: rgba(3,6,50,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
	.mobile-bar a { flex: 1; text-align: center; line-height: 1.2; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 12px; color: var(--white); text-decoration: none; font-size: .78rem; font-weight: 600; }
	.mobile-bar a.primary { background: var(--gold); color: var(--navy); }
	.mobile-bar svg { width: 20px; height: 20px; }
	body { padding-bottom: 86px; }
}

@media print {
	.site-header, .site-footer, .mobile-bar, .objekt-aside .btn, .btn-ghost-dark, #wpadminbar, .skip-link { display: none !important; }
	body { padding: 0; font-size: 11pt; color: #000; }
	.page-hero { background: none !important; color: #000; padding: 0 0 12pt; }
	.page-hero h1, .page-hero p, .objekt-chips li { color: #000 !important; }
	.page-hero a { display: none; }
	.objekt-chips li { border-color: #999; background: none !important; }
	.objekt-single { display: block; }
	.objekt-aside { position: static; background: none; padding: 0; margin-top: 16pt; }
	.section { padding: 0 !important; }
	.js [data-reveal] { opacity: 1 !important; transform: none !important; }
	.bm-galerie figure.wp-block-image { width: calc(33.333% - 8px) !important; break-inside: avoid; }
	.card, .feature { box-shadow: none; }
	a[href]::after { content: ""; }
}

/* v1.4: Handy-Feinschliff */
@media (max-width: 900px) {
	.hero .wrap { gap: 44px; padding: 48px 0 64px; }
	.hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
	.hero p { font-size: 1.05rem; }
	.hero-actions { gap: 10px; }
	.hero-actions .btn { flex: 1 1 auto; justify-content: center; }
	.hero-media { margin: 0 6px 30px 0; }
	.hero-media::before { inset: 14px -6px -14px 10px; }
	.hero-media img { aspect-ratio: 4 / 4.3; object-position: center 12%; }
	.hero-badge { left: 14px; bottom: -28px; padding: 11px 16px; font-size: .8rem; border-radius: 12px; box-shadow: 0 10px 24px rgba(3,6,50,.25); }
	.hero-badge strong { font-size: 1.3rem; }
	.hero::after { display: none; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.section { padding: 56px 0; }
	.section-head { margin-bottom: 30px; }
	.page-hero { padding: 44px 0 40px; }
	.page-hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
	.trust ul { padding: 22px 0; gap: 16px; }
	.split { gap: 26px; }
	.split img { aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 20%; }
	.stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
	.stat strong { font-size: 1.6rem; }
	.stat span { font-size: .8rem; }
	.cta-band { padding: 30px 24px; border-radius: 18px; }
	.cta-band .btn { width: 100%; justify-content: center; }
	.card-body { padding: 20px 20px 22px; }
	.rechner { padding: 18px; border-radius: 16px; }
	.rechner-out { padding: 22px 18px; }
	.objekt-aside { padding: 22px; }
	.objekt-chips li { font-size: .82rem; padding: 6px 12px; }
	.contact-box { padding: 26px 22px; }
	.mobile-bar { left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); padding: 6px; }
	.mobile-bar a { flex-direction: row; justify-content: center; gap: 8px; padding: 12px 6px; font-size: .9rem; }
	body { padding-bottom: 78px; }
	.table th, .table td { padding: 9px 8px; }
	.site-footer .cols { gap: 30px; }
	.footer-bottom { flex-direction: column; }
	.footer-bottom ul { flex-wrap: wrap; }
}
@media (max-width: 760px) {
	.mobile-bar:has(a:nth-child(3)) a { flex-direction: column; gap: 3px; padding: 8px 4px; font-size: .78rem; }
}

/* v1.6: Pflegeplatz-Hervorhebung, Vollfinanzierung, Wertrechner, Objekt-Rechner */
.highlight { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(135deg, rgba(201,165,92,.18), rgba(201,165,92,.06)); border: 1px solid rgba(201,165,92,.55); border-radius: 16px; padding: 18px 20px; margin: 0 0 22px; }
.highlight strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--navy); margin-bottom: 4px; }
.highlight-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 1.2rem; }
.teaser-voll { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin: 50px 0 10px; padding: clamp(26px, 4vw, 40px); border-radius: 20px; background: radial-gradient(500px 240px at 100% 0%, rgba(201,165,92,.28), transparent 60%), var(--navy); color: rgba(255,255,255,.82); }
.teaser-voll > div { flex: 1 1 420px; }
.teaser-voll h2 { color: var(--white); margin: 0 0 .4em !important; }
.teaser-voll p { margin: 0; }
.wertrechner .big b { font-size: 2.2rem; }
.wertrechner select, .rechner select { width: 100%; padding: 13px 14px; border: 1px solid #cfcadd; border-radius: 10px; font: inherit; background: var(--white); }
.objekt-rechner .rechner { margin-top: 0; }
@media (max-width: 760px) { .teaser-voll .btn { width: 100%; justify-content: center; } .wertrechner .big b { font-size: 1.7rem; } }
