/* =========================================================
   TBN – Technische Beratung Nikelski
   Design: Schwarzer Hintergrund, graue Blasen, goldene Schrift
   Schrift: Manrope
   ========================================================= */

/* Manrope – lokal gehostet (SIL Open Font License 1.1, siehe fonts/OFL.txt) */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/manrope-400.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/manrope-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/manrope-600.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/manrope-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/manrope-800.woff2') format('woff2'); }

:root {
  --gold: #D3AF37;
  --gold-light: #E7C860;
  --gold-dark: #A8842A;
  --black: #0A0A0B;
  --black-2: #101113;
  --card: #17181A;
  --card-2: #1E2023;
  --border: #2A2C30;
  --border-gold: rgba(211, 175, 55, .35);
  --text: #D9DBDE;
  --text-dim: #9A9DA2;
  --text-mute: #6E7176;
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1160px;
  --shadow: 0 18px 45px rgba(0,0,0,.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--black);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Individueller Cursor: kleines goldenes Haus (Dachspitze = Zeigepunkt) */
body, a, button, .btn, .card, .navlink, .nav-toggle,
input, label, summary, .pill, [role="button"] {
  cursor: url('cursor-house.png') 8 0, auto;
}
a, button, .btn, .card, .navlink, .nav-toggle, [role="button"] {
  cursor: url('cursor-house.png') 8 0, pointer;
}

/* Dekorative graue "Blasen" im Hintergrund */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(70px);
}
body::before {
  width: 620px; height: 620px;
  top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(60,62,66,.55), transparent 70%);
}
body::after {
  width: 560px; height: 560px;
  bottom: -200px; left: -180px;
  background: radial-gradient(circle, rgba(45,47,50,.5), transparent 70%);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4 { color: var(--gold); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: .6rem; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin-bottom: 1rem; color: var(--text); }
.dim { color: var(--text-dim); }

/* ---------- Header / Navigation ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,11,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 82px;
}
.brand img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a.navlink {
  display: block; padding: 12px 16px; border-radius: 10px;
  color: var(--text); font-weight: 600; font-size: .98rem;
  transition: background .2s, color .2s;
}
.nav-links a.navlink:hover,
.nav-links a.navlink.active { color: var(--gold); background: rgba(211,175,55,.08); }

/* Dropdown */
.has-drop > .navlink::after {
  content: "▾"; font-size: .7rem; margin-left: 7px; color: var(--gold); vertical-align: middle;
}
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 230px; list-style: none;
  background: var(--card-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s ease;
}
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border-radius: 9px; color: var(--text); font-weight: 600; font-size: .95rem;
}
.dropdown a:hover { background: rgba(211,175,55,.1); color: var(--gold); }
.dropdown a .ic { color: var(--gold); font-size: 1.05rem; }

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--gold); margin: 6px 0; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 40px; font-weight: 700; font-size: .98rem;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; border: 1px solid transparent;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1608; box-shadow: 0 10px 26px rgba(211,175,55,.28); }
.btn-gold:hover { color: #1a1608; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(211,175,55,.4); }
.btn-ghost { border-color: var(--border-gold); color: var(--gold); background: transparent; }
.btn-ghost:hover { background: rgba(211,175,55,.1); color: var(--gold-light); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 70px; text-align: center; }
.hero .eyebrow {
  display: inline-block; color: var(--gold); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: 22px;
  padding: 7px 16px; border: 1px solid var(--border-gold); border-radius: 40px;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 720px; margin: 0 auto 34px; font-size: 1.18rem; color: var(--text-dim); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section.block { padding: 70px 0; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--text-dim); font-size: 1.08rem; }
.eyebrow-s { color: var(--gold); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .76rem; display: block; margin-bottom: 12px; }

/* Blasen-Karten */
.card {
  background: linear-gradient(160deg, var(--card), var(--black-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, border-color .2s, box-shadow .2s;
  height: 100%;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-gold); box-shadow: var(--shadow); }
.card .ic-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(211,175,55,.1); border: 1px solid var(--border-gold);
  color: var(--gold);
}

/* ---------- Linien-Icons (SVG) ---------- */
svg.ic-svg, svg.ic, svg.btn-ic {
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  display: inline-block; vertical-align: middle;
}
.ic-wrap svg.ic-svg { width: 26px; height: 26px; stroke: var(--gold); }
.dropdown a svg.ic { width: 18px; height: 18px; stroke: var(--gold); flex: 0 0 auto; }
.btn svg.btn-ic { width: 18px; height: 18px; stroke: currentColor; }
.photo .ph-ic svg.ic-svg { width: 46px; height: 46px; stroke: var(--gold); }
.card h3 { color: var(--gold); margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: .96rem; margin: 0; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Pill-Liste */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.pill {
  padding: 9px 16px; border-radius: 40px; font-size: .88rem; font-weight: 600;
  background: var(--card); border: 1px solid var(--border); color: var(--text-dim);
}

/* Feature-Reihe (Vier Säulen) */
.pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.pillar { text-align: left; }
.pillar .num { color: var(--gold); font-weight: 800; font-size: 1.6rem; display: block; margin-bottom: 6px; }
.pillar h3 { color: var(--text); font-size: 1.05rem; margin-bottom: 6px; }
.pillar p { color: var(--text-dim); font-size: .92rem; margin: 0; }

/* Ablauf / Schritte */
.steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.step { text-align: center; padding: 22px 14px; }
.step .step-n {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; font-weight: 800; color: var(--gold);
  border: 1.5px solid var(--gold); background: rgba(211,175,55,.08);
}
.step h4 { color: var(--text); font-size: 1rem; margin-bottom: 4px; }
.step p { color: var(--text-mute); font-size: .85rem; margin: 0; }

/* CTA-Band */
.cta-band {
  background: linear-gradient(135deg, rgba(211,175,55,.14), rgba(211,175,55,.04));
  border: 1px solid var(--border-gold); border-radius: var(--radius-lg);
  padding: 48px; text-align: center; margin: 20px 0;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--text-dim); max-width: 620px; margin: 0 auto 24px; }

/* Blase (Bubble) – im Stil von "Ein Anruf genügt", etwas softer für Inhalte */
.bubble {
  background: linear-gradient(160deg, rgba(211,175,55,.09), rgba(211,175,55,.02));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
}
.bubble h2 { margin-top: 0; }
.bubble-center { text-align: center; }
.bubble-center .pills { margin-top: 0; }

/* "Für eine detaillierte Ansicht" – Link unter der Gewerke-Blase */
.detail-link { text-align: center; margin: 20px 0 0; }
.detail-link a {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1rem; color: var(--gold);
  padding: 6px 4px; transition: gap .2s, color .2s;
}
.detail-link a:hover { color: var(--gold-light); gap: 12px; }
.detail-link svg.link-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Split (Über mich / Zielgruppe) */
.split.split-bubbles { align-items: stretch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split .photo {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--card), var(--black-2));
  min-height: 380px; display: grid; place-items: center; color: var(--text-mute);
  text-align: center; padding: 20px;
}
.split .photo .ph-ic { font-size: 2.4rem; margin-bottom: 10px; color: var(--gold); }

/* Liste mit Haken */
.check-list { list-style: none; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 800;
  width: 22px; height: 22px; border-radius: 50%; background: rgba(211,175,55,.12);
  display: grid; place-items: center; font-size: .8rem;
}

/* Kontakt-Karten */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.contact-card { text-align: center; }
.contact-card .ic-wrap { margin: 0 auto 16px; }
.contact-card a, .contact-card span { font-weight: 700; color: var(--gold); }

/* Rechtstext */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 34px; }
.legal h3 { color: var(--text); margin-top: 22px; }
.legal p, .legal li { color: var(--text-dim); font-size: .98rem; }
.legal ul { padding-left: 22px; margin-bottom: 1rem; }
.signature { color: var(--gold); font-weight: 700; margin-top: 18px; }
.placeholder {
  background: rgba(211,175,55,.08); border: 1px dashed var(--border-gold);
  border-radius: 8px; padding: 2px 8px; color: var(--gold-light); font-weight: 600;
}
.note {
  background: var(--card); border-left: 3px solid var(--gold);
  border-radius: 8px; padding: 14px 18px; margin: 18px 0; color: var(--text-dim); font-size: .92rem;
}

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--border); margin-top: 40px;
  padding: 52px 0 30px; background: var(--black-2); position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
footer.site img.flogo { height: 48px; margin-bottom: 16px; }
footer.site p { color: var(--text-mute); font-size: .92rem; }
footer.site h4 { color: var(--gold); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
footer.site ul { list-style: none; }
footer.site ul li { margin-bottom: 9px; }
footer.site ul a { color: var(--text-dim); font-weight: 500; font-size: .94rem; }
footer.site ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--text-mute); font-size: .86rem;
}
.footer-bottom a { color: var(--text-mute); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .pillars, .steps, .contact-grid { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 82px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--black-2); border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 4px 0 4px 14px; display: none;
  }
  .has-drop.open .dropdown { display: block; }
  .has-drop > .navlink::after { float: right; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .pillars, .steps, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
  section.block { padding: 52px 0; }
  body { font-size: 16px; }
}
