/* CI confidential GmbH — Markenfarben laut Farbwerte.pdf */
:root {
  --ci-blau-hell: #588ac7;   /* Pantone 2143C */
  --ci-blau-dunkel: #13385e; /* Pantone 534C */
  --grau-silber: #eceef1;
  --grau-linie: #d5d9de;
  --text: #2a2f36;
  --text-hell: #5a6470;
  --weiss: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--weiss);
}

/* ---------- Header: hell grau/silber, Logo & Menü in CI-Blau ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--grau-silber);
  border-bottom: 1px solid var(--grau-linie);
}
.header-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.logo img { height: 52px; display: block; }
nav { display: flex; gap: 28px; align-items: center; }
nav a {
  color: var(--ci-blau-dunkel); text-decoration: none;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
}
nav a:hover { color: var(--ci-blau-hell); }
nav a.cta {
  background: var(--ci-blau-dunkel); color: var(--weiss);
  padding: 9px 18px; border-radius: 4px;
}
nav a.cta:hover { background: var(--ci-blau-hell); color: var(--weiss); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--ci-blau-dunkel) 0%, #1d4a78 60%, var(--ci-blau-hell) 100%);
  color: var(--weiss);
  padding: 170px 24px 90px;
  text-align: center;
}
.hero h1 { font-size: 2.4rem; font-weight: 700; max-width: 820px; margin: 0 auto 18px; }
.hero p.sub { font-size: 1.15rem; max-width: 720px; margin: 0 auto 34px; opacity: 0.92; }
.hero .buttons a {
  display: inline-block; margin: 6px 8px; padding: 13px 28px;
  border-radius: 4px; text-decoration: none; font-weight: 600;
}
.btn-primary { background: var(--weiss); color: var(--ci-blau-dunkel); }
.btn-primary:hover { background: var(--grau-silber); }
.btn-outline { border: 2px solid var(--weiss); color: var(--weiss); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ---------- Abschnitte ---------- */
section { padding: 72px 24px; }
.inner { max-width: 1140px; margin: 0 auto; }
section.alt { background: var(--grau-silber); }
h2 {
  color: var(--ci-blau-dunkel); font-size: 1.8rem; margin-bottom: 8px;
}
.kicker {
  color: var(--ci-blau-hell); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700;
  margin-bottom: 6px;
}
.lead { color: var(--text-hell); max-width: 780px; margin-bottom: 36px; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: var(--weiss); border: 1px solid var(--grau-linie);
  border-top: 4px solid var(--ci-blau-hell); border-radius: 6px;
  padding: 26px;
}
.card h3 { color: var(--ci-blau-dunkel); margin-bottom: 10px; font-size: 1.1rem; }
.card p { font-size: 0.95rem; color: var(--text-hell); }
.card ul { margin: 10px 0 0 18px; font-size: 0.95rem; color: var(--text-hell); }
.card ul li { margin-bottom: 5px; }

/* KI-Bereich hervorgehoben */
#ki .card { border-top-color: var(--ci-blau-dunkel); }

/* Drei Spalten Mission */
.cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }

/* Vorgehen Schritte */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: step; }
.step {
  background: var(--weiss); border: 1px solid var(--grau-linie); border-radius: 6px;
  padding: 22px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ci-blau-hell); color: var(--weiss); font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { font-size: 1rem; color: var(--ci-blau-dunkel); margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--text-hell); }

/* Profile */
.profile { display: grid; grid-template-columns: 200px 1fr; gap: 28px; margin-bottom: 34px; align-items: start; }
.profile .photo {
  width: 200px; height: 230px; background: var(--grau-silber);
  border: 1px dashed var(--grau-linie); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-hell); font-size: 0.85rem;
  overflow: hidden;
}
.profile .photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}

/* Link zum vollständigen KI-Portfolio (AI-Hauptseite) */
.btn-ki-portfolio {
  display: inline-block; font-weight: 600; text-decoration: none;
  color: var(--ci-blau-dunkel); border: 2px solid var(--ci-blau-dunkel);
  padding: 11px 22px; border-radius: 4px;
}
.btn-ki-portfolio:hover { background: var(--ci-blau-dunkel); color: var(--weiss); }

/* Versteckter Text (SEO) – unsichtbar, im Quelltext vorhanden */
.seo-hidden {
  color: var(--grau-silber);
  font-size: 0.8rem; line-height: 1.4;
  margin-top: 18px;
  user-select: none;
}
.profile h3 { color: var(--ci-blau-dunkel); font-size: 1.2rem; }
.profile .role { color: var(--ci-blau-hell); font-weight: 600; margin-bottom: 10px; }
.profile p, .profile li { font-size: 0.95rem; color: var(--text-hell); }
.profile ul { margin: 8px 0 0 18px; }

/* Branchen */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span {
  background: var(--weiss); border: 1px solid var(--ci-blau-hell);
  color: var(--ci-blau-dunkel); padding: 7px 16px; border-radius: 20px;
  font-size: 0.88rem;
}

/* Kontakt */
#kontakt { background: var(--ci-blau-dunkel); color: var(--weiss); text-align: center; }
#kontakt h2 { color: var(--weiss); }
#kontakt p { max-width: 640px; margin: 0 auto 26px; opacity: 0.92; }
#kontakt a.btn-primary { text-decoration: none; padding: 13px 28px; border-radius: 4px; display: inline-block; font-weight: 600; }
#kontakt .details { margin-top: 28px; font-size: 0.95rem; opacity: 0.85; }
#kontakt .details a { color: var(--weiss); }

/* Footer */
footer { background: #0d2640; color: rgba(255,255,255,0.75); padding: 26px 24px; font-size: 0.85rem; }
footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: rgba(255,255,255,0.9); text-decoration: none; margin-left: 18px; }
footer a:hover { text-decoration: underline; }

/* Unterseiten (Impressum/Datenschutz/Selbstverpflichtung) */
.page { max-width: 860px; margin: 0 auto; padding: 140px 24px 80px; }
.page h1 { color: var(--ci-blau-dunkel); margin-bottom: 24px; }
.page h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.page h3 { font-size: 1.02rem; color: var(--ci-blau-hell); margin: 18px 0 6px; }
.page p { margin-bottom: 12px; }
.page ul { margin: 8px 0 16px 22px; }
.page li { margin-bottom: 6px; color: var(--text); }
.page a { color: var(--ci-blau-hell); }

@media (max-width: 800px) {
  nav { display: none; }
  .hero h1 { font-size: 1.7rem; }
  .profile { grid-template-columns: 1fr; }
}
