/* KENBUN IT AG – KIDOU Kompatibilitäts-Tester
   Brand: #009FE3 (cyan), #002D54 (navy), #EF7D00 (orange), #3FA535 (green) */

:root {
  --cyan:   #009FE3;
  --navy:   #002D54;
  --orange: #EF7D00;
  --green:  #3FA535;

  --ink:    #1a1a1a;
  --muted:  #5a6572;
  --line:   #e2e6ea;
  --bg:     #ffffff;
  --bg-alt: #f5f7f9;
}

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

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

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

.wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

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

code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .88em;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .1em .35em;
  word-break: break-all;
}

/* ---------- Header ---------- */

.topbar {
  background: #000;
  padding: 18px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand { display: block; line-height: 0; }
.brand img { width: 200px; height: auto; }

.topbar-tag {
  color: #fff;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .8;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 52px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
}

.hero .lead {
  margin: 0 0 28px;
  font-size: 1.1rem;
  max-width: 46em;
  color: #dce5ee;
}

.hero .meta {
  margin: 14px 0 0;
  font-size: .9rem;
  color: #9fb3c8;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #0089c6;
  border-color: #0089c6;
}

.btn-sm { padding: 11px 22px; font-size: .95rem; }

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Sections ---------- */

.section { padding: 52px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); }

.section h2 {
  margin: 0 0 32px;
  font-size: 1.7rem;
  color: var(--navy);
  font-weight: 700;
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

.step {
  counter-increment: step;
  position: relative;
  padding: 0 0 34px 62px;
  border-left: 2px solid var(--line);
  margin-left: 19px;
}

.step:last-child { border-left-color: transparent; padding-bottom: 0; }

.step::before {
  content: counter(step);
  position: absolute;
  left: -20px;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin: 4px 0 10px;
  font-size: 1.22rem;
  color: var(--navy);
  font-weight: 700;
}

.step p { margin: 0 0 14px; }

.step figure {
  margin: 18px 0 22px;
}

.step figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.step figcaption {
  margin-top: 8px;
  font-size: .88rem;
  color: var(--muted);
}

.note {
  border-left: 4px solid var(--orange);
  background: #fff8f0;
  padding: 12px 16px;
  font-size: .93rem;
  color: #4a3a28;
}

.contact {
  font-weight: 600;
}

.contact a { color: var(--cyan); }

/* ---------- FAQ ---------- */

.faq { margin: 0; }

.faq dt {
  font-weight: 700;
  color: var(--navy);
  margin-top: 20px;
}

.faq dt:first-child { margin-top: 0; }

.faq dd {
  margin: 4px 0 0;
  color: #3d4650;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--cyan);
  color: #fff;
  padding: 22px 0;
  font-size: .92rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer a {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.footer nav a:first-child { margin-left: 0; }
.footer a:hover { border-bottom-color: #fff; }

/* ---------- Small screens ---------- */

@media (max-width: 560px) {
  body { font-size: 16px; }

  .hero { padding: 40px 0 36px; }

  .step {
    padding-left: 0;
    margin-left: 0;
    border-left: none;
    padding-top: 48px;
    border-top: 1px solid var(--line);
    margin-top: 28px;
  }

  .step:first-child { border-top: none; margin-top: 0; }
  .step::before { left: 0; top: 26px; }

  .btn { display: block; text-align: center; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer nav a { margin-left: 0; margin-right: 18px; }
}

/* Windows dialog screenshots are only 534 px wide - don't upscale them. */
.step figure.dialog img {
  max-width: 534px;
  border: none;
  border-radius: 0;
}
