/* tek-bau – Custom Styles (ergänzt Bootstrap 5.3) */
:root {
  --tb-anthrazit: #2b2f33;
  --tb-schiefer: #4a5157;
  --tb-grau: #8a9097;
  --tb-hell: #f4f5f6;
  --tb-gelb: #f2b200;
  --tb-gelb-dunkel: #d99f00;
  --tb-braun: #7a4b22;
  --tb-shadow: 0 2px 6px rgba(43, 47, 51, .06), 0 10px 28px rgba(43, 47, 51, .08);
  --tb-shadow-hover: 0 4px 10px rgba(43, 47, 51, .08), 0 16px 36px rgba(43, 47, 51, .14);
  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--tb-anthrazit);
  --bs-link-color: var(--tb-braun);
  --bs-link-hover-color: var(--tb-anthrazit);
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { line-height: 1.65; }
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
p { max-width: 68ch; }
.text-braun { color: var(--tb-braun) !important; }
.text-gelb { color: var(--tb-gelb) !important; }
.bg-hell { background: var(--tb-hell); }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head { margin-bottom: 2.5rem; }
.section-head p { color: var(--tb-schiefer); }

/* Navigation: sticky + Glasmorphismus */
.navbar-tb {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(43, 47, 51, .08);
}
.navbar-tb .navbar-brand img { height: 88px; width: auto; }
.navbar-tb .nav-link { color: var(--tb-anthrazit); font-weight: 500; font-size: .95rem; }
.navbar-tb .nav-link:hover, .navbar-tb .nav-link:focus { color: var(--tb-braun); }

/* Buttons */
.btn-tb {
  --bs-btn-color: var(--tb-anthrazit);
  --bs-btn-bg: var(--tb-gelb);
  --bs-btn-border-color: var(--tb-gelb);
  --bs-btn-hover-color: var(--tb-anthrazit);
  --bs-btn-hover-bg: var(--tb-gelb-dunkel);
  --bs-btn-hover-border-color: var(--tb-gelb-dunkel);
  --bs-btn-focus-shadow-rgb: 242, 178, 0;
  --bs-btn-active-bg: var(--tb-gelb-dunkel);
  --bs-btn-active-border-color: var(--tb-gelb-dunkel);
  --bs-btn-active-color: var(--tb-anthrazit);
  font-weight: 600;
  padding: .7rem 1.5rem;
  border-radius: .5rem;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn-tb:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(242, 178, 0, .35); }
.btn-tb-outline {
  --bs-btn-color: var(--tb-anthrazit);
  --bs-btn-border-color: var(--tb-anthrazit);
  --bs-btn-hover-bg: var(--tb-anthrazit);
  --bs-btn-hover-border-color: var(--tb-anthrazit);
  --bs-btn-hover-color: #fff;
  font-weight: 600; padding: .7rem 1.5rem; border-radius: .5rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--tb-anthrazit) 0%, #3a4046 100%);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 6rem);
  position: relative;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px;
  background: linear-gradient(90deg, var(--tb-gelb) 0 33%, var(--tb-braun) 33% 66%, var(--tb-grau) 66% 100%); }
.hero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-weight: 800; }
.hero .lead { color: #d4d8dc; font-weight: 400; }
.hero .hero-meta { color: var(--tb-grau); font-size: .95rem; }
.hero figure { margin: 0; }
.hero img { border-radius: .75rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); width: 100%; height: auto; }
.hero figcaption { color: var(--tb-grau); font-size: .85rem; margin-top: .6rem; }

/* Kennzahlenleiste */
.facts { margin-top: -2.5rem; position: relative; z-index: 2; }
.facts .fact { text-align: center; padding: 1.25rem .75rem; height: 100%; }
.facts .fact i { font-size: 1.6rem; color: var(--tb-gelb); }
.facts .fact strong { display: block; font-size: 1.35rem; font-weight: 800; margin-top: .25rem; }
.facts .fact span { font-size: .85rem; color: var(--tb-schiefer); }

/* Cards */
.card-tb {
  border: 0; border-radius: .85rem; background: #fff;
  box-shadow: var(--tb-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.card-tb:hover { transform: translateY(-4px); box-shadow: var(--tb-shadow-hover); }
.card-tb .card-img-top { border-radius: .85rem .85rem 0 0; aspect-ratio: 16 / 10; object-fit: cover; }
.icon-box { width: 3rem; height: 3rem; border-radius: .65rem; background: var(--tb-anthrazit);
  color: var(--tb-gelb); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; padding: .55rem 0; font-size: 1.1rem; font-weight: 500; }
.checklist i { color: var(--tb-gelb); font-size: 1.3rem; line-height: 1.4; }
.chip { display: inline-block; padding: .35rem .85rem; border: 1px solid var(--tb-grau); border-radius: 2rem;
  font-size: .9rem; font-weight: 500; color: var(--tb-schiefer); background: #fff; }

.quote-box { border-left: 4px solid var(--tb-braun); padding: .25rem 0 .25rem 1.25rem; }
.figure-caption { font-size: .88rem; color: var(--tb-schiefer); margin-top: .6rem; }
.img-card { border-radius: .85rem; box-shadow: var(--tb-shadow); width: 100%; height: auto; }

/* Spezifikation */
.spec dt { font-weight: 700; font-size: .95rem; margin-top: 1.1rem; color: var(--tb-braun); }
.spec dt:first-child { margin-top: 0; }
.spec dd { margin: .2rem 0 0; color: var(--tb-schiefer); font-size: .95rem; }
.pro-con { list-style: none; padding: 0; margin: 0; }
.pro-con li { display: flex; gap: .65rem; padding: .45rem 0; font-size: .95rem; }
.pro-con .bi-plus-square-fill { color: var(--tb-gelb); }
.pro-con .bi-dash-square-fill { color: var(--tb-grau); }
.tag-bauseits { font-size: .78rem; font-weight: 700; color: var(--tb-braun); }

/* Kontakt */
.contact { background: var(--tb-anthrazit); color: #fff; }
.contact .form-control, .contact .form-select { border-radius: .5rem; padding: .7rem .9rem; border: 1px solid transparent; }
.contact .form-control:focus, .contact .form-select:focus { border-color: var(--tb-gelb); box-shadow: 0 0 0 .2rem rgba(242, 178, 0, .3); }
.contact label { font-weight: 500; font-size: .9rem; margin-bottom: .3rem; color: #d4d8dc; }
.contact p { color: #d4d8dc; }

/* Footer */
.footer { background: #1f2327; color: var(--tb-grau); font-size: .9rem; padding-block: 2rem; }
.footer a { color: #d4d8dc; text-decoration: none; }
.footer a:hover { color: var(--tb-gelb); }

/* Barrierefreiheit */
:focus-visible { outline: 3px solid var(--tb-gelb); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
