/*! ITSBETTER SEO-Center © K&K Connect UG (haftungsbeschränkt) – seobetter.de
 * Urheberrechtlich geschützt. Übernahme, Kopie oder Nachbau nur mit schriftlicher Genehmigung. */
/* =========================================================
   ITSBETTER TOOLBOX – Tool-Shell
   Gemeinsame Stile für alle Einzeltools.
   Baut auf ../styles.css (Design-Tokens, Header, Footer) auf.
   ========================================================= */

/* ---------- Kopfbereich des Tools ---------- */
.tool-hero{
  background:linear-gradient(135deg,var(--navy-900) 0%,var(--navy-800) 60%,var(--navy-700) 100%);
  color:#fff;
  padding:38px 20px 42px;
}
.tool-hero-inner{max-width:var(--maxw);margin:0 auto}
.tool-breadcrumb{font-size:13px;color:#9fb3c9;margin-bottom:14px}
.tool-breadcrumb a{color:#c9d7e6}
.tool-hero h1{
  font-size:clamp(26px,3.6vw,36px);
  font-weight:900;line-height:1.15;letter-spacing:-.01em;
}
.tool-hero p.lead{
  margin-top:12px;max-width:680px;
  font-size:16.5px;color:#c9d7e6;
}

/* ---------- Layout ---------- */
.tool-main{max-width:var(--maxw);margin:0 auto;padding:34px 20px 20px}
.tool-cols{
  display:grid;gap:22px;
  grid-template-columns:minmax(320px,5fr) minmax(380px,7fr);
  align-items:start;
}
@media (max-width:960px){ .tool-cols{grid-template-columns:1fr} }

.panel{
  background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:24px 22px;
}
.panel + .panel{margin-top:22px}
.panel h2{
  font-size:17px;font-weight:900;color:var(--navy-800);
  padding-left:12px;position:relative;margin-bottom:16px;
}
.panel h2::before{
  content:"";position:absolute;left:0;top:3px;bottom:3px;
  width:4px;border-radius:2px;background:var(--red-bright);
}
.panel .panel-sub{font-size:13.5px;color:var(--muted);margin:-10px 0 16px}

/* ---------- Formularelemente ---------- */
.field{margin-bottom:18px}
.field label{
  display:block;font-weight:700;font-size:14px;
  color:var(--ink);margin-bottom:6px;
}
.field label .opt{font-weight:400;color:var(--muted);font-size:12.5px}
.field input[type="text"],
.field input[type="url"],
.field textarea{
  width:100%;border:1px solid var(--line);border-radius:8px;
  padding:11px 12px;font:inherit;font-size:15px;color:var(--ink);
  background:#fff;
}
.field textarea{resize:vertical;min-height:76px}
.field input:focus,.field textarea:focus{
  outline:none;border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(61,118,163,.15);
}
.counter{
  display:flex;justify-content:space-between;gap:10px;
  font-size:12.5px;color:var(--muted);margin-top:5px;
}
.counter .px-ok{color:var(--ok);font-weight:700}
.counter .px-warn{color:#a4611c;font-weight:700}
.counter .px-bad{color:var(--red);font-weight:700}

.btnrow{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.btn-secondary{
  background:#fff;border:1px solid var(--line);color:var(--blue-ink);
  border-radius:7px;padding:9px 16px;font-weight:700;font-size:13.5px;
}
.btn-secondary:hover{border-color:var(--blue)}

/* ---------- SERP-Vorschau ---------- */
.preview-tabs{display:flex;gap:8px;margin-bottom:14px}
.ptab{
  border:1px solid var(--line);background:#fff;border-radius:999px;
  padding:6px 16px;font-size:13px;font-weight:700;color:var(--ink);
}
.ptab[aria-pressed="true"]{background:var(--navy-800);border-color:var(--navy-800);color:#fff}

.serp-frame{
  border:1px solid var(--line);border-radius:10px;
  background:#fff;padding:20px;
  overflow-x:auto;
}
.serp{
  font-family:Arial,Helvetica,sans-serif;
  max-width:600px;
}
.serp.mobile{max-width:372px}
.serp-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.serp-favicon{
  width:26px;height:26px;border-radius:50%;
  background:#f1f3f4;border:1px solid #e4e6e8;
  display:grid;place-items:center;
  font-size:13px;font-weight:700;color:#5f6368;
  flex-shrink:0;text-transform:uppercase;
}
.serp-sitename{font-size:14px;color:#202124;line-height:1.3}
.serp-crumb{font-size:12px;color:#4d5156}
.serp-title{
  color:#1a0dab;font-size:20px;line-height:1.3;
  margin:2px 0 4px;cursor:pointer;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  max-width:580px;
}
.serp.mobile .serp-title{
  white-space:normal;font-size:18px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;max-width:none;
}
.serp-desc{
  color:#4d5156;font-size:14px;line-height:1.58;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;
}
.serp.mobile .serp-desc{-webkit-line-clamp:3}
.serp-cut{
  margin-top:10px;font-size:12.5px;font-weight:700;
  font-family:'Lato',Arial,sans-serif;
}
.serp-cut.ok{color:var(--ok)}
.serp-cut.bad{color:var(--red)}

/* ---------- Score ---------- */
.score-wrap{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.score-ring{
  width:110px;height:110px;border-radius:50%;
  display:grid;place-items:center;flex-shrink:0;
  background:conic-gradient(var(--sc,#2e7d4f) calc(var(--p,0)*1%), #e8edf3 0);
}
.score-ring .inner{
  width:86px;height:86px;border-radius:50%;background:#fff;
  display:grid;place-items:center;text-align:center;
}
.score-ring b{font-size:26px;font-weight:900;color:var(--navy-800);line-height:1}
.score-ring span{font-size:11px;color:var(--muted)}
.score-verdict{flex:1;min-width:200px}
.score-verdict b{font-size:19px;font-weight:900;color:var(--navy-800);display:block;margin-bottom:4px}
.score-verdict p{font-size:14px;color:var(--muted)}

.score-table{width:100%;border-collapse:collapse;margin-top:18px}
.score-table td{
  padding:8px 4px;font-size:14px;border-top:1px solid var(--line);
}
.score-table td:last-child{text-align:right;font-weight:900;color:var(--navy-800);white-space:nowrap}
.score-table .bar{
  height:6px;border-radius:3px;background:#e8edf3;
  margin-top:5px;overflow:hidden;
}
.score-table .bar i{
  display:block;height:100%;border-radius:3px;
  background:var(--blue);
}

/* ---------- Hinweise ---------- */
.hints{list-style:none;margin-top:4px}
.hints li{
  border-top:1px solid var(--line);
  padding:12px 2px;
}
.hints li:first-child{border-top:0}
.hint-row{display:flex;gap:10px;align-items:flex-start}
.hint-dot{
  width:11px;height:11px;border-radius:50%;
  margin-top:5px;flex-shrink:0;
}
.hint-dot.ok{background:#2e9e5b}
.hint-dot.warn{background:#e8a33d}
.hint-dot.bad{background:var(--red-bright)}
.hint-text{font-size:14.5px;color:var(--ink);line-height:1.5}
.hint-text b{font-weight:900}
.hints details{margin:6px 0 0 21px}
.hints summary{
  cursor:pointer;font-size:12.5px;font-weight:700;color:var(--blue-ink);
  list-style:none;
}
.hints summary::before{content:"› ";font-weight:900}
.hints details[open] summary::before{content:"⌄ "}
.hints details p{
  font-size:13px;color:var(--muted);
  margin-top:6px;line-height:1.55;
  background:var(--blue-soft);border-radius:7px;padding:10px 12px;
}

/* ---------- Info / Methodik ---------- */
.methodnote{
  display:flex;gap:12px;align-items:flex-start;
  background:#fff;border:1px solid var(--line);
  border-left:4px solid var(--blue);
  border-radius:8px;padding:14px 16px;
  font-size:13px;color:var(--muted);
  margin-top:22px;
}
.methodnote b{color:var(--ink)}

/* ---------- Platzhalter ---------- */
.result-empty{
  text-align:center;color:var(--muted);
  padding:34px 16px;font-size:14.5px;
}
.result-empty b{display:block;color:var(--navy-800);font-size:16px;margin-bottom:6px}

/* ---------- Statistik-Kacheln ---------- */
.stat-tiles{
  display:grid;gap:10px;
  grid-template-columns:repeat(auto-fill,minmax(118px,1fr));
  margin-bottom:6px;
}
.stile{
  background:var(--blue-soft);border-radius:9px;
  padding:12px 12px 10px;text-align:center;
}
.stile b{display:block;font-size:21px;font-weight:900;color:var(--navy-800);line-height:1.15}
.stile span{font-size:11.5px;color:var(--muted)}

/* ---------- Datentabellen (Wortlisten, Tag-Listen) ---------- */
.data-table{width:100%;border-collapse:collapse;font-size:14px}
.data-table th{
  text-align:left;font-size:12px;color:var(--muted);
  font-weight:700;padding:6px 4px;border-bottom:1px solid var(--line);
}
.data-table td{padding:7px 4px;border-bottom:1px solid var(--line);vertical-align:top}
.data-table td:last-child,.data-table th:last-child{text-align:right;white-space:nowrap}
.data-table .mini-bar{
  height:5px;border-radius:3px;background:#e8edf3;margin-top:4px;overflow:hidden;
}
.data-table .mini-bar i{display:block;height:100%;background:var(--blue);border-radius:3px}
.tag-val{
  color:var(--muted);font-size:12.5px;word-break:break-word;
  display:block;margin-top:2px;
}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:7px;vertical-align:baseline}
.dot.ok{background:#2e9e5b}.dot.warn{background:#e8a33d}.dot.bad{background:var(--red-bright)}.dot.off{background:#c3cdd9}

/* ---------- Ausgabe-Box (erzeugte URLs, Codes) ---------- */
.outbox{
  background:var(--navy-900);color:#dbe7f3;
  border-radius:9px;padding:14px 16px;
  font-family:ui-monospace,SFMono-Regular,Consolas,Menlo,monospace;
  font-size:13.5px;line-height:1.5;word-break:break-all;
  min-height:52px;
}
.outbox .param{color:#8fd0a5}
.copyrow{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;align-items:center}
.btn-copy{
  background:var(--red-bright);border:0;color:#fff;
  border-radius:7px;padding:10px 18px;font-weight:900;font-size:14px;
}
.btn-copy:hover{background:var(--red-dark)}
.copy-ok{font-size:13px;font-weight:700;color:var(--ok)}

/* ---------- Verlauf ---------- */
.history-list{list-style:none;margin-top:6px}
.history-list li{
  border-top:1px solid var(--line);padding:9px 2px;
  display:flex;gap:10px;align-items:center;justify-content:space-between;
}
.history-list li:first-child{border-top:0}
.history-url{
  font-size:12.5px;color:var(--muted);word-break:break-all;flex:1;
  cursor:pointer;
}
.history-url:hover{color:var(--blue-ink)}
.history-del{
  background:none;border:0;color:var(--muted);font-size:15px;
  padding:2px 6px;flex-shrink:0;
}
.history-del:hover{color:var(--red)}

/* ---------- Preset-Chips im Tool ---------- */
.presetrow{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}

/* ---------- Tabs im Tool (Generator/Tester, Typ-Auswahl) ---------- */
.tooltabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}

/* ---------- Zweispaltige Felder ---------- */
.inline2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
@media (max-width:560px){ .inline2{grid-template-columns:1fr} }

/* ---------- Dynamische Zeilen (FAQ, Breadcrumb) ---------- */
.rep-row{
  border:1px solid var(--line);border-radius:9px;
  padding:14px 14px 4px;margin-bottom:12px;position:relative;
}
.rep-del{
  position:absolute;top:8px;right:8px;
  background:none;border:0;color:var(--muted);
  font-size:16px;line-height:1;padding:4px 7px;border-radius:5px;
}
.rep-del:hover{color:var(--red);background:#fbeeed}
.rep-add{
  background:var(--blue-soft);border:1px dashed var(--blue);
  color:var(--blue-ink);border-radius:8px;
  padding:10px 16px;font-weight:700;font-size:13.5px;width:100%;
}
.rep-add:hover{background:#dcE9f4}

/* ---------- Überschriften-Baum ---------- */
.htree{list-style:none;margin-top:4px}
.htree li{
  padding:5px 0 5px 0;font-size:13.5px;color:var(--ink);
  border-top:1px solid var(--line);
  display:flex;gap:8px;align-items:baseline;
}
.htree li:first-child{border-top:0}
.htree .hlevel{
  flex-shrink:0;font-weight:900;font-size:11px;
  background:var(--blue-soft);color:var(--blue-ink);
  border-radius:4px;padding:2px 6px;
}
.htree .hlevel.bad{background:#fbeeed;color:var(--red)}
.htree .htext{word-break:break-word;color:var(--muted)}

/* ---------- Social-Vorschaukarten ---------- */
.ogcard{
  max-width:500px;border:1px solid #dadde1;border-radius:8px;
  overflow:hidden;background:#fff;
  font-family:Helvetica,Arial,sans-serif;
}
.ogcard .ogimg{
  width:100%;aspect-ratio:1.91/1;background:#eef1f4;
  display:grid;place-items:center;color:#8a94a3;font-size:13px;
  overflow:hidden;
}
.ogcard .ogimg img{width:100%;height:100%;object-fit:cover;display:block}
.ogcard .ogbody{background:#f0f2f5;padding:10px 12px;border-top:1px solid #dadde1}
.ogcard .ogdomain{font-size:12px;color:#65676b;text-transform:uppercase;letter-spacing:.02em}
.ogcard .ogtitle{
  font-size:16px;font-weight:700;color:#050505;margin-top:3px;line-height:1.3;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.ogcard .ogdesc{
  font-size:14px;color:#65676b;margin-top:2px;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;
}
.ogcard.xstyle{border-radius:16px;border-color:#cfd9de}
.ogcard.xstyle .ogbody{background:#fff;border-top:1px solid #eff3f4}
.ogcard.xstyle .ogtitle{font-weight:400;font-size:15px;-webkit-line-clamp:1}
.ogcard.xstyle .ogdomain{text-transform:none;color:#536471}

/* ---------- Bild-Vergleich (WebP) ---------- */
.img-compare{
  display:grid;gap:14px;grid-template-columns:1fr 1fr;
}
@media (max-width:560px){ .img-compare{grid-template-columns:1fr} }
.img-compare figure{
  border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff;
}
.img-compare .imgbox{
  aspect-ratio:4/3;background:
    conic-gradient(#eef1f4 90deg,#fff 90deg 180deg,#eef1f4 180deg 270deg,#fff 270deg) 0 0/24px 24px;
  display:grid;place-items:center;overflow:hidden;
}
.img-compare .imgbox img{max-width:100%;max-height:100%;display:block}
.img-compare figcaption{
  padding:9px 11px;font-size:12.5px;color:var(--muted);
  border-top:1px solid var(--line);
}
.img-compare figcaption b{color:var(--navy-800);font-size:14px;display:block}
.savings-badge{
  display:inline-block;margin-top:10px;
  background:#e7f5ec;color:#1f7a45;border-radius:7px;
  padding:8px 14px;font-weight:900;font-size:15px;
}
.savings-badge.neutral{background:#f0f3f8;color:#51637d}
.range-field{display:flex;align-items:center;gap:12px;margin:14px 0 4px}
.range-field input[type=range]{flex:1}
.range-field .rv{font-weight:900;color:var(--navy-800);min-width:44px;text-align:right}
.dropzone{
  border:2px dashed var(--line);border-radius:10px;
  padding:28px 18px;text-align:center;color:var(--muted);
  cursor:pointer;transition:border-color .15s ease,background .15s ease;
  font-size:14.5px;
}
.dropzone:hover,.dropzone.drag{border-color:var(--blue);background:var(--blue-soft)}
.dropzone b{color:var(--blue-ink)}

/* ---------- Druck / PDF ---------- */
.printbar{margin-top:16px;text-align:right}
@media print{
  .site-header,.tool-hero,.input-col,.cta-band,.site-footer,
  .printbar,.preview-tabs,.methodnote{display:none !important}
  body{background:#fff}
  .tool-main{padding:0}
  .tool-cols{grid-template-columns:1fr}
  .panel{border:1px solid #ccc;box-shadow:none;break-inside:avoid;margin-top:14px}
  .print-only{display:block !important}
}
.print-only{display:none;font-size:13px;color:var(--muted);margin-bottom:10px}

/* ---------- Content-Ausbau: Einsatz & Tipps, FAQ, verwandte Tools ---------- */
.tool-extra { background: #fff; border-top: 1px solid var(--line); padding: 46px 20px 40px; }
.extra-inner { max-width: 1160px; margin: 0 auto; }
.extra-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; }
.tool-extra h2 { color: var(--navy); font-size: 21px; margin: 0 0 14px; }
.tool-extra p { color: #33445c; font-size: 15px; line-height: 1.68; margin: 0 0 13px; }
.faq-item { border: 1px solid var(--line); border-radius: 9px; margin-bottom: 9px; background: #fbfcfe; }
.faq-item summary { cursor: pointer; padding: 12px 15px; font-weight: 700; color: var(--navy); font-size: 14.5px; list-style-position: inside; }
.faq-item summary:hover { color: var(--red); }
.faq-item p { padding: 0 15px 13px 15px; margin: 0; font-size: 14px; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.rel-block { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel-card { display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 10px; padding: 15px 16px; text-decoration: none; background: #fbfcfe; transition: border-color .15s, box-shadow .15s; }
.rel-card:hover { border-color: var(--navy); box-shadow: 0 3px 10px rgba(18,44,74,.08); }
.rel-card b { color: var(--navy); font-size: 14.5px; }
.rel-card span { color: var(--red); font-size: 13px; font-weight: 700; }
@media (max-width: 860px) {
  .extra-grid { grid-template-columns: 1fr; gap: 28px; }
  .rel-grid { grid-template-columns: 1fr; }
}
@media print { .tool-extra { display: none; } }

/* ---------- Website Sofort-Audit ---------- */
.audit-section { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; padding: 14px 16px; background: #fbfcfe; }
.audit-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.audit-head b { color: var(--navy); font-size: 15.5px; }
.audit-badge { font-weight: 800; font-size: 13px; padding: 3px 10px; border-radius: 20px; }
.passage { background: #fbfcfe; border: 1px solid var(--line); border-radius: 8px; padding: 10px 13px; font-size: 13.5px; color: #33445c; line-height: 1.55; }
.passage b { color: var(--navy); }

/* ---------- fx: Analyse-Sequenz, Skalen, Einblendungen ---------- */
.scanbox { border: 1px solid var(--line); border-radius: 12px; background: #0f2540; padding: 18px 20px; margin: 6px 0 16px; }
.scanbox-title { color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.scan-pulse { width: 10px; height: 10px; border-radius: 50%; background: #d0392f; animation: scanPulse 1s ease-in-out infinite; }
@keyframes scanPulse { 0%,100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
.scan-done-ic { color: #4cc27a; font-weight: 900; }
.scan-steps { display: flex; flex-direction: column; gap: 7px; }
.scan-step { display: flex; align-items: center; gap: 10px; color: #9fb3cc; font-size: 13.5px; font-family: "Lato", monospace; animation: scanIn .25s ease-out; }
.scan-step.active { color: #fff; }
.scan-step.done { color: #7f97b4; }
.scan-step.done .scan-ic { color: #4cc27a; }
@keyframes scanIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.scan-ic { width: 16px; text-align: center; font-weight: 900; }
.scan-spin { width: 12px; height: 12px; border: 2px solid #3a5878; border-top-color: #fff; border-radius: 50%; animation: scanSpin .7s linear infinite; }
@keyframes scanSpin { to { transform: rotate(360deg); } }
.scan-fadeout { opacity: 0; transition: opacity .3s; }

.scalebar { margin-bottom: 14px; }
.scalebar-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.scalebar-head b { color: var(--navy); font-size: 14.5px; }
.scalebar-val { font-weight: 800; font-size: 13px; color: #51637d; font-variant-numeric: tabular-nums; }
.scalebar-track { height: 9px; border-radius: 6px; background: #e8edf3; overflow: hidden; }
.scalebar-fill { height: 100%; width: 0; border-radius: 6px; transition: width .9s cubic-bezier(.22,.8,.3,1); }
.scalebar-comment { margin-top: 5px; font-size: 12.5px; color: #51637d; line-height: 1.5; }

.fx-hidden { opacity: 0; transform: translateY(10px); }
.fx-reveal { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }

/* Prioritäten-Liste (Komplett-Check) */
.prio-block { border: 1px solid var(--line); border-radius: 11px; margin-bottom: 12px; overflow: hidden; }
.prio-head { padding: 10px 15px; font-weight: 800; font-size: 14px; color: #fff; display: flex; justify-content: space-between; }
.prio-head.akut { background: #a33; }
.prio-head.bald { background: #b06000; }
.prio-head.kuer { background: #1f7a45; }
.prio-body { padding: 10px 15px; background: #fbfcfe; }
.prio-body ul { margin: 0; padding-left: 20px; }
.prio-body li { color: #33445c; font-size: 14px; line-height: 1.6; margin-bottom: 6px; }
.prio-body .leer { color: #51637d; font-size: 13.5px; }

/* Noten-Plakette */
.grade-seal { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 14px; font-size: 30px; font-weight: 900; color: #fff; flex-shrink: 0; }

/* Eintrags-Vorschau (Verzeichnis-Karte) */
.listing-pv { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 3px 12px rgba(18,44,74,.07); }
.listing-pv-img { height: 110px; background: linear-gradient(135deg, #122c4a, #1d4a7a); display: flex; align-items: center; justify-content: center; color: #9fb3cc; font-size: 13px; }
.listing-pv-body { padding: 14px 16px; }
.listing-pv-body b { color: var(--navy); font-size: 16.5px; display: block; margin-bottom: 4px; }
.listing-pv-cat { color: #d0392f; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 6px; }
.listing-pv-body p { color: #51637d; font-size: 13.5px; line-height: 1.55; margin: 0 0 8px; }
.listing-pv-meta { display: flex; gap: 10px; flex-wrap: wrap; color: #51637d; font-size: 12.5px; }
.listing-pv-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- v11: Premium-Effekte (Shine, Glas, Pulse, Caret) ---------- */
.grade-seal { position: relative; overflow: hidden; }
.grade-seal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: sealShine 2.4s .8s ease-out 2; }
@keyframes sealShine { to { transform: translateX(120%); } }
.glass-note { backdrop-filter: blur(10px); background: rgba(255,255,255,.72); border: 1px solid rgba(18,44,74,.14); border-radius: 12px; padding: 12px 15px; }
.scan-caret::after { content: "▋"; margin-left: 4px; animation: caretBlink 1s steps(1) infinite; color: #d0392f; }
@keyframes caretBlink { 50% { opacity: 0; } }
.pulse-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #4cc27a; animation: livePulse 2.2s infinite; margin-right: 6px; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(76,194,122,.5); } 50% { box-shadow: 0 0 0 7px rgba(76,194,122,0); } }

/* Link-Prüfer: Live-Statuszeilen */
.linkrow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 7px; background: #fbfcfe; animation: scanIn .25s ease-out; font-size: 13.5px; }
.linkrow .lr-url { flex: 1; color: #33445c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkrow .lr-status { font-weight: 800; font-size: 12.5px; padding: 2px 9px; border-radius: 14px; flex-shrink: 0; }
.lr-status.wait { background: #e8edf3; color: #51637d; }
.lr-status.ok { background: #e7f4ec; color: #1f7a45; }
.lr-status.redir { background: #fdf3d7; color: #8a6d1a; }
.lr-status.bad { background: #fdeaea; color: #a33; }
.linkrow .scan-spin { flex-shrink: 0; }

/* Zuletzt-geprüft-Liste */
.recent-list { list-style: none; margin: 0; padding: 0; }
.recent-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 2px; border-bottom: 1px solid #eef2f6; font-size: 13.5px; color: #33445c; }
.recent-list b { color: var(--navy); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.recent-list .rs { font-weight: 800; flex-shrink: 0; }

/* Lead-Gate */
.leadgate { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, #f6f9fc, #fff); padding: 16px 18px; margin-bottom: 14px; }
.leadgate h3 { margin: 0 0 4px; color: var(--navy); font-size: 15.5px; }
.leadgate p { margin: 0 0 12px; color: #51637d; font-size: 13px; }

/* Keyword-Ideen */
.idea-group { margin-bottom: 18px; }
.idea-group h3 { color: var(--navy); font-size: 15px; margin: 0 0 8px; }
.idea-chip { display: inline-block; border: 1px solid var(--line); background: #fbfcfe; border-radius: 16px; padding: 5px 12px; margin: 0 6px 7px 0; font-size: 13.5px; color: #33445c; animation: scanIn .3s ease-out both; }

/* ---------- v12: Score-Trend & Warteschlange ---------- */
.trend-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 8px 2px 0; }
.trend-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; flex: 1; max-width: 46px; }
.trend-bar { width: 100%; border-radius: 5px 5px 2px 2px; transition: height .7s cubic-bezier(.22,.8,.3,1); min-height: 6px; }
.trend-num { font-size: 11.5px; font-weight: 800; color: #51637d; font-variant-numeric: tabular-nums; }
.queue-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 7px; background: #fbfcfe; animation: scanIn .25s ease-out; font-size: 13.5px; }
.queue-row .q-url { flex: 1; color: #33445c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-row .q-score { font-weight: 900; font-size: 14px; width: 64px; text-align: right; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.queue-row.q-done { background: #fff; }
.rank-table td .spark { display: inline-flex; align-items: flex-end; gap: 2px; height: 22px; }
.rank-table td .spark i { display: block; width: 5px; border-radius: 2px; background: #9fb3cc; }
.rank-up { color: #1f7a45; font-weight: 900; }
.rank-down { color: #a33; font-weight: 900; }
.rank-same { color: #51637d; font-weight: 700; }

/* ---------- v14: Ultimativ-Check (Phasen & Finale) ---------- */
.phase-bar { display: flex; gap: 8px; margin-bottom: 16px; }
.phase-seg { flex: 1; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #eef2f6; color: #8296ad; font-size: 13px; font-weight: 700; transition: background .3s, color .3s; }
.phase-seg .phase-num { width: 22px; height: 22px; border-radius: 50%; background: #d7dfe8; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; flex-shrink: 0; }
.phase-seg.active { background: #122c4a; color: #fff; }
.phase-seg.active .phase-num { background: #d0392f; animation: scanPulse 1s ease-in-out infinite; }
.phase-seg.done { background: #e7f4ec; color: #1f7a45; }
.phase-seg.done .phase-num { background: #1f7a45; }
@media (max-width: 760px) { .phase-seg .phase-label { display: none; } .phase-seg { justify-content: center; padding: 9px 4px; } }
.serp-sim { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; font-family: Arial, sans-serif; }
.serp-sim .s-url { color: #202124; font-size: 13px; margin-bottom: 3px; }
.serp-sim .s-title { color: #1a0dab; font-size: 19px; line-height: 1.3; margin-bottom: 4px; }
.serp-sim .s-desc { color: #4d5156; font-size: 13.5px; line-height: 1.55; }
.rec-band { border: 1px solid var(--line); border-left: 5px solid #d0392f; border-radius: 12px; background: linear-gradient(180deg, #fdf7f6, #fff); padding: 16px 18px; }
.rec-band h3 { margin: 0 0 6px; color: var(--navy); font-size: 16px; }
.rec-band p { margin: 0 0 12px; color: #33445c; font-size: 14.5px; line-height: 1.6; }

/* ---------- v18: Feedback-Leiste ---------- */
.fb-panel { max-width: 1160px; margin: 18px auto 0; }
.fb-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.fb-head b { color: #122c4a; font-size: 16px; }
.fb-stat { color: #1f7a45; font-size: 13px; font-weight: 700; }
.fb-row { display: flex; gap: 10px; }
.fb-thumb { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #dfe5ec; background: #fff; border-radius: 11px; padding: 10px 16px; font-family: inherit; font-size: 14px; font-weight: 800; color: #122c4a; cursor: pointer; transition: all .15s; }
.fb-thumb svg { width: 19px; height: 19px; }
.fb-up:hover { border-color: #1f7a45; color: #1f7a45; background: #f2f9f4; }
.fb-down:hover { border-color: #b06000; color: #b06000; background: #fdf8f0; }
.fb-thanks { color: #33445c; font-size: 14.5px; margin: 0 0 10px; }
.fb-share { color: #51637d; font-size: 13.5px; margin: 0; }
.fb-share a { color: #d0392f; font-weight: 800; }
.fb-comment { width: 100%; border: 1.5px solid #dfe5ec; border-radius: 10px; padding: 10px 12px; font-family: inherit; font-size: 14px; margin-bottom: 10px; resize: vertical; }
.fb-comment:focus { outline: none; border-color: #122c4a; }

.rechtstext h2{font-size:18px;margin:22px 0 8px}
.rechtstext p,.rechtstext li{line-height:1.6}
.rechtstext ul{padding-left:20px}
