/* =========================================================
   ZetStrat — Website Stylesheet
   CI: Blau + Neutralgrau + Weiss · Fonts: Montserrat / Inter
   Alles editierbar. Farben zentral in :root unten.
   ========================================================= */

/* ---------- Schriften (lokal gehostet, kein Google-CDN → DSGVO-freundlich) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --blau:        #1B4C9C;   /* Primär-Blau (Logo) */
  --blau-dunkel: #12356E;   /* Titel / Kontrast   */
  --blau-tint:   #E8EEF7;   /* Flächen / Highlight */
  --text:        #3A3F47;   /* Fliesstext         */
  --text-2:      #6B7280;   /* Sekundär-Grau      */
  --linie:       #E5E7EB;   /* Rahmen / Trenner   */
  --weiss:       #FFFFFF;
  --bg-soft:     #F7F9FC;   /* sehr helles Grau-Blau */

  --maxw: 1120px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18,53,110,.04), 0 8px 30px rgba(18,53,110,.06);
  --shadow-lg: 0 20px 60px rgba(18,53,110,.12);
  --font-head: "Montserrat", Arial, Helvetica, sans-serif;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
  --transition: .2s ease;
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--weiss);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--blau-dunkel); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--blau); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blau-dunkel); }
img { max-width: 100%; display: block; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: .4rem; }
.small { font-size: .9rem; color: var(--text-2); }
.center { text-align: center; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-tint { background: var(--blau-tint); }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blau);
  margin-bottom: .8rem; display: block;
}
.lead { font-size: 1.2rem; color: var(--text); max-width: 62ch; }
.section-head { max-width: 64ch; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--linie);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--text); font-weight: 500; font-size: .98rem; }
.nav__links a:hover, .nav__links a.active { color: var(--blau); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--linie); border-radius: 999px; overflow: hidden;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
}
.lang-toggle button {
  border: 0; background: transparent; color: var(--text-2); padding: 6px 12px;
  cursor: pointer; transition: var(--transition); font: inherit;
}
.lang-toggle button.active { background: var(--blau); color: #fff; }
.nav__toggle { display: none; border: 0; background: transparent; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--blau-dunkel); margin: 5px 0; transition: var(--transition); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: var(--transition); white-space: nowrap;
}
.btn--primary { background: var(--blau); color: #fff; }
.btn--primary:hover { background: var(--blau-dunkel); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--blau); border-color: var(--linie); }
.btn--ghost:hover { border-color: var(--blau); background: var(--blau-tint); }
.btn--light { background: #fff; color: var(--blau-dunkel); }
.btn--light:hover { background: var(--blau-tint); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 0%, rgba(27,76,156,.10), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(27,76,156,.06), transparent 60%),
    var(--weiss);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--blau); }
.hero .lead { margin-bottom: 8px; }
.hero__panel {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; position: relative;
}
.hero__panel .browser-bar { display: flex; gap: 6px; padding: 8px 10px; }
.hero__panel .browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--linie); display: block; }

/* ---------- Media placeholder (Screenshots / Videos) ---------- */
.media {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  background: linear-gradient(135deg, var(--blau-tint), #dfe8f6);
  border: 1px dashed #b9c8e4; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--blau-dunkel);
}
.media[data-ratio="16-9"] { aspect-ratio: 16 / 9; }
.media[data-ratio="4-3"]  { aspect-ratio: 4 / 3; }
.media[data-ratio="1-1"]  { aspect-ratio: 1 / 1; }
.media__hint { padding: 20px; font-size: .9rem; }
.media__hint strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.media__play {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
}
.media__play::after { content: ""; border-left: 18px solid var(--blau); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
/* Echtes Foto statt Platzhalter (2026-08-11): der gestrichelte Rahmen und der
   blaue Verlauf gehoeren zur LEEREN Kachel. Bleiben sie stehen, sieht das
   Bild aus, als waere es noch ein Platzhalter — und an den Raendern blitzt
   der Verlauf durch. Eigene Klasse statt :has(img), damit die Regel in jedem
   Browser greift und man im HTML sieht, was gemeint ist. */
.media--foto { border: none; background: none; }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card h3 { margin-bottom: .4rem; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--blau-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  font-size: 1.4rem;
}
.tag {
  display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.tag--live { background: #e7f5ec; color: #1a7a44; }
.tag--soon { background: #fdf1e3; color: #b5691a; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 24px 12px; }
.stat__num { font-family: var(--font-head); font-weight: 700; color: var(--blau); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; }
.stat__label { color: var(--text-2); font-size: .92rem; margin-top: 8px; }

/* ---------- Process / Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 28px; border: 1px solid var(--linie); border-radius: var(--radius); background: #fff; }
.step__n {
  counter-increment: step; font-family: var(--font-head); font-weight: 700; color: var(--blau);
  font-size: 1rem; width: 34px; height: 34px; border-radius: 50%; background: var(--blau-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step__n::before { content: counter(step); }

/* ---------- Product / Agent row ---------- */
.agent { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--linie); }
.agent:last-child { border-bottom: 0; }
.agent--rev .agent__media { order: 2; }
.agent__body ul { list-style: none; padding: 0; }
.agent__body li { position: relative; padding-left: 28px; }
.agent__body li::before { content: "✓"; position: absolute; left: 0; color: var(--blau); font-weight: 700; }

/* ---------- Feature list (checks) ---------- */
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--blau);
  width: 20px; height: 20px; border-radius: 50%; font-size: .72rem; display: flex;
  align-items: center; justify-content: center; margin-top: 4px;
}

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.news-card .media { border-radius: 0; border: 0; border-bottom: 1px solid var(--linie); }
.news-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { font-size: .82rem; color: var(--text-2); margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.news-card__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-2); }
.news-card h3 { font-size: 1.12rem; }
.news-card__cat { color: var(--blau); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blau-dunkel), var(--blau)); color: #fff; border-radius: 20px; padding: 56px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 52ch; margin: 0 auto 8px; }

/* ---------- Contact form ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: var(--blau-dunkel); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--linie); border-radius: var(--radius-sm);
  font: inherit; color: var(--text); background: #fff; transition: var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(27,76,156,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--text-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info li { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.contact-info .ico { color: var(--blau); flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blau-dunkel); color: rgba(255,255,255,.75); padding: 64px 0 32px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer a { color: rgba(255,255,255,.75); display: block; margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-brand .wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; }
.footer-brand .wordmark .light { font-weight: 300; }
.footer-brand .claim { letter-spacing: .25em; font-size: .7rem; text-transform: uppercase; color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid, .agent, .agent--rev .agent__media, .contact-grid { grid-template-columns: 1fr; }
  .agent--rev .agent__media { order: 0; }
  .grid--3, .grid--4, .steps--4, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav__links {
    position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column;
    align-items: flex-start; gap: 0; padding: 12px 24px 24px; border-bottom: 1px solid var(--linie);
    box-shadow: var(--shadow-lg); transform: translateY(-120%); transition: transform .25s ease; height: auto;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links li { width: 100%; }
  .nav__links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--linie); }
  .nav__toggle { display: block; }
  .cta-band { padding: 40px 24px; }
  section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4, .steps--4, .news-grid, .stats, .form .row { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 20px; }
}
