/* SwissMM Website V1.0 – Stylesheet
   Art Direction: SwissMM-Mockup · Markenfamilie FleetSwiss / Alpine Service */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0F284E;
  --navy-900: #0B1B33;
  --ink: #14202E;
  --slate: #4B5A68;
  --slate-2: #5B6878;
  --slate-light: #A9B6C6;
  --blue: #1E63C6;
  --blue-700: #174FA0;
  --blue-light: #6FA3F0;
  --ice: #EAF1FB;
  --paper: #F4F6F9;
  --line: #DFE5EC;
  --white: #FFFFFF;
  --red: #DA291C;

  --font: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 88px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(15, 40, 78, .06), 0 8px 24px rgba(15, 40, 78, .06);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 { margin: 0; line-height: 1.12; color: var(--navy); letter-spacing: -0.02em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 600 14px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .85); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand img { height: 54px; width: auto; }
.brand .logo-compact { display: none; height: 28px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--navy); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav .btn { color: var(--white); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
  color: var(--navy); cursor: pointer; border-radius: var(--radius);
}
.nav-toggle svg { width: 26px; height: 26px; margin: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(560px, 46vw, 700px);
  display: flex; align-items: center;
  background: var(--navy-900); color: var(--white);
  overflow: hidden;
}
.hero-media, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 70% 45%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 27, 51, .88) 0%, rgba(11, 27, 51, .70) 34%, rgba(11, 27, 51, .18) 60%, rgba(11, 27, 51, 0) 74%);
}
.hero-inner { position: relative; width: 100%; padding-top: 64px; padding-bottom: 72px; }
.hero-content { max-width: 600px; }
.eyebrow {
  display: block; margin-bottom: 22px;
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(40px, 4.6vw, 62px); font-weight: 400; line-height: 1.08; letter-spacing: -0.025em;
}
.hero h1 span { display: block; }
.hero-lead {
  margin-top: 26px; max-width: 540px;
  font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-claim {
  position: absolute; right: var(--gutter); bottom: 72px;
  font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  line-height: 2; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.hero-claim .cross { width: 28px; height: 28px; margin-top: 14px; }

/* ---------- Nutzenleiste ---------- */
.benefits { background: var(--white); border-bottom: 1px solid var(--line); }
.benefits ul {
  display: grid; grid-template-columns: repeat(5, 1fr);
  list-style: none; margin: 0; padding: 0;
}
.benefits li {
  padding: 34px 20px 32px; text-align: center;
  border-left: 1px solid var(--line);
}
.benefits li:first-child { border-left: 0; }
.benefits .icon { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--blue); }
.benefits .bt { font-size: 16px; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); }
.benefits p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--slate-2); }

/* ---------- Produkt (Split) ---------- */
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--paper); }
.product-media { position: relative; min-height: 560px; color: var(--white); overflow: hidden; isolation: isolate; }
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; z-index: -2; }
.product-media::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11, 27, 51, .05) 20%, rgba(11, 27, 51, .78) 62%, rgba(11, 27, 51, .92) 100%);
}
.product-statement { position: absolute; left: clamp(24px, 4vw, 56px); right: 24px; bottom: 48px; }
.product-statement .rule { width: 40px; height: 2px; background: #C9A24A; margin-bottom: 22px; }
.product-statement .eyebrow { margin-bottom: 14px; font-size: 12px; }
.product-statement p.big {
  font-size: clamp(26px, 2.5vw, 34px); font-weight: 400; line-height: 1.18; letter-spacing: -0.02em;
}
.product-statement p.big span { display: block; }
.product-statement .rule-blue { width: 40px; height: 2px; background: var(--blue-light); margin-top: 24px; }

.product-body { padding: clamp(48px, 6vw, 88px) clamp(24px, 5vw, 72px); }
.product-body h2, .section-head h2 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 500; }
.product-body > p { margin-top: 18px; max-width: 620px; color: var(--slate); }
.roles { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; max-width: 640px; }
.roles li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.roles .icon { width: 30px; height: 30px; color: var(--blue); margin-top: 2px; }
.roles strong { display: block; color: var(--navy); font-weight: 600; }
.roles span { display: block; font-size: 15px; color: var(--slate); }
.erp-note {
  margin-top: 28px; max-width: 640px; padding: 18px 20px 18px 22px;
  border-left: 3px solid var(--blue); background: var(--ice); color: var(--navy); font-size: 16px;
}

/* ---------- Funktionen ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { max-width: 720px; }
.section-head p { margin-top: 14px; color: var(--slate); }
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  list-style: none; margin: 44px 0 0; padding: 0;
}
.feature {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 24px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.feature .icon { width: 32px; height: 32px; color: var(--blue); }
.feature h3 { font-size: 17px; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.feature p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--slate); }
.rule-note { margin-top: 24px; max-width: 760px; font-size: 15px; color: var(--slate); }

/* ---------- Roadmap + Konditionen ---------- */
.plan { background: var(--paper); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.roadmap-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.roadmap-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 26px; }
.roadmap-col h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18px; font-weight: 600; }
.badge {
  flex: none; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px;
}
.badge-live { background: var(--ice); color: var(--blue-700); }
.badge-plan { background: #EEF1F4; color: var(--slate); }
.roadmap-col ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.roadmap-col li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.roadmap-col li svg { width: 18px; height: 18px; margin-top: 2px; }
.roadmap-col.live li svg { color: var(--blue); }
.roadmap-col.planned li { color: var(--slate); }
.roadmap-col.planned li svg { color: var(--slate-light); }
.disclaimer { margin-top: 18px; font-size: 14px; color: var(--slate-2); }

.terms {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue);
  border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); box-shadow: var(--shadow);
}
.terms h2 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; }
.terms p { margin-top: 14px; color: var(--slate); }
.terms .price-line { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 18px; }
.terms .btn { margin-top: 24px; }

/* ---------- Kontakt / CTA ---------- */
.cta { position: relative; isolation: isolate; color: var(--white); background: var(--navy-900); overflow: hidden; }
.cta-media, .cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-media { z-index: -2; }
.cta-media img { object-fit: cover; object-position: 30% 50%; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(270deg, rgba(11, 27, 51, .92) 0%, rgba(11, 27, 51, .82) 40%, rgba(11, 27, 51, .35) 68%, rgba(11, 27, 51, .15) 100%);
}
.cta .wrap { display: flex; justify-content: flex-end; }
.cta-content { width: min(560px, 100%); padding: clamp(72px, 9vw, 120px) 0; }
.cta h2 { color: var(--white); font-size: clamp(28px, 2.8vw, 38px); font-weight: 500; }
.cta p { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .9); }
.cta .btn { margin-top: 30px; }
.cta-mail { margin-top: 22px; font-size: 16px; color: rgba(255, 255, 255, .85); }
.cta-mail a { color: var(--white); font-weight: 600; }
.cta-mail a:hover { color: var(--blue-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--slate-light); font-size: 15px; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px;
  padding: 56px 0 44px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-brand img { height: 30px; width: auto; }
.byline { margin-top: 18px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.8; color: var(--slate-light); }
.footer-brand .byline-logo { margin-top: 16px; height: 48px; width: auto; border-radius: 3px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--blue-light); text-decoration: underline; }
.footer-title { color: var(--white); font-weight: 600; margin-bottom: 12px; font-size: 15px; }
.footer-company address { font-style: normal; line-height: 1.7; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding: 22px 0 26px; font-size: 14px;
}
.footer-bottom ul { display: flex; gap: 24px; }

/* ---------- Rechtsseiten ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 104px); }
.legal .wrap { max-width: calc(800px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; overflow-wrap: break-word; hyphens: auto; }
.legal .meta { margin-top: 10px; color: var(--slate-2); font-size: 15px; }
.legal h2 { margin-top: 44px; font-size: 22px; font-weight: 600; }
.legal h3 { margin-top: 24px; font-size: 18px; font-weight: 600; }
.legal p, .legal li, .legal address { margin-top: 12px; color: var(--ink); font-style: normal; }
.legal ul { padding-left: 22px; }
.legal .back { display: inline-flex; margin-top: 48px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav ul { gap: 22px; }
  .benefits ul { grid-template-columns: repeat(6, 1fr); }
  .benefits li { grid-column: span 2; }
  .benefits li:nth-child(n+4) { grid-column: span 3; border-top: 1px solid var(--line); }
  .benefits li:nth-child(4) { border-left: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product-media { min-height: 460px; }
  .hero-claim { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img.logo-full { display: none; }
  .brand .logo-compact { display: block; }
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px var(--gutter) 24px;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin-top: 20px; justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; z-index: auto; height: auto; aspect-ratio: 4 / 4.2; }
  .hero-media img { object-position: 50% 30%; }
  .hero::before { display: none; }
  .hero-media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
    background: linear-gradient(180deg, rgba(11, 27, 51, 0) 0%, var(--navy-900) 100%);
  }
  .hero-inner { padding-top: 8px; padding-bottom: 48px; margin-top: -48px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }

  .benefits ul { grid-template-columns: 1fr 1fr; }
  .benefits li, .benefits li:nth-child(n+4) { grid-column: auto; padding: 26px 14px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .benefits li:nth-child(odd) { border-left: 0; }
  .benefits li:nth-child(-n+2) { border-top: 0; }
  .benefits li:last-child { grid-column: 1 / -1; border-left: 0; }

  .product-media { min-height: 380px; }
  .features { grid-template-columns: 1fr; }
  .roadmap-cols { grid-template-columns: 1fr; }

  .cta { display: block; }
  .cta-media { position: relative; z-index: auto; aspect-ratio: 4 / 3.6; }
  .cta-media img { object-position: 50% 35%; }
  .cta::before { display: none; }
  .cta-media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
    background: linear-gradient(180deg, rgba(11, 27, 51, 0) 0%, var(--navy-900) 100%);
  }
  .cta-content { padding: 8px 0 56px; margin-top: -32px; position: relative; }
  .cta .btn { width: 100%; justify-content: center; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
