/**
 * MEDICA GmbH – Ergänzungen zu Tailwind (lokal: css/tailwind.min.css)
 * Schriften: Systemstack – keine Google Fonts
 */

:root {
  --medica-blue: #0c4a6e;
  --medica-blue-light: #155e8a;
  --medica-turquoise: #2dd4bf;
  --medica-turquoise-soft: #99f6e4;
  --medica-red: #dc2626;
  --medica-bg: #f0f9ff;
  --medica-surface: #ffffff;
}

html {
  scroll-behavior: smooth;
  /* Sticky Header + Cookie-Leiste: Zielanker nicht unter der Kopfzeile verdecken */
  scroll-padding-top: 5.5rem;
}

@media (min-width: 1024px) {
  html {
    scroll-padding-top: 4.5rem;
  }
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--medica-bg);
  color: #0f172a;
}

/* Honeypot – für Screenreader versteckt, nicht display:none (Spam-Bots) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Sticky mobile CTA bar – über Cookie-Banner (Telefon sichtbar) */
.mobile-cta-bar {
  box-shadow: 0 -4px 24px rgba(12, 74, 110, 0.12);
  z-index: 50;
}

@media (max-width: 767px) {
  #cookie-banner {
    bottom: 4.75rem;
    z-index: 40;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--medica-blue);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Standard-CTA (Conversion) – ergänzt Tailwind-Klassen im HTML */
.cta-box {
  border: 1px solid rgb(191 219 254);
  background-color: rgb(239 246 255);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(12, 74, 110, 0.06);
}

.cta-box .cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: var(--medica-red);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.cta-box .cta-btn-primary:hover {
  background-color: #b91c1c;
}

.cta-box .cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--medica-blue);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: var(--medica-blue);
  text-decoration: none;
  background: #fff;
}

.cta-box .cta-btn-secondary:hover {
  background: var(--medica-bg);
}

/* Platzhalter bis echte Kundenfotos liegen (optional zusätzlich zu echtem Bild) */
.image-placeholder {
  background: linear-gradient(135deg, #e8f8fd, #ffffff);
  border: 1px dashed #8bd3e6;
  color: #0b5f89;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.site-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 64px;
  object-fit: contain;
}

@media (min-width: 640px) {
  .site-logo {
    max-width: 280px;
    max-height: 80px;
  }
}

@media (max-width: 480px) {
  .site-logo {
    max-width: 160px;
    max-height: 52px;
  }
}
