/* VAMIREO – Projekthomepage
   Farben aus der Anwendung (Steckbrief §5), Systemschrift, keine externen Ressourcen. */

:root {
  --primaer: #0069b4;
  --kraeftig: #004f88;
  --hg: #f3f6fa;
  --flaeche: #ffffff;
  --text: #1a1f26;
  --gedaempft: #4a5562;
  --linie: #d5dde7;

  --doku: #0d3d30;
  --doku-akzent: #3fd6a8;
  --erp: #0a4047;
  --erp-akzent: #5ee6e0;
  --sys: #0c2c52;
  --sys-akzent: #66b2ff;

  --hinweis-hg: #fff6e0;
  --hinweis-rand: #b26a00;

  --radius: 14px;
  --schatten: 0 1px 2px rgb(16 32 56 / 6%), 0 6px 20px rgb(16 32 56 / 7%);
  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--hg);
  overflow-wrap: break-word;
  hyphens: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  color: var(--kraeftig);
  line-height: 1.2;
  hyphens: manual;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--kraeftig);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--primaer);
}

:focus-visible {
  outline: 3px solid var(--primaer);
  outline-offset: 3px;
  border-radius: 4px;
}

.visuell-versteckt {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.sprunglink {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--kraeftig);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}

.sprunglink:focus {
  top: 1rem;
  color: #fff;
}

.inhalt {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 var(--rand);
}

/* ---------- Kopfzeile ---------- */

.kopf {
  background: var(--flaeche);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--kraeftig), var(--primaer) 60%, #6fb4e6) 1;
  position: sticky;
  top: 0;
  z-index: 50;
}

.kopf .inhalt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.marke img {
  width: 180px;
}

.navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.navigation a {
  display: inline-block;
  padding: 0.35rem 0;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.navigation a:hover {
  color: var(--primaer);
  text-decoration: underline;
}

@media (max-width: 44rem) {
  .kopf {
    position: static;
  }

  .marke img {
    width: 150px;
  }

  .navigation {
    width: 100%;
  }

  .navigation ul {
    gap: 0 1rem;
    font-size: 0.95rem;
  }
}

/* ---------- Abschnitte ---------- */

section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  scroll-margin-top: 4.5rem;
}

section.hell {
  background: var(--flaeche);
}

.einleitung {
  max-width: 46rem;
  color: var(--gedaempft);
  font-size: 1.15rem;
}

/* ---------- Start ---------- */

.start {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgb(0 105 180 / 12%), transparent 70%),
    var(--hg);
}

.start-raster {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 60rem) {
  .start-raster {
    grid-template-columns: 5fr 6fr;
  }
}

.reifegrad {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--hinweis-hg);
  border: 1px solid #f0d28c;
  color: #5c3a00;
  font-size: 0.9rem;
  font-weight: 600;
}

.claim-text {
  font-size: 1.2rem;
  color: var(--gedaempft);
  max-width: 34rem;
}

.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.knopf {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--primaer);
}

.knopf-primaer {
  background: var(--primaer);
  color: #fff;
}

.knopf-primaer:hover {
  background: var(--kraeftig);
  border-color: var(--kraeftig);
  color: #fff;
}

.knopf-zweit {
  background: var(--flaeche);
  color: var(--kraeftig);
}

.knopf-zweit:hover {
  background: #e7f0f9;
  color: var(--kraeftig);
}

.bildschirm {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--flaeche);
  box-shadow: var(--schatten);
  border: 1px solid var(--linie);
}

.bildschirm a {
  display: block;
}

.bildschirm figcaption {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--gedaempft);
  border-top: 1px solid var(--linie);
}

.kernpunkte {
  list-style: none;
  padding: 0;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.kernpunkte li {
  background: var(--flaeche);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--schatten);
  color: var(--gedaempft);
}

.kernpunkte strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

/* ---------- Modul-Kacheln ---------- */

.kacheln {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.kachel {
  position: relative;
  border-radius: var(--radius);
  padding: 1.5rem;
  color: #fff;
  box-shadow: var(--schatten);
}

.kachel h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.35rem;
}

.kachel h3 span {
  color: var(--akzent);
}

.kachel p {
  margin: 0 0 1rem;
  color: rgb(255 255 255 / 88%);
}

.kachel a {
  color: #fff;
  font-weight: 700;
}

.kachel a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.kachel:has(a:focus-visible) {
  outline: 3px solid var(--primaer);
  outline-offset: 3px;
}

.kachel a:focus-visible {
  outline: none;
}

.kachel-doku { background: var(--doku); --akzent: var(--doku-akzent); }
.kachel-erp { background: var(--erp); --akzent: var(--erp-akzent); }
.kachel-sys { background: var(--sys); --akzent: var(--sys-akzent); }

/* ---------- Module im Detail ---------- */

.modul {
  border-top: 6px solid var(--modulfarbe);
}

.modul-doku { --modulfarbe: var(--doku); }
.modul-erp { --modulfarbe: var(--erp); }
.modul-sys { --modulfarbe: var(--sys); }

.modul-kopf {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.modul-logo {
  width: 260px;
  padding: 0.5rem 0.9rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--schatten);
  box-sizing: content-box;
}

@media (max-width: 30rem) {
  .modul-logo {
    width: 200px;
  }
}

.modul-raster {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 60rem) {
  .modul-raster {
    grid-template-columns: 1fr 1fr;
  }
}

.liste {
  margin: 0;
  padding-left: 1.2rem;
}

.liste li {
  margin-bottom: 0.55rem;
}

.liste li::marker {
  color: var(--modulfarbe, var(--primaer));
}

.galerie {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

.stapel {
  display: grid;
  gap: 1.25rem;
}

.neu {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0 0.45rem;
  border-radius: 6px;
  background: #e1f6ef;
  color: #0b5a43;
  font-size: 0.8rem;
  font-weight: 700;
  vertical-align: 0.1em;
}

/* ---------- Werte ---------- */

.werte {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.werte li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--flaeche);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  box-shadow: var(--schatten);
}

.buchstabe {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 10px;
  background: linear-gradient(160deg, #1a8ad6, var(--kraeftig));
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
}

.werte strong {
  display: block;
  color: var(--kraeftig);
  font-size: 1.1rem;
}

.werte span.text {
  color: var(--gedaempft);
}

/* ---------- Technik ---------- */

.tabelle-huelle {
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  background: var(--flaeche);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--linie);
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

th[scope="row"] {
  width: 11rem;
  color: var(--kraeftig);
}

thead th {
  background: #e7eef6;
  color: var(--text);
}

@media (max-width: 34rem) {
  .tabelle-stapel tr,
  .tabelle-stapel th,
  .tabelle-stapel td {
    display: block;
    width: auto;
  }

  .tabelle-stapel th[scope="row"] {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

.saeulen {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.karte {
  background: var(--flaeche);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--schatten);
}

.karte h3 {
  margin-top: 0;
}

.karte p:last-child {
  margin-bottom: 0;
}

/* ---------- Stand ---------- */

.hinweisbox {
  border-left: 6px solid var(--hinweis-rand);
  background: var(--hinweis-hg);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}

.hinweisbox h3 {
  margin-top: 0;
  color: #5c3a00;
}

.hinweisbox .liste li::marker {
  color: var(--hinweis-rand);
}

.zeitstrahl {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-left: 3px solid var(--linie);
}

.zeitstrahl li {
  position: relative;
  padding: 0 0 1.25rem 1.5rem;
}

.zeitstrahl li::before {
  content: "";
  position: absolute;
  left: -0.6rem;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--flaeche);
  border: 3px solid var(--primaer);
}

.zeitstrahl li.aktuell::before {
  background: var(--primaer);
}

.zeitstrahl .version {
  font-weight: 800;
  color: var(--kraeftig);
  margin-right: 0.5rem;
}

.klein {
  font-size: 0.92rem;
  color: var(--gedaempft);
}

/* ---------- Kontakt ---------- */

.kontakt-karte {
  max-width: 46rem;
  background: linear-gradient(140deg, var(--primaer), var(--kraeftig));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  box-shadow: var(--schatten);
}

.kontakt-karte h2 {
  color: #fff;
}

.kontakt-karte a.mail {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  background: #fff;
  color: var(--kraeftig);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.kontakt-karte a.mail:hover {
  background: #e7f0f9;
}

.kontakt-karte a.mail:focus-visible {
  outline-color: #fff;
}

/* ---------- Fußzeile ---------- */

.fuss {
  background: #0f2640;
  color: #d9e4f0;
  padding: 2.5rem 0;
  font-size: 0.95rem;
}

.fuss .inhalt {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
}

.fuss a {
  color: #fff;
}

.fuss a:hover {
  color: #bfe0ff;
}

.fuss a:focus-visible {
  outline-color: #fff;
}

.fuss ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.fuss p {
  margin: 0 0 0.35rem;
}

/* ---------- Rechtstexte ---------- */

.rechtstext {
  max-width: 46rem;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.rechtstext h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.platzhalter {
  background: #fff1c2;
  outline: 2px dashed var(--hinweis-rand);
  padding: 0 0.25rem;
}

.entwurf {
  border-left: 6px solid var(--hinweis-rand);
  background: var(--hinweis-hg);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2rem;
}
