/* ============================================================
   Vadero ERP — Website-Stylesheet
   Farbwelt und Formsprache entsprechen der Vadero-Marke:
   Navy (#202A44 / #323F62) + Akzentblau (#3B6FF5) + Slate-Grau.
   ============================================================ */

:root {
  --navy:       #202A44;   /* dunkles Blau der Sidebar/Logo-Quadrate */
  --navy-2:     #323F62;   /* helleres Navy */
  --blau:       #3B6FF5;   /* Akzentblau (Buttons, Links) */
  --blau-hell:  #6B93F8;
  --blau-dunkel:#2F59D0;
  --tinte:      #0f172a;   /* Überschriften */
  --text:       #334155;   /* Fließtext */
  --grau:       #64748b;   /* Nebentext */
  --linie:      #e2e8f0;   /* Rahmen/Trennlinien */
  --flaeche:    #f8fafc;   /* helle Hintergrundfläche */
  --weiss:      #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--weiss);
  line-height: 1.6;
  font-size: 16px;
}

img, svg { max-width: 100%; }

a { color: var(--blau); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Zentrale Inhaltsspalte */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Kopfzeile ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}

.kopf-inhalt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.logo-text { line-height: 1.1; }

.logo-text .marke {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--navy);
}

.logo-text .zusatz {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--blau);
}

.haupt-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.haupt-nav a {
  color: var(--navy-2);
  font-weight: 500;
  font-size: 15px;
}

.haupt-nav a:hover { color: var(--blau); text-decoration: none; }

.haupt-nav .btn { color: var(--weiss); }

/* Mobil-Menü-Knopf (nur auf schmalen Bildschirmen sichtbar) */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--linie);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--navy);
  font-size: 18px;
  line-height: 1;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  background: var(--blau);
  color: var(--weiss) !important;
  border: 1px solid var(--blau);
  transition: background 0.15s;
}

.btn:hover { background: var(--blau-dunkel); text-decoration: none; }

.btn-hell {
  background: var(--weiss);
  color: var(--navy) !important;
  border: 1px solid var(--linie);
}

.btn-hell:hover { background: var(--flaeche); }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(37, 99, 235, 0.08), transparent 60%),
    linear-gradient(180deg, var(--flaeche), var(--weiss));
  border-bottom: 1px solid var(--linie);
  padding: 88px 0 72px;
}

.hero-raster {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.uebertitel {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blau);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  color: var(--tinte);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero p.untertitel {
  font-size: 18px;
  color: var(--grau);
  margin-bottom: 32px;
  max-width: 46ch;
}

.hero-aktionen { display: flex; gap: 14px; flex-wrap: wrap; }

/* Vertrauens-Zeile unter den Buttons */
.hero-fakten {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 14px;
  color: var(--grau);
}

.hero-fakten span { display: flex; align-items: center; gap: 8px; }

.hero-fakten .punkt {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--blau);
  flex: none;
}

/* ---------- App-Mockup (stilisierte Programmoberfläche) ---------- */

.mockup {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 12px;
  box-shadow: 0 24px 60px -24px rgba(30, 42, 58, 0.35);
  overflow: hidden;
  font-size: 11px;
}

.mockup-titelleiste {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
}

.mockup-titelleiste i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mockup-titelleiste span {
  margin-left: 8px;
  color: var(--grau);
  font-weight: 600;
}

.mockup-rumpf { display: flex; min-height: 300px; }

.mockup-sidebar {
  width: 132px;
  flex: none;
  background: var(--navy);
  color: #9db0c4;
  padding: 12px 0;
}

.mockup-sidebar div {
  padding: 7px 16px;
  white-space: nowrap;
}

.mockup-sidebar div.aktiv {
  background: var(--navy-2);
  color: var(--weiss);
  border-left: 3px solid var(--blau-hell);
  padding-left: 13px;
}

.mockup-inhalt { flex: 1; padding: 16px; background: var(--flaeche); }

.mockup-inhalt h4 {
  font-size: 13px;
  color: var(--tinte);
  margin-bottom: 10px;
}

.mockup-tabelle {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 8px;
  overflow: hidden;
}

.mockup-zeile {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr 0.9fr;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--linie);
  color: var(--grau);
}

.mockup-zeile:last-child { border-bottom: none; }

.mockup-zeile.kopfzeile {
  background: var(--flaeche);
  font-weight: 700;
  color: var(--navy-2);
}

.mockup-zeile b { color: var(--tinte); font-weight: 600; }

.badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 10px;
}

.badge.gruen { background: #d1fae5; color: #065f46; }
.badge.gelb  { background: #fef3c7; color: #92400e; }

/* ---------- Abschnitte ---------- */

.abschnitt { padding: 88px 0; }
.abschnitt.getont { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }

.abschnitt-kopf { max-width: 62ch; margin-bottom: 48px; }

.abschnitt-kopf h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  color: var(--tinte);
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 10px 0 14px;
}

.abschnitt-kopf p { color: var(--grau); font-size: 17px; }

/* ---------- Modul-Kacheln ---------- */

.kachel-raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kachel {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 12px;
  padding: 26px;
  transition: box-shadow 0.15s, transform 0.15s;
}

.kachel:hover {
  box-shadow: 0 12px 32px -16px rgba(30, 42, 58, 0.3);
  transform: translateY(-2px);
}

/* Logo-Quadrat-Motiv als Kachel-Icon */
.kachel-icon {
  display: grid;
  grid-template-columns: 10px 10px;
  grid-template-rows: 10px 10px;
  gap: 3px;
  margin-bottom: 16px;
}

.kachel-icon i { background: var(--navy); border-radius: 2px; }
.kachel-icon i:last-child { background: transparent; border: 2px solid var(--blau); }

.kachel h3 { font-size: 18px; color: var(--tinte); margin-bottom: 8px; }
.kachel p  { font-size: 14.5px; color: var(--grau); }

.kachel .modul-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blau);
}

/* Breite Basis-Karte über dem Kachelraster */
.basis-karte {
  grid-column: 1 / -1;
  background: var(--navy);
  color: #cdd6e0;
  border: none;
}

.basis-karte:hover { transform: none; }
.basis-karte h3 { color: var(--weiss); }
.basis-karte p  { color: #9db0c4; }

.basis-karte .modul-tag { color: var(--blau-hell); }

/* ---------- Technik-Highlights ---------- */

.merkmal-raster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 32px;
}

.merkmal h3 {
  font-size: 16px;
  color: var(--tinte);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.merkmal h3 .punkt {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--blau);
  flex: none;
}

.merkmal p { font-size: 14px; color: var(--grau); }

/* ---------- Preise / Pakete ---------- */

.preis-raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.preis-karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.preis-karte.hervorgehoben {
  border: 2px solid var(--blau);
  box-shadow: 0 16px 40px -20px rgba(37, 99, 235, 0.4);
}

.preis-karte h3 { font-size: 20px; color: var(--tinte); }

.preis-karte .preis-hinweis {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin: 14px 0 4px;
}

.preis-karte .preis-sub { font-size: 13px; color: var(--grau); margin-bottom: 20px; }

.preis-karte ul { list-style: none; margin-bottom: 26px; flex: 1; }

.preis-karte li {
  font-size: 14.5px;
  padding: 7px 0 7px 26px;
  position: relative;
  border-bottom: 1px dashed var(--linie);
}

.preis-karte li:last-child { border-bottom: none; }

/* Häkchen vor jedem Listenpunkt */
.preis-karte li::before {
  content: "";
  position: absolute;
  left: 2px; top: 13px;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--blau);
  border-bottom: 2.5px solid var(--blau);
  transform: rotate(-45deg);
}

/* ---------- Kontakt ---------- */

.kontakt-karte {
  background: var(--navy);
  border-radius: 16px;
  padding: 64px 48px;
  text-align: center;
  color: #cdd6e0;
}

.kontakt-karte h2 {
  color: var(--weiss);
  font-size: clamp(26px, 3.2vw, 34px);
  margin-bottom: 14px;
}

.kontakt-karte p { max-width: 56ch; margin: 0 auto 30px; color: #9db0c4; }

/* ---------- Registrierungsformular (Phase 37: Portal) ---------- */

.reg-formular { max-width: 560px; margin: 0 auto; text-align: left; }

.reg-raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.reg-raster input {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  color: var(--weiss);
  font-size: 14px;
  font-family: inherit;
}

.reg-raster input::placeholder { color: #9db0c4; }
.reg-raster input:focus { outline: 2px solid var(--blau); border-color: transparent; }

.reg-einwilligung {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: #9db0c4;
  margin-bottom: 18px;
}

.reg-einwilligung input { margin-top: 2px; }
.reg-einwilligung a { color: #cdd6e0; }

.reg-meldung { margin-top: 14px; font-size: 14px; }

.reg-konto-hinweis { margin-top: 18px; font-size: 13.5px; color: #9db0c4; text-align: center; }
.reg-konto-hinweis a { color: var(--weiss); font-weight: 600; }

@media (max-width: 640px) {
  .reg-raster { grid-template-columns: 1fr; }
}

/* ---------- Fußzeile ---------- */

.fuss {
  border-top: 1px solid var(--linie);
  padding: 36px 0;
  font-size: 14px;
  color: var(--grau);
}

.fuss-inhalt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.fuss a { color: var(--grau); }
.fuss a:hover { color: var(--blau); }

.fuss-nav { display: flex; gap: 22px; }

/* ---------- Unterseiten (Module, Impressum, Datenschutz) ---------- */

.seiten-hero {
  background: linear-gradient(180deg, var(--flaeche), var(--weiss));
  border-bottom: 1px solid var(--linie);
  padding: 64px 0 48px;
}

.seiten-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--tinte);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.seiten-hero p { color: var(--grau); font-size: 17px; max-width: 62ch; }

.modul-detail {
  padding: 48px 0;
  border-bottom: 1px solid var(--linie);
  scroll-margin-top: 90px;   /* Anker landen nicht unter der sticky Kopfzeile */
}

.modul-detail:last-of-type { border-bottom: none; }

.modul-detail h2 {
  font-size: 26px;
  color: var(--tinte);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.modul-detail .modul-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--blau);
  background: #dbeafe;
  padding: 3px 10px;
  border-radius: 999px;
}

.modul-detail > .container > p { max-width: 68ch; margin-bottom: 18px; color: var(--grau); }

.funktions-liste {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
  max-width: 860px;
}

.funktions-liste li {
  font-size: 15px;
  padding: 6px 0 6px 26px;
  position: relative;
}

.funktions-liste li::before {
  content: "";
  position: absolute;
  left: 2px; top: 13px;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--blau);
  border-bottom: 2.5px solid var(--blau);
  transform: rotate(-45deg);
}

/* Rechtstexte (Impressum/Datenschutz) */
.rechtstext { padding: 48px 0 80px; max-width: 760px; }
.rechtstext h2 { font-size: 20px; color: var(--tinte); margin: 32px 0 10px; }
.rechtstext p  { margin-bottom: 12px; }
.platzhalter   { background: #fef3c7; color: #92400e; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* ---------- Responsiv ---------- */

@media (max-width: 900px) {
  .hero-raster { grid-template-columns: 1fr; gap: 40px; }
  .kachel-raster { grid-template-columns: repeat(2, 1fr); }
  .merkmal-raster { grid-template-columns: repeat(2, 1fr); }
  .preis-raster { grid-template-columns: 1fr; }
  .funktions-liste { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .kachel-raster { grid-template-columns: 1fr; }
  .merkmal-raster { grid-template-columns: 1fr; }
  .abschnitt { padding: 64px 0; }

  /* Navigation klappt zum Menü zusammen */
  .nav-toggle { display: block; }

  .haupt-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    padding: 8px 0;
  }

  .haupt-nav.offen { display: flex; }

  .haupt-nav a { padding: 12px 24px; }
  .haupt-nav .btn { margin: 8px 24px; text-align: center; }
}

/* Dezente Intern-Zeile in der Fusszeile (Wiki/Admin — zugangsgeschützt) */
.fuss-intern { font-size: 12px; color: #94a3b8; margin-top: 6px; }
.fuss-intern a { color: #94a3b8; text-decoration: underline; }
.fuss-intern a:hover { color: #cbd5e1; }

/* ════════════════════════════════════════════════════════════════════
   Dunkles Markenlayout (2026-07): Kopfzeile + Hero + Fusszeile in Navy,
   Split-Screen-Hero mit Versal-Headline. Inhalts-Sektionen bleiben hell.
   ════════════════════════════════════════════════════════════════════ */
.kopf {
  background: #10182e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.kopf .haupt-nav a { color: #aab6d4; font-size: 14px; }
.kopf .haupt-nav a:hover { color: #fff; }
.kopf .logo-text .marke { color: #fff; letter-spacing: .22em; }
.kopf svg rect[fill="#202A44"] { fill: #fff; }

.hero {
  background: linear-gradient(104deg, #10182e 0 56%, #1b2748 56.15% 100%);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 400px at 20% 0%, rgba(59, 111, 245, 0.16), transparent 60%);
  pointer-events: none;
}
.hero .uebertitel { color: #7d97ff; letter-spacing: .28em; }
.hero h1 { color: #fff; text-transform: uppercase; letter-spacing: .05em; line-height: 1.14; }
.hero .untertitel { color: #9aa7c7; }
.hero-fakten span { color: #c2cbe2; }
.hero .btn-hell { background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.45); }
.hero .btn-hell:hover { background: rgba(255, 255, 255, 0.1); color: #fff !important; }
.mockup { box-shadow: 0 44px 100px rgba(0, 0, 0, 0.5); }

.fuss { background: #10182e; border-top: none; color: #aab6d4; }
.fuss a { color: #aab6d4; }
.fuss a:hover { color: #fff; }

/* Mobil-Menü auf dunkler Kopfzeile */
@media (max-width: 900px) {
  .haupt-nav {
    background: #10182e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
}

/* Preis-Fußnoten (Zusatznutzer, Einrichtung, Wartung, USt-Hinweis) */
.preis-fuss {
  max-width: 820px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: var(--grau);
}
.preis-fuss p { margin: 0 0 10px; }
.preis-fuss .preis-sub { font-size: 13px; }

/* ── FAQ (Preisseite + Landingpages, Phase 63) ───────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--linie);
  border-radius: 10px;
  padding: 0 18px;
  margin-bottom: 12px;
  background: var(--weiss);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--tinte);
  padding: 16px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 22px;
  font-weight: 400;
  color: var(--blau);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > p { margin: 0 0 16px; color: var(--text); line-height: 1.6; }
.haupt-nav a[aria-current="page"] { color: var(--blau); font-weight: 600; }

/* Zwei-Spalten-Faktenraster (Landingpages) */
.fakten-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.fakten-karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 12px;
  padding: 24px;
}
.fakten-karte h3 { margin: 0 0 8px; color: var(--tinte); font-size: 18px; }
.fakten-karte p { margin: 0; color: var(--text); line-height: 1.6; }
