/* The Website-Check. */

.tool-hero { padding-block: clamp(3rem, 2rem + 6vw, 6.5rem) clamp(2.5rem, 2rem + 3vw, 4rem); }
.tool-hero__in { --stack: 1.25rem; display: grid; gap: 1.25rem; justify-items: start; }
.tool-hero h1 { max-width: 17ch; }

.probe { display: flex; gap: 0.5rem; width: min(100%, 36rem); margin-top: 0.75rem; padding: 0.4rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-pill); box-shadow: var(--shadow); }
.probe:focus-within { border-color: var(--ink); }
.probe__input { border: 0; background: transparent; min-height: 3rem; padding-inline: 1rem; font-size: var(--fs-lg); border-radius: var(--r-pill); }
.probe__input:focus { box-shadow: none; }
.probe__btn { flex: none; }
@media (max-width: 30rem) {
  .probe { flex-direction: column; border-radius: var(--r-lg); }
  .probe__btn { width: 100%; }
}
.probe__note { max-width: 36rem; }

/* Working */
.working { padding-block: clamp(4rem, 3rem + 6vw, 8rem); max-width: 30rem; }
.working__host { font-weight: 600; font-size: var(--fs-lg); margin-bottom: 1.5rem; word-break: break-all; }
.working__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.working__steps li { display: flex; align-items: center; gap: 0.75rem; color: var(--ink-3); transition: color 0.2s var(--ease); }
.working__steps li::before { content: ''; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; transition: all 0.2s var(--ease); }
.working__steps li.is-now { color: var(--ink); }
.working__steps li.is-now::before { border-color: var(--accent); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.working__steps li.is-done { color: var(--ink); }
.working__steps li.is-done::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; border-color: var(--ok); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Result */
.result-head { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) 1rem; display: grid; gap: 0.75rem; justify-items: start; }
.result-head h2 { font-size: var(--fs-2xl); max-width: 22ch; line-height: 1.1; }
.result-block { padding-block: 1.5rem; display: grid; gap: 1rem; }
.result-block h3 { font-size: var(--fs-base); color: var(--ink-3); font-weight: 560; letter-spacing: 0; }

.serp { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem 1.4rem; max-width: 40rem; font-family: Arial, Helvetica, sans-serif; }
.serp__host { font-size: 0.875rem; color: #202124; margin-bottom: 0.25rem; font-family: inherit; }
.serp__title { font-size: 1.25rem; line-height: 1.3; color: #1a0dab; margin-bottom: 0.3rem; overflow-wrap: anywhere; }
.serp__desc { font-size: 0.875rem; line-height: 1.58; color: #4d5156; overflow-wrap: anywhere; }
.serp .is-missing { color: var(--ink-3); font-style: italic; }

.findings { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; counter-reset: f; }
.finding { counter-increment: f; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem 1.4rem 1.3rem 3.6rem; position: relative; display: grid; gap: 0.4rem; }
.finding::before { content: counter(f); position: absolute; left: 1.25rem; top: 1.2rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-size: var(--fs-xs); font-weight: 640; background: var(--paper-2); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.finding--anfragen::before { background: var(--accent); color: var(--accent-ink); }
.finding__head { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: var(--fs-xs); color: var(--ink-3); }
.finding__tag { font-weight: 600; color: var(--ink-2); }
.finding--anfragen .finding__tag { color: var(--accent); }
.finding__title { margin: 0; font-size: var(--fs-lg); font-weight: 620; letter-spacing: -0.01em; line-height: 1.3; }
.finding__why { color: var(--ink-2); }
.finding__fix { font-size: var(--fs-sm); color: var(--ink-2); }
.finding__fix strong { color: var(--ink); font-weight: 600; }
@media (max-width: 30rem) { .finding { padding-left: 1.25rem; padding-top: 3.2rem; } }

.notice { display: grid; gap: 0.6rem; justify-items: start; max-width: 40rem; }

/* Vorschau */
.vorschau { margin-top: 2.5rem; padding-block: clamp(3rem, 2rem + 4vw, 5rem); background: var(--paper-2); border-block: 1px solid var(--line); }
.vorschau__head { display: grid; gap: 0.6rem; max-width: 40rem; margin-bottom: 2rem; }
.frames { display: grid; grid-template-columns: minmax(0, 1fr) 15.5rem; gap: clamp(1rem, 0.5rem + 2vw, 2rem); align-items: start; }
@media (max-width: 52rem) { .frames { grid-template-columns: 1fr; } .frame--desk { display: none; } .frame--phone { justify-self: center; } }
.frame { margin: 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 48px -28px rgba(23, 22, 20, 0.35); }
.frame__bar { display: flex; align-items: center; gap: 0.35rem; padding: 0.6rem 0.8rem; background: #f3f1ec; border-bottom: 1px solid var(--line); }
.frame__bar span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--line-2); }
.frame__bar p { margin-left: 0.75rem; font-size: var(--fs-xs); color: var(--ink-3); background: #fff; border-radius: var(--r-pill); padding: 0.15rem 0.8rem; }
.frame--phone { width: 15.5rem; border-radius: 2rem; border: 7px solid #1c1b19; }

/* The mock hero: one fixed template, their content. --pc is their colour. */
.mock { --pc: var(--accent); color: #1b1a18; background: #fff; font-size: 0.9rem; position: relative; }
.mock__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid #eee; }
.mock__brand { min-width: 0; }
.mock__logo { max-height: 2.4rem; max-width: 10rem; object-fit: contain; }
.mock__word { font-weight: 680; letter-spacing: -0.02em; font-size: 1.05rem; display: block; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; }
.mock__actions { display: flex; align-items: center; gap: 0.9rem; flex: none; }
.mock__phone { font-weight: 600; font-size: 0.85rem; }
.mock__cta { background: var(--pc); color: #fff; padding: 0.45rem 0.9rem; border-radius: var(--r-pill); font-weight: 600; font-size: 0.8rem; }
.mock__hero { padding: 2.75rem 1.5rem 2.25rem; display: grid; gap: 1rem; background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 7%, #fff), #fff); }
.mock__trust { font-size: 0.78rem; font-weight: 600; color: color-mix(in srgb, var(--pc) 80%, #000); letter-spacing: 0.01em; }
.mock__h { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); font-weight: 680; letter-spacing: -0.025em; line-height: 1.1; max-width: 20ch; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
.mock__ctas { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mock__btn { background: var(--pc); color: #fff; padding: 0.65rem 1.1rem; border-radius: var(--r-pill); font-weight: 600; font-size: 0.82rem; }
.mock__btn--ghost { background: #fff; color: #1b1a18; border: 1px solid #ddd; }
.mock__tiles { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0.6rem; padding: 0 1.5rem 1.25rem; }
.mock__tile { border: 1px solid #ececec; border-radius: 10px; padding: 0.9rem; min-height: 4.5rem; display: flex; align-items: flex-end; border-top: 3px solid var(--pc); }
.mock__tile-t { font-weight: 600; font-size: 0.82rem; line-height: 1.25; }
.mock__reviews { padding: 0 1.5rem 1.5rem; }
.ph { display: inline-block; color: #8b867c; background: repeating-linear-gradient(-45deg, #f1efea 0 6px, #ebe8e1 6px 12px); border: 1px dashed #cfc9bd; border-radius: 6px; padding: 0.2rem 0.55rem; font-size: 0.78rem; font-weight: 500; }
.ph--block { display: block; padding: 1rem; font-size: 1rem; }
.mock__tiles--empty { grid-template-columns: 1fr; }
.mock--phone { font-size: 0.82rem; min-height: 30rem; padding-bottom: 3.5rem; }
.mock--phone .mock__bar { padding: 0.8rem 1rem; }
/* A name in words takes the whole bar, beside the pill it broke mid-word. The hero keeps the buttons. */
.mock--phone .mock__brand:has(.mock__word) + .mock__actions { display: none; }
.mock--phone .mock__hero { padding: 1.75rem 1rem 1.5rem; }
.mock--phone .mock__h { font-size: 1.4rem; }
.mock--phone .mock__ctas { display: grid; }
.mock--phone .mock__btn { text-align: center; }
.mock--phone .mock__tiles { grid-template-columns: 1fr; padding: 0 1rem 1rem; }
.mock--phone .mock__tile { min-height: 0; }
.mock--phone .mock__reviews { padding: 0 1rem 1rem; }
.mock__sticky { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; background: var(--pc); color: #fff; text-align: center; padding: 0.7rem; border-radius: var(--r-pill); font-weight: 650; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.45); }

.changes { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; color: var(--ink-2); font-size: var(--fs-sm); }
.changes strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.2rem; }
@media (max-width: 52rem) { .changes { grid-template-columns: 1fr; } }

/* Ending */
.ending { padding-block: clamp(3.5rem, 2rem + 5vw, 6rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.ending__copy { display: grid; gap: 1rem; }
.ending h2 { font-size: var(--fs-2xl); max-width: 16ch; }
@media (max-width: 52rem) { .ending { grid-template-columns: 1fr; } }
.offer { display: grid; gap: 0.75rem; box-shadow: var(--shadow); }
.offer__label { font-weight: 600; }
.offer__price { font-size: 2.5rem; font-weight: 680; letter-spacing: -0.03em; line-height: 1; color: var(--accent); }
.offer__price span { font-size: var(--fs-sm); color: var(--ink-3); font-weight: 500; letter-spacing: 0; }
.offer__more { justify-self: center; text-decoration: none; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0.25rem 0 0.5rem; display: grid; gap: 0.45rem; color: var(--ink-2); }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.3em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232e6a46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

.disclaimer { padding-bottom: 3rem; }
/* Safari fits this section to the height under its floating toolbar, so the last button would end behind it. */
.error { padding-block: 0 3rem; scroll-margin-bottom: 72px; }
.error__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.error__actions .btn { white-space: normal; max-width: 100%; }
.how { padding-block: 0 4rem; }
.how__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.how__list strong { display: block; color: var(--ink-2); font-weight: 600; }
@media (max-width: 52rem) { .how__list { grid-template-columns: 1fr; } }
.mock__brand { overflow: hidden; }
.mock--phone .mock__logo { max-width: 7rem; max-height: 2rem; }
.result-good { max-width: 38em; color: var(--ink-2); }
.finding--rest { list-style: none; padding: 0.75rem 1.4rem; color: var(--ink-2); }
