:root {
  --bg: #080d1b;
  --surface: rgba(16, 23, 51, .92);
  --surface-strong: #101733;
  --fg: #edf2ff;
  --muted: #b6c0e6;
  --brand: #6aa8ff;
  --brand-strong: #3e7cff;
  --line: #26315d;
  --accent: #9ee37d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fg);
  line-height: 1.65;
  background:
    linear-gradient(rgba(8, 13, 27, .91), rgba(11, 17, 38, .95)),
    url("Cybersecurity_Bild.jpeg") center / cover fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: #91bfff; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(38, 49, 93, .8);
  background: rgba(8, 13, 27, .82);
  backdrop-filter: blur(14px);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--fg); font-weight: 750; white-space: nowrap; }
.logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #061026;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), #7f84ff);
  box-shadow: 0 8px 28px rgba(62, 124, 255, .22);
}
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--muted); font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--fg); }

main { min-height: 65vh; }
.hero { padding: 88px 0 58px; border-bottom: 1px solid var(--line); }
.hero.compact { padding-bottom: 42px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 850px; margin: 0 0 18px; font-size: clamp(36px, 6vw, 64px); line-height: 1.08; letter-spacing: -.035em; }
h2 { margin: 0 0 12px; font-size: clamp(26px, 3.5vw, 36px); line-height: 1.2; }
h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.35; }
.lead, .sub { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; }
.section { padding: 64px 0; border-bottom: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: start; }
.about-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.about-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.about-portrait-wrap { position: sticky; top: 98px; }
.portrait-caption { display: grid; gap: 2px; margin-top: 14px; }
.portrait-caption span { color: var(--muted); font-size: 13px; }
.about-story { padding: 4px 4px 0; }
.about-story > p:not(.project-meta) { margin: 0 0 17px; color: var(--muted); font-size: 16.5px; }
.about-story blockquote { margin: 28px 0; padding: 18px 20px; border-left: 3px solid var(--accent); border-radius: 8px; color: var(--fg); background: rgba(158,227,125,.07); font-size: 18px; font-weight: 650; }
.about-facts { padding: 26px; }
.info-section + .info-section { margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--line); }
.info-section p { margin-top: 10px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
}
.card p { margin: 0; color: var(--muted); }
.card + .card { margin-top: 0; }
.portrait { width: 100%; display: block; border: 1px solid var(--line); border-radius: 20px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--fg); background: var(--surface); font-weight: 700; }
.btn.primary { border-color: transparent; color: #061026; background: linear-gradient(135deg, var(--brand-strong), var(--brand)); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; background: rgba(255,255,255,.025); }
.clean-list { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.clean-list li + li { margin-top: 6px; }

.timeline { position: relative; max-width: 940px; margin: 42px 0 0 14px; padding-left: 58px; }
.timeline::before { content: ""; position: absolute; top: 10px; bottom: 16px; left: 12px; width: 2px; background: linear-gradient(var(--brand), var(--line)); }
.timeline-item { position: relative; margin-bottom: 26px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -58px;
  top: 21px;
  width: 50px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid var(--brand);
  border-radius: 999px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  background: var(--bg);
  box-shadow: 0 0 0 6px rgba(106,168,255,.08);
}
.project { padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: transform .2s ease, border-color .2s ease; }
.project:hover { transform: translateY(-2px); border-color: #40538f; }
.project-meta { margin: 0 0 6px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project ul { margin: 13px 0 0; padding-left: 20px; color: var(--muted); }
.project li + li { margin-top: 5px; }

.legal { max-width: 820px; }
.legal section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 23px; }
.legal h3 { margin-top: 22px; font-size: 17px; }
.legal p, .legal li { color: var(--muted); }
.notice { margin-top: 28px; padding: 16px 18px; border-left: 3px solid var(--brand); border-radius: 8px; color: var(--muted); background: rgba(106,168,255,.08); }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.service-block { position: relative; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.service-block::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.service-block h2 { min-height: 86px; font-size: 27px; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; color: #061026; font-weight: 900; background: linear-gradient(135deg, var(--brand), #9ee37d); }
.service-intro { max-width: 800px; margin: 18px 0 24px; color: var(--muted); font-size: 17px; }
.service-subheading { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.cta-card { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(135deg, rgba(106,168,255,.16), rgba(158,227,125,.08)); }
.services-cta { grid-column: 1 / -1; }

footer { padding: 34px 0; color: var(--muted); background: rgba(8, 13, 27, .64); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); }

@media (max-width: 900px) {
  .split, .about-grid, .about-layout { grid-template-columns: 1fr; }
  .about-grid .portrait { max-width: 320px; }
  .about-layout .portrait { max-width: 320px; }
  .about-portrait-wrap { position: static; }
  .services-grid { grid-template-columns: 1fr; }
  .service-block h2 { min-height: auto; }
}
@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  nav { width: 100%; gap: 16px; overflow-x: auto; padding-bottom: 3px; }
  nav a { white-space: nowrap; }
  .hero { padding: 56px 0 38px; }
  .section { padding: 48px 0; }
  .cards { grid-template-columns: 1fr; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .timeline { margin-left: 4px; padding-left: 42px; }
  .timeline-marker { left: -42px; }
  .project { padding: 19px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project { transition: none; }
}
.hero-panel { align-self: stretch; padding: 30px; }
.hero-panel h2 { font-size: 28px; }
.home-services .service-block h2 { min-height: auto; }
@media (max-width: 900px) { .hero-panel { margin-top: 8px; } }


/* Startseite: rechte Boutique-Karten im bestehenden Dark-Design */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: 34px;
  align-items: start;
}
.hero-copy { padding-top: 8px; }
.hero-rail { display: grid; gap: 18px; }
.hero-info-card,
.qualification-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(16,23,51,.96), rgba(12,18,40,.96));
  box-shadow: 0 22px 56px rgba(0,0,0,.24);
}
.hero-info-card::before,
.qualification-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--brand), var(--accent));
}
.hero-info-card { padding: 24px 24px 23px 27px; }
.hero-card-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.hero-card-icon {
  flex: 0 0 42px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(106,168,255,.45);
  border-radius: 13px;
  color: #061026;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), #9ee37d);
  box-shadow: 0 10px 28px rgba(62,124,255,.22);
}
.hero-card-label {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-info-card h2 { margin: 0; font-size: 25px; }
.hero-check-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.hero-check-list li {
  position: relative;
  padding-left: 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.hero-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #061026;
  font-size: 11px;
  font-weight: 900;
  background: var(--brand);
}
.qualification-panel { padding: 23px 24px 18px 27px; }
.qualification-panel-head { padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.qualification-panel-head > p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.cert-list { margin: 0; padding: 0; list-style: none; }
.cert-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(38,49,93,.75);
}
.cert-list li:last-child { border-bottom: 0; padding-bottom: 3px; }
.cert-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(106,168,255,.5);
  border-radius: 50%;
  color: var(--fg);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.02em;
  background: rgba(106,168,255,.10);
}
.cert-badge.cert-cism { border-color: rgba(158,227,125,.65); background: rgba(158,227,125,.10); }
.cert-badge.cert-wide { font-size: 11px; }
.cert-list strong { display: block; color: var(--fg); font-size: 15px; line-height: 1.35; font-weight: 750; }
.cert-list small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.45; }

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero-rail { grid-template-columns: 1fr; }
  .hero-info-card, .qualification-panel { border-radius: 17px; }
}
