/*
Theme Name: Roman Beltschikow – Architekturgrün
Description: Einseitige Website für Immobilienprojekte, Bestandsentwicklung und Direktankauf.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: roman-architekturgruen
*/
:root{--ink:#192824;--deep:#1c322c;--dark:#11251f;--mid:#50625a;--paper:#f1f1e9;--white:#fafaf5;--line:#c7d0c3;--on:#edf4e8;--accent:#c9e18c;--serif:Georgia,'Times New Roman',serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--wrap:min(1216px,calc(100% - 100px));}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:28px}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.62 var(--sans);-webkit-font-smoothing:antialiased}
:where(h1,h2,h3,p,figure){margin:0}
a{color:inherit;text-underline-offset:.23em}
a:focus-visible,summary:focus-visible{outline:3px solid #657d35;outline-offset:5px}
.wrap{width:var(--wrap);margin-inline:auto}
.eyebrow{font-size:.875rem;line-height:1.35;font-weight:660;letter-spacing:.1em;text-transform:uppercase}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:.99;text-wrap:balance;letter-spacing:-.042em}
h2{font-size:clamp(2.5rem,5.5vw,5.18rem)}
h3{font-size:clamp(1.65rem,3vw,2.5rem);line-height:1.07}
.lead{font-size:clamp(1.08rem,1.65vw,1.25rem);line-height:1.62}
.skip{position:absolute;top:.75rem;left:.75rem;z-index:3;padding:.75rem 1rem;background:var(--white);transform:translateY(-150%)}
.skip:focus{transform:none}
.top{background:var(--white);border-bottom:1px solid var(--line)}
.top-inner{min-height:84px;display:flex;justify-content:space-between;align-items:center;gap:1.25rem}
.brand{display:inline-flex;align-items:center;gap:.75rem;color:var(--ink);font-size:1.02rem;line-height:1.2;font-weight:720;text-decoration:none}
.mark{display:grid;place-items:center;width:39px;height:39px;background:var(--deep);color:var(--accent);font:1.05rem var(--serif);letter-spacing:-.09em}
.nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.55rem 1.8rem;font-size:.9rem;font-weight:560}
.nav a{text-decoration:none;white-space:nowrap}
.nav a:hover{text-decoration:underline}
.private{display:inline-flex;align-items:center;padding:.45rem .75rem;border:1px solid var(--line);border-radius:4px;font-size:.875rem;line-height:1.1;color:#425648}
.hero{min-height:625px;display:grid;grid-template-columns:1.05fr .95fr;background:var(--deep);color:var(--on);overflow:hidden}
.hero-text{padding:clamp(60px,8vw,112px) clamp(38px,6vw,98px) clamp(58px,7vw,98px) max(50px,calc((100vw - 1216px) / 2));display:flex;flex-direction:column;align-items:flex-start;justify-content:center;z-index:1}
.hero .eyebrow{color:var(--accent)}
h1{font-size:clamp(3.45rem,6.45vw,7rem);margin:.27em 0 .28em}
h1 em{font-weight:400;color:var(--accent)}
.hero .lead{max-width:34ch;color:#e4eee3}
.btn{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:.68rem 1.15rem;background:var(--accent);color:var(--dark);text-decoration:none;font-size:1rem;font-weight:650;letter-spacing:-.01em;border-radius:3px}
.btn:hover{background:#dbeab9}
.btn:focus-visible{outline-color:var(--white)}
.hero .btn{margin-top:1.95rem}
.hero-art{position:relative;display:grid;grid-template-rows:1fr auto;min-width:0;min-height:420px;background:#aab9a3;color:#283f33;border-left:1px solid #a0ad9d}
.hero-art svg{width:100%;height:100%;min-height:360px;display:block;position:absolute;inset:0}
.art-label{position:absolute;bottom:0;inset-inline:0;display:flex;gap:1rem;justify-content:space-between;align-items:center;padding:1rem 1.35rem;border-top:1px solid #728674;background:#b7c3ae;font-size:.875rem}
.band{background:var(--white);border-bottom:1px solid var(--line)}
.band .wrap{display:flex;justify-content:space-between;align-items:center;gap:.6rem 1.4rem;flex-wrap:wrap;padding-block:18px}
.band .label{font-size:.875rem;font-weight:710;letter-spacing:.08em;text-transform:uppercase}
.band p{font-size:1rem;color:#455a4f}
.section{padding-block:clamp(68px,9vw,136px)}
.split{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(36px,8vw,136px);align-items:start}
.split .eyebrow,.cases .eyebrow,.about .eyebrow{margin-bottom:1rem;color:#45604b}
.intro{max-width:59ch}
.intro p+p{margin-top:1.1rem}
.fields{margin-top:clamp(35px,5.6vw,75px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.field{padding:1.65rem 1.55rem 1.75rem}
.field:first-child{padding-left:0}
.field+.field{border-left:1px solid var(--line)}
.field h3{margin:.5rem 0 .7rem}
.field .eyebrow{display:block;margin:0}
.field p{max-width:35ch;color:#405249}
.cases{background:var(--white);border-block:1px solid var(--line)}
.cases .heading{display:grid;grid-template-columns:1fr .65fr;gap:2rem;align-items:end;margin-bottom:clamp(33px,5vw,64px)}
.cases .heading .lead{max-width:37ch}
.case-main{display:grid;grid-template-columns:.83fr 1.17fr;background:#e1e8dc;border:1px solid #cedace}
.case-main .case-art{min-height:345px;background:#243d32;position:relative;overflow:hidden}
.case-art svg{width:100%;height:100%;position:absolute;inset:0;display:block}
.case-text{padding:clamp(25px,4.7vw,66px)}
.case-text h3{margin-bottom:.9rem}
.case-text p+p{margin-top:.85rem}
.case-result{border-top:1px solid #acbead;padding-top:.85rem;font-weight:650}
.case-lite{border-bottom:1px solid var(--line);padding:1.65rem 0;margin-top:1.4rem;display:grid;grid-template-columns:.85fr 1.15fr;gap:1.6rem}
.case-lite .eyebrow{margin-bottom:.35rem}
.case-lite p{max-width:58ch}
.acquire{background:var(--deep);color:var(--on)}
.acquire .eyebrow{color:var(--accent);margin-bottom:1rem}
.acquire h2{max-width:12ch}
.acquire .intro p+p{color:#ceddd0}
.profiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:clamp(35px,5vw,65px);border-top:1px solid #6a7f72}
.profile{padding:1.35rem 1.4rem 0 0}
.profile+.profile{padding-left:1.35rem;border-left:1px solid #6a7f72}
.profile h3{font-size:clamp(1.65rem,2.5vw,2.15rem);margin-bottom:.5rem}
.profile p{color:#dce7d9}
.about-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(35px,8vw,123px);align-items:center}
.family{position:relative;background:#adbfaa;min-height:360px;overflow:hidden;margin:0}
.family img{display:block;width:100%;height:auto;aspect-ratio:4/4.35;object-fit:cover;object-position:50% 47%}
.family figcaption{position:absolute;inset:auto 0 0;background:#142a22;color:var(--on);padding:.7rem 1rem;font-size:.875rem}
.about h2{margin-bottom:1.1rem}
.about p+p{margin-top:1rem}
.about .lead{max-width:48ch}
.bottom{background:var(--white);border-top:1px solid var(--line)}
.bottom .wrap{padding-block:1.5rem;display:flex;gap:.85rem 1.2rem;justify-content:space-between;align-items:baseline;flex-wrap:wrap}
.bottom p{font-size:.875rem;color:#46574c}
.bottom a{font-weight:620;font-size:.925rem}
@media(max-width:1020px){.nav{gap:.5rem 1.1rem}.hero-text{padding-right:40px}}
@media(max-width:800px){:root{--wrap:calc(100% - 56px)}.top-inner{padding-block:1rem;align-items:flex-start;min-height:0;flex-direction:column;gap:.85rem}.nav{justify-content:flex-start}.hero{grid-template-columns:1fr;min-height:0}.hero-text{padding:64px 28px 54px}.hero-art{min-height:390px;border-left:0;border-top:1px solid #a0ad9d}.hero-art svg{min-height:0}.split{grid-template-columns:1fr;gap:1.25rem}.fields{margin-top:2.2rem}.field{padding:1.25rem 1rem}.cases .heading{grid-template-columns:1fr;align-items:start;gap:.9rem}.case-main{grid-template-columns:1fr}.case-main .case-art{min-height:270px}.case-lite{grid-template-columns:1fr;gap:.7rem}.about-grid{gap:2rem}}
@media(max-width:600px){:root{--wrap:calc(100% - 36px)}.nav{gap:.55rem 1rem}.private{font-size:.875rem}.hero-text{padding:50px 18px 49px}h1{font-size:clamp(2.75rem,10vw,4.1rem)}.hero-art{min-height:300px}.art-label{padding:.72rem .8rem;gap:.6rem;flex-wrap:wrap}.section{padding-block:62px}.fields,.profiles{grid-template-columns:1fr}.field{padding:1.2rem 0}.field+.field,.profile+.profile{border-left:0;border-top:1px solid var(--line)}.profile,.profile+.profile{padding:1.15rem 0}.profile+.profile{border-color:#6a7f72}.profiles{margin-top:2rem}.case-main .case-art{min-height:210px}.about-grid{grid-template-columns:1fr;gap:1.65rem}.about-copy{grid-row:1}.family{min-height:0}.family img{aspect-ratio:1.06}.nav a{display:inline-flex;align-items:center;min-height:32px}.band .wrap{padding-block:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Private palette selector: all versions are bundled and work offline. */
.theme-bar{background:var(--white);border-bottom:1px solid var(--line);color:var(--ink)}
.theme-bar fieldset{padding:.68rem 0 .72rem;border:0;display:flex;flex-wrap:wrap;align-items:center;gap:.42rem .55rem;margin:0 auto}
.theme-bar legend{float:left;font-size:.875rem;font-weight:720;margin:.41rem .55rem .3rem 0;padding:0}
.theme-bar input{position:absolute;width:1px;height:1px;opacity:0}
.theme-bar label{display:inline-flex;align-items:center;gap:.45rem;padding:.4rem .65rem;border:1px solid var(--line);border-radius:4px;cursor:pointer;font-size:.875rem;line-height:1.2;min-height:34px}
.theme-bar input:focus-visible+label{outline:2px solid var(--ink);outline-offset:3px}
.theme-bar input:checked+label{background:var(--ink);border-color:var(--ink);color:var(--white)}
.theme-bar i{width:11px;height:11px;border-radius:50%;display:block;background:#657b49;border:1px solid #fff8}
.theme-bar [for="theme-navy"] i{background:#667f9c}
.theme-bar [for="theme-warm"] i{background:#ad7244}
@media(prefers-reduced-motion:no-preference){
html:has(#theme-motion:checked){scroll-behavior:smooth}
body:has(#theme-motion:checked) :where(.btn,.nav a,.theme-bar label){transition:background-color .18s,color .18s,border-color .18s}
body:has(#theme-motion:checked) .hero-text{animation:lift-green .25s ease-out both}
body:has(#theme-motion:checked):has(#theme-navy:checked) .hero-text{animation-name:lift-blue}
body:has(#theme-motion:checked):has(#theme-warm:checked) .hero-text{animation-name:lift-warm}
@keyframes lift-green{from{opacity:.76;transform:translateY(.35rem)}to{opacity:1;transform:none}}
@keyframes lift-blue{from{opacity:.76;transform:translateY(.35rem)}to{opacity:1;transform:none}}
@keyframes lift-warm{from{opacity:.76;transform:translateY(.35rem)}to{opacity:1;transform:none}}
}
.theme-bar .motion-label{margin-left:auto}
.theme-bar .motion-label::before{content:"";width:12px;height:12px;border:1px solid currentColor;border-radius:2px}
.theme-bar input:checked+.motion-label::before{box-shadow:inset 0 0 0 2px var(--ink);background:var(--white)}
body:has(#theme-navy:checked) .hero .btn:hover{background:#d4e9f9}
body:has(#theme-warm:checked) .intro-name{display:none}
body:has(#theme-warm:checked) .hero .btn:focus-visible{outline-color:var(--ink)}

.hero .role-title,.hero .navy-art,.hero .warm-art{display:none}
body:has(#theme-navy:checked){--ink:#1e2b40;--deep:#1b2c45;--dark:#14243b;--paper:#e9edf0;--white:#f7f9fa;--line:#c1ccd6;--on:#eff4fa;--accent:#bcd9f0}
body:has(#theme-navy:checked) :is(.private,.band p,.field p,.bottom p,.split .eyebrow,.cases .eyebrow,.about .eyebrow){color:#435a71}
body:has(#theme-navy:checked) .hero{grid-template-columns:.91fr 1.09fr;min-height:600px}
body:has(#theme-navy:checked) .hero-text{grid-column:2;grid-row:1;padding:clamp(53px,8vw,103px) max(50px,calc((100vw - 1216px)/2)) clamp(53px,8vw,103px) clamp(30px,6vw,98px)}
body:has(#theme-navy:checked) .hero-art{grid-column:1;grid-row:1;border-left:0;border-right:1px solid #647993;background:#273f60}
body:has(#theme-navy:checked) .hero-art .green-art{display:none}
body:has(#theme-navy:checked) .hero-art .navy-art{display:block}
body:has(#theme-navy:checked) .art-label{background:#24364f;color:#dae8f6;border-color:#678097}
body:has(#theme-navy:checked) .hero .lead,body:has(#theme-navy:checked) :is(.acquire .intro p+p,.profile p){color:#d8e7f3}
body:has(#theme-navy:checked) :is(.profiles,.profile+.profile){border-color:#677e97}
body:has(#theme-navy:checked) .case-main{background:#e5edf4;border-color:#c9d7e1}
body:has(#theme-navy:checked) .case-main .case-art{background:#273f60;filter:hue-rotate(35deg)}
body:has(#theme-navy:checked) .case-result{border-color:#a7bacc}
body:has(#theme-warm:checked){--ink:#332b26;--deep:#362b24;--dark:#241d18;--paper:#f6efe4;--white:#fffaf3;--line:#d8c8b6;--on:#fff4e4;--accent:#efd0a7}
body:has(#theme-warm:checked) :is(.private,.band p,.field p,.bottom p,.split .eyebrow,.cases .eyebrow,.about .eyebrow){color:#765038}
body:has(#theme-warm:checked) .hero{display:block;text-align:center;background:#eadcc9;color:var(--ink);min-height:0}
body:has(#theme-warm:checked) .hero-text{padding:clamp(50px,7vw,105px) 18px clamp(38px,6vw,83px);width:min(880px,100%);margin-inline:auto;align-items:center}
body:has(#theme-warm:checked) .hero h1{font-size:clamp(3.3rem,7.3vw,7.4rem)}
body:has(#theme-warm:checked) .generic-title{display:none}
body:has(#theme-warm:checked) .hero .role-title{display:inline}
body:has(#theme-warm:checked) .hero h1 em{display:block;color:#8e5132}
body:has(#theme-warm:checked) .hero .eyebrow{color:#70462f}
body:has(#theme-warm:checked) .hero .lead{color:#48392e;max-width:51ch}
body:has(#theme-warm:checked) .hero .btn{color:#fff5e6;background:#533826}
body:has(#theme-warm:checked) .hero .btn:hover{background:#6c4934}
body:has(#theme-warm:checked) .hero-art{min-height:clamp(220px,30vw,432px);width:var(--wrap);margin:0 auto clamp(22px,4vw,60px);background:#76553e;border:0;text-align:left}
body:has(#theme-warm:checked) .hero-art .warm-art{display:block}
body:has(#theme-warm:checked) .hero-art .green-art{display:none}
body:has(#theme-warm:checked) .art-label{background:#dfc6a8;color:#442f23;border-color:#b89476}
body:has(#theme-warm:checked) :is(.acquire .intro p+p,.profile p){color:#f3e2cd}
body:has(#theme-warm:checked) :is(.profiles,.profile+.profile){border-color:#876c57}
body:has(#theme-warm:checked) .case-main{background:#efe1d0;border-color:#dac5ae}
body:has(#theme-warm:checked) .case-main .case-art{background:#56402e;filter:sepia(.60)}
body:has(#theme-warm:checked) .case-result{border-color:#c8ae92}
@media(max-width:800px){
body:has(#theme-navy:checked) .hero{grid-template-columns:1fr;min-height:0}
body:has(#theme-navy:checked) .hero-text{grid-column:1;grid-row:1;padding:60px 28px 50px}
body:has(#theme-navy:checked) .hero-art{grid-column:1;grid-row:2;border-right:0;border-top:1px solid #647993}
}
@media(max-width:600px){
.theme-bar fieldset{gap:.36rem;padding-block:.52rem}.theme-bar legend{float:none;padding-top:.48rem;margin:0;font-size:.875rem}.theme-bar label{min-height:32px;padding:.36rem .49rem}
body:has(#theme-navy:checked) .hero-text{padding:50px 18px 49px}
body:has(#theme-warm:checked) .hero h1{font-size:clamp(2.85rem,12.1vw,4.6rem)}
}
@media(prefers-reduced-motion:reduce){:where(.btn,.nav a,.theme-bar label){transition:none}}

.case-art .objektfoto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.case-lite .objektfoto{display:block;width:100%;max-width:27rem;height:auto;margin-top:1rem}
.anfrage{margin-top:1.5rem;display:grid;gap:.55rem;font:1rem/1.45 var(--sans)}
.anfrage label{font-weight:600}.anfrage input,.anfrage textarea{width:100%;padding:.75rem;border:1px solid var(--mid);border-radius:3px;background:var(--white);color:var(--ink);font:inherit}.anfrage textarea{resize:vertical}.anfrage button{justify-self:start;border:0;cursor:pointer}.anfrage button:disabled{opacity:.65;cursor:default}.anfrage .versandstatus{margin:0;font-size:.95rem}
.ort{overflow:hidden}.ort img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 44%}
.ort figcaption{position:absolute;bottom:1rem;left:1rem;background:var(--deep);color:white;padding:.3rem .75rem;font-size:.85rem}
.about-grid{grid-template-columns:1.15fr .85fr}.about-copy h3{margin:1.75rem 0 .65rem}
.privatfoto img{display:block;width:100%;height:auto}.privatfoto figcaption{margin-top:.45rem;color:var(--mid);font-size:.88rem}
.berufsweg{border-top:1px solid var(--line);padding-top:2.5rem;margin-top:3rem;display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(24px,5vw,76px)}
.berufsweg h3{margin-top:.6rem}.berufsweg p{max-width:66ch}
@media(max-width:800px){.ort{min-height:0;aspect-ratio:4/3}}
@media(max-width:650px){.about-grid,.berufsweg{grid-template-columns:1fr}.privatfoto{max-width:30rem}.ort{aspect-ratio:5/4}}
.berufsportrait{margin:1.2rem 0 0;max-width:22rem}.berufsportrait img{display:block;width:100%;height:auto}
.reise-abschnitt{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:center;gap:clamp(32px,6vw,88px);margin-top:clamp(3rem,7vw,6rem)}
.reise-abschnitt .privatfoto{max-width:none}
.reise-abschnitt img{aspect-ratio:1.06;object-fit:cover;object-position:center bottom}
.reise-abschnitt h3{margin-bottom:.8rem}
@media(max-width:760px){.about-grid,.reise-abschnitt{grid-template-columns:1fr;gap:1.5rem}.about-grid>.privatfoto,.reise-abschnitt>.privatfoto{width:100%;max-width:none}.reise-abschnitt .reisetext{grid-row:1}}

.rechtstext {display:none;scroll-margin-top:6rem;padding-block:3rem;color:var(--ink)}
.rechtstext:target {display:block}
.rechtstext > * {max-width:68ch}
.rechtstext h3 {margin-top:1.6rem}
.rechtstext address {font-style:normal}
.rechtslinks {display:flex;flex-wrap:wrap;gap:1rem}
.bottom .wrap {flex-wrap:wrap}
.berufsportrait figcaption,.formularhinweis {font:normal .875rem/1.5 var(--sans);color:var(--mid);margin-top:.6rem}
.formularhinweis a,.rechtstext a {text-decoration:underline}

.rb-maintenance {padding-block: clamp(4rem, 12vw, 9rem)}
.rb-maintenance h1 {margin-bottom: 1.5rem}
