/* KI-Telefon-Demo · pletzenauer brand tokens (brandpletzenauer skill). Light only, no dark mode.
   Fonts: one display font (Helvetica Neue), body Source Sans 3 when installed locally, else a system sans.
   Nothing is loaded from Google Fonts or any other third party. */

:root {
  color-scheme: light;
  --bg: #FAFAF7;
  --bg-elev: #FFFFFF;
  --sand: #E8E4D9;
  --sand-2: #F0EDE3;
  --fg: #111111;
  --muted: #6B6B66;
  --line: #1111111a;
  --accent: #F26B2C;
  --accent-ink: #B84A14;
  --danger: #C0392B;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1040px;
  --gutter: clamp(20px, 4vw, 40px);
  --f-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-color: var(--sand); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--fg); }
::selection { background: var(--accent); color: #fff; }
[hidden] { display: none !important; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(40px, 6.4vw, 76px); max-width: 15ch; }
h2 { font-size: clamp(26px, 3vw, 36px); }
.dot { color: var(--accent); }

.fact__label, .field__label, .step {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* header / footer */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top__inner, .foot__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: baseline; gap: 2px; }
.brand__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.brand__sub { font-family: var(--f-body); font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--muted); margin-left: 10px; }
.top__link { font-size: 16px; }
.foot { border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 120px); color: var(--muted); font-size: 16px; }
.foot__inner { flex-wrap: wrap; }

/* hero */
.hero { padding-block: clamp(56px, 9vw, 112px) clamp(32px, 5vw, 56px); }

.lead { font-size: 19px; max-width: 60ch; margin: 28px 0 0; color: #2b2b28; }

/* panels */
.panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  margin-bottom: 24px;
}
.panel__title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.step { color: var(--accent-ink); }
.panel p { margin: 0 0 14px; max-width: 64ch; }

/* form */
form { display: grid; gap: 20px; max-width: 620px; }
.field { display: grid; gap: 8px; }
.field input {
  font: inherit;
  font-size: 17px;
  padding: 14px 16px;
  border: 1px solid #11111133;
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  color: var(--fg);
}
.field input:focus-visible, .check input:focus-visible, .btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}
.field__hint { color: var(--muted); font-size: 16px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent-ink); }
.error { color: var(--danger); font-weight: 600; }

/* buttons (brand: pill, 1px lift on hover, no shadow) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 17px;
  border: 1px solid transparent;
  cursor: pointer;
  justify-self: start;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--fg); border-color: #11111133; }
.btn--ghost:hover { border-color: var(--fg); }
.btn[disabled] { background: var(--sand); color: var(--muted); cursor: not-allowed; transform: none; }
.arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* scan progress */
.progress { height: 4px; background: var(--sand-2); border-radius: 999px; overflow: hidden; margin: 4px 0 20px; max-width: 620px; }
.progress span { display: block; height: 100%; width: 30%; background: var(--fg); border-radius: 999px; animation: slide 1.6s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(340%); } }

/* call */
.call { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 8px 0 16px; }
.call__timer { font-family: var(--f-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.call__status { color: var(--muted); min-height: 1.65em; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid var(--line); margin-block: clamp(40px, 6vw, 72px); }
.fact { padding: 24px 20px 24px 0; display: grid; gap: 4px; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact__num { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; }

/* privacy */
.privacy h2 { margin-bottom: 24px; }
.privacy dl { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 14px 32px; margin: 0 0 20px; max-width: 900px; }
.privacy dt { font-weight: 600; }
.privacy dd { margin: 0; color: #2b2b28; }

@media (max-width: 680px) {
  .brand__sub { display: none; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .privacy dl { grid-template-columns: 1fr; gap: 4px; }
  .privacy dd { margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .progress span { animation: none; width: 100%; opacity: .25; }
  .btn, .arr { transition: none; }
}
