/* ============================================================
   Wilde Medizin Technik GmbH — Theme über Bootstrap 5.3
   Alles lokal: Schriften self-hosted, keine externen Aufrufe.
   ============================================================ */

/* ---------- 1. Lokale Schriften ---------- */

/* ---------- 2. Marken-Tokens + Bootstrap-Variablen ---------- */

:root {
  --brand: #00a79d;
  --brand-600: #008f86;
  --brand-700: #00756e;
  --brand-900: #06352f;
  --surface: #f3f8f7;
  --line: #dde8e6;
  --bs-primary: #00a79d;
  --bs-primary-rgb: 0,167,157;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: #13211f;
  --bs-body-font-size: 1.0625rem;
  --bs-link-color: #00756e;
  --bs-link-color-rgb: 0,117,110;
  --bs-link-hover-color: #06352f;
  --bs-border-color: #dde8e6;
  --bs-emphasis-color: #06352f;
}

body {
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Überschriften in der Display-Schrift */

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 700;
  color: var(--brand-900);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* Fluide Größen für Schlüssel-Überschriften */

.hero-title {
  font-weight: 800;
  font-size: clamp(2.4rem, 1.7rem + 3.4vw, 4.6rem);
  line-height: 1.06;
}

.page-title {
  font-size: clamp(2rem, 1.6rem + 1.9vw, 3.3rem);
}

.section-title {
  font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.4rem);
}

.lead {
  font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.4rem);
  line-height: 1.5;
}

/* ---------- 3. Bootstrap-Komponenten einfärben ---------- */

.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: .7rem 1.4rem;
}

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-600);
  --bs-btn-hover-border-color: var(--brand-600);
  --bs-btn-active-bg: var(--brand-700);
  --bs-btn-active-border-color: var(--brand-700);
  --bs-btn-disabled-bg: var(--brand);
  --bs-btn-disabled-border-color: var(--brand);
}

.btn-outline-primary {
  --bs-btn-color: var(--brand-700);
  --bs-btn-border-color: var(--line);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-active-bg: var(--brand-700);
  --bs-btn-active-border-color: var(--brand-700);
}

.bg-brand {
  background-color: var(--brand) !important;
}

.bg-surface {
  background-color: var(--surface) !important;
}

.text-brand {
  color: var(--brand-700) !important;
}

a {
  text-underline-offset: 2px;
}

.form-control {
  border-radius: 9px;
  padding: .7rem 1rem;
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .25rem rgba(0,167,157,.2);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- 4. Navbar ---------- */

.navbar {
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  background-color: rgba(255,255,255,.9) !important;
}

.navbar-brand img {
  height: clamp(38px, 3.2vw, 52px);
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--bs-body-color);
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  color: var(--brand-700);
}

.navbar-nav .nav-link.active {
  box-shadow: inset 0 -2px 0 var(--brand);
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-link.active {
    box-shadow: none;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-link {
    padding-block: .6rem;
    border-top: 1px solid var(--line);
  }
}

/* ---------- 5. Eyebrow / Mono-Labels (Signatur) ---------- */

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-600);
  font-weight: 500;
  display: inline-block;
  margin-bottom: .75rem;
}

/* ---------- 6. Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 85% 10%, rgba(0,167,157,.16), transparent 60%), radial-gradient(50% 70% at 10% 90%, rgba(0,167,157,.10), transparent 60%);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-figure {
  position: relative;
}

.hero-figure img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(6,53,47,.35);
}

.hero-badge {
  position: absolute;
  bottom: -16px;
  left: -10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .65rem .9rem;
  box-shadow: 0 8px 20px -10px rgba(6,53,47,.4);
  font-family: "IBM Plex Mono", monospace;
  font-size: .8rem;
  line-height: 1.3;
  color: var(--brand-900);
}

.hero-badge strong {
  color: var(--brand-700);
}

/* Credentials-Leiste */

.credentials {
  border-top: 1px solid var(--line);
}

.cred .k {
  font-family: "IBM Plex Mono", monospace;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.cred .v {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  color: var(--brand-900);
  font-size: 1.25rem;
}

/* ---------- 7. Karten ---------- */

.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem;
  min-height: 130px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.logo-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 18px -12px rgba(6,53,47,.3);
  transform: translateY(-2px);
}

.logo-card img {
  max-height: 60px;
  width: auto;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.feature-media {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.feature-media img {
  max-height: 300px;
  width: auto;
  border-radius: 8px;
}

/* ---------- 8. Zeitleiste ---------- */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}

.timeline li:first-child {
  border-top: 0;
}

.timeline .year {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  color: var(--brand-700);
  font-size: 1.25rem;
}

@media (max-width: 560px) {
  .timeline li {
    grid-template-columns: 1fr;
    gap: .3rem;
  }
}

/* ---------- 9. Marken-/CTA-Sektion + Footer ---------- */

.section-brand {
  background: var(--brand-900);
  color: #cfe9e5;
}

.section-brand h2 {
  color: #fff;
}

.section-brand .eyebrow {
  color: var(--brand);
}

.site-footer {
  background: var(--brand-900);
  color: #b9d9d4;
}

.site-footer a {
  color: #cfe9e5;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer h4 {
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-logo {
  height: 38px;
  width: auto;
  background: #fff;
  padding: .5rem .75rem;
  border-radius: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  color: #8fbab3;
  font-size: .85rem;
}

/* Info-Labels (Kontakt) */

.info-k {
  font-family: "IBM Plex Mono", monospace;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-600);
  display: block;
  margin-bottom: .35rem;
}

/* Prose-Maß für Rechtstexte */

.prose {
  max-width: 75ch;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.2rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.6rem;
}

.prose p, .prose li {
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Impressum: Datenübersicht ---------- */

.dl-info {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: .2rem 1.5rem;
  margin: 1.5rem 0 0;
}

.dl-info dt {
  font-family: "IBM Plex Mono", monospace;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--brand-700);
  padding-top: .9rem;
}

.dl-info dd {
  margin: 0;
  padding-top: .9rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--line);
}

.dl-info dt {
  border-bottom: 1px solid var(--line);
}

.dl-info dt:first-child, .dl-info dt:first-child + dd {
  padding-top: 0;
}

@media (max-width: 640px) {
  .dl-info {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 640px) {
  .dl-info dt {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .dl-info dd {
    padding-top: .2rem;
  }
}

