:root{--ink:#18212b;--muted:#627080;--line:#e5e9ee;--orange:#ff5900;--bg:#f7f8fa}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:white}a{color:inherit}header{border-bottom:1px solid var(--line);background:white}.wrap{max-width:1120px;margin:auto;padding:0 26px}.head{display:flex;justify-content:space-between;align-items:center;min-height:96px;gap:24px}.head img{width:290px;max-width:60vw}nav{display:flex;gap:22px;flex-wrap:wrap}nav a{text-decoration:none;color:#485565;font-size:14px}nav a:hover{color:#f50}.hero{background:linear-gradient(135deg,#fff 25%,#fff7f1);padding:75px 0 65px}.eyebrow{text-transform:uppercase;letter-spacing:.18em;color:#e65a0a;font-weight:bold;font-size:12px}h1{font-size:clamp(32px,5vw,55px);line-height:1.12;max-width:780px;margin:16px 0 22px;letter-spacing:-.035em}p{line-height:1.65;color:#4e5b68}.intro{max-width:740px;font-size:18px}.section{padding:62px 0}.section h2{font-size:28px;letter-spacing:-.02em;margin:0 0 14px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:30px}.company{display:flex;flex-direction:column;justify-content:space-between;border:1px solid var(--line);border-radius:15px;padding:30px;min-height:215px;text-decoration:none;box-shadow:0 5px 20px #14223509;transition:transform .2s,box-shadow .2s}.company:hover{transform:translateY(-4px);box-shadow:0 12px 30px #14223516}.company img{width:100%;height:74px;object-fit:contain;object-position:left center}.company p{margin:20px 0 0;font-size:14px}.company span{margin-top:12px;font-size:13px;font-weight:bold;color:#cf4a00}.note{padding:28px;border-radius:14px;background:var(--bg);margin-top:28px}.back{display:inline-block;margin-top:30px;color:#e65a0a;text-decoration:none;font-weight:bold}.detail-logo{width:min(600px,100%);height:115px;object-fit:contain;object-position:left center}.detail{min-height:55vh;padding:75px 0}.detail h1{margin-top:32px}footer{border-top:1px solid var(--line);padding:28px 0;font-size:13px;color:#687480}footer .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}footer a{color:#687480;margin-left:15px}@media(max-width:700px){.head{align-items:flex-start;flex-direction:column;padding-top:20px;padding-bottom:20px}.grid{grid-template-columns:1fr}.hero{padding:52px 0}.section{padding:42px 0}.company{padding:22px}.company img{height:65px}nav{gap:14px}}

/* Immobilienarchiv */
.object-section-title{margin:50px 0 20px;font-size:28px}.object-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.object-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;text-decoration:none;box-shadow:0 5px 20px #14223509;transition:transform .2s}.object-card:hover{transform:translateY(-3px)}.object-card>img{width:100%;height:220px;object-fit:cover;background:#edf0f2;display:block}.object-body{padding:22px}.object-type{color:#bd4600;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:700}.object-body h3{margin:10px 0;font-size:22px}.object-body p{font-size:14px;margin:0 0 16px}.object-more{font-weight:bold;font-size:14px;color:#bd4600}.archive-notice{border-left:4px solid #e96b29;background:#fff7f1;padding:19px 24px;margin:28px 0;border-radius:0 10px 10px 0}.archive-notice p{margin-bottom:0}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:32px 0}.photo-grid img{width:100%;height:340px;object-fit:cover;border-radius:12px;background:#eee}.object-detail .eyebrow{margin-top:38px}.object-detail h1{margin-top:8px}@media(max-width:700px){.object-grid,.photo-grid{grid-template-columns:1fr}.photo-grid img{height:auto;max-height:420px}}

.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0 36px}.facts>div{background:#f7f8fa;border:1px solid #e5e9ee;padding:20px;border-radius:10px}.facts span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#627080;margin-bottom:8px}.facts strong{font-size:16px}@media(max-width:700px){.facts{grid-template-columns:1fr}}

/* Impressum */
.legal{max-width:920px}.legal-nav{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 42px}.legal-nav a{display:inline-block;padding:9px 13px;background:#f7f8fa;border:1px solid #e5e9ee;border-radius:8px;text-decoration:none;font-size:13px}.legal-section{padding:30px 0;border-top:1px solid #e5e9ee;scroll-margin-top:25px}.legal-section h2{font-size:25px;margin:0 0 20px}.legal-section p{margin:12px 0}.legal-section a{color:#bb4700;overflow-wrap:anywhere}

/* Gesellschaftslogos neben Impressums- und Kontaktangaben */
.legal-company{display:grid;grid-template-columns:170px minmax(0,1fr);column-gap:32px;align-items:start}
.legal-company-logo{padding-top:4px}
.legal-company-logo img{display:block;width:100%;height:auto;max-height:120px;object-fit:contain;object-position:left top}
.legal-company-info{min-width:0}
.legal-company-info h2{margin-top:0}
@media(max-width:650px){.legal-company{grid-template-columns:112px minmax(0,1fr);gap:16px}.legal-company-info h2{font-size:20px}}
@media(max-width:430px){.legal-company{grid-template-columns:1fr;gap:12px}.legal-company-logo img{width:140px;max-height:85px}}

/* Responsive Optimierung für Smartphones und Tablets */
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{min-width:0;overflow-wrap:break-word}
img{max-width:100%}
:focus-visible{outline:3px solid #f60;outline-offset:3px}
nav a,footer a,.legal-nav a{display:inline-flex;align-items:center;min-height:44px}
nav a{padding:8px 2px}
@media(max-width:900px){
 .wrap{padding-inline:22px}
 .head{gap:12px;min-height:78px}
 .head img{width:240px;max-width:100%}
 .grid,.object-grid{gap:16px}
 .company{padding:22px;min-height:195px}
 .legal-company{grid-template-columns:145px minmax(0,1fr);column-gap:22px}
}
@media(max-width:700px){
 .wrap{padding-inline:18px}
 .head{align-items:stretch;padding-block:14px;gap:10px}
 .head>a{align-self:flex-start}
 .head img{width:min(270px,80vw);max-width:100%}
 nav{display:flex;flex-wrap:wrap;gap:5px 16px;border-top:1px solid var(--line);padding-top:8px}
 nav a{font-size:14px;min-height:44px}
 .hero{padding:42px 0 44px}
 h1{font-size:clamp(30px,8vw,42px);overflow-wrap:anywhere}
 .intro{font-size:16px}
 .detail{padding:38px 0;min-height:0}
 .detail-logo{height:auto;max-height:105px}
 .section{padding:38px 0}
 .company{min-height:0;padding:20px}
 .company img{height:68px}
 .legal-nav{gap:8px;margin:18px 0 24px}
 .legal-section{padding:22px 0}
 .legal-section h2{font-size:22px}
 .legal-company{grid-template-columns:1fr;gap:10px}
 .legal-company-logo img{width:min(205px,65vw);height:auto;max-height:95px}
 .legal-company-info{width:100%}
 .facts{gap:10px}
 .facts>div{padding:16px}
 .photo-grid{gap:12px}
 .photo-grid img{height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover}
 footer .wrap{flex-direction:column;align-items:flex-start;gap:8px}
 footer .wrap>div{display:flex;flex-wrap:wrap;gap:8px 16px}
 footer a{margin-left:0}
}
@media(max-width:390px){
 .wrap{padding-inline:15px}
 nav{gap:3px 12px}
 nav a{font-size:13px}
 .company img{height:60px}
 .legal-company-logo img{width:170px;max-height:90px}
 .object-body{padding:18px}
 .object-body h3{font-size:20px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.company,.object-card{transition:none}}

/* N+M Ergänzung */
.nm-logo{max-width:100%;width:510px;height:auto}.nm-accent{color:#9300CE}.nm-panel{border:1px solid #e5e9ee;border-left:5px solid #9300CE;padding:25px;border-radius:8px;margin:25px 0}.nm-card{display:block;padding:25px;border:1px solid #e5e9ee;border-radius:12px;text-decoration:none}.nm-card img{width:100%;max-width:460px}.nm-card:hover{border-color:#9300CE}.nm-hero{background:linear-gradient(120deg,#fff 20%,#f8efff);padding:64px 0}.nm-hero h1{max-width:950px}.nm-muted{color:#66717d}.nm-note{font-size:13px;color:#66717d}
@media(max-width:650px){.nm-hero{padding:35px 0}.nm-panel{padding:16px}}

/* Einheitliche Gesellschaftsfarbe auch auf Rechtseiten */
:root{--company-accent:#ed001b;}
body{--accent:var(--company-accent)}
a:hover,nav a:hover{color:var(--company-accent)}
.legal-nav a:hover,.legal-nav a:focus-visible{border-color:var(--company-accent);color:var(--company-accent)}
.nm-hero{background:linear-gradient(120deg,#fff 20%,#f8efff)}
.company-footer-brand{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.25;color:#737b85;max-width:255px}
.company-footer-brand img{width:34px;height:22px;object-fit:contain;flex:none}
footer .wrap{gap:15px;flex-wrap:wrap}
.company-footer-brand span{white-space:normal}
.company-footer-brand a{color:inherit;text-decoration:none}
footer a:hover{color:var(--company-accent)}


/* KG – Startseite und Objekt-Navigation */
body.theme-kg{--accent:#e30613;--accent-light:#fff3f3}
.theme-kg a:hover{color:var(--accent)}
.theme-kg .eyebrow,.theme-kg .text-link,.theme-kg .property-tag,.theme-kg .breadcrumbs a{color:var(--accent)}
.theme-kg .kg-hero{background:linear-gradient(125deg,#fff 25%,#fff2f2 100%);padding:92px 0 100px;border-bottom:1px solid #f3dddd}
.theme-kg .kg-hero-inner{max-width:1120px}
.theme-kg .kg-hero h1{max-width:780px}
.theme-kg .primary-link{display:inline-flex;align-items:center;gap:18px;background:var(--accent);color:#fff;padding:15px 22px;text-decoration:none;border-radius:7px;font-weight:700;margin-top:18px;min-height:48px}
.theme-kg .primary-link:hover{background:#b8000c;color:white}
.theme-kg .text-column{max-width:840px;margin-left:auto;margin-right:auto}
.theme-kg .text-column p{font-size:17px}
.theme-kg .history-note,.theme-kg .listing-note{font-size:13px;color:#77808b;margin-top:28px}
.theme-kg .section-soft{background:#f8f9fb}
.theme-kg .section-heading{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:25px}
.theme-kg .text-link{font-weight:700;text-decoration:none;white-space:normal}
.theme-kg .property-preview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #e6e9ed;border-radius:12px;overflow:hidden;background:#fff;text-decoration:none;color:var(--ink);box-shadow:0 8px 25px #18212b0b}
.theme-kg .property-preview>img{width:100%;height:310px;object-fit:cover}
.theme-kg .property-preview>div{padding:34px;display:flex;flex-direction:column;align-items:start;justify-content:center}
.theme-kg .property-preview h2,.theme-kg .property-preview h3{font-size:27px;margin:10px 0}
.theme-kg .property-tag{font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:700}
.theme-kg .property-list{margin-top:36px}
.theme-kg .breadcrumbs{font-size:13px;color:#7a8490;margin-bottom:28px}
.theme-kg .breadcrumbs a{text-decoration:none}
.theme-kg .object-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:55px;margin:35px 0 55px}
.theme-kg .detail-aside{padding:25px;background:#f8f9fb;border:1px solid #e6e9ed;border-radius:12px}
.theme-kg .detail-aside h2{font-size:23px}
.theme-kg .unit{padding:18px 0;border-top:1px solid #e1e5e9;display:grid;grid-template-columns:1fr auto;gap:10px}
.theme-kg .unit a{grid-column:1/-1;color:var(--accent);font-size:14px;font-weight:700;text-decoration:none}
.theme-kg .detail-aside small{color:#6e7781;line-height:1.6;display:block}
.theme-kg .footer-inner{align-items:center}
.theme-kg .company-footer-brand{display:flex;align-items:center;gap:10px}
.theme-kg .company-footer-brand img{width:36px;height:25px;object-fit:contain}
.theme-kg .company-footer-brand span{font-size:12px}
.theme-kg .footer-links{display:flex;gap:12px;flex-wrap:wrap}
.theme-kg .footer-links a{margin-left:0}
.theme-kg nav a[aria-current="page"]{color:var(--accent);font-weight:700}
@media(max-width:750px){.theme-kg .kg-hero{padding:55px 0}.theme-kg .section-heading{display:block}.theme-kg .property-preview{grid-template-columns:1fr}.theme-kg .property-preview>img{height:240px}.theme-kg .property-preview>div{padding:23px}.theme-kg .object-columns{grid-template-columns:1fr;gap:18px}.theme-kg .footer-inner{align-items:flex-start}}

/* Einheitlicher KG-Auftritt: Typografie wie auf der Datenschutzseite */
body.theme-kg {font-family:Arial,Helvetica,sans-serif; --accent:#e30613; color:#18212b;}
.theme-kg main {min-height:55vh;}
.theme-kg .section {padding:48px 0;}
.theme-kg .legal {max-width:920px;}
.theme-kg h1,.theme-kg h2,.theme-kg h3,.theme-kg .object-section-title {font-family:Arial,Helvetica,sans-serif;font-weight:700;letter-spacing:0;line-height:1.3;}
/* Die Logo-Wortmarke SCHEMPP ist deutlich größer als alle Überschriften. */
.theme-kg h1 {font-size:24px;max-width:none;margin:0 0 22px;}
.theme-kg h2,.theme-kg .section h2,.theme-kg .legal-section h2,.theme-kg .detail-aside h2,.theme-kg .object-section-title {font-size:20px;margin:0 0 14px;}
.theme-kg h3,.theme-kg .property-preview h3,.theme-kg .object-body h3 {font-size:18px;}
.theme-kg p,.theme-kg .intro,.theme-kg .text-column p {font-size:15px;line-height:1.7;}
.theme-kg .eyebrow {font-size:12px;letter-spacing:.08em;}
.theme-kg .head img {width:290px;max-width:75vw;display:block;}
.theme-kg .home-intro {background:#fff;}
.theme-kg .home-intro .intro,.theme-kg .home-intro .body-copy {max-width:790px;}
.theme-kg .primary-link {font-size:14px;padding:12px 18px;margin-top:14px;}
.theme-kg .contact-details {padding:0;margin:20px 0;line-height:1.9;font-size:15px;}
.theme-kg .legal a,.theme-kg .contact-details a {color:#bd0010;}
.theme-kg .section-soft {background:#f8f9fb;}
.theme-kg .company-footer-brand img {width:36px;height:25px;}
.theme-kg footer .footer-inner {align-items:center;}
@media(max-width:700px){.theme-kg .section{padding:32px 0}.theme-kg h1{font-size:22px}.theme-kg h2,.theme-kg .section h2{font-size:19px}.theme-kg .head img{width:245px;max-width:85vw}.theme-kg footer .footer-inner{align-items:flex-start}}

/* Logo-Anpassungen, konsistent auf allen KG-Seiten */
.theme-kg .head img{width:345px;max-width:min(85vw,345px);height:auto}
.theme-kg .head{min-height:108px}
.theme-kg .company-footer-brand{max-width:none;gap:12px;flex-shrink:0;white-space:nowrap}
.theme-kg .company-footer-brand img{width:70px;height:43px;object-fit:contain}
.theme-kg .company-footer-brand span{font-size:12px;white-space:nowrap}
.theme-kg .footer-inner{gap:14px 24px}
.theme-kg .property-list{display:grid;gap:24px}
.theme-kg .property-preview--text{grid-template-columns:1fr}
.theme-kg .property-preview--text>div{min-height:190px}
@media(max-width:850px){.theme-kg .footer-inner{justify-content:flex-start}.theme-kg .company-footer-brand{width:100%}}
@media(max-width:700px){.theme-kg .head img{width:min(305px,85vw)}.theme-kg .company-footer-brand img{width:60px;height:38px}.theme-kg .company-footer-brand span{font-size:11px}}
@media(max-width:380px){.theme-kg .company-footer-brand{gap:7px}.theme-kg .company-footer-brand img{width:48px;height:34px}.theme-kg .company-footer-brand span{font-size:10px}}

/* Abschließende Anpassungen Startseite */
.theme-kg .home-intro .company-title{color:#e30613;font-size:27px;font-weight:700;line-height:1.3;letter-spacing:0;text-transform:none;margin:0 0 16px}
.theme-kg .home-intro h1{font-size:22px}
@media(max-width:700px){.theme-kg .home-intro .company-title{font-size:23px}.theme-kg .home-intro h1{font-size:20px}}
