:root {
  --bg: #070a0e;
  --bg-2: #0d1218;
  --surface: #121820;
  --surface-2: #171f29;
  --text: #f6f7f9;
  --muted: #a9b0ba;
  --muted-2: #747d88;
  --line: rgba(255,255,255,.10);
  --accent: #f23a16;
  --accent-2: #ff5a36;
  --white: #ffffff;
  --max: 1180px;
  --radius: 20px;
  --shadow: 0 18px 60px rgba(0,0,0,.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-size: 14px;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 110px 0; }
.section-sm { padding: 74px 0; }
.section-light { background: #f4f5f7; color: #10141a; }
.section-white { background: #fff; color: #10141a; }
.section-border { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }

h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(52px, 7vw, 92px); font-weight: 800; }
h2 { font-size: clamp(36px, 5vw, 62px); font-weight: 750; }
h3 { font-size: 23px; font-weight: 720; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 760px; }
.section-light .lead, .section-white .lead { color: #5b626c; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 750;
  font-size: 15px;
  overflow: hidden;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}
@media (hover:hover) and (pointer:fine) {
  .btn-primary:hover::after { left: 130%; }
}
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.03); }
.btn-outline:hover { border-color: #fff; }
.btn-dark { background: #0c1117; color: #fff; }
.btn-light { background: #fff; color: #11161d; }
.btn-ghost { border-color: rgba(15,20,26,.14); color: #11161d; background: transparent; }

.topbar { background: #030507; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: #b8bec6; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,10,14,.90);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}

/* Scroll-Fortschrittsanzeige */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 95;
  transition: width .1s linear;
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-mark { font-weight: 900; letter-spacing: -.06em; font-size: 38px; line-height: 1; }
.brand-dot { color: var(--accent); }
.brand-copy { line-height: 1.02; font-size: 11px; color: #cbd0d6; }
.brand-copy strong { display: block; color: #fff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { position: relative; color: #c4cad1; padding: 10px 12px; border-radius: 9px; font-size: 14px; font-weight: 650; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.06); }
@media (hover:hover) and (pointer:fine) {
  .nav a::before { content:""; position:absolute; left:12px; right:12px; bottom:6px; height:2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
  .nav a:hover::before, .nav a.active::before { transform: scaleX(1); }
}
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: #fff; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; transition: .2s; }

.hero { position: relative; min-height: 720px; overflow: hidden; background: #05080b; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(242,58,22,.12), transparent 30%),
    linear-gradient(90deg, #06090d 0%, #06090d 46%, rgba(6,9,13,.82) 58%, rgba(6,9,13,.25) 78%, rgba(6,9,13,.15) 100%);
  z-index: 1;
}
.hero-media { position: absolute; inset: 0 0 0 auto; width: 68%; right:0; background: url('assets/hero-start.jpg') 62% 35% / cover no-repeat; filter: saturate(1.05) contrast(1.02) brightness(1.22); }
.hero-media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,10,14,.08), rgba(7,10,14,.48)); }
.hero-inner { position: relative; z-index: 2; min-height: 720px; display: flex; align-items: center; }
.hero-content { width: min(700px, 58%); padding: 60px 0 82px; }
.hero h1 { max-width: 710px; }
.hero h1 span { color: var(--accent); }
.hero .lead { max-width: 620px; margin-top: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { margin-top: 48px; display: flex; gap: 30px; flex-wrap: wrap; color: #b8c0c9; font-size: 14px; }
.hero-meta strong { color: #fff; display: block; font-size: 16px; margin-bottom: 2px; }

.trust-strip { background: #fff; color: #151a20; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid #e7e9ec; }
.trust-item { padding: 34px 28px; border-right: 1px solid #e7e9ec; transition: transform .3s ease, box-shadow .3s ease; }
.trust-icon { width: 42px; height: 42px; border: 1px solid #e2e5e9; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; color: var(--accent); }
.trust-item h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.02em; }
.trust-item p { color: #69717b; font-size: 14px; }

.split { display: grid; grid-template-columns: 1.03fr .97fr; gap: 80px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.reverse > :last-child { order: 1; }
.copy-stack { display: grid; gap: 24px; }
.copy-stack p { color: var(--muted); }
.section-light .copy-stack p, .section-white .copy-stack p { color: #59616b; }
.media-panel { min-height: 520px; border-radius: 28px; overflow: hidden; background: linear-gradient(145deg, #202a35, #0c1117); box-shadow: var(--shadow); position: relative; }
.media-panel.local { background: url('assets/hero.jpg') center 30% / cover no-repeat; }
.media-panel::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 44%, rgba(5,8,11,.74)); }
.media-caption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; font-weight: 700; font-size: 18px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.owner-services { grid-template-columns: 1fr 1fr; }
@media (max-width:680px){ .owner-services { grid-template-columns: 1fr; } }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; min-height: 250px; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
@media (hover:hover) and (pointer:fine) {
  .service-card:hover { transform: translateY(-5px); border-color: rgba(242,58,22,.42); background: #151d26; box-shadow: 0 22px 46px rgba(242,58,22,.16); }
}
.service-card .num { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: .12em; margin-bottom: 34px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 15px; }

.portal-section { position: relative; overflow: hidden; }
.portal-section::before { content:""; position:absolute; width:420px; height:420px; border-radius:50%; background: rgba(242,58,22,.08); filter: blur(10px); right:-180px; top:-210px; }
.portal-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; margin-top: 44px; }
@media (max-width:980px){ .portal-grid { grid-template-columns: 1fr 1fr; } }
.portal-card { position: relative; min-height: 280px; border-radius: 24px; border: 1px solid var(--line); padding: 34px; background: linear-gradient(145deg, #131922, #0b1016); overflow: hidden; display:flex; flex-direction:column; justify-content:space-between; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.portal-card::after { content:""; position:absolute; width:220px; height:220px; border-radius:50%; background: rgba(255,255,255,.04); right:-70px; top:-80px; }
.portal-brand { font-size: 34px; font-weight: 900; letter-spacing: -.04em; overflow-wrap: break-word; word-break: break-word; }
.portal-brand .yellow { color: #ffd21c; }
.portal-brand .teal { color: #14d9c5; }
.portal-brand .green { color: #7ED321; }
.portal-card p { color: var(--muted); max-width: 470px; }
.portal-actions { display: flex; gap: 12px; margin-top: 28px; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 52px; border-top: 1px solid #dfe3e7; }
.process-step { position: relative; padding: 30px 28px 0 0; }
.process-step::before { content:""; position:absolute; top:-5px; left:0; width:10px; height:10px; background: var(--accent); border-radius: 50%; }
.process-step .step { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #8a919b; margin-bottom: 20px; }
.process-step h3 { font-size: 20px; margin-bottom: 10px; }
.process-step p { color: #646c76; font-size: 14px; }

.quote-band { background: var(--accent); color: #fff; }
.quote-inner { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 40px; padding: 74px 0; }
.quote-inner h2 { font-size: clamp(34px,4.5vw,58px); max-width: 820px; }
.quote-action { justify-self: end; }

.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: transparent; border: 0; color: #fff; padding: 23px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align:left; font-size: 18px; font-weight: 700; }
.faq-q span:first-child { flex: 1 1 auto; }
.faq-q span:last-child { flex: 0 0 auto; font-size: 26px; font-weight: 300; transition: transform .2s ease; }
.faq-a { max-height: 0; overflow: hidden; color: var(--muted); transition: max-height .3s ease; }
.faq-a p { padding: 0 42px 22px 0; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-item.open .faq-q span:last-child { transform: rotate(45deg); }

.page-hero { padding: 110px 0 90px; background: radial-gradient(circle at 76% 10%, rgba(242,58,22,.13), transparent 28%), #080c11; border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 22px; }
.breadcrumb { color: #818995; font-size: 13px; margin-bottom: 28px; }
.breadcrumb a:hover { color: #fff; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.stat-card { padding: 30px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.stat-card strong { display: block; font-size: 28px; margin-bottom: 6px; color: var(--text); }
.stat-card span { color: var(--muted); }

.owner-grid { display:grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.check-list { list-style:none; padding:0; margin: 30px 0 0; display:grid; gap:16px; }
.check-list li { display:flex; gap:12px; color: var(--muted); }
.check-list li::before { content:"✓"; color: var(--accent); font-weight:900; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 34px; }
.contact-card { padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.contact-card span { display:block; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.contact-card strong { font-size: 18px; }
.form { background: #fff; color: #11161d; border-radius: 22px; padding: 34px; box-shadow: var(--shadow); }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display:grid; gap:7px; margin-bottom:16px; }
.field label { font-size: 13px; font-weight: 750; color:#323942; }
.field input, .field textarea, .field select { width:100%; padding: 14px 15px; border:1px solid #d8dde3; border-radius:10px; background:#fff; color:#11161d; outline:none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,58,22,.10); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size:12px; color:#747c86; margin: 10px 0 18px; }

.legal { max-width: 900px; }
.legal h2 { font-size: 28px; margin: 38px 0 14px; }
.legal h3 { font-size: 20px; margin: 28px 0 10px; }
.legal p, .legal li { color: #c0c6cd; }
.legal ul { padding-left: 20px; }
.legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { background: #030507; border-top: 1px solid rgba(255,255,255,.08); }
.footer-main { padding: 70px 0 50px; display:grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 44px; }
.footer-brand p { color: #89929d; margin-top: 18px; max-width: 330px; }
.footer-col h4 { margin: 0 0 18px; font-size: 12px; color: #777f8a; text-transform: uppercase; letter-spacing: .12em; }
.footer-col a, .footer-col span { display:block; color:#c7cbd1; margin: 9px 0; font-size: 14px; }
.footer-col a:hover { color:#fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0 28px; display:flex; justify-content:space-between; gap:20px; color:#727b86; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Gestaffelte Einblend-Reihenfolge fuer Karten-Raster */
.trust-grid > .reveal:nth-child(1), .stat-grid > .reveal:nth-child(1), .services-grid > .reveal:nth-child(1), .portal-grid > .reveal:nth-child(1), .faq > .reveal:nth-child(1) { transition-delay: 0s; }
.trust-grid > .reveal:nth-child(2), .stat-grid > .reveal:nth-child(2), .services-grid > .reveal:nth-child(2), .portal-grid > .reveal:nth-child(2), .faq > .reveal:nth-child(2) { transition-delay: .09s; }
.trust-grid > .reveal:nth-child(3), .stat-grid > .reveal:nth-child(3), .services-grid > .reveal:nth-child(3), .portal-grid > .reveal:nth-child(3), .faq > .reveal:nth-child(3) { transition-delay: .18s; }
.trust-grid > .reveal:nth-child(4), .stat-grid > .reveal:nth-child(4), .services-grid > .reveal:nth-child(4), .portal-grid > .reveal:nth-child(4) { transition-delay: .27s; }
.services-grid > .reveal:nth-child(5) { transition-delay: .36s; }

@media (max-width: 980px) {
  .topbar { display:none; }
  .nav { position:absolute; left:20px; right:20px; top:88px; display:none; flex-direction:column; align-items:stretch; padding:14px; background:#0a0f15; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); }
  .nav.open { display:flex; }
  .nav a { padding:12px 14px; }
  .header-cta { display:none; }
  .menu-toggle { display:block; }
  .hero { min-height: 760px; }
  .hero-media { width: 100%; opacity: .52; background-position: 56% 35%; }
  .hero::before { background: linear-gradient(90deg, rgba(5,8,11,.96), rgba(5,8,11,.76) 62%, rgba(5,8,11,.45)); }
  .hero-inner { min-height:760px; }
  .hero-content { width: 82%; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .split, .owner-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse > :first-child, .split.reverse > :last-child { order: initial; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .quote-inner { grid-template-columns: 1fr; }
  .quote-action { justify-self: start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 78px 0; }
  .section-sm { padding: 56px 0; }
  .header-inner { min-height: 70px; }
  .brand { min-width:0; gap: 8px; }
  .brand-mark { font-size: 26px; }
  .brand-copy { font-size: 9px; }
  .brand-copy strong { font-size: 10px; }
  .hero, .hero-inner { min-height: 700px; }
  .hero-content { width: 100%; padding: 50px 0 70px; }
  h1 { font-size: clamp(24px, 8.8vw, 36px); overflow-wrap: break-word; }
  body.page-ueber-uns h1 { font-size: clamp(20px, 6.9vw, 30px); }
  .hero .lead { font-size: 17px; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-meta { gap: 20px; flex-direction:column; margin-top:38px; }
  .trust-grid { grid-template-columns: 1fr; border-left:0; }
  .trust-item { border-right:0; border-bottom:1px solid #e7e9ec; }
  .services-grid, .portal-grid, .stat-grid { grid-template-columns: 1fr; }
  .portal-card { padding: 26px; min-height: unset; }
  .portal-brand { font-size: 26px; }
  .process { grid-template-columns:1fr; }
  .media-panel { min-height: 410px; }
  .form { padding: 24px; }
  .form-row { grid-template-columns:1fr; gap:0; }
  .footer-main { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
  .page-hero { padding: 82px 0 66px; }
}

@media (hover:hover) and (pointer:fine) {
  .portal-card:hover { transform: translateY(-6px); border-color: rgba(242,58,22,.4); box-shadow: 0 22px 46px rgba(242,58,22,.16); }
  .stat-card:hover { transform: translateY(-5px); border-color: rgba(242,58,22,.4); box-shadow: 0 18px 38px rgba(242,58,22,.14); }
  .trust-item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.08); z-index:1; position:relative; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity:1; transform:none; }
}

.hero-media{background-image:url("assets/hero-start.jpg") !important;}

/* Dezenter Ken-Burns-Zoom auf dem Startseiten-Herobild */
.hero-media { animation: heroZoom 26s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }


/* KCI Anpassungen */

/* Herkules im Header besser ausgerichtet */
.hero-media {
  width: 70%;
  right: -3%;
  background-position: 58% 36%;
}

/* Seitenheader mit hochwertiger Bildwirkung */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7,10,14,.45) 0%, rgba(7,10,14,.25) 48%, rgba(7,10,14,.12) 100%),
    url('assets/hero.jpg') center 42% / cover no-repeat;
}

.page-hero::after {
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 80% 30%, rgba(242,58,22,.18), transparent 35%);
  pointer-events:none;
}

.page-hero .container {
  position:relative;
  z-index:2;
}

/* leichte Variation der Unterseiten */
body:has(.page-hero) .page-hero {
  min-height: 330px;
  display:flex;
  align-items:center;
}

/* mobile Herkules-Anpassung */
@media (max-width:980px){
  .hero-media {
    width:100%;
    right:0;
    background-position: 58% 35%;
  }
}

/* KCI individuelle Headerbilder */
.page-hero {
  position: relative;
  overflow:hidden;
  background-image: linear-gradient(90deg, rgba(7,10,14,.94), rgba(7,10,14,.58)), url('assets/hero.jpg');
  background-size:cover;
  background-position:center;
}
body:has(.portal-section) .page-hero { background-image: linear-gradient(90deg, rgba(7,10,14,.94), rgba(7,10,14,.58)), url('assets/immobilien-header.jpg'); }
body:has(.services-grid) .page-hero { background-image: linear-gradient(90deg, rgba(7,10,14,.94), rgba(7,10,14,.58)), url('assets/leistungen-header.jpg'); }
body:has(.owner-grid) .page-hero { background-image: linear-gradient(90deg, rgba(7,10,14,.94), rgba(7,10,14,.58)), url('assets/eigentuemer-header.jpg'); }
body:has(.contact-grid) .page-hero { background-image: linear-gradient(90deg, rgba(7,10,14,.94), rgba(7,10,14,.58)), url('assets/kontakt-header.jpg'); }

/* Individuelle Headerbilder der Unterseiten */
.page-hero { background-position:center; background-size:cover; position:relative; filter:none; }
.page-hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(7,10,14,.28),rgba(7,10,14,.12)); }
.page-hero .container { position:relative; z-index:1; }
.immobilien-hero { background-image:url('assets/immobilien-header.jpg'); }
.leistungen-hero { background-image:url('assets/leistungen-header.jpg'); }
.eigentuemer-hero { background-image:url('assets/eigentuemer-header.jpg'); }
.ueber-uns-hero { background-image:url('assets/ueber-uns-header.jpg'); }
.kontakt-hero { background-image:url('assets/kontakt-header.jpg'); }

/* KCI individuelle Headerbilder der Unterseiten */
body.page-immobilien .page-hero,
body.page-leistungen .page-hero,
body.page-eigentuemer .page-hero,
body.page-ueber-uns .page-hero,
body.page-kontakt .page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
}
body.page-immobilien .page-hero {background-image:linear-gradient(rgba(7,10,14,.20),rgba(7,10,14,.38)),url('assets/immobilien-header.jpg');}
body.page-leistungen .page-hero {background-image:linear-gradient(rgba(7,10,14,.20),rgba(7,10,14,.38)),url('assets/leistungen-header.jpg');}
body.page-eigentuemer .page-hero {background-image:linear-gradient(rgba(7,10,14,.20),rgba(7,10,14,.38)),url('assets/eigentuemer-header.jpg');}
body.page-ueber-uns .page-hero {background-image:linear-gradient(rgba(7,10,14,.20),rgba(7,10,14,.38)),url('assets/ueber-uns-header.jpg');}
body.page-kontakt .page-hero {background-image:linear-gradient(rgba(7,10,14,.20),rgba(7,10,14,.38)),url('assets/kontakt-header.jpg');}
.instagram-link {display:flex!important;align-items:center;gap:8px!important;font-weight:700;}
.instagram-icon {display:inline-grid;place-items:center;width:22px;height:22px;border:2px solid currentColor;border-radius:6px;font-size:18px;line-height:1;}


/* Final header brightness adjustment */
.hero-media {
    filter: brightness(1.22) saturate(1.05) contrast(1.02) !important;
}

@media (max-width:680px){
    .hero-media {
        filter: brightness(1.18) saturate(1.05) !important;
    }
}

/* Mobiles Hero-Bild sichtbarer machen */
@media (max-width:980px){
  .hero-media { opacity: .8; }
}
@media (max-width:680px){
  .hero::before { background: linear-gradient(90deg, rgba(5,8,11,.88), rgba(5,8,11,.58) 62%, rgba(5,8,11,.22)); }
}

/* Google-Maps-Einbindung Kontaktseite */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  filter: grayscale(.15) contrast(1.05);
}
.map-embed iframe { display: block; }
@media (max-width:680px){
  .map-embed iframe { height: 300px; }
}

/* Cookie-Consent-Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}
.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  flex: 1 1 320px;
}
.cookie-banner-inner p a { color: var(--text); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.cookie-banner-actions .btn { padding: 10px 18px; font-size: 14px; }
@media (max-width:560px){
  .cookie-banner { padding: 16px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1 1 0; text-align: center; }
}
