/* Bulldog Real Estate — ein Stylesheet fuer alle Seiten, keine externen Fonts */
:root {
  --navy: #262362;
  --navy-2: #1b1947;
  --blue: #25aae1;
  --blue-text: #0f6f99;
  --ink: #1d1d2b;
  --muted: #5b5d70;
  --line: #e3e5ee;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --warm: #fff7ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(38, 35, 98, .10);
  --wrap: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-text); }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; }

/* 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 .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand img { width: 150px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--bg-soft); }
.nav .btn { margin-left: 8px; color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 999px; border: 2px solid var(--navy); transition: transform .15s, background .15s; }
.btn:hover { background: var(--navy-2); color: #fff; transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--bg-soft); color: var(--navy); }
.btn.big { font-size: 1.1rem; padding: 16px 30px; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost-light:hover { background: rgba(255,255,255,.12); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero picture, .hero > img { position: absolute; inset: 0; }
.hero picture img, .hero > img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(27,25,71,.92) 0%, rgba(27,25,71,.78) 45%, rgba(27,25,71,.25) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero .lead { font-size: 1.2rem; max-width: 640px; color: #e8e9f5; }
.hero.small .wrap { padding-top: 64px; padding-bottom: 64px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.hero .eyebrow { color: #8fd6f5; }

/* Facts bar */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: -48px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.facts div { background: #fff; padding: 22px 20px; }
.facts strong { display: block; font-size: 1.7rem; color: var(--navy); line-height: 1.1; }
.facts span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
section { padding: 80px 0; }
section.soft { background: var(--bg-soft); }
section.warm { background: var(--warm); }
section.dark { background: var(--navy); color: #e8e9f5; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark a:not(.btn) { color: #8fd6f5; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
section.dark .section-head p { color: #c9cbe3; }

.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card.link { text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; display: block; }
.card.link:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card p:last-child { margin-bottom: 0; }
.card .more { font-weight: 700; color: var(--blue-text); }
.card.photo { padding: 0; overflow: hidden; }
.card.photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card.photo .body { padding: 22px 24px 24px; }
.pillar .num { font-size: .8rem; font-weight: 800; color: var(--blue-text); letter-spacing: .1em; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.flip > :first-child { order: 0; } }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8 13.6 4.4 10l-1.4 1.4L8 16.4l9-9-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }

.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.steps li { list-style: none; counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps { padding: 0; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .97rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); color: var(--navy); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }

/* Bezirke */
.district { display: flex; flex-direction: column; }
.district .tag { font-size: .8rem; font-weight: 800; color: var(--blue-text); letter-spacing: .08em; }
.district h3 { margin: 4px 0 6px; }
.district .meta { color: var(--muted); font-size: .93rem; margin-bottom: 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--blue-text); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: #33354a; }

/* Hinweisbox, Zusammenfassung fuer KI und Menschen */
.summary { background: var(--bg-soft); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 0 0 28px; }
.summary p:last-child { margin: 0; }
.note { font-size: .9rem; color: var(--muted); }

.cta-band { background: linear-gradient(120deg, var(--navy) 0%, #2f3a8c 100%); color: #fff; border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #dfe1f4; margin: 0; }
.cta-band .btns { justify-content: flex-end; margin: 0; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } .cta-band .btns { justify-content: flex-start; } }

.breadcrumb { font-size: .88rem; color: #c9cbe3; margin-bottom: 18px; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; color: var(--navy); }

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.3em; }

/* Footer */
.site-footer { background: var(--navy-2); color: #c9cbe3; padding: 60px 0 30px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-logo { width: 160px; background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Zitat */
.quote { margin: 0 auto; max-width: 820px; padding: 28px 32px; border-left: 4px solid var(--blue); background: var(--bg-soft); border-radius: 12px; }
.quote p { font-size: 1.15rem; line-height: 1.6; margin: 0 0 12px; }
.quote footer { color: var(--muted, #555); font-size: .95rem; }
