/* 38GRAD Website-Check (websitecheck.38grad-marketing.de) – baut auf style.css auf */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wc .top .btn { display: inline-flex; margin-left: auto; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-peach); margin-bottom: 18px; }
.eyebrow.dark { color: var(--accent); letter-spacing: .06em; }
.eyebrow b { text-transform: none; letter-spacing: 0; font-size: 18px; color: var(--ink); }

/* ---------- Eingabe ---------- */
.wc-hero .wrap { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: center; }
.wc-hero h1 { font-size: clamp(44px, 6.4vw, 88px); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.wc-hero h1 span { display: inline; color: var(--brand-peach); }
.wc-lede { margin-top: 26px; font-size: clamp(19px, 1.8vw, 22px); color: rgba(255, 250, 247, .84); max-width: 580px; }
.wc-form { margin: 34px 0 22px; max-width: 620px; }
.wc-field {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: var(--brand-paper); box-shadow: 0 20px 50px rgba(20, 8, 60, .35);
  transition: box-shadow .25s, scale .3s cubic-bezier(.3, 1.6, .5, 1);
}
.wc-field:focus-within { box-shadow: 0 0 0 4px var(--brand-peach), 0 20px 50px rgba(20, 8, 60, .35); }
.wc-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: 0;
  font: 500 20px/1 var(--body); color: var(--brand-ink); padding: 0 8px 0 22px;
}
.wc-field input::placeholder { color: #9a90b6; }
.wc-field .btn { flex: none; min-height: 56px; background: var(--brand-violet); border-color: var(--brand-violet); color: var(--brand-paper); }
.wc-field .btn:hover { background: var(--brand-ink); border-color: var(--brand-ink); color: var(--brand-paper); }
.wc-field .btn[disabled] { opacity: .7; cursor: progress; }
.wc-error { margin-top: 14px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 161, 136, .18); color: var(--brand-paper); font-size: 16px; }
.wc-form.shake .wc-field { animation: shake .4s; }
@keyframes shake { 20%, 60% { translate: -8px 0; } 40%, 80% { translate: 8px 0; } }

/* Thermometer */
.thermo-big { margin: 0; justify-self: center; position: relative; width: min(220px, 100%); }
.tb { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 30px 40px rgba(20, 8, 60, .35)); }
.tb-glass { fill: rgba(255, 250, 247, .12); stroke: rgba(255, 250, 247, .55); stroke-width: 3; }
.tb-empty { fill: rgba(255, 250, 247, .14); }
.tb-ticks path { stroke: rgba(255, 250, 247, .6); stroke-width: 3; stroke-linecap: round; }
.tb-ticks text { fill: rgba(255, 250, 247, .7); font: 700 17px var(--display); }
.tb-ticks .goal { fill: var(--brand-peach); font-size: 20px; }
.tb-read {
  position: absolute; left: 50%; bottom: 3.5%; translate: -50% 0; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-content: center; grid-auto-flow: column; align-items: baseline; gap: 2px; color: var(--brand-ink);
}
.tb-read b { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tb-read span { font-weight: 700; font-size: 15px; }

/* ---------- Laden ---------- */
.wc-load { background: var(--paper); }
.wc-load .lede b { color: var(--accent); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 4px; max-width: 640px; counter-reset: s; }
.steps li {
  display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 19px; color: var(--ink-soft); opacity: .45; transition: opacity .3s, color .3s;
}
.steps li::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid var(--line); transition: background-color .3s, border-color .3s;
}
.steps li.on { opacity: 1; color: var(--ink); }
.steps li.on::before { border-color: var(--accent); border-right-color: transparent; animation: spin .8s linear infinite; }
.steps li.done { opacity: 1; color: var(--ink); }
.steps li.done::before {
  border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Ergebnis ---------- */
.wc-result { background: var(--paper); }
.res-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.res-head .h2 { max-width: 18ch; }
.res-temp { display: flex; align-items: flex-start; gap: 6px; color: var(--t, var(--accent)); }
.res-temp b { font-family: var(--display); font-weight: 800; font-size: clamp(96px, 13vw, 168px); line-height: .85; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.res-temp span { font-family: var(--display); font-weight: 750; font-size: 28px; line-height: 1.1; padding-top: 8px; }
.res-temp small { font-family: var(--body); font-weight: 400; font-size: 16px; color: var(--ink-soft); }

.cats { list-style: none; padding: 0; margin: 48px 0 56px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cats li { background: var(--field); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px 18px; display: grid; gap: 10px; align-content: start; }
.cats svg { width: 28px; height: 28px; color: var(--accent); }
.cats h3 { font-size: 17px; font-weight: 700; line-height: 1.15; min-height: 2.3em; }
.cats .pct { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.cats .bar { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 14%, transparent); overflow: hidden; }
.cats .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--c, var(--accent)); }

.res-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.res-h { font-size: 24px; font-weight: 750; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pill { font-family: var(--body); font-size: 15px; font-weight: 700; letter-spacing: 0; padding: 2px 10px; border-radius: 99px; background: var(--peach); color: var(--brand-ink); }
.pill.ok { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.finds { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.finds li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.finds li > svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; margin-top: 2px; }
.finds.bad li { background: var(--peach-soft); border-radius: 14px; padding: 16px 18px; }
.finds.bad li > svg { background: var(--peach); color: var(--brand-ink); }
.finds.good li { padding: 6px 0; }
.finds.good li > svg { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.finds b { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.3; }
.finds p { grid-column: 2; font-size: 16px; color: var(--ink-soft); line-height: 1.45; }
.finds.good p { display: none; }
.finds .empty { display: block; color: var(--ink-soft); font-size: 17px; background: none; padding: 0; }
.res-meta { margin-top: 40px; font-size: 15px; color: var(--ink-soft); }
.res-meta a { color: var(--accent); }

/* ---------- Report ---------- */
.wc-report { background: var(--brand-peach); color: var(--brand-ink); --ink: var(--brand-ink); --ink-soft: #45346f; --line: rgba(34, 20, 80, .2); }
.wc-report .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.wc-report .lede { color: #45346f; margin-top: 22px; }
.deco-rep { width: min(520px, 70vw); left: -8%; bottom: -18%; rotate: -14deg; color: rgba(73, 46, 154, .12); --cw: 22px; }
.book { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 16px; justify-items: start; }
.book p { font-size: 18px; }
.book .btn { border-color: var(--brand-ink); color: var(--brand-ink); }
.book .btn:hover { background: var(--brand-ink); color: var(--brand-peach); }
.rep-form { background: var(--brand-paper); border-radius: 24px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; box-shadow: 0 24px 60px rgba(73, 46, 154, .18); }
.rep-form .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.rep-form label { display: grid; gap: 6px; font-size: 15px; font-weight: 700; color: var(--brand-ink); }
.rep-form input:not([type="checkbox"]) {
  font: 400 17px var(--body); color: var(--brand-ink); background: #fff; min-height: 50px;
  border: 1.5px solid rgba(34, 20, 80, .22); border-radius: 12px; padding: 0 14px; width: 100%;
}
.rep-form input:focus { outline: 0; border-color: var(--brand-violet); box-shadow: 0 0 0 3px rgba(73, 46, 154, .2); }
.rep-form .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.45; color: #45346f; }
.rep-form .consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--brand-violet); }
.rep-form .btn { justify-self: start; background: var(--brand-violet); border-color: var(--brand-violet); color: var(--brand-paper); }
.rep-form .btn:hover { background: transparent; color: var(--brand-violet); }
.rep-form .hp { position: absolute; left: -9999px; }
.rep-msg { padding: 12px 16px; border-radius: 12px; font-size: 16px; background: #efe9fb; color: var(--brand-ink); }
.rep-msg.err { background: #ffe3dc; }
.rep-form.sent > :not(.rep-msg) { display: none; }
.rep-form.sent .rep-msg { font-size: 19px; padding: 24px; background: none; }
.rep-form.sent .rep-msg b { display: block; font-family: var(--display); font-size: 28px; margin-bottom: 8px; }

/* ---------- Was wir prüfen ---------- */
.wc-what { background: var(--paper); border-top: 1px solid var(--line); }
.what { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.what svg { width: 36px; height: 36px; color: var(--accent); margin-bottom: 14px; }
.what h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.what p { font-size: 16px; color: var(--ink-soft); }

@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .what { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .wc-hero .wrap, .res-cols, .wc-report .wrap { grid-template-columns: minmax(0, 1fr); }
  .thermo-big { display: none; }
}
@media (max-width: 640px) {
  .wc-field { flex-direction: column; border-radius: 24px; }
  .wc-field input { min-height: 54px; padding: 0 14px; }
  .wc-field .btn { width: 100%; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats h3 { min-height: 0; }
  .rep-form .row, .what { grid-template-columns: minmax(0, 1fr); }
  .wc .top .btn { min-height: 40px; padding: 0 14px; font-size: 15px; }
  .res-head { align-items: flex-start; }
}

.finds.kurz li:nth-child(n+7) { display: none; }
.more { margin-top: 14px; font: 700 17px var(--display); color: var(--accent); background: none; border: 2px solid currentColor; border-radius: 99px; padding: 10px 20px; cursor: pointer; }
.more:hover { background: var(--accent); color: var(--on-ink); }
