/* Kunden-Diagnose im Look der Steinebach-Website. */
:root {
  --blue: #63baf7;
  --pale: #eaf5fe;
  --ink: #163747;
  --body: #506571;
  --line: #dce8ef;
  --accent: #086b9f;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #f7fafc;
  font: 16px/1.55 Roboto, Arial, sans-serif;
}
a { color: var(--accent); }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #63baf780;
  outline-offset: 2px;
}
.site-header {
  background: #fff;
  color: var(--ink);
  border-bottom: 3px solid var(--blue);
  padding: 12px 16px 14px;
  position: sticky;
  top: 0;
  z-index: 5;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.site-header .brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-name {
  font-weight: 700;
  letter-spacing: 1.2px;
  font-size: 16px;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 2.4px;
}
.page-kicker {
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
main {
  flex: 1;
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 16px 14px 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px #16374712;
  padding: 20px 16px 18px;
}
.device-chip {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  background: var(--pale);
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.device-chip span { font-weight: 500; color: var(--body); }
h1 {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.22;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
  color: var(--ink);
}
h2 {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--ink);
}
p { margin: 0 0 12px; }
.muted { color: var(--body); font-size: 0.98rem; }
.step-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.hinweis {
  background: var(--pale);
  border-left: 4px solid var(--blue);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: 8px;
  margin: 12px 0;
  font-size: 0.95rem;
}
.options { display: grid; gap: 10px; margin-top: 14px; }
.symptom-grid { gap: 10px; }
button.opt, button.primary, button.ghost {
  appearance: none;
  width: 100%;
  min-height: 56px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 14px 16px;
  font: 600 17px/1.3 Roboto, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}
button.opt.symptom { display: flex; align-items: center; gap: 12px; }
.sym-icon { font-size: 1.4rem; width: 1.6em; text-align: center; flex: 0 0 auto; }
button.opt:hover, button.ghost:hover { background: var(--pale); border-color: #b7d7ea; }
button.primary {
  background: var(--blue);
  color: var(--ink);
  border-color: var(--blue);
  text-align: center;
  font-weight: 700;
  border-radius: 6px;
}
button.primary:hover { background: #7ac6f8; }
button.primary:active, button.opt:active { transform: translateY(1px); }
button.ghost { text-align: center; background: #fff; font-weight: 600; }
textarea, input[type=text], input[type=tel], input[type=date] {
  width: 100%;
  min-height: 56px;
  border: 1.5px solid #b5ccd9;
  border-radius: 8px;
  padding: 12px 14px;
  font: 18px/1.3 Roboto, Arial, sans-serif;
  background: #f8fbfd;
  color: var(--ink);
  margin-top: 6px;
}
label.field { display: block; margin-top: 14px; font-size: 0.95rem; font-weight: 600; }
.progress { height: 6px; background: #e3eef5; border-radius: 99px; overflow: hidden; margin: 8px 0 16px; }
.progress > i { display: block; height: 100%; background: var(--blue); border-radius: 99px; }
.result-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  margin: 12px 0;
  background: #f8fbfd;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--pale);
  color: var(--accent);
  margin: 4px 6px 0 0;
}
.badge.ok { background: #e7f6ee; color: #146b45; }
.badge.warn, .badge.tech { background: var(--pale); color: var(--accent); }
.internal {
  margin-top: 14px;
  padding: 12px;
  border: 1px dashed #b7cddb;
  border-radius: 10px;
  background: #f8fbfd;
  font-size: 0.85rem;
  color: var(--body);
}
.internal summary { cursor: pointer; font-weight: 700; color: var(--ink); min-height: 44px; display: flex; align-items: center; }
.nav-row { display: flex; gap: 8px; margin-top: 14px; }
.nav-row > * { flex: 1; }
.fullservice {
  background: var(--pale);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  color: var(--ink);
  border-radius: 12px;
  padding: 14px 14px 12px;
  margin: 16px 0 4px;
}
.fullservice p { margin: 0 0 8px; }
.fullservice a { color: var(--accent); font-weight: 700; }
.fullservice-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 0;
  font-weight: 600;
  line-height: 1.35;
}
.fullservice-check input { width: 24px; height: 24px; margin: 1px 0 0; flex: 0 0 24px; accent-color: var(--accent); }
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--body);
  font-size: 13px;
  padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  margin-bottom: 8px;
}
.footer-brand img { width: 36px; height: 36px; object-fit: contain; }
.footer-brand span { font-weight: 700; letter-spacing: 1px; font-size: 13px; line-height: 1.1; text-align: left; }
.footer-brand small { display: block; margin-top: 3px; font-size: 7px; font-weight: 500; letter-spacing: 1.8px; }
.site-footer p { margin: 0; }
.footer-copy { margin-top: 8px; font-size: 12px; }
@media (min-width: 800px) {
  .site-header { padding: 16px 28px 18px; }
  .site-header .inner { max-width: 960px; margin: 0 auto; }
  .site-header .brand img { width: 52px; height: 52px; }
  .brand-name { font-size: 18px; }
  main { padding: 28px 20px 40px; }
  .card { padding: 28px 26px 24px; }
  h1 { font-size: 2rem; }
}
