/* =========================================================
   01. Design Tokens / Basis
   ========================================================= */

:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #687385;
  --line: #dbe2ee;
  --accent: #2457d6;
  --accent-dark: #17317a;
  --soft: #eef3ff;
  --good: #0f8a5f;
  --warn: #b36a00;
  --bad: #b42318;
  --shadow: 0 20px 60px rgba(17, 24, 39, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}


/* =========================================================
   02. Typografie
   ========================================================= */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(36px, 5.2vw, 60px);
  line-height: .98;
  letter-spacing: -.045em;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(25px, 2.7vw, 40px);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

h3 {
  margin-bottom: 10px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .1em;
  font-weight: 900;
  text-transform: uppercase;
}

.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 680px;
}

.small-lead {
  font-size: 16px;
}

.microcopy {
  color: var(--muted);
  font-size: 14px;
}


/* =========================================================
   03. Header / Navigation / Buttons
   ========================================================= */

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark,
.brand-stamp {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.top-nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(36, 87, 214, .18);
}

.btn.small {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 14px;
}

.btn.secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn:disabled {
  opacity: .6;
  cursor: progress;
}

.account-btn {
  background: var(--good);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 138, 95, .18);
}

.account-btn:hover {
  background: #0d7a54;
}

.hero-actions .btn:first-child,
.top-nav .btn,
#analyzeBtn {
  background: linear-gradient(135deg, #2563d9 0%, #16a979 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 217, .18);
}

.hero-actions .btn:first-child:hover,
.top-nav .btn:hover,
#analyzeBtn:hover {
  filter: brightness(.97);
}
/* =========================================================
   04. Gemeinsame Karten / Panels
   ========================================================= */

.product-mockup,
.scorecard-preview,
.input-panel,
.empty-card,
.scorecard-sheet,
.info-card,
.feature-card,
.report-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}


/* =========================================================
   05. Landingpage: Hero / Mockup
   ========================================================= */

.hero-shell {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 48px 22px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 44px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 14px;
}

.product-mockup {
  padding: 22px;
  transform: rotate(1deg);
}

.mockup-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.mockup-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfd7e6;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.score-tile {
  padding: 16px;
  border-radius: 18px;
  background: #f3f6fb;
}

.score-tile small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.score-tile strong {
  font-size: 34px;
  display: block;
  margin-top: 4px;
}

.score-tile.competitor {
  background: var(--soft);
}

.score-tile.gap {
  background: #fff1f0;
}

.mock-bar {
  position: relative;
  padding: 22px 0 8px;
}

.mock-bar em {
  position: absolute;
  top: 0;
  left: 0;
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mock-bar::before {
  content: '';
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #e8edf5;
}

.mock-bar span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: -10px;
}

.mock-bar.warn span {
  background: var(--warn);
}

.mock-list {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
}

.mock-list p {
  margin: 6px 0 0;
  color: var(--muted);
}


/* =========================================================
   06. Landingpage: Sektionen / Karten / CTA
   ========================================================= */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 22px;
}

.two-col {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.centered {
  text-align: center;
}

.section-lead {
  max-width: 780px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.feature-card {
  padding: 22px;
  box-shadow: none;
}

.info-card strong,
.info-card span {
  display: block;
}

.info-card span,
.feature-card p {
  color: var(--muted);
  line-height: 1.5;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.steps div {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}

.steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.preview-section {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 34px;
  align-items: center;
}

.scorecard-preview {
  padding: 24px;
  box-shadow: var(--shadow);
}

.scorecard-preview header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  text-align: left;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.neg {
  color: var(--bad);
  font-weight: 900;
}

.target-section {
  display: grid;
  grid-template-columns: .45fr 1fr;
  gap: 34px;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.target-grid div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.target-grid strong,
.target-grid span {
  display: block;
}

.target-grid span {
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.45;
}

.implementation-section {
  padding-top: 30px;
  padding-bottom: 30px;
}

.implementation-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.implementation-box p {
  color: var(--muted);
  max-width: 860px;
  font-size: 18px;
  line-height: 1.6;
}

.final-cta {
  max-width: 900px;
  margin: 30px auto 80px;
  padding: 52px 22px;
  text-align: center;
}

.final-cta p {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: 18px;
  line-height: 1.55;
}


/* =========================================================
   07. Tool-Seite: Layout / Formular / Nutzungshinweise
   ========================================================= */

.tool-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px 80px;
  display: grid;
  gap: 22px;
}

.input-panel {
  padding: 26px;
  box-shadow: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--text);
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.status {
  min-height: 24px;
  color: var(--muted);
}

.scorecard-input-grid label small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.locked-field {
  color: #7b8494;
}

.locked-field input:disabled {
  background: #f1f4f8;
  color: #9aa4b2;
  border-style: dashed;
  cursor: not-allowed;
}

.locked-field input::placeholder {
  color: #a6afbd;
}

.usage-info,
.account-limit-box {
  display: grid;
  gap: 6px;
  margin: 18px 0 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
  color: var(--muted);
  line-height: 1.45;
}

.usage-info strong,
.account-limit-box strong {
  color: var(--text);
}

.action-cell {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
  margin-top: 4px;
  min-width: 0;
}

.action-cell .btn {
  min-width: 280px;
}

.analysis-action-cell,
.account-action-cell {
  grid-column: 1 / -1;
  justify-items: center;
  text-align: center;
}

.analysis-action-cell .btn,
.account-action-cell .btn {
  min-width: 280px;
}

.account-hint {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
  resize: vertical;
  min-height: 150px;
}

.contact-hero {
  align-items: flex-start;
}

.contact-panel {
  max-width: 560px;
  width: 100%;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.contact-details {
  margin-top: 28px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-details p {
  margin-bottom: 10px;
}

.privacy-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================================
   08. Tool-Seite: Empty State
   ========================================================= */

.empty-card {
  padding: 38px;
  box-shadow: none;
  color: var(--muted);
}

.empty-card h2 {
  color: var(--text);
}

.legal-section {
  max-width: 980px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.legal-card h2 {
  font-size: 22px;
  margin-top: 28px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal-card a {
  color: var(--accent);
  font-weight: 800;
}
/* =========================================================
   09. Scorecard: Grundlayout / Header / Meta
   ========================================================= */

.scorecard-sheet {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 13mm;
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scorecard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--text);
}

.scorecard-header h2 {
  margin: 0 0 4px;
  font-size: 34px;
}
.scorecard-logo {
  display: block;
  width: 280px;
  max-width: 280px;
  height: auto;
  object-fit: contain;
}

.subtitle {
  color: var(--muted);
  margin: 0;
}

.scorecard-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.scorecard-meta div {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  min-height: 62px;
}

.scorecard-meta span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.scorecard-meta strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.25;
}


/* =========================================================
   10. Scorecard: Kurzfazit / Scores / URLs
   ========================================================= */

.summary-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  margin-bottom: 14px;
  overflow: hidden;
}

.summary-box h3 {
  font-size: 17px;
  line-height: 1.36;
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.big-scores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
  max-width: 252px;
}

.big-scores div {
  min-width: 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 5px;
  text-align: center;
}

.big-scores span {
  display: block;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

#deltaScore {
  font-weight: 900;
}

.big-scores div.delta-negative #deltaScore {
  color: var(--bad);
}

.big-scores div.delta-neutral #deltaScore {
  color: var(--warn);
}

.big-scores div.delta-positive #deltaScore {
  color: var(--good);
}

.big-scores small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.22;
  overflow-wrap: break-word;
}

.url-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.url-comparison article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  min-width: 0;
}

.url-comparison h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.url-comparison p {
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}

.url-comparison small {
  color: var(--muted);
}

.serp-preview-comparison {
  margin-bottom: 16px;
}

.serp-preview-card {
  background: #ffffff;
}

.serp-preview-card small {
  display: block;
  margin: 0 0 6px;
  color: #0f8a5f;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.serp-preview-card h3 {
  margin: 0 0 6px;
  color: #1a0dab;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.serp-preview-card p {
  margin: 0;
  color: #4d5156;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.meta-signal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.meta-signal-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #ffffff;
  min-width: 0;
}

.meta-signal-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.meta-signal-card li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 10px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.meta-signal-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.meta-signal-card li > span:first-child {
  color: var(--muted);
  line-height: 1.3;
}

.meta-signal-card .signal {
  justify-self: end;
}

.signal.warn {
  color: var(--warn);
  background: #fff7e6;
}


/* =========================================================
   11. Scorecard: Bewertungsbereiche / Balken / Delta-Farben
   ========================================================= */

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 12px 0 8px;
}

.section-title-row h3 {
  margin: 0;
  font-size: 18px;
}

.section-title-row span {
  color: var(--muted);
  font-size: 12px;
}

.dimension-rows {
  display: grid;
  gap: 8px;
}

.dimension-row {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 10px 12px;
  overflow: hidden;
}

.dimension-row::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 3px;
  border-radius: 999px;
  background: #e8edf5;
}

.dimension-row.delta-negative {
  border-color: rgba(180, 35, 24, .22);
}

.dimension-row.delta-neutral {
  border-color: rgba(179, 106, 0, .24);
}

.dimension-row.delta-positive {
  border-color: rgba(15, 138, 95, .22);
}

.dimension-row.delta-negative::after {
  background: linear-gradient(90deg, rgba(180, 35, 24, .22), var(--bad));
}

.dimension-row.delta-neutral::after {
  background: linear-gradient(90deg, rgba(179, 106, 0, .20), var(--warn));
}

.dimension-row.delta-positive::after {
  background: linear-gradient(90deg, rgba(15, 138, 95, .20), var(--good));
}

.dimension-label {
  min-width: 0;
  overflow: hidden;
}

.dimension-label strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.dimension-label span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.bar-pair {
  display: grid;
  gap: 4px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding-left: 36px;
}

.bar-pair > div {
  display: grid;
  grid-template-columns: 92px 210px 28px;
  gap: 18px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  min-width: 0;
}

.bar-pair span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.bar-pair b {
  font-size: 11px;
  line-height: 1;
}

.bar {
  width: 210px;
  height: 6px;
  background: #e8edf5;
  border-radius: 999px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.dimension-row.delta-negative .own-bar i {
  background: var(--bad);
}

.dimension-row.delta-neutral .own-bar i {
  background: var(--warn);
}

.dimension-row.delta-positive .own-bar i {
  background: var(--good);
}

.competitor-bar i {
  background: #94a3b8;
}

.delta-pill {
  text-align: center;
  border-radius: 999px;
  padding: 6px 4px;
  background: #eef2f7;
  font-weight: 900;
  font-size: 12px;
  min-width: 0;
}

.delta-pill.delta-negative {
  background: #fff1f0;
  color: var(--bad);
}

.delta-pill.delta-neutral {
  background: #fff7e6;
  color: var(--warn);
}

.delta-pill.delta-positive {
  background: #eafaf3;
  color: var(--good);
}


/* =========================================================
   12. Scorecard: E-E-A-T / Technische Signale
   ========================================================= */

.two-col-print {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.report-card {
  border-radius: 18px;
  padding: 14px;
  box-shadow: none;
  min-width: 0;
  overflow: hidden;
}

.report-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.mini-rows,
.signal-grid {
  display: grid;
  gap: 8px;
}

.mini-rows div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px 44px;
  gap: 8px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  min-width: 0;
}

.mini-rows div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-rows span {
  color: var(--muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-rows strong {
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.mini-rows em {
  font-style: normal;
  font-weight: 900;
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.signal-grid div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  min-width: 0;
}

.signal-grid div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.signal-grid span {
  color: var(--muted);
  min-width: 0;
}

.signal-grid strong,
.signal-grid em {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  font-style: normal;
  text-align: right;
}

.signal {
  display: inline-block;
  max-width: 82px;
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal.yes {
  color: var(--good);
  background: #eafaf3;
}

.signal.no {
  color: var(--bad);
  background: #fff1f0;
}

.signal.warn {
  color: var(--warn);
  background: #fff7e6;
}

.signal.blocked {
  color: var(--bad);
  background: #fff1f0;
  border: 1px solid rgba(180, 35, 24, .22);
}

.positive {
  color: var(--good);
}

.negative {
  color: var(--bad);
}


/* =========================================================
   13. Scorecard: Listen / Briefing
   ========================================================= */

.tight-list {
  margin: 0;
  padding-left: 18px;
}

.tight-list li {
  margin: 0 0 9px;
  padding-left: 2px;
}

.tight-list strong {
  display: block;
  font-size: 12px;
  line-height: 1.25;
}

.tight-list span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.briefing-box {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.briefing-box h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.briefing-box ul {
  margin: 0;
  padding-left: 18px;
  columns: 2;
}

.briefing-box li {
  margin-bottom: 6px;
  font-size: 12px;
}


/* =========================================================
   14. Footer
   ========================================================= */

.main-footer {
  margin-top: 70px;
  background: #ffffff;
  color: var(--text);
  border-top: 1px solid var(--line);
  padding: 48px 22px 30px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.footer-col hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 24px;
  max-width: 260px;
}

.footer-col p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.footer-col strong {
  color: var(--text);
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1180px;
  margin: 42px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.footer-paypal {
  display: flex;
  justify-content: flex-start;
}

.paypal-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.paypal-button span {
  color: #0070ba;
  font-size: 14px;
  font-weight: 900;
}

.footer-provider {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.footer-provider a {
  display: inline-flex;
  margin-left: 8px;
  text-decoration: none;
}

.provider-logo {
  display: inline-block;
  width: 80px;
  height: 15px;
  vertical-align: middle;
  margin-left: 8px;
}

.provider-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .02em;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #eef3ff;
  color: var(--accent);
  border: 1px solid rgba(36, 87, 214, .15);
  font-weight: 900;
  font-size: 15px;
}


/* =========================================================
   15. Hover-Effekte
   ========================================================= */

.card,
.feature-card,
.problem-card,
.use-case-card,
.preview-card,
.metric-card,
.result-card,
.scorecard-box,
.comparison-card,
.step-card,
.report-card,
.audit-card,
section article,
.grid > div,
.preview-panel,
.result-panel,
.score-row,
.benchmark-row {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.feature-card:hover,
.problem-card:hover,
.use-case-card:hover,
.preview-card:hover,
.metric-card:hover,
.result-card:hover,
.scorecard-box:hover,
.comparison-card:hover,
.step-card:hover,
.report-card:hover,
.audit-card:hover,
section article:hover,
.grid > div:hover,
.preview-panel:hover,
.result-panel:hover,
.score-row:hover,
.benchmark-row:hover,
.footer-social a:hover,
.paypal-button:hover,
.provider-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
  border-color: rgba(37, 99, 235, 0.22);
}


/* =========================================================
   16. Responsive
   ========================================================= */

@media (max-width: 900px) {
  .hero-shell,
  .two-col,
  .preview-section,
  .target-section {
    grid-template-columns: 1fr;
  }

  .cards.three,
  .cards.six,
  .steps,
  .target-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .top-nav a:not(.btn),
  .top-nav button {
    display: none;
  }

  .product-mockup {
    transform: none;
  }

  .action-cell .btn {
    width: 100%;
    min-width: 0;
  }

  .scorecard-sheet {
    width: 100%;
    min-height: auto;
    padding: 18px;
  }

  .scorecard-meta,
  .summary-box,
  .url-comparison,
  .two-col-print {
    grid-template-columns: 1fr;
  }

  .big-scores {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .dimension-row {
    grid-template-columns: 1fr;
  }

  .bar-pair {
    padding-left: 0;
  }

  .bar-pair > div {
    grid-template-columns: 78px 1fr 26px;
  }

  .bar {
    width: 100%;
  }

  .footer-inner,
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-social,
  .footer-paypal,
  .footer-provider {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-col h3 {
    font-size: 20px;
  }

  .footer-col p {
    font-size: 15px;
  }
}


/* =========================================================
   17. Print / A4
   ========================================================= */

@page {
  size: A4;
  margin: 10mm;
}

@media print {
  body {
    background: #fff;
  }

  .no-print,
  .site-header {
    display: none !important;
  }

  .tool-layout {
    display: block;
    padding: 0;
    max-width: none;
  }

  .scorecard-sheet {
    display: block !important;
    width: auto;
    min-height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }

  .summary-box,
  .url-comparison article,
  .dimension-row,
  .report-card,
  .briefing-box,
  .scorecard-meta div {
    break-inside: avoid;
  }

  .summary-box {
    grid-template-columns: minmax(0, 1fr) 245px;
  }

  .scorecard-header h2 {
    font-size: 28px;
  }

  .summary-box h3 {
    font-size: 15px;
  }

  .dimension-row {
    grid-template-columns: 145px minmax(0, 1fr) 44px;
    padding: 6px 8px 10px;
  }

  .dimension-row::after {
    right: 8px;
    bottom: 3px;
    left: 8px;
    height: 2px;
  }

  .bar-pair {
    padding-left: 0;
  }

  .bar-pair > div {
    grid-template-columns: 72px 135px 24px;
  }

  .bar {
    width: 135px;
    height: 5px;
  }

  .mini-rows div {
    grid-template-columns: minmax(0, 1fr) 70px 28px;
    gap: 6px;
  }

  .signal-grid div {
    grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
  }

  .signal {
    max-width: 74px;
  }

  .schema-types {
    max-width: 78px;
  }

  .bottom-grid {
    margin-top: 8px;
  }
}