/* ==========================================================================
   JBP.network — Design System
   Selbst-gehostet, keine externen Requests (DSGVO-freundlich, schnell)
   ========================================================================== */

:root {
  /* Farben */
  --ink:        #132133;   /* Tiefes Marineblau — Text & dunkle Flächen */
  --ink-2:      #1d3350;
  --accent:     #c6a15b;   /* Gold — Akzent */
  --accent-2:   #b4894a;
  --bg:         #ffffff;
  --bg-soft:    #f6f7f9;
  --bg-softer:  #eef1f4;
  --line:       #e2e6eb;
  --text:       #1a2230;
  --muted:      #5b6673;
  --white:      #ffffff;

  /* Typografie */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --font-head: "Georgia", "Times New Roman", serif;

  /* Maße */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(19, 33, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(19, 33, 51, 0.14);
  --transition: 0.25s ease;
}

/* Reset / Basis ---------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 .4em; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 .5em; }
h3 { font-size: 1.3rem; margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.2rem; color: var(--muted); }

/* Layout ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: #d7dee7; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head .eyebrow { margin-bottom: 12px; }
.eyebrow {
  display: inline-block; font-family: var(--font); font-size: .78rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent-2);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; cursor: pointer;
  font-weight: 600; font-size: 1rem; padding: 14px 28px; border-radius: 999px;
  border: 2px solid transparent; transition: all var(--transition); text-align: center;
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-2); color: var(--white); transform: translateY(-2px); }
.btn--outline { border-color: currentColor; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--accent); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color:#fff; }

/* Header / Nav ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head);
  font-weight: 700; font-size: 1.4rem; color: var(--ink); letter-spacing: .5px; }
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink); color: var(--accent); font-size: 1rem; font-weight: 700;
  letter-spacing: 0; font-family: var(--font);
}
.brand .mark svg { width: 23px; height: 23px; }
.brand small { display:block; font-family: var(--font); font-size:.62rem; font-weight:600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 600; font-size: .96rem; color: var(--text); padding: 9px 15px; border-radius: 8px;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links a.is-active { color: var(--accent-2); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px auto; transition: var(--transition); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; color: #eef2f7; background: var(--ink);
  background-image: linear-gradient(120deg, rgba(19,33,51,.94), rgba(19,33,51,.72)),
    url("../img/hero.svg");
  background-size: cover; background-position: center; overflow: hidden; }
.hero::after { content:""; position:absolute; inset:0;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(198,161,91,.18), transparent 60%); }
.hero-inner { position: relative; z-index: 1; padding: 120px 0 130px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero .lead { color: #c3cede; font-size: 1.3rem; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display:flex; flex-wrap:wrap; gap: 40px; margin-top: 70px; position:relative; z-index:1; }
.hero-stats .stat b { font-family: var(--font-head); font-size: 2.2rem; color: var(--accent);
  display:block; line-height:1; }
.hero-stats .stat span { font-size: .9rem; color: #aab6c6; }

/* Grids & Cards ---------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: all var(--transition); height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-softer); color: var(--accent-2); margin-bottom: 18px; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Feature split ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--bg-softer); min-height: 340px; }
.checklist { list-style: none; padding: 0; margin: 1.4em 0 0; }
.checklist li { position: relative; padding: 8px 0 8px 34px; color: var(--text); }
.checklist li::before { content:"✓"; position:absolute; left:0; top:8px; width:22px; height:22px;
  background: var(--accent); color: var(--ink); border-radius: 50%; display:grid; place-items:center;
  font-size:.75rem; font-weight:700; }

/* Property cards --------------------------------------------------------- */
.property { background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  overflow:hidden; transition: all var(--transition); }
.property:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.property .thumb { aspect-ratio: 16/11; background: linear-gradient(135deg,#dbe1e9,#c3ccd8);
  position:relative; }
.property .thumb .tag { position:absolute; top:14px; left:14px; background: var(--accent);
  color: var(--ink); font-size:.74rem; font-weight:700; padding: 5px 12px; border-radius:999px;
  letter-spacing:.5px; text-transform:uppercase; }
.property .body { padding: 22px 24px; }
.property .body h3 { margin-bottom:.2em; font-size:1.15rem; }
.property .loc { color: var(--muted); font-size:.9rem; margin-bottom: 14px; }
.property .meta { display:flex; gap:18px; border-top:1px solid var(--line); padding-top:14px;
  font-size:.88rem; color: var(--muted); }
.property .meta b { color: var(--ink); }
.property .price { font-family: var(--font-head); font-size:1.35rem; color: var(--ink);
  font-weight:700; margin-top: 6px; }

/* CTA band --------------------------------------------------------------- */
.cta-band { background: linear-gradient(120deg, var(--ink), var(--ink-2)); color:#fff;
  border-radius: var(--radius); padding: 64px 56px; text-align:center; position:relative;
  overflow:hidden; box-shadow: var(--shadow-lg); }
.cta-band::after { content:""; position:absolute; inset:0;
  background: radial-gradient(700px 300px at 90% 120%, rgba(198,161,91,.25), transparent 60%); }
.cta-band > * { position:relative; z-index:1; }
.cta-band h2 { color:#fff; }
.cta-band p { color:#c3cede; max-width: 560px; margin: 0 auto 1.6em; }

/* Forms ------------------------------------------------------------------ */
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap: 20px; }
.field { display:flex; flex-direction:column; gap:7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size:.88rem; font-weight:600; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size:1rem; padding: 13px 15px; border:1px solid var(--line);
  border-radius: var(--radius-sm); background:#fff; color: var(--text); transition: var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline:none; border-color: var(--accent); box-shadow:0 0 0 3px rgba(198,161,91,.18); }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size:.82rem; color: var(--muted); }
.alert { padding: 15px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size:.95rem; }
.alert--ok { background:#e9f6ee; border:1px solid #bfe4cc; color:#1c6b3a; }
.alert--err { background:#fdeceb; border:1px solid #f4c9c6; color:#a12820; }

/* Contact info list ------------------------------------------------------ */
.info-list { list-style:none; padding:0; margin:0; }
.info-list li { display:flex; gap:16px; padding: 16px 0; border-bottom:1px solid var(--line); }
.info-list li:last-child { border-bottom:0; }
.info-list .ic { flex:0 0 44px; height:44px; border-radius:10px; background: var(--bg-softer);
  color: var(--accent-2); display:grid; place-items:center; }
.info-list b { color: var(--ink); display:block; font-family: var(--font-head); }
.info-list span { color: var(--muted); font-size:.95rem; }

/* Page hero (Unterseiten) ------------------------------------------------ */
.page-hero { background: var(--ink); color:#dfe6ef; padding: 84px 0 70px; text-align:center; }
.page-hero h1 { color:#fff; margin-bottom:.3em; }
.page-hero p { color:#b9c4d3; max-width:640px; margin: 0 auto; font-size:1.15rem; }
.breadcrumb { font-size:.85rem; color:#8fa0b5; margin-bottom: 18px; }
.breadcrumb a { color:#b9c4d3; }

/* Prose (Impressum/Datenschutz) ----------------------------------------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.placeholder { background: #fff7e6; border:1px dashed var(--accent-2); color:#8a6d2f;
  padding: 1px 7px; border-radius: 5px; font-size:.95em; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--ink); color:#9fb0c4; padding: 70px 0 30px; font-size:.95rem; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.site-footer h4 { color:#fff; font-family: var(--font); font-size:.82rem; letter-spacing:1.5px;
  text-transform:uppercase; margin:0 0 18px; }
.site-footer a { color:#9fb0c4; display:block; padding: 5px 0; }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand { color:#fff; margin-bottom:16px; }
.site-footer .brand small { color:#7d8ea3; }
.site-footer .about { max-width: 320px; color:#8397ad; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top: 26px;
  display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center;
  font-size:.85rem; color:#7d8ea3; }
.footer-bottom nav a { display:inline-block; margin-left:18px; }

/* Utilities -------------------------------------------------------------- */
.text-center { text-align:center; }
.mt-0 { margin-top:0; } .mb-0 { margin-bottom:0; }
.reveal { opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .form-grid, .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .split .media { min-height: 260px; order: -1; }
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background:#fff; border-bottom:1px solid var(--line); padding: 14px 24px 24px; gap:2px;
    transform: translateY(-140%); transition: transform .3s ease; box-shadow: var(--shadow); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 12px; border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2){ opacity:0; }
  .nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .cta-band { padding: 48px 28px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero-inner { padding: 84px 0 90px; }
  .hero-stats { gap: 28px; }
}

/* ==========================================================================
   Komponenten für jbp.network (Zwangsversteigerung / Eigentümerkontakt)
   ========================================================================== */

/* Trust-Zeile unter dem Hero */
.trustline { display:flex; flex-wrap:wrap; gap:12px 28px; margin-top:36px; position:relative; z-index:1;
  font-size:.94rem; color:#c3cede; }
.trustline span { display:inline-flex; align-items:center; gap:9px; }
.trustline span::before { content:"✓"; width:20px; height:20px; border-radius:50%; flex:0 0 20px;
  background:rgba(198,161,91,.22); color:var(--accent); display:grid; place-items:center;
  font-size:.7rem; font-weight:700; }

/* Schmaler Textblock (Problem, Win-win, rechtl. Texte) */
.narrow { max-width: 820px; margin-left:auto; margin-right:auto; }
.narrow.text-center p { margin-left:auto; margin-right:auto; }

/* Schritte 1–2–3 */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; counter-reset:step; }
.step { position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:36px 30px 32px; }
.step .step-num { width:52px; height:52px; border-radius:14px; background:var(--ink); color:var(--accent);
  font-family:var(--font-head); font-size:1.5rem; font-weight:700; display:grid; place-items:center;
  margin-bottom:20px; }
.step h3 { margin-bottom:.4em; }
.step p { color:var(--muted); margin:0; font-size:.98rem; }
.step--flow::after { content:"→"; position:absolute; top:52px; right:-20px; color:var(--accent-2);
  font-size:1.4rem; z-index:2; }
.steps .step:last-child .step--flow::after, .step:last-child::after { display:none; }

/* Callout (Win-win / Hinweise) */
.callout { max-width:860px; margin:0 auto; background:#fff; border:1px solid var(--line);
  border-left:4px solid var(--accent); border-radius:var(--radius-sm); padding:34px 40px;
  box-shadow:var(--shadow); }
.callout h2, .callout h3 { margin-top:0; }
.callout p:last-child { margin-bottom:0; }

/* Vorteile als Liste mit Häkchen (größer) */
.benefits { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:1fr 1fr; gap:22px 40px; }
.benefits li { position:relative; padding-left:40px; }
.benefits li::before { content:"✓"; position:absolute; left:0; top:2px; width:26px; height:26px;
  background:var(--accent); color:var(--ink); border-radius:50%; display:grid; place-items:center;
  font-size:.85rem; font-weight:700; }
.benefits b { display:block; font-family:var(--font-head); color:var(--ink); font-size:1.08rem; margin-bottom:2px; }
.benefits span { color:var(--muted); font-size:.96rem; }

/* Preis-Box */
.pricing { max-width:660px; margin:0 auto; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.pricing .prow { display:flex; justify-content:space-between; align-items:baseline; gap:20px;
  padding:24px 32px; border-bottom:1px solid var(--line); }
.pricing .prow .label b { display:block; font-family:var(--font-head); color:var(--ink); font-size:1.12rem; }
.pricing .prow .label span { font-size:.9rem; color:var(--muted); }
.pricing .prow .val { font-family:var(--font-head); font-size:1.5rem; color:var(--accent-2); font-weight:700;
  white-space:nowrap; text-align:right; }
.pricing .pnote { background:var(--bg-soft); padding:18px 32px; font-size:.9rem; color:var(--muted); }

/* FAQ-Akkordeon (nativ, ohne JS) */
.faq { max-width:820px; margin:0 auto; }
.faq details { border:1px solid var(--line); border-radius:var(--radius-sm); margin-bottom:12px;
  background:#fff; overflow:hidden; }
.faq summary { cursor:pointer; padding:20px 24px; font-weight:600; font-family:var(--font-head);
  color:var(--ink); font-size:1.06rem; list-style:none; display:flex; justify-content:space-between;
  align-items:center; gap:16px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:1.5rem; color:var(--accent-2); transition:transform .2s; line-height:1; }
.faq details[open] summary { border-bottom:1px solid var(--line); }
.faq details[open] summary::after { transform:rotate(45deg); }
.faq .faq-body { padding:18px 24px 22px; color:var(--muted); }
.faq .faq-body p:last-child { margin-bottom:0; }

/* Audience / Zielgruppen-Karten mit Link */
.card .card-link { display:inline-block; margin-top:14px; font-weight:600; }

@media (max-width: 900px) {
  .steps { grid-template-columns:1fr; }
  .step--flow::after { display:none; }
  .benefits { grid-template-columns:1fr; }
  .callout { padding:28px 26px; }
  .pricing .prow { padding:20px 22px; }
}
