/* CheckOne · leadreaktivierung.de */

@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #0f3655;
  --deep: #082338;
  --orange: #f49239;
  --orange-ink: #b85a06;
  --sky: #37a3d4;
  --paper: #ffffff;
  --mist: #eaf1f6;
  --line: #c9d8e3;
  --ink: #0b2233;
  --soft: #44586a;
  --wrap: 1180px;
  --slant: 3.2vw;
  --body: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.125rem; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--deep); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 60; }
.skip:focus { left: 0; }

.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}
h1.display { font-size: clamp(2.5rem, 7.3vw, 6.3rem); hyphens: manual; }
h2.display { font-size: clamp(2.5rem, 6vw, 4.9rem); }
h3.display { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: .95; }
p { margin: 0 0 1em; max-width: 60ch; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--soft); }

/* Schräger Knopf */
.btn {
  position: relative; isolation: isolate;
  display: inline-block;
  font: 600 1.06rem/1 var(--body);
  color: var(--deep);
  text-decoration: none;
  padding: 1.05rem 1.7rem;
  border: 0; background: none; cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--orange);
  transform: skewX(-14deg);
  border-radius: 4px;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover::before { background: #ffa850; transform: skewX(-14deg) scaleX(1.04); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-small { padding: .8rem 1.25rem; font-size: 1rem; white-space: nowrap; }
.btn .short { display: none; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 1.6rem; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; }
.brand img { width: 65px; height: 46px; display: block; }
.brand-name { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--navy); letter-spacing: .01em; }
.nav { display: flex; gap: 1.7rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.02rem; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.top-tel { color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Einstieg */
.hero { position: relative; overflow-x: clip; padding: clamp(2.2rem, 4.5vw, 3.8rem) 0 clamp(4rem, 9vw, 7.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1.8rem, 5vw, 4.5rem); align-items: start; margin-top: clamp(1.6rem, 3.5vw, 2.8rem); }
.hero .lead { margin: 0 0 2rem; max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 2rem; }
.hero-tel { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.hero-tel small { display: block; font-weight: 400; font-size: .9rem; color: var(--soft); }
.hero-tel:hover { text-decoration: underline; }

/* Lead-Feld: jede Linie ein Kontakt */
.field-box { margin-right: calc((100vw - min(100vw - 2.5rem, var(--wrap))) / -2); }
.field { display: grid; gap: 11px; padding: .5rem 0; }
.field .row { display: flex; gap: 9px; }
.field i {
  display: block; height: 15px; flex: var(--w) 1 0;
  background: #dfe8ef;
  transform: skewX(-24deg);
  border-radius: 3px;
}
.field i.live { background: var(--orange); }
.field i.won { background: var(--navy); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 1.3rem 0 0; padding: 0; font-size: .95rem; color: var(--soft); }
.legend li { display: flex; align-items: center; gap: .55rem; }
.legend li::before { content: ""; width: 26px; height: 11px; border-radius: 2px; transform: skewX(-24deg); background: #dfe8ef; }
.legend li.l-live::before { background: var(--orange); }
.legend li.l-won::before { background: var(--navy); }

@media (prefers-reduced-motion: no-preference) {
  .js .field i { animation: wake 1s linear both; animation-delay: var(--d); }
  .js .field i.live { animation: wake-live 1s linear both, pulse 1.9s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + 1s); }
  .js .field i.won { animation: wake-won 1s linear both; animation-delay: var(--d); }
  @keyframes wake { 0%, 20% { background: #dfe8ef; } 30%, 62% { background: var(--orange); } 100% { background: #dfe8ef; } }
  @keyframes wake-live { 0%, 20% { background: #dfe8ef; } 30%, 100% { background: var(--orange); } }
  @keyframes wake-won { 0%, 20% { background: #dfe8ef; transform: skewX(-24deg) scaleY(1); } 30%, 62% { background: var(--orange); transform: skewX(-24deg) scaleY(1.5); } 100% { background: var(--navy); transform: skewX(-24deg) scaleY(1); } }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
}

/* Abschnitte */
.band { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0; }
.band-navy { background: var(--navy); color: #d6e3ed; }
.band-navy .display { color: #fff; }
.band-navy .lead { color: #b3c9d9; }
.band-mist { background: var(--mist); }
.band-slant { clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--slant) * -1); padding-top: calc(clamp(4rem, 9vw, 7.5rem) + var(--slant)); }
.band-slant-both { clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); margin-top: calc(var(--slant) * -1); padding-top: calc(clamp(4rem, 9vw, 7.5rem) + var(--slant)); padding-bottom: calc(clamp(4rem, 9vw, 7.5rem) + var(--slant)); }
.band-head { margin-bottom: clamp(2rem, 5vw, 3.6rem); }

/* Problem */
.problem { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.6rem, 5vw, 4.5rem); align-items: end; }
.problem p { font-size: 1.2rem; }
.problem strong { color: #fff; font-weight: 600; }

/* Sieben Versuche */
.tries { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.tries .lead { margin-top: 1.4rem; }
.log { background: var(--paper); border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(8,35,56,.35); overflow: hidden; }
.log-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.4rem; background: var(--navy); color: #fff; }
.log-head b { font-weight: 600; }
.log-head span { font-size: .88rem; color: #a9c2d4; }
.log-who { margin: 0; padding: 1rem 1.4rem .4rem; font-size: 1rem; color: var(--soft); max-width: none; }
.log-who b { color: var(--ink); font-weight: 600; }
.log ol { list-style: none; margin: 0; padding: 0 1.4rem .6rem; }
.log li { display: grid; grid-template-columns: 2.6rem 5.6rem 1fr; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--mist); font-size: 1.02rem; }
.log li:last-child { border-bottom: 0; }
.log .n { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--line); }
.log .t { color: var(--soft); font-variant-numeric: tabular-nums; }
.log li.hit { font-weight: 600; }
.log li.hit .n { color: var(--orange-ink); }
.log li.hit .t { color: var(--ink); }
.log li.spare { color: #9fb2c1; }
.log-result { display: flex; align-items: center; gap: .8rem; padding: 1.05rem 1.4rem; background: var(--orange); color: var(--deep); font-weight: 600; font-size: 1.1rem; }
.log-result svg { flex: none; }

/* Leistungen */
.services { border-top: 3px solid var(--navy); }
.service { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1rem 3.5rem; padding: clamp(1.8rem, 4vw, 2.8rem) 0; border-bottom: 1px solid var(--line); align-items: start; }
.service ul { margin: 1rem 0 0; padding: 0; list-style: none; color: var(--soft); }
.service li { position: relative; padding-left: 2.3rem; margin-bottom: .4rem; }
.service li::before { content: ""; position: absolute; left: 0; top: .62em; width: 1.5rem; height: 6px; background: var(--orange); transform: skewX(-24deg); border-radius: 1px; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s);
  display: block;
  font-family: var(--display); font-style: italic; font-weight: 800;
  font-size: clamp(5rem, 9vw, 8rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--orange);
  margin-bottom: 1rem;
}
.steps h3 { margin-bottom: .6rem; color: #fff; }
.steps p { color: #b3c9d9; font-size: 1.05rem; }

/* Stärken */
.strengths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; margin: 0; border-top: 3px solid var(--navy); }
.strengths div { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.strengths dt { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; color: var(--navy); margin-bottom: .5rem; }
.strengths dd { margin: 0; color: var(--soft); max-width: 46ch; }

/* Über uns */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 5vw, 4.5rem); align-items: start; }
.founders { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 3px solid var(--navy); }
.founders p { margin: 0; }
.founders b { display: block; font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1.05; color: var(--navy); }
.founders span { color: var(--soft); font-size: 1rem; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.bigtel { display: inline-block; margin: 1.8rem 0 .3rem; font-family: var(--display); font-style: italic; font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.3rem); line-height: 1; color: var(--orange); text-decoration: none; white-space: nowrap; }
.bigtel:hover { color: #ffb05e; }
.contact-more { margin-top: 1.6rem; color: #b3c9d9; }
.contact-more a { color: #fff; }
.form { background: var(--paper); color: var(--ink); border-radius: 6px; padding: clamp(1.4rem, 3vw, 2.2rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-in { margin-bottom: 1rem; }
.field-in label { display: block; font-weight: 600; font-size: .98rem; margin-bottom: .3rem; color: var(--navy); }
.field-in input, .field-in textarea { width: 100%; font: inherit; color: var(--ink); padding: .75rem .85rem; border: 1.5px solid #8ea6b8; border-radius: 4px; background: #fff; }
.field-in textarea { min-height: 7.5rem; resize: vertical; }
.field-in input:focus, .field-in textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .92rem; color: var(--soft); margin: .2rem 0 1.3rem; max-width: none; }
.form-status { margin: 1rem 0 0; font-weight: 600; max-width: none; }
.form-status.ok { color: #17693c; }
.form-status.err { color: #a4281c; }

/* Fuß */
.foot { background: var(--deep); color: #a9c2d4; padding: 2.4rem 0 2rem; font-size: 1rem; }
.foot-inner { display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; align-items: baseline; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot nav { display: flex; gap: 1.6rem; }
.foot-note { margin: 1.4rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; color: #8fabc0; max-width: none; }

/* Rechtstexte */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.legal h1.display { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 2rem; }
.legal h2 { font-family: var(--body); font-weight: 600; font-size: 1.3rem; line-height: 1.3; color: var(--navy); margin: 2.4rem 0 .6rem; }
.legal h3 { font-weight: 600; font-size: 1.1rem; color: var(--navy); margin: 1.6rem 0 .4rem; }
.legal p, .legal ul { max-width: 70ch; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1em; }
.legal li { margin-bottom: .3rem; }
.legal a { color: var(--navy); }
.legal .box { border-left: 4px solid var(--orange); background: var(--mist); padding: 1rem 1.2rem; margin: 1rem 0; max-width: 70ch; }

@media (max-width: 940px) {
  .nav { display: none; }
  .hero-grid, .problem, .tries, .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .problem { align-items: start; }
  .field-box { margin-right: -1.25rem; }
  .field .row:nth-child(n+7) { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 2rem; }
  .service { grid-template-columns: minmax(0, 1fr); }
  .strengths { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .top-tel { display: none; }
  .top-inner { gap: .8rem; min-height: 62px; }
  .brand img { width: 54px; height: 38px; }
  .brand-name { font-size: 1.5rem; }
  .btn .long { display: none; }
  .btn .short { display: inline; }
  .steps, .form-row { grid-template-columns: minmax(0, 1fr); }
  .form-row { gap: 0; }
  .log li { grid-template-columns: 2rem 4.9rem 1fr; font-size: .96rem; }
  .log-head, .log-who, .log-result { padding-left: 1rem; padding-right: 1rem; }
  .log ol { padding-left: 1rem; padding-right: 1rem; }
  .field i { height: 12px; }
  .field { gap: 9px; }
}

/* System */
.system-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.4rem, 5vw, 4.5rem); align-items: end; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.portal { background: var(--paper); border-radius: 8px; box-shadow: 0 40px 70px -40px rgba(8,35,56,.45); overflow: hidden; }
.portal-bar { display: flex; align-items: center; gap: 1rem; padding: .8rem 1.3rem; background: var(--deep); color: #fff; }
.portal-bar b { font-weight: 600; }
.portal-note { margin-left: auto; font-size: .85rem; color: #9db8cc; }
.portal-dots { display: flex; gap: 6px; }
.portal-dots i { width: 18px; height: 8px; border-radius: 2px; transform: skewX(-24deg); background: #3c5f7b; }
.portal-dots i:first-child { background: var(--orange); }
.portal-body { padding: clamp(1rem, 2.5vw, 1.8rem); }
.portal-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.portal-stats p { margin: 0; padding: .9rem 1rem; background: var(--mist); border-radius: 4px; max-width: none; }
.portal-stats b { display: block; font-family: var(--display); font-style: italic; font-weight: 800; font-size: 2.6rem; line-height: .95; color: var(--navy); }
.portal-stats span { font-size: .92rem; color: var(--soft); }
.portal-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.portal-table th { text-align: left; font-weight: 500; font-size: .88rem; color: var(--soft); padding: .5rem .8rem .5rem 0; border-bottom: 2px solid var(--navy); }
.portal-table td { padding: .75rem .8rem .75rem 0; border-bottom: 1px solid var(--mist); vertical-align: top; }
.portal-table tr:last-child td { border-bottom: 0; }
.portal-table td:first-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.portal-table small { display: block; font-size: .88rem; color: var(--soft); }
.chip { display: inline-block; padding: .2rem .65rem; border-radius: 3px; font-size: .88rem; font-weight: 600; white-space: nowrap; }
.chip-ok { background: #dcefe4; color: #14562f; }
.chip-wait { background: #fdebd6; color: #8a4403; }
.chip-redo { background: #dbe9f3; color: var(--navy); }
.stack { list-style: none; margin: clamp(2.2rem, 5vw, 3.6rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.stack li { border-top: 3px solid var(--navy); padding-top: 1rem; }
.stack h3 { margin: .7rem 0 .5rem; }
.stack p { color: var(--soft); font-size: 1.02rem; }
.tag { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 600; color: var(--soft); }
.tag::before { content: ""; width: 16px; height: 8px; border-radius: 2px; transform: skewX(-24deg); background: var(--line); }
.tag-live { color: #14562f; }
.tag-live::before { background: #2f9e5b; }
.tag-build { color: var(--orange-ink); }
.tag-build::before { background: var(--orange); }

@media (max-width: 940px) {
  .system-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .stack { grid-template-columns: minmax(0, 1fr); }
  .portal-bar { flex-wrap: wrap; gap: .3rem 1rem; }
  .portal-note { margin-left: 0; width: 100%; }
  .portal-table th:nth-child(3), .portal-table td:nth-child(3) { display: none; }
  .portal-table { font-size: .95rem; }
  .portal-table small { display: none; }
  .portal-stats b { font-size: 2.1rem; }
}
