/* ===============================
   WatchCore / SafePilot – CLEAN CSS (FIXED & STABLE)
   ✔ Hero headline + subline exakt zentriert zueinander
   ✔ Cards-Abstände korrekt
   ✔ Footer-Logo repariert
   ✔ Keine Layout-Sideeffects
   =============================== */

/* ================= ROOT ================= */
:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, .10);

  --accent: #f97316;
  --accent-2: #fb8c3c;
  --navy: #0049A1;
  --navy-2: #0e375f;

  --shadow-soft: 0 10px 30px rgba(2, 8, 23, .08);

  --radius: 18px;
  --radius-lg: 24px;

  --container: 1120px;
}

/* ================= BASE ================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.brand-logo {
  width: 60px;
  height: 60px;
}

.brand-name {
  font-size: 1.35rem;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.brand-watch {
  color: var(--navy);
}

.brand-core {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  font-weight: 650;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--navy);
}

.nav-link:hover {
  background: rgba(15, 23, 42, .04);
}

.nav-cta {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(255, 226, 205, .38),
      rgba(120, 185, 245, .44) 55%,
      rgba(80, 150, 230, .48)),
    linear-gradient(180deg,
      rgba(11, 43, 75, .18),
      rgba(11, 43, 75, .10)),
    url("../img/hero-mountains.png");
  background-size: cover;
  background-position: center;
  filter: contrast(1.15) saturate(1.15);
}

/* HERO LAYOUT */
.hero-split {
  min-height: 300px;
  display: grid;
  align-items: center;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 36px;
  padding: 42px 0;
  align-items: center;
}

/* Logo */
.hero-logo img {
  width: min(100%, 300px);
  margin-inline: auto;
}

/* TEXT BLOCK – FIX */
.hero-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-inline: auto;
}

/* ORANGE HEADLINE */
.hero-title {
  margin: 0;
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1.08;
  text-wrap: balance;
}

/* BLACK SUBLINE */
.hero-subtitle {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  color: rgba(15, 23, 42, .76);
  letter-spacing: .2px;
  max-width: 34ch;
}

/* ================= SECTIONS ================= */
.section {
  padding: 64px 0;
}

.section-tight {
  padding: 36px 0 22px;
}

.section-cards {
  padding: 10px 0 64px;
}

.section-title {
  margin-bottom: 28px;
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
}

/* ================= SURFACE ================= */
.surface {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-soft);
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.card-icon-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 800;
}

.card-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ================= TRUST SECTION ================= */
.trust-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}

.trust-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
}

/* ================= FOOTER ================= */
.site-footer {
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #ffffff;
}

.footer-inner {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 48px;
  height: 48px;
}

.footer-name {
  font-weight: 900;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: #ffffff;
}

.footer-nav {
  display: flex;
  gap: 14px;
}

.footer-nav a {
  padding: 6px 10px;
  border-radius: 10px;
  color: #ffffff;
}

.footer-nav a:hover {
  background: rgba(255, 255, 255, .08);
}

.footer-cta,
.footer-bottom,
.footer-bottom-inner,
.site-footer .brand-watch,
.site-footer .brand-core {
  color: #ffffff;
}

.footer-cta {
  color: #ffffff;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom-inner {
  padding: 12px 0;
  text-align: center;
  font-size: .9rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .hero-content {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 0;
  }

  .brand {
    justify-content: center;
    gap: 10px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 8px 10px;
  }

  .nav-link {
    padding: 6px 8px;
    font-size: .82rem;
    line-height: 1.2;
  }

  .nav-cta {
    padding: 9px 12px;
    border-radius: 12px;
    font-size: .82rem;
  }

  .hero-inner {
    gap: 14px;
    padding: 24px 0 26px;
  }

  .hero-logo img {
    width: min(100%, 180px);
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    max-width: 28ch;
    font-size: .9rem;
    line-height: 1.45;
  }

  .section {
    padding: 48px 0;
  }

  .section-tight {
    padding: 26px 0 12px;
  }

  .section-title {
    margin-bottom: 22px;
    font-size: 1.85rem;
  }

  .surface {
    padding: 18px 16px;
  }

  .page-text,
  .card-text,
  .about-bullets {
    font-size: .95rem;
  }

  .cards {
    gap: 14px;
  }

  .card {
    padding: 18px 16px;
  }

  .card-icon-wrap {
    width: 126px;
    height: 126px;
    margin-bottom: 12px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .footer-brand,
  .footer-nav {
    justify-content: center;
    width: 100%;
  }

  .footer-logo {
    width: 40px;
    height: 40px;
  }

  .footer-name {
    font-size: .98rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
