:root {
    --color-bg: #f7f9fc;
    --color-surface: #ffffff;
    --color-ink: #102033;
    --color-muted: #607089;
    --color-line: #dde5f0;
    --color-primary: #164ed8;
    --color-primary-dark: #0f2f86;
    --color-violet: #6d35d4;
    --color-teal: #0f9f8f;
    --color-green: #16845b;
    --color-green-bg: #e8f7f0;
    --color-yellow: #a46600;
    --color-yellow-bg: #fff5d9;
    --color-red: #c73636;
    --color-red-bg: #fde8e8;
    --shadow-sm: 0 10px 30px rgba(16, 32, 51, 0.08);
    --shadow-md: 0 22px 60px rgba(16, 32, 51, 0.14);
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1160px;
}

/* Console polish */
.console-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 32px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 72px;
}

.console-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
}

.console-menu-toggle {
    display: none;
}

.console-nav {
    display: grid;
    gap: 6px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #dbe7f3;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(22, 42, 70, 0.08);
}

.console-nav a {
    color: #26384f;
    text-decoration: none;
    padding: 11px 12px;
    border-radius: 12px;
    font-weight: 700;
}

.console-nav a:hover,
.console-nav a:focus-visible,
.console-nav a.is-active {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.12), rgba(41, 182, 246, 0.18));
    color: #123c7a;
}

.console-nav-separator {
    height: 1px;
    background: #dbe7f3;
    margin: 8px 0;
}

.console-main {
    min-width: 0;
}

.console-page-header {
    margin-bottom: 24px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 10px;
}

.breadcrumbs a {
    color: #1565c0;
    text-decoration: none;
}

.console-page-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.console-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.console-panel,
.website-summary-card,
.onboarding-card,
.social-proof,
.legal-card,
.directory-card {
    background: #ffffff;
    border: 1px solid #dbe7f3;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(22, 42, 70, 0.08);
}

.console-panel {
    padding: 18px;
    margin-bottom: 22px;
}

.onboarding-card {
    padding: 18px;
}

.onboarding-card h2,
.legal-card h2 {
    margin-top: 0;
}

.onboarding-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 12px 0 0;
    list-style: none;
}

.onboarding-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-weight: 700;
}

.onboarding-list li span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #e6eef7;
    color: #64748b;
}

.onboarding-list li.is-done {
    color: #0f766e;
}

.onboarding-list li.is-done span {
    background: #d8f3ec;
    color: #0f766e;
}

.console-nav span.is-disabled {
    display: block;
    border-radius: 12px;
    padding: 11px 12px;
    color: #94a3b8;
    font-weight: 700;
    cursor: not-allowed;
}

.console-nav-add {
    margin-top: 4px;
    color: #1565c0;
    font-size: 0.9rem;
}

.dashboard-setup-nudge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef6ff, #ffffff);
    padding: 18px;
    box-shadow: 0 18px 40px rgba(22, 42, 70, 0.08);
}

.dashboard-setup-nudge h2,
.dashboard-setup-nudge p {
    margin: 0;
}

.dashboard-setup-nudge .onboarding-list {
    min-width: min(320px, 100%);
    margin: 0;
}

.dashboard-setup-nudge.is-complete {
    display: block;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.dashboard-setup-nudge.is-complete p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #166534;
    font-weight: 800;
}

.dashboard-setup-nudge.is-complete a {
    color: #1565c0;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.dashboard-stat-tile {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 154px;
    border: 1px solid #dbe7f3;
    border-radius: 18px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 14px 34px rgba(22, 42, 70, 0.07);
}

.dashboard-stat-tile span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.dashboard-stat-tile strong {
    color: #102033;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1;
}

.dashboard-stat-tile small {
    color: #64748b;
    line-height: 1.45;
}

.dashboard-stat-tile small a {
    display: inline-block;
    margin-left: 6px;
    color: #1565c0;
    font-weight: 800;
}

.dashboard-hint {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 0.92rem;
}

.dashboard-section {
    scroll-margin-top: 92px;
}

.dashboard-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.dashboard-section-heading h2,
.dashboard-section-heading p {
    margin: 0;
}

.dashboard-section-heading p:not(.eyebrow) {
    max-width: 720px;
    color: #64748b;
}

/* Statistik-Filter: Domain-Chips (Alle Websites | domain1 | domain2 ...) */
.stats-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.stats-filter a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #dbe5f0;
    border-radius: 999px;
    background: #fff;
    color: #24466b;
    font-size: 0.85rem;
    line-height: 1.4;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.stats-filter a:hover {
    border-color: #269cd9;
    color: #1c7cb0;
}

.stats-filter a.is-active {
    background: #269cd9;
    border-color: #269cd9;
    color: #fff;
}

.dashboard-website-grid .website-summary-card {
    display: flex;
    min-height: 420px;
    flex-direction: column;
}

.website-card-meta {
    display: grid;
    gap: 4px;
    margin-top: 14px;
    color: #64748b;
    font-size: 0.88rem;
}

.website-card-meta strong {
    color: #334155;
    font-size: 0.94rem;
}

.dashboard-website-grid .website-summary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-website-grid .crawler-mini-summary {
    margin-top: auto;
    padding-top: 16px;
}

.setup-progress-panel,
.setup-step {
    border: 1px solid #dbe7f3;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(22, 42, 70, 0.08);
}

.setup-progress-panel {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
    padding: 22px;
}

.setup-progress-panel h2,
.setup-progress-panel p {
    margin: 0;
}

.setup-steps {
    display: grid;
    gap: 16px;
}

.setup-step {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
    scroll-margin-top: 92px;
}

.setup-step.is-current {
    border-color: #1565c0;
    box-shadow: 0 20px 46px rgba(21, 101, 192, 0.14);
}

.setup-step.is-locked {
    opacity: 0.68;
}

.setup-step-number {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 999px;
    background: #e6eef7;
    color: #334155;
    font-weight: 900;
}

.setup-step.is-done .setup-step-number {
    background: #d8f3ec;
    color: #0f766e;
}

.setup-step.is-current .setup-step-number {
    background: #1565c0;
    color: #ffffff;
}

.setup-step-body {
    display: grid;
    gap: 10px;
}

.setup-step-body p,
.setup-step-head h2 {
    margin: 0;
}

.setup-step-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.setup-step-head h2 {
    color: #102033;
    font-size: 1.25rem;
}

.setup-status,
.setup-time {
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 850;
}

.setup-status {
    border-radius: 999px;
    background: #f1f5f9;
    padding: 5px 9px;
    white-space: nowrap;
}

.setup-step.is-done .setup-status {
    background: #d8f3ec;
    color: #0f766e;
}

.setup-step.is-current .setup-status {
    background: #eef6ff;
    color: #1565c0;
}

.setup-code-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.setup-code-grid label {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-weight: 800;
}

@media (max-width: 820px) {
    .dashboard-setup-nudge,
    .dashboard-section-heading,
    .setup-step-head {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-setup-nudge {
        display: grid;
    }

    .dashboard-section-heading .button,
    .dashboard-setup-nudge .button {
        width: 100%;
    }

    .setup-step,
    .setup-code-grid {
        grid-template-columns: 1fr;
    }

    .setup-step-number {
        width: 38px;
        height: 38px;
    }
}

.social-proof {
    margin-top: 14px;
    padding: 14px 16px;
    color: #123c7a;
    font-weight: 800;
}

.toast-stack {
    position: fixed;
    z-index: 50;
    top: 82px;
    right: 18px;
    display: grid;
    gap: 10px;
    max-width: min(420px, calc(100vw - 36px));
}

.toast {
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(22, 42, 70, 0.18);
    background: #ffffff;
    border-left: 5px solid #1565c0;
    color: #102033;
    font-weight: 700;
}

.toast-success {
    border-color: #16a34a;
}

.toast-error {
    border-color: #dc2626;
}

.check-row.status-error,
.status-error {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.check-row.status-error .check-status {
    background: #e2e8f0;
    color: #334155;
}

.check-row.status-error .status-badge {
    background: #e2e8f0;
    color: #334155;
}

.website-card-grid,
.settings-grid,
.directory-grid,
.compare-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.website-summary-card {
    padding: 18px;
}

.website-summary-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.website-summary-head h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.website-summary-actions {
    margin-top: 18px;
}

.score-donut {
    --score-stroke: #dc2626;
    --score-offset: 276.46;
    position: relative;
    width: 116px;
    aspect-ratio: 1;
    flex: 0 0 auto;
}

.score-donut.score-warning {
    --score-stroke: #d97706;
}

.score-donut.score-good {
    --score-stroke: #16a34a;
}

.score-donut svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-donut-bg,
.score-donut-value {
    fill: none;
    stroke-width: 10;
}

.score-donut-bg {
    stroke: #e6eef7;
}

.score-donut-value {
    stroke: var(--score-stroke);
    stroke-linecap: round;
    stroke-dasharray: 276.46;
    stroke-dashoffset: 276.46;
    animation: scoreDonut 900ms ease-out forwards;
}

.score-donut span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    font-weight: 900;
    color: #102033;
}

@keyframes scoreDonut {
    to {
        stroke-dashoffset: var(--score-offset);
    }
}

.score-placeholder {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f3f7fb;
    color: #64748b;
    font-weight: 800;
}

.score-delta {
    display: inline-flex;
    margin: 12px 0 0;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    background: #eef6ff;
    color: #1565c0;
}

.score-delta.is-positive {
    background: #d8f3ec;
    color: #0f766e;
}

.score-delta.is-negative {
    background: #fee2e2;
    color: #b91c1c;
}

.progress-block {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.progress-block.compact {
    min-width: min(360px, 100%);
    margin-top: 0;
}

.progress-copy {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #334155;
    font-size: 0.95rem;
}

.progress-copy span {
    color: #64748b;
}

.progress-bar {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6eef7;
}

.progress-bar span {
    display: block;
    height: 100%;
    min-width: 4px;
    border-radius: inherit;
    background: linear-gradient(135deg, #1565c0, #29b6f6);
}

.check-category {
    border: 1px solid #dbe7f3;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.check-category + .check-category {
    margin-top: 12px;
}

.check-category summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 900;
    color: #102033;
    background: #f8fbff;
}

.check-category summary:focus-visible,
.score-line-chart circle:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(41, 182, 246, 0.55);
    outline-offset: 3px;
}

.score-line-chart {
    position: relative;
    min-height: 220px;
    margin: 14px 0 18px;
    padding: 16px;
    border: 1px solid #dbe7f3;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.score-line-chart svg {
    width: 100%;
    height: 180px;
    overflow: visible;
}

.score-line-chart polyline {
    fill: none;
    stroke: #1565c0;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.score-line-chart circle {
    fill: #29b6f6;
    stroke: #ffffff;
    stroke-width: 1.5;
    cursor: pointer;
    vector-effect: non-scaling-stroke;
}

.benchmark-line-chart {
    margin: 18px 0 10px;
    padding: 16px;
    border: 1px solid #dbe7f3;
    border-radius: 14px;
    background: #ffffff;
}

.benchmark-line-chart svg {
    width: 100%;
    height: 210px;
    overflow: visible;
}

.benchmark-line-chart line {
    stroke: #e2e8f0;
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.benchmark-line-chart polyline {
    fill: none;
    stroke: var(--benchmark-color);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.benchmark-line-chart circle {
    fill: var(--benchmark-color);
    stroke: #ffffff;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.benchmark-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 12px;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.benchmark-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.benchmark-legend i {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: var(--benchmark-color);
}

.chart-tooltip {
    position: absolute;
    transform: translate(-50%, -120%);
    padding: 7px 9px;
    border-radius: 10px;
    background: #102033;
    color: #ffffff;
    font-size: 0.82rem;
    pointer-events: none;
    white-space: nowrap;
}

.empty-illustration {
    width: min(220px, 70vw);
    height: auto;
    margin-bottom: 16px;
}

.locked-insights {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.locked-card {
    min-height: 120px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #dbe7f3;
    background: rgba(255, 255, 255, 0.82);
    filter: blur(1.2px);
    user-select: none;
}

.locked-card span {
    display: block;
    color: #334155;
    font-weight: 800;
}

.website-status-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.live-badge-preview {
    max-width: 100%;
    height: auto;
}

.directory-section,
.legal-section {
    padding-top: 64px;
}

.directory-bands {
    display: grid;
    gap: 28px;
}

.directory-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.directory-chip {
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-primary);
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 850;
    text-decoration: none;
}

.directory-chip.is-active {
    background: var(--color-primary);
    color: #ffffff;
}

.directory-band h2 {
    margin-bottom: 12px;
}

.directory-card {
    padding: 18px;
}

.directory-card h3 {
    margin: 0 0 8px;
}

.directory-industry {
    display: inline-flex;
    border-radius: 999px;
    background: #edf7f1;
    color: #12733c;
    padding: 5px 9px;
    font-size: 0.82rem;
    font-weight: 850;
}

.legal-card {
    padding: 28px;
    line-height: 1.7;
    text-align: left;
}

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

.legal-card ul,
.legal-card ol {
    padding-left: 1.35rem;
}

.legal-card li + li {
    margin-top: 8px;
}

.knowledge-hero {
    padding-top: 64px;
    background: #f8fbff;
}

.knowledge-hero h1 {
    max-width: 920px;
    margin-inline: auto;
}

.knowledge-card-grid {
    align-items: stretch;
}

.knowledge-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.knowledge-layout .legal-card {
    height: 100%;
}

.knowledge-mini-list {
    display: grid;
    gap: 18px;
}

.knowledge-mini-list h3 {
    margin: 0 0 4px;
    font-size: 1.04rem;
}

.knowledge-mini-list p {
    margin: 0;
    color: var(--color-muted);
}

.crawler-group-heading {
    max-width: 860px;
    margin-bottom: 24px;
}

.crawler-group-heading h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin: 0 0 8px;
}

.crawler-group-heading h2 span {
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 850;
}

.crawler-group-heading p {
    color: var(--color-muted);
}

.crawler-table-card {
    overflow-x: auto;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.crawler-table {
    min-width: 640px;
}

.bot-token {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border: 1px solid #cbd7e8;
    border-radius: 7px;
    background: #f8fafc;
    color: #102033;
    padding: 3px 8px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.88rem;
    line-height: 1.25;
    white-space: nowrap;
}

.bot-muted {
    color: var(--color-muted);
}

.agent-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.agent-group {
    margin: 0 0 10px;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.token-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.knowledge-cta-section,
.knowledge-related-section {
    padding-top: 0;
}

.knowledge-related {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid var(--color-line);
    padding-top: 24px;
}

.knowledge-related span {
    margin-right: 4px;
    color: var(--color-muted);
    font-weight: 850;
}

.knowledge-related a {
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #fff;
    color: var(--color-primary-dark);
    padding: 8px 12px;
    font-weight: 850;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.glossary-term {
    position: relative;
    scroll-margin-top: 110px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.glossary-term h2 {
    margin: 0 0 12px;
    padding-right: 34px;
    font-size: 1.35rem;
}

.glossary-term p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.glossary-term p + p {
    margin-top: 10px;
}

.glossary-definition {
    color: var(--color-ink);
    font-weight: 850;
}

.glossary-anchor {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--color-primary);
    font-weight: 900;
}

.glossary-anchor:hover,
.glossary-anchor:focus-visible {
    border-color: var(--color-primary);
    background: #edf3ff;
}

.legal-review-banner {
    margin: 24px 0;
    border: 1px solid #b9d7f0;
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius-sm);
    background: #eef7ff;
    color: #183450;
    padding: 14px 16px;
    text-align: left;
    font-weight: 800;
}

.legal-pre {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    background: #101828;
    color: #f8fafc;
    padding: 16px;
    white-space: pre-wrap;
}

.danger-zone {
    border-color: #fecaca;
}

.button-danger {
    background: #b91c1c;
    color: #ffffff;
}

.button-danger:hover,
.button-danger:focus-visible {
    background: #991b1b;
}

.checkbox-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.checkbox-row input {
    width: auto;
    margin-top: 0.25em;
}

.plain-help {
    margin: 12px 0;
    color: var(--color-muted);
}

.plain-help summary {
    cursor: pointer;
    color: var(--color-primary);
    font-weight: 850;
}

.plain-help p {
    margin: 8px 0 0;
}

.embedded-settings {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--color-line);
}

.embedded-settings h3 {
    margin: 0 0 8px;
}

.character-counter {
    justify-self: end;
    margin: -4px 0 0;
    color: var(--color-muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.benchmark-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.benchmark-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    padding: 16px;
    background: #ffffff;
}

.benchmark-row h3 {
    margin: 0 0 4px;
    overflow-wrap: anywhere;
}

.benchmark-row p,
.benchmark-row small {
    margin: 0;
    color: var(--color-muted);
}

.benchmark-score {
    display: grid;
    justify-items: end;
    gap: 6px;
    min-width: 76px;
}

.benchmark-score strong {
    color: var(--color-ink);
    font-size: 1.45rem;
}

.trend-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 0.82rem;
    font-weight: 900;
}

.trend-up {
    background: #e7f6ee;
    color: #12733c;
}

.trend-down {
    background: #fff4df;
    color: #92400e;
}

.trend-flat {
    background: #edf3ff;
    color: #475569;
}

.benchmark-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.benchmark-actions form {
    margin: 0;
}

.cookie-note {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
}

.cookie-note a {
    color: #ffffff;
}

button[disabled],
button[aria-disabled="true"] {
    opacity: 0.62;
    cursor: progress;
}

@media (max-width: 940px) {
    .console-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-bottom: 96px;
    }

    .console-sidebar {
        position: static;
    }

    .console-menu-toggle {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        padding: 12px;
        border: 1px solid #dbe7f3;
        border-radius: 14px;
        background: #ffffff;
        color: #123c7a;
        font-weight: 900;
    }

    .console-nav {
        display: none;
        margin-top: 10px;
    }

    .console-nav.is-open {
        display: grid;
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }

    .console-page-title,
    .website-status-panel {
        flex-direction: column;
    }

    .website-card-grid,
    .settings-grid,
    .knowledge-layout,
    .glossary-grid,
    .directory-grid,
    .benchmark-row,
    .compare-results,
    .locked-insights {
        grid-template-columns: 1fr;
    }

    .benchmark-score {
        justify-items: start;
    }

    .benchmark-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .toast-stack {
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-width: none;
    }

    .console-layout {
        width: min(100% - 20px, 1180px);
    }

    .score-donut {
        width: 96px;
    }

    .progress-copy {
        flex-direction: column;
        gap: 4px;
    }

    .share-row {
        align-items: flex-start;
    }

    .share-row,
    .share-actions {
        flex-direction: column;
    }

    .share-button {
        width: 100%;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--color-bg);
    color: var(--color-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

body.is-loading {
    cursor: progress;
}

img,
svg {
    max-width: 100%;
}

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

a:hover {
    color: var(--color-primary);
}

button,
input {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.container.narrow {
    max-width: 780px;
    text-align: center;
}

.section {
    padding: 76px 0;
}

.section-muted {
    background: #eef3fa;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading.align-left {
    margin-inline: 0;
    text-align: left;
}

.section-heading h2,
.pricing-hero h1,
.report-header h1,
.hero h1 {
    margin: 0;
    color: var(--color-ink);
    line-height: 1.08;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(2.7rem, 7vw, 5.3rem);
}

.section-heading h2,
.pricing-hero h1,
.report-header h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-heading p,
.lead {
    color: var(--color-muted);
    font-size: 1.09rem;
}

.lead {
    max-width: 690px;
    margin: 22px 0 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 100;
    transform: translateY(-160%);
    border-radius: 999px;
    background: var(--color-ink);
    color: #fff;
    padding: 10px 14px;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(221, 229, 240, 0.78);
    background: rgba(247, 249, 252, 0.88);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-ink);
    font-weight: 850;
    white-space: nowrap;
}

.brand-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
}

.brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-violet));
    color: #fff;
    font-size: 0.86rem;
    box-shadow: 0 12px 28px rgba(22, 78, 216, 0.24);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    color: var(--color-muted);
    font-size: 0.96rem;
    font-weight: 650;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-muted);
    font-size: 0.88rem;
    font-weight: 850;
    white-space: nowrap;
}

.language-link {
    border-radius: 999px;
    padding: 4px 6px;
}

.language-link.is-active {
    background: #e8efff;
    color: var(--color-primary);
}

.language-menu {
    position: relative;
    color: var(--color-muted);
    font-size: 0.88rem;
    font-weight: 850;
    white-space: nowrap;
}

.language-menu details {
    position: relative;
}

.language-menu summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 58px;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    padding: 6px 10px;
    cursor: pointer;
    list-style: none;
    background: #ffffff;
    color: var(--color-text);
}

.language-menu summary::-webkit-details-marker {
    display: none;
}

.language-menu summary::after {
    content: "⌄";
    font-size: 0.9em;
}

.language-menu-list {
    position: absolute;
    right: 0;
    z-index: 40;
    display: grid;
    min-width: 92px;
    margin-top: 8px;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    padding: 6px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.language-menu-list a {
    border-radius: 8px;
    padding: 8px 10px;
    color: var(--color-text);
}

.language-menu-list a.is-active {
    background: #e8efff;
    color: var(--color-primary);
}

.language-menu-list a:focus-visible,
.language-menu summary:focus-visible {
    outline: 3px solid rgba(22, 78, 216, .25);
    outline-offset: 2px;
}

.auth-nav {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 750;
    white-space: nowrap;
}

.user-chip {
    max-width: 160px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf3ff;
    color: var(--color-primary-dark);
    padding: 5px 10px;
    text-overflow: ellipsis;
}

.logout-form {
    margin: 0;
}

.logout-form button {
    border: 0;
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    padding: 0;
}

.logout-form button:hover,
.logout-form button:focus-visible {
    color: var(--color-primary);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0 20px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-violet));
    color: #fff;
    box-shadow: 0 14px 30px rgba(22, 78, 216, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
    color: #fff;
    box-shadow: 0 18px 38px rgba(22, 78, 216, 0.3);
}

.button-secondary {
    border: 1px solid var(--color-line);
    background: #fff;
    color: var(--color-primary-dark);
}

.cta-band .button-secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
}

.button-light {
    background: #fff;
    color: var(--color-primary-dark);
}

.button-small {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 0.93rem;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 76px;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(22, 78, 216, 0.10), rgba(109, 53, 212, 0.06) 45%, rgba(15, 159, 143, 0.08)),
        linear-gradient(180deg, #fff, rgba(247, 249, 252, 0));
    content: "";
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: 46px;
}

.hero-copy {
    min-width: 0;
}

.scan-form {
    width: 100%;
}

.hero-form {
    max-width: 720px;
    margin-top: 32px;
    border: 1px solid rgba(221, 229, 240, 0.9);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.scan-form label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-ink);
    font-weight: 800;
}

.scan-form-row {
    display: flex;
    gap: 10px;
}

.scan-form input {
    width: 100%;
    min-height: 56px;
    min-width: 0;
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #fff;
    color: var(--color-ink);
    padding: 0 18px;
    outline: none;
}

.scan-form input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(22, 78, 216, 0.12);
}

.form-hint {
    margin: 10px 0 0;
    color: var(--color-muted);
    font-size: 0.91rem;
}

.captcha-field {
    margin-top: 14px;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-svg {
    width: 118px;
    height: 56px;
    flex: 0 0 auto;
}

.scan-form .captcha-row input {
    max-width: 150px;
    border-radius: var(--radius-sm);
}

.captcha-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hero-panel {
    min-width: 0;
}

.mini-console {
    overflow: hidden;
    border: 1px solid rgba(221, 229, 240, 0.95);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.console-topbar {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--color-line);
    background: #f1f5fb;
    padding: 18px;
}

.console-topbar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #bec9d8;
}

.console-score {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
}

.score-ring {
    --score: 0;
    --ring-color: var(--color-green);
    display: grid;
    width: 104px;
    height: 104px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, #fff 70%, transparent 72%),
        conic-gradient(var(--ring-color) calc(var(--score) * 1%), #dfe7f1 0);
}

.score-ring.large {
    width: 180px;
    height: 180px;
    margin-inline: auto;
}

.score-ring.score-good {
    --ring-color: var(--color-green);
}

.score-ring.score-warning {
    --ring-color: #d59016;
}

.score-ring.score-danger {
    --ring-color: var(--color-red);
}

.score-ring span {
    color: var(--color-ink);
    font-size: 2rem;
    font-weight: 900;
}

.score-ring.large span {
    font-size: 3.2rem;
}

.score-label {
    margin: 0 0 4px;
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
}

.console-score strong {
    display: block;
    font-size: 1.2rem;
}

.console-score small {
    color: var(--color-muted);
}

.console-list {
    display: grid;
    gap: 10px;
    padding: 0 28px 28px;
}

.console-row {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 750;
}

.console-row p {
    margin: 0;
}

.console-row span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 900;
}

.console-row.good {
    background: var(--color-green-bg);
    color: var(--color-green);
}

.console-row.good span {
    background: var(--color-green);
}

.console-row.warning {
    background: var(--color-yellow-bg);
    color: var(--color-yellow);
}

.console-row.warning span {
    background: var(--color-yellow);
}

.console-row.danger {
    background: var(--color-red-bg);
    color: var(--color-red);
}

.console-row.danger span {
    background: var(--color-red);
}

.trust-strip {
    border-block: 1px solid var(--color-line);
    background: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid div {
    padding: 22px 18px;
    border-left: 1px solid var(--color-line);
}

.trust-grid div:first-child {
    border-left: 0;
}

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

.trust-grid strong {
    color: var(--color-ink);
    font-size: 1.02rem;
}

.trust-grid span {
    margin-top: 2px;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.steps-grid,
.features-grid,
.pricing-grid {
    display: grid;
    gap: 18px;
}

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

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

.pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.step-card,
.feature-card,
.price-card,
.checks-card,
.score-card,
.empty-state {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.step-card,
.feature-card {
    padding: 26px;
}

.step-number,
.feature-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: #e9efff;
    color: var(--color-primary);
    font-weight: 900;
}

.feature-icon {
    background: linear-gradient(135deg, rgba(22, 78, 216, 0.13), rgba(15, 159, 143, 0.13));
    color: var(--color-primary-dark);
    font-size: 0.78rem;
}

.step-card h3,
.feature-card h3 {
    margin: 18px 0 8px;
    font-size: 1.22rem;
}

.step-card p,
.feature-card p,
.price-card p {
    color: var(--color-muted);
}

.pricing-section {
    background: #fff;
}

.price-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 24px;
}

.price-card.highlighted {
    border-color: rgba(22, 78, 216, 0.56);
    box-shadow: 0 22px 60px rgba(22, 78, 216, 0.18);
}

.popular-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    border-radius: 999px;
    background: #e8efff;
    color: var(--color-primary);
    padding: 6px 10px;
    font-size: 0.76rem;
    font-weight: 850;
}

.price-card h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.tier-description {
    min-height: 72px;
    margin: 0;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 22px 0;
}

.price span,
.price small {
    color: var(--color-muted);
    font-weight: 750;
}

.price strong {
    font-size: 3rem;
    line-height: 1;
}

.price-card ul {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.price-card li {
    position: relative;
    padding-left: 26px;
    color: var(--color-ink);
}

.price-card li::before {
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: 900;
    content: "✓";
}

.price-card .button {
    margin-top: auto;
}

.pricing-explainer {
    max-width: 860px;
    margin: 0 auto 24px;
    border: 1px solid #cfe0f4;
    border-radius: 12px;
    background: #f5fbff;
    padding: 20px 22px;
    text-align: center;
}

.pricing-explainer h3,
.pricing-explainer p {
    margin: 0;
}

.pricing-explainer p {
    margin-top: 8px;
    color: var(--color-muted);
}

.pricing-comparison,
.pricing-retention {
    margin-top: 46px;
}

.pricing-comparison .section-heading,
.pricing-retention .section-heading {
    margin-bottom: 20px;
}

.comparison-scroll {
    overflow-x: auto;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.pricing-comparison-table {
    width: 100%;
    min-width: 840px;
    border-collapse: collapse;
}

.pricing-comparison-table th,
.pricing-comparison-table td {
    border-bottom: 1px solid var(--color-line);
    padding: 14px 16px;
    text-align: center;
    vertical-align: top;
}

.pricing-comparison-table th:first-child {
    width: 34%;
    text-align: left;
}

.pricing-comparison-table thead th {
    background: #f8fbff;
    color: var(--color-ink);
    font-weight: 900;
}

.pricing-comparison-table tbody th strong,
.pricing-comparison-table tbody th span {
    display: block;
}

.pricing-comparison-table tbody th span {
    margin-top: 4px;
    color: var(--color-muted);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
}

.pricing-comparison-table td {
    color: var(--color-ink);
    font-weight: 850;
}

.retention-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.retention-card {
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: #ffffff;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.retention-card h4,
.retention-card p {
    margin: 0;
}

.retention-card p {
    margin-top: 8px;
    color: var(--color-muted);
}

.indexnow-section {
    background: #ffffff;
}

.engine-list {
    margin: 20px auto 0;
    max-width: 820px;
    color: var(--color-ink);
    font-weight: 850;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 46px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}

.faq-list summary {
    color: var(--color-ink);
    font-weight: 850;
    cursor: pointer;
}

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

.site-footer {
    background: #0c1728;
    color: #d8e3f3;
    padding: 54px 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 0.6fr);
    gap: 34px;
}

.footer-brand {
    color: #fff;
}

.site-footer p {
    max-width: 440px;
    color: #aebbd0;
}

.site-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
}

.site-footer a {
    display: table;
    margin: 8px 0;
    color: #d8e3f3;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    color: #aebbd0;
    font-size: 0.9rem;
}

.pricing-hero,
.report-hero {
    background: linear-gradient(135deg, rgba(22, 78, 216, 0.1), rgba(109, 53, 212, 0.08), rgba(15, 159, 143, 0.08));
}

.report-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 34px;
    align-items: end;
}

.scan-form.compact {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.demo-notice {
    margin-bottom: 20px;
    border: 1px solid #c6d7ff;
    border-radius: var(--radius-sm);
    background: #edf3ff;
    color: #17346d;
    padding: 14px 16px;
}

.demo-notice code {
    border-radius: 7px;
    background: rgba(22, 78, 216, 0.1);
    padding: 2px 6px;
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 18px 0 22px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 14px 16px;
}

.share-row strong {
    margin-right: auto;
}

.share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd7e8;
    border-radius: 8px;
    background: #f8fafc;
    color: #102033;
    padding: 7px 11px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.2;
    cursor: pointer;
}

.share-button:hover,
.share-button:focus-visible {
    border-color: var(--color-primary);
    background: #edf3ff;
    color: var(--color-primary-dark);
}

.share-copy-status {
    min-height: 1.2em;
    color: var(--color-primary);
    font-size: 0.88rem;
    font-weight: 850;
}

.report-grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.score-card,
.checks-card,
.empty-state {
    padding: 24px;
}

.score-card {
    position: sticky;
    top: 96px;
    text-align: center;
}

.score-card h2 {
    margin: 24px 0 8px;
}

.score-card p {
    color: var(--color-muted);
}

/* Score-Karten-CTA auf dem öffentlichen Report: nur für Nicht-Inhaber,
   nie auf White-Label-Reports. */
.score-card-cta {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e6eef7;
}

.score-card-cta p {
    margin: 0;
    font-size: 0.95rem;
}

.score-card-cta .button {
    width: 100%;
}

.score-meta {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    text-align: left;
}

.score-meta div {
    border-top: 1px solid var(--color-line);
    padding-top: 12px;
}

.score-meta dt {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.score-meta dd {
    margin: 2px 0 0;
    word-break: break-word;
    font-weight: 800;
}

.card-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.card-heading h2 {
    margin: 0;
}

.pill {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #edf3ff;
    color: var(--color-primary);
    padding: 7px 11px;
    font-size: 0.82rem;
    font-weight: 850;
}

.checks-list {
    display: grid;
    gap: 12px;
}

.check-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.check-status {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 950;
}

.status-green .check-status,
.status-green .status-badge {
    background: var(--color-green);
}

.status-yellow .check-status,
.status-yellow .status-badge {
    background: var(--color-yellow);
}

.status-red .check-status,
.status-red .status-badge {
    background: var(--color-red);
}

.status-green {
    background: linear-gradient(90deg, var(--color-green-bg), #fff 34%);
}

.status-yellow {
    background: linear-gradient(90deg, var(--color-yellow-bg), #fff 34%);
}

.status-red {
    background: linear-gradient(90deg, var(--color-red-bg), #fff 34%);
}

.check-copy h3 {
    margin: 0 0 3px;
    font-size: 1.02rem;
}

.check-copy p {
    margin: 0;
    color: var(--color-ink);
}

.check-copy small {
    display: block;
    margin-top: 4px;
    color: var(--color-muted);
}

.status-badge {
    border-radius: 999px;
    color: #fff;
    padding: 5px 9px;
    font-size: 0.78rem;
    font-weight: 850;
}

/* Eigenstaendige Badge-Farben (z.B. Gutschein-Status in der Admin-Tabelle). */
.status-badge-green {
    background: var(--color-green);
    color: #fff;
}

.status-badge-amber {
    background: var(--color-yellow);
    color: #fff;
}

.status-badge-red {
    background: var(--color-red);
    color: #fff;
}

.status-badge-muted {
    background: #e6eef7;
    color: #475569;
}

/* Gutschein-Erstellformular: kompaktes, responsives Feldraster. */
.voucher-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.voucher-form-grid label {
    display: block;
    margin-bottom: 4px;
}

.voucher-form-grid input,
.voucher-form-grid select {
    width: 100%;
}

.voucher-form-note {
    grid-column: 1 / -1;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary), var(--color-violet));
    color: #fff;
    padding: 34px;
    box-shadow: var(--shadow-md);
}

.cta-band .eyebrow,
.cta-band p {
    color: rgba(255, 255, 255, 0.82);
}

.cta-band h2 {
    margin: 0;
    line-height: 1.1;
}

.cta-band p {
    max-width: 720px;
    margin: 10px 0 0;
}

.empty-state {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

.empty-state p,
.pricing-note p {
    color: var(--color-muted);
}

.pricing-note {
    max-width: 800px;
    text-align: center;
}

.pricing-note h2 {
    margin: 0 0 10px;
}

.auth-section,
.dashboard-section {
    background: linear-gradient(135deg, rgba(22, 78, 216, 0.08), rgba(109, 53, 212, 0.05), rgba(15, 159, 143, 0.06));
}

/* Im Dashboard ist die Verlaufs-Flaeche eine Karte im Seitenfluss —
   ohne Radius und Innenabstand wirken ihre Kanten hart und unfertig. */
.dashboard-section {
    border: 1px solid rgba(221, 229, 240, 0.8);
    border-radius: var(--radius);
    padding: 26px;
    margin: 0 0 26px;
}

@media (max-width: 720px) {
    .dashboard-section {
        padding: 18px;
        border-radius: var(--radius-sm);
    }
}

.auth-container {
    max-width: 560px;
}

.form-card,
.table-card,
.tip-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.form-card {
    padding: 28px;
}

.form-card.wide {
    max-width: 720px;
}

.form-card h1 {
    margin: 0 0 10px;
    line-height: 1.1;
}

.form-card p {
    color: var(--color-muted);
}

.stacked-form {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.stacked-form label {
    color: var(--color-ink);
    font-weight: 850;
}

.stacked-form input,
.stacked-form select,
.stacked-form textarea {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: #fff;
    color: var(--color-ink);
    padding: 0 14px;
    outline: none;
}

.stacked-form textarea {
    min-height: 92px;
    padding-top: 12px;
    resize: vertical;
}

.stacked-form input:focus,
.stacked-form select:focus,
.stacked-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(22, 78, 216, 0.12);
}

.auth-switch {
    margin: 20px 0 0;
}

.auth-switch a {
    color: var(--color-primary);
    font-weight: 850;
}

.alert {
    border-radius: var(--radius-sm);
    margin: 18px 0;
    padding: 14px 16px;
}

.alert p {
    margin: 0;
}

.alert-error {
    border: 1px solid #f2b5b5;
    background: var(--color-red-bg);
    color: #8f1f1f;
}

.alert-success {
    border: 1px solid #adddc8;
    background: var(--color-green-bg);
    color: var(--color-green);
}

.dashboard-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.dashboard-top h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.table-card {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.dashboard-table th,
.dashboard-table td {
    border-bottom: 1px solid var(--color-line);
    padding: 16px;
    text-align: left;
}

.dashboard-table th {
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-table td a {
    color: var(--color-primary);
    font-weight: 850;
}

.dashboard-table.compact-table {
    min-width: 0;
}

.dashboard-table.compact-table th,
.dashboard-table.compact-table td {
    padding: 10px 12px;
}

.crawler-mini-summary {
    display: grid;
    gap: 6px;
    margin-top: 14px;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.crawler-mini-summary strong {
    color: var(--color-text);
}

.crawler-mini-summary a {
    color: var(--color-primary);
    font-weight: 800;
}

.crawler-timeline-table {
    overflow-x: auto;
}

.crawler-timeline-grid th:first-child,
.crawler-timeline-grid td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #ffffff;
}

.crawler-timeline-grid th:first-child {
    z-index: 2;
}

.inline-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
}

.inline-form label {
    width: 100%;
    font-weight: 800;
}

.status-badge.status-ok {
    background: var(--color-green);
}

.status-badge.status-warn {
    background: var(--color-yellow);
}

.source-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    color: #102033;
    background: #eef6ff;
    border: 1px solid #cad6e7;
    white-space: nowrap;
}

.source-badge.source-tracker {
    color: #073b28;
    background: #dff8ed;
    border-color: #a2e3c5;
}

.source-badge.source-self {
    color: #3b256d;
    background: #ece7ff;
    border-color: #c9bdf5;
}

.verify-grid,
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.code-box {
    overflow-x: auto;
    border: 1px solid #cad6e7;
    border-radius: var(--radius-sm);
    background: #0c1728;
    color: #eef6ff;
    padding: 16px;
    white-space: pre;
}

.code-box code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 0.88rem;
    line-height: 1.55;
}

.copy-box-label {
    display: block;
    margin: 16px 0 8px;
    color: var(--color-ink);
    font-weight: 800;
}

.tips-section {
    padding-bottom: 0;
}

.tip-card {
    padding: 22px;
}

.tip-card h3 {
    margin: 0 0 8px;
}

.tip-card p {
    color: var(--color-muted);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.cta-actions.left {
    justify-content: flex-start;
    margin-top: 16px;
}

.history-bars {
    display: flex;
    min-height: 160px;
    align-items: end;
    gap: 10px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.scan-history-table {
    margin-top: 18px;
}

.history-bar {
    display: grid;
    width: 34px;
    height: 128px;
    align-items: end;
    justify-items: center;
    gap: 6px;
}

.history-bar span {
    display: block;
    width: 100%;
    border-radius: 9px 9px 0 0;
    background: linear-gradient(180deg, var(--color-primary), var(--color-teal));
}

.history-bar small {
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 800;
}

.chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.chart-card {
    min-width: 0;
    border: 1px solid #dbe7f3;
    border-radius: 14px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 14px 34px rgba(22, 42, 70, 0.07);
}

.chart-card h2,
.chart-card h3 {
    margin: 0 0 14px;
    color: var(--color-ink);
    font-size: 1.05rem;
}

.kc-chart-svg {
    display: block;
    width: 100%;
    height: auto;
}

.chart-axis {
    stroke: #dbe7f3;
    stroke-width: 2;
}

.chart-label {
    fill: #475569;
    font-size: 13px;
    font-weight: 700;
}

.chart-value {
    fill: #102033;
    font-size: 13px;
    font-weight: 900;
}

.chart-total {
    fill: #102033;
    font-size: 30px;
    font-weight: 900;
}

.chart-empty {
    display: grid;
    min-height: 220px;
    place-content: center;
    gap: 10px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    padding: 20px;
    text-align: center;
}

.chart-empty p {
    margin: 0;
    color: var(--color-muted);
}

.chart-empty a,
.table-link {
    color: #1565c0;
    font-weight: 850;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.freshness-notice,
.freshness-notice-panel {
    border: 1px solid #cbd5e1;
    border-left: 5px solid #64748b;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    padding: 14px 16px;
    font-weight: 800;
}

.freshness-notice {
    margin-bottom: 18px;
}

.freshness-notice-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.freshness-notice-panel h2,
.freshness-notice-panel p {
    margin: 0;
}

.freshness-notice-panel p {
    margin-top: 4px;
    color: #475569;
    font-weight: 600;
}

.admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-row-actions form {
    margin: 0;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.admin-nav a {
    border: 1px solid var(--color-line);
    border-radius: 999px;
    background: #fff;
    color: var(--color-primary-dark);
    padding: 8px 12px;
    font-weight: 850;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.stat-card {
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

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

.stat-card span {
    color: var(--color-muted);
    font-weight: 850;
}

.stat-card strong {
    margin-top: 8px;
    font-size: 2.4rem;
    line-height: 1;
}

.ki-index-as-of {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin: 22px 0 0;
    color: #334155;
    font-weight: 850;
}

.ki-index-as-of span {
    color: var(--color-muted);
    font-weight: 650;
}

.ki-index-low-data {
    max-width: 860px;
    margin: 24px auto 0;
}

.ki-index-honesty strong {
    margin-right: 6px;
}

.ki-index-bar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ki-index-chart-grid {
    align-items: stretch;
}

.ki-index-bar-card {
    display: grid;
    align-content: start;
    gap: 14px;
}

.ki-index-bar-card p {
    margin: 0;
    color: var(--color-muted);
}

.ki-index-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
}

.ki-index-card-head h2,
.ki-index-card-head h3 {
    margin: 0;
}

.ki-index-card-head strong {
    color: #102033;
    font-size: 1.45rem;
    line-height: 1;
}

.ki-index-bar-svg {
    display: block;
    width: 100%;
    height: auto;
}

.ki-index-legend {
    display: grid;
    gap: 8px;
    margin: 0;
}

.ki-index-legend div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ki-index-legend dt,
.ki-index-legend dd {
    margin: 0;
}

.ki-index-legend dt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-weight: 800;
}

.ki-index-legend dd {
    color: #102033;
    font-weight: 850;
}

.ki-index-legend i {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background: var(--legend-color);
}

.ki-index-signal-row {
    display: grid;
    gap: 8px;
    border-top: 1px solid #e3e9f2;
    padding-top: 14px;
}

.inline-admin-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.inline-admin-form select,
.admin-search input {
    min-height: 42px;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    padding: 0 10px;
}

@media (max-width: 1040px) {
    .hero-grid,
    .report-header,
    .report-grid,
    .knowledge-layout,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 620px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .verify-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .score-card {
        position: static;
    }
}

@media (max-width: 780px) {
    .section {
        padding: 58px 0;
    }

    .nav-shell {
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px 0;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .nav-shell > .button {
        margin-left: auto;
    }

    .language-switcher,
    .language-menu {
        margin-left: auto;
    }

    .auth-nav {
        order: 4;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 64px;
    }

    .scan-form-row,
    .cta-band,
    .cta-actions,
    .dashboard-top,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .scan-form input,
    .scan-form .button {
        width: 100%;
    }

    .trust-grid,
    .steps-grid,
    .features-grid,
    .pricing-grid,
    .retention-grid,
    .chart-grid,
    .ki-index-bar-grid,
    .stats-grid,
    .knowledge-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid div {
        border-top: 1px solid var(--color-line);
        border-left: 0;
    }

    .trust-grid div:first-child {
        border-top: 0;
    }

    .console-score {
        align-items: flex-start;
        flex-direction: column;
    }

    .check-row {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .status-badge {
        grid-column: 2;
        justify-self: start;
    }

    .freshness-notice-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .freshness-notice-panel .button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 22px, var(--container));
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    .hero-form,
    .scan-form.compact,
    .score-card,
    .checks-card,
    .empty-state,
    .step-card,
    .feature-card,
    .price-card {
        padding: 18px;
    }

    .score-ring.large {
        width: 150px;
        height: 150px;
    }

    .cta-band {
        padding: 24px;
    }
}

/* Public Alpasana skin */
body.alp {
    --color-bg: #ffffff;
    --color-surface: #ffffff;
    --color-ink: #232434;
    --color-muted: #6e7077;
    --color-line: #e6e9ef;
    --color-primary: #269cd9;
    --color-primary-dark: #1c7cb0;
    --color-violet: #2ea3f2;
    --color-teal: #29b6f6;
    --shadow-sm: 0 4px 14px rgba(35, 36, 52, 0.07);
    --shadow-md: 0 10px 30px rgba(35, 36, 52, 0.1);
    --radius: 14px;
    --radius-sm: 6px;
    --container: 1200px;
    background: #ffffff;
    color: var(--alp-text);
    font-family: var(--alp-font-body);
}

body.alp a:hover {
    color: var(--alp-blue-dark);
}

body.alp .alp-topbar .language-switcher {
    color: rgba(255, 255, 255, .78);
}

body.alp .alp-topbar .language-link.is-active {
    background: rgba(46, 163, 242, .2);
    color: #ffffff;
}

body.alp .alp-topbar .language-menu summary {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
}

body.alp .alp-topbar .language-menu-list {
    border-color: var(--alp-border);
    box-shadow: var(--alp-shadow-sm);
}

body.alp .alp-topbar a:hover {
    color: #ffffff;
}

body.alp h1,
body.alp h2,
body.alp h3,
body.alp h4,
body.alp .section-heading h2,
body.alp .pricing-hero h1,
body.alp .knowledge-hero h1,
body.alp .report-header h1,
body.alp .hero h1 {
    color: var(--alp-heading);
    font-family: var(--alp-font-head);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.alp .eyebrow {
    color: var(--alp-blue-dark);
    font-family: var(--alp-font-head);
    font-weight: 600;
    letter-spacing: .1em;
}

body.alp .button {
    border-radius: var(--alp-radius);
    font-family: var(--alp-font-head);
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

body.alp .button-primary {
    background: var(--alp-blue);
    box-shadow: 0 12px 26px rgba(38, 156, 217, .24);
}

body.alp .button-primary:hover,
body.alp .button-primary:focus-visible {
    background: var(--alp-blue-dark);
    box-shadow: 0 16px 34px rgba(28, 124, 176, .26);
}

body.alp .button-secondary,
body.alp .button-light {
    color: var(--alp-blue-dark);
}

body.alp .logout-form button.alp-btn {
    border: 2px solid var(--alp-blue-dark);
    border-radius: var(--alp-radius);
    padding: 14px 32px;
    color: var(--alp-blue-dark);
    font-family: var(--alp-font-head);
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

body.alp .logout-form button.alp-btn:hover,
body.alp .logout-form button.alp-btn:focus-visible {
    background: var(--alp-blue-dark);
    color: #ffffff;
}

body.alp .hero {
    padding: 92px 0 78px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

body.alp .hero::before {
    background:
        linear-gradient(135deg, rgba(38, 156, 217, .12), rgba(46, 163, 242, .04) 44%, rgba(35, 36, 52, .04)),
        linear-gradient(180deg, #ffffff, rgba(245, 247, 250, 0));
}

body.alp .hero h1 {
    max-width: 800px;
}

body.alp .section-muted {
    background: var(--alp-bg-soft);
}

body.alp .pricing-hero,
body.alp .report-hero,
body.alp .knowledge-hero {
    background: linear-gradient(135deg, rgba(38, 156, 217, .12), rgba(35, 36, 52, .04));
}

body.alp .trust-strip,
body.alp .cta-band {
    background: var(--alp-dark);
}

body.alp .trust-grid div {
    border-color: rgba(255, 255, 255, .14);
}

body.alp .step-card,
body.alp .feature-card,
body.alp .price-card,
body.alp .faq-list details,
body.alp .form-card,
body.alp .legal-card,
body.alp .directory-card,
body.alp .scan-form.compact,
body.alp .score-card,
body.alp .checks-card,
body.alp .locked-card {
    border-color: var(--alp-border);
    border-radius: var(--alp-radius-lg);
    box-shadow: var(--alp-shadow-sm);
}

body.alp .step-card:hover,
body.alp .feature-card:hover,
body.alp .price-card:hover {
    box-shadow: var(--alp-shadow);
}

body.alp .step-number,
body.alp .feature-icon,
body.alp .price-card.highlighted .plan-badge {
    background: var(--alp-blue);
    color: #ffffff;
}

body.alp .price-card.highlighted {
    border-color: var(--alp-blue);
    box-shadow: 0 16px 40px rgba(38, 156, 217, .18);
}

body.alp input,
body.alp select,
body.alp textarea {
    border-radius: var(--alp-radius);
    font-family: var(--alp-font-body);
}

body.alp input:focus,
body.alp select:focus,
body.alp textarea:focus {
    border-color: var(--alp-blue);
    box-shadow: 0 0 0 3px rgba(38, 156, 217, .16);
}

body.alp .alp-footer {
    background: var(--alp-dark);
}

body.alp .alp-footer h4 {
    color: #ffffff;
}

body.alp .alp-footer a:hover {
    color: #ffffff;
}

body.alp .alp-footer p {
    color: rgba(255, 255, 255, .7);
}

body.alp .alp-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

body.alp .legal-card + .legal-card {
    margin-top: 18px;
}

@media (max-width: 700px) {
    body.alp .hero {
        padding: 64px 0 58px;
    }

    body.alp .alp-footer-bottom {
        flex-direction: column;
    }
}

/* ============================================================ ADMIN SYSTEM-CHECK */
.sys-summary { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.sys-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: .8rem; line-height: 1;
    padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.sys-badge.sys-ok { background: #e5f6ec; color: #1b7a43; }
.sys-badge.sys-warn { background: #fdf3d8; color: #8a6100; }
.sys-badge.sys-fail { background: #fde3e3; color: #b02020; }
.sys-section { margin-bottom: 22px; }
.sys-rows { display: flex; flex-direction: column; gap: 2px; }
.sys-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 12px; border-radius: 12px; }
.sys-row + .sys-row { border-top: 1px solid #eef1f6; }
.sys-row-fail { background: #fdf6f6; }
.sys-row .sys-badge { flex: 0 0 auto; min-width: 82px; justify-content: center; }
.sys-row-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sys-row-copy strong { color: #102033; font-size: .96rem; }
.sys-detail { color: #4a5a72; font-size: .88rem; word-break: break-word; }
.sys-hint { color: #8a6100; font-size: .82rem; }
.sys-tests { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sys-test-form { display: flex; gap: 8px; align-items: center; }
.sys-test-form input[type="email"] {
    padding: 9px 12px; border: 1.5px solid #dbe3ee; border-radius: 8px; font-size: .9rem; min-width: 200px;
}
@media (max-width: 640px) {
    .sys-row { flex-direction: column; gap: 8px; }
    .sys-test-form { flex: 1 1 100%; }
    .sys-test-form input[type="email"] { flex: 1; min-width: 0; }
}

/* ============================================================ ALPASANA-FAMILIE */
.family-hero { text-align: center; }
.family-lead {
    max-width: 640px; margin: 0 auto 34px; text-align: center;
    color: #4a5a72; font-size: 1.05rem; line-height: 1.6;
}
.family-grid {
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
.family-card {
    display: flex; flex-direction: column; gap: 10px;
    background: #fff; border: 1px solid #e6e9ef; border-radius: 16px;
    padding: 26px 24px; text-decoration: none; color: inherit;
    box-shadow: 0 4px 14px rgba(35, 36, 52, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.family-card:hover, .family-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(35, 36, 52, .12);
    border-color: #cfe0f4; outline: none;
}
.family-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px; font-size: 1.7rem;
    background: linear-gradient(135deg, #eaf4ff, #eef0ff);
}
.family-card h3 { margin: 0; color: #102033; font-size: 1.2rem; }
.family-tagline { margin: 0; color: #4a5a72; font-size: .95rem; line-height: 1.55; flex: 1; }
.family-link {
    margin-top: 6px; font-weight: 600; font-size: .9rem;
    color: #1565C0; display: inline-flex; align-items: center; gap: 6px;
}
.family-card:hover .family-link { color: #0d47a1; }
.family-cta-row { text-align: center; margin-top: 34px; }
.family-note { text-align: center; color: #8792a4; font-size: .9rem; margin-top: 26px; }
.family-scan-cta { text-align: center; }
.family-scan-cta h2 { margin-bottom: 20px; }

/* ============================================================ MARKETING REFRESH */
body.alp .section {
    padding: 88px 0;
}

body.alp .hero.section {
    padding: 86px 0 74px;
}

body.alp .hero-copy {
    position: relative;
    z-index: 1;
}

body.alp .hero .lead {
    max-width: 740px;
    color: #4e5361;
    font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

body.alp .hero-form {
    max-width: 760px;
    border-radius: 10px;
    border-color: rgba(38, 156, 217, .18);
    box-shadow: 0 18px 42px rgba(35, 36, 52, .1);
}

body.alp .hero-panel {
    position: relative;
}

.hero-panel-caption {
    max-width: 360px;
    margin: 14px auto 0;
    color: #6e7077;
    font-size: .92rem;
    line-height: 1.55;
    text-align: center;
}

body.alp .trust-strip {
    padding: 18px 0;
}

body.alp .trust-grid {
    gap: 12px;
}

body.alp .trust-grid div {
    min-height: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .045);
    padding: 18px 20px;
}

body.alp .trust-grid strong {
    color: #ffffff;
    font-family: var(--alp-font-head);
    font-size: 1rem;
    text-transform: uppercase;
}

body.alp .trust-grid span {
    color: rgba(255, 255, 255, .72);
}

.section-next {
    margin-top: 34px;
    text-align: center;
}

.section-next a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--alp-blue-dark);
    font-weight: 700;
}

.section-next a::after {
    content: "→";
    font-weight: 700;
}

.inline-next {
    margin-top: 18px;
    text-align: left;
}

.pricing-section-next {
    margin-top: 40px;
}

.pricing-microcopy {
    margin: 14px 0 0;
    color: #6e7077;
    font-size: .9rem;
    line-height: 1.45;
}

body.alp .price-card.highlighted .pricing-microcopy {
    color: #4d5664;
}

.pricing-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.pricing-hero-actions span {
    color: #6e7077;
    font-size: .94rem;
}

body.alp .pricing-note {
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

body.alp .pricing-note h2,
body.alp .pricing-note p {
    margin: 0;
}

.cta-checklist {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.cta-checklist li {
    position: relative;
    padding-left: 24px;
    color: rgba(255, 255, 255, .84);
}

.cta-checklist li::before {
    position: absolute;
    left: 0;
    color: #7fdbff;
    content: "✓";
}

.cta-actions .button {
    flex-direction: column;
    gap: 2px;
}

.cta-actions .button span {
    display: block;
    font-family: var(--alp-font-body);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    opacity: .78;
}

.family-scan-cta {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.family-scan-cta h2,
.family-scan-cta p {
    margin: 0;
}

.family-scan-cta p {
    max-width: 660px;
    color: #5f6571;
    font-size: 1.04rem;
    line-height: 1.65;
}

.sticky-scan-cta {
    position: fixed;
    right: 0;
    bottom: 18px;
    left: 0;
    z-index: 55;
    pointer-events: none;
    transform: translateY(140%);
    transition: transform .22s ease;
}

.sticky-scan-cta.is-visible {
    transform: translateY(0);
}

.sticky-scan-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(100% - 32px, 920px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: rgba(35, 36, 52, .96);
    color: #ffffff;
    padding: 12px 14px 12px 18px;
    box-shadow: 0 18px 44px rgba(35, 36, 52, .28);
    pointer-events: auto;
}

.sticky-scan-cta-inner > span {
    font-weight: 600;
    line-height: 1.35;
}

.sticky-scan-cta-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.sticky-scan-cta-dismiss {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
}

.sticky-scan-cta-dismiss:hover,
.sticky-scan-cta-dismiss:focus-visible {
    background: rgba(255, 255, 255, .1);
}

.sticky-scan-cta-dismiss:focus-visible,
.section-next a:focus-visible {
    outline: 3px solid rgba(38, 156, 217, .36);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .sticky-scan-cta,
    body.alp .button,
    .family-card {
        transition: none;
    }
}

@media (max-width: 820px) {
    body.alp .section {
        padding: 68px 0;
    }

    body.alp .hero.section {
        padding: 48px 0 58px;
    }

    body.alp .hero h1 {
        font-size: clamp(2.25rem, 12vw, 3.55rem);
    }

    body.alp .hero-form {
        margin-top: 24px;
        padding: 14px;
    }

    .scan-form-row,
    .pricing-hero-actions,
    .cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .scan-form-row .button,
    .pricing-hero-actions .button,
    .cta-actions .button {
        width: 100%;
    }

    .hero-panel-caption {
        max-width: none;
    }

    .sticky-scan-cta {
        bottom: 10px;
    }

    .sticky-scan-cta-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .sticky-scan-cta-actions,
    .sticky-scan-cta-actions .button {
        width: 100%;
    }

    .sticky-scan-cta-dismiss {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
    }

    .sticky-scan-cta-inner > span {
        padding-right: 38px;
    }
}

@media (max-width: 420px) {
    body.alp .hero.section {
        padding-top: 38px;
    }

    body.alp .hero .lead {
        margin-top: 16px;
        font-size: 1.02rem;
    }

    body.alp .hero-form {
        margin-top: 18px;
    }
}

/* ============================================================
   KI-Empfehlungen: formatiertes Markdown der KI-Tipps
   ============================================================ */
.ai-tip-content {
    background: #f8fafd;
    border: 1px solid #e3e9f2;
    border-radius: 14px;
    padding: 22px 26px;
    margin: 14px 0 6px;
    line-height: 1.65;
    color: #22344a;
    overflow-x: auto;
}
.ai-tip-content h3,
.ai-tip-content h4,
.ai-tip-content h5 {
    margin: 1.2em 0 0.45em;
    line-height: 1.3;
    color: #102033;
}
.ai-tip-content h3:first-child,
.ai-tip-content h4:first-child,
.ai-tip-content h5:first-child {
    margin-top: 0;
}
.ai-tip-content h3 { font-size: 1.2rem; }
.ai-tip-content h4 {
    font-size: 1.05rem;
    padding-top: 0.7em;
    border-top: 1px solid #e3e9f2;
}
.ai-tip-content h5 { font-size: 0.98rem; }
.ai-tip-content p { margin: 0.55em 0; }
.ai-tip-content ul,
.ai-tip-content ol {
    margin: 0.55em 0 0.9em;
    padding-left: 1.5em;
}
.ai-tip-content li { margin: 0.3em 0; }
.ai-tip-content strong { color: #102033; }
.ai-tip-content code {
    background: #eef2f9;
    border: 1px solid #dde5f0;
    border-radius: 6px;
    padding: 0.1em 0.4em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
    word-break: break-word;
}
.ai-tip-content pre {
    background: #102033;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 0.7em 0 1em;
    overflow-x: auto;
}
.ai-tip-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: #dbe7f5;
    font-size: 0.85rem;
    line-height: 1.55;
    white-space: pre;
    word-break: normal;
}

/* ============================================================
   KI-Crawler-Radar (Dashboard): alle Bots inkl. "noch nicht gesehen"
   ============================================================ */
.crawler-radar {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.crawler-radar li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 0.92rem;
}
.crawler-radar li:nth-child(odd) {
    background: #f7fafd;
}
.crawler-radar .radar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
}
.crawler-radar li.is-seen .radar-dot {
    background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}
.crawler-radar li.is-waiting .radar-dot {
    background: #c3cedd;
}
.crawler-radar .radar-bot {
    font-weight: 700;
    color: #102033;
    min-width: 132px;
}
.crawler-radar li.is-waiting .radar-bot {
    color: #5d6f88;
    font-weight: 600;
}
.crawler-radar .radar-status {
    color: #5d6f88;
    margin-left: auto;
    text-align: right;
}
.crawler-radar li.is-seen .radar-status {
    color: #14532d;
}

/* Score-Donut: weichere Optik */
.score-donut-bg {
    stroke: #edf2f9;
}
.score-donut-value {
    filter: drop-shadow(0 1px 2px rgba(16, 32, 51, 0.18));
}

.crawler-radar li.crawler-radar-group-title {
    display: block;
    margin: 12px 0 3px;
    padding: 4px 2px;
    background: transparent;
    color: #6b7788;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.kiwissen-callout {
    max-width: 920px;
    margin: 0 auto 22px;
    padding: 14px 18px;
    border: 1px solid #b7d8ff;
    border-radius: 8px;
    background: #eef6ff;
    color: #123c7a;
    font-weight: 800;
    line-height: 1.55;
}

.kiwissen-card.is-live {
    border-color: #1565c0;
    box-shadow: 0 20px 48px rgba(21, 101, 192, 0.14);
}

.kiwissen-card.is-live .feature-icon {
    background: #1565c0;
    color: #ffffff;
}

.kiwissen-honesty {
    max-width: 860px;
    margin: 18px auto 0;
    text-align: center;
}

/* Eigenes KI-Console-Badge im Footer */
.footer-badge { display: inline-block; margin-top: 14px; }
.footer-badge img { display: block; height: 36px; width: auto; }

/* Round 1: mobile console, quality checks, branding and print */
.print-only {
    display: none;
}

.scan-lead-panel,
.print-report-action,
.open-recommendations-summary,
.quality-hints,
.mail-brand-preview {
    border: 1px solid #dbe7f3;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(22, 42, 70, 0.07);
    padding: 18px;
    margin-bottom: 18px;
}

.scan-score-sentence {
    margin: 0 0 10px;
    color: #102033;
    font-size: 1.05rem;
    font-weight: 850;
}

.next-action {
    border-left: 4px solid var(--brand-accent, #269cd9);
    padding-left: 14px;
}

.next-action span,
.quality-hints-head span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.next-action strong,
.next-action p {
    display: block;
    margin: 4px 0 0;
}

.next-action p {
    color: #475569;
}

.technical-details {
    margin-top: 6px;
}

.technical-details summary {
    color: #1565c0;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 850;
}

.locked-detail {
    color: #64748b;
    font-style: italic;
}

.quality-hints-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.quality-hints h3,
.quality-hints p {
    margin: 0;
}

.quality-hints ul,
.open-recommendations-summary ul {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.quality-hints li,
.open-recommendations-summary li {
    border-top: 1px solid #e3e9f2;
    padding-top: 10px;
}

.quality-hints li strong,
.quality-hints li span,
.open-recommendations-summary li strong,
.open-recommendations-summary li span {
    display: block;
}

.quality-hints li span,
.open-recommendations-summary li span {
    margin-top: 3px;
    color: #475569;
}

.quality-hints.is-locked {
    background: #f8fafc;
}

.locked-preview .blurred {
    filter: blur(3px);
    user-select: none;
    pointer-events: none;
}

.tip-card p,
.tip-card code,
.ai-tip-content,
.check-copy small,
.open-recommendations-summary,
.quality-hints {
    overflow-wrap: anywhere;
}

.print-report-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.print-report-action p {
    flex: 1 1 260px;
    margin: 0;
    color: #475569;
}

.report-branding,
.mail-brand-preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.report-branding {
    margin: 0 0 10px;
    color: #334155;
    font-weight: 850;
}

.report-branding img,
.mail-brand-preview-header img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.mail-brand-preview-header {
    border-top: 4px solid var(--brand-accent, #269cd9);
    background: #232434;
    color: #ffffff;
    padding: 18px;
}

.mail-brand-preview p {
    margin: 14px 0 0;
    color: #475569;
}

@media (max-width: 940px) {
    .console-nav.is-open {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }
}

@media (max-width: 640px) {
    .dashboard-website-grid .website-summary-card {
        min-height: auto;
    }

    .mobile-stack-table {
        min-width: 0;
    }

    .mobile-stack-table thead {
        display: none;
    }

    .mobile-stack-table,
    .mobile-stack-table tbody,
    .mobile-stack-table tr,
    .mobile-stack-table td {
        display: block;
        width: 100%;
    }

    .mobile-stack-table tr {
        border: 1px solid var(--color-line);
        border-radius: 12px;
        background: #ffffff;
        margin-bottom: 12px;
        padding: 10px 12px;
    }

    .mobile-stack-table td {
        border-bottom: 0;
        padding: 8px 0;
    }

    .mobile-stack-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: var(--color-muted);
        font-size: 0.74rem;
        font-weight: 900;
        text-transform: uppercase;
    }
}

.intro-box h2,
.visibility-honesty-box h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.visibility-honesty-box {
    border-left: 4px solid var(--color-primary, #1565c0);
}

.team-badge {
    margin-left: 6px;
}

.feature-teaser-card {
    display: grid;
    gap: 10px;
}

.suggestion-list,
.visibility-prompt-list,
.timeline-list {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
}

.suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--color-border, #dce4ef);
    border-radius: 8px;
    background: #fff;
}

.suggestion-item span {
    overflow-wrap: anywhere;
}

.visibility-prompt-card {
    display: grid;
    gap: 16px;
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    display: grid;
    grid-template-columns: minmax(130px, 180px) minmax(110px, 1fr);
    gap: 8px 14px;
    align-items: start;
    padding: 12px 0;
    border-top: 1px solid var(--color-border, #dce4ef);
}

.timeline-list li:first-child {
    border-top: 0;
}

.timeline-list li.is-positive strong {
    color: #127a4a;
}

.timeline-list details {
    grid-column: 1 / -1;
}

.visibility-prompt-card textarea,
.suggestion-item button {
    min-width: 0;
}

@media (max-width: 640px) {
    .suggestion-item {
        align-items: stretch;
        flex-direction: column;
    }

    .timeline-list li {
        grid-template-columns: 1fr;
    }
}

/* Public report conversion layer */
.report-context {
    max-width: 62ch;
    color: var(--color-muted);
}

.score-benchmark,
.report-visitor-cta {
    border: 1px solid #dbe7f3;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(22, 42, 70, 0.07);
    padding: 18px;
    margin: 20px 0 18px;
}

.score-benchmark h2 {
    margin: 0 0 14px;
}

.score-benchmark ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.score-benchmark .benchmark-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border: 1px solid var(--color-line);
    border-left-width: 4px;
    border-radius: var(--radius-sm);
    color: var(--color-muted);
    padding: 10px 12px;
}

.benchmark-range {
    border-radius: 999px;
    background: var(--color-bg);
    padding: 5px 10px;
    font-size: 0.82rem;
    font-weight: 900;
}

.score-benchmark .benchmark-row.is-current {
    color: var(--color-ink);
}

.score-benchmark .band-good {
    border-left-color: var(--color-green);
}

.score-benchmark .band-good.is-current {
    background: var(--color-green-bg);
}

.score-benchmark .band-warning {
    border-left-color: var(--color-yellow);
}

.score-benchmark .band-warning.is-current {
    background: var(--color-yellow-bg);
}

.score-benchmark .band-danger {
    border-left-color: var(--color-red);
}

.score-benchmark .band-danger.is-current {
    background: var(--color-red-bg);
}

.report-visitor-cta {
    border-left: 4px solid var(--brand-accent, var(--color-primary));
}

.report-visitor-cta h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.report-visitor-cta > p {
    max-width: 62ch;
    margin: 0;
    color: #475569;
}

.report-visitor-cta .scan-form {
    max-width: 640px;
    margin-top: 14px;
}

.report-visitor-cta-register {
    display: inline-block;
    margin-top: 12px;
    color: var(--color-muted);
    font-weight: 700;
    text-decoration: underline;
}

.report-footer-credit a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .score-benchmark .benchmark-row {
        grid-template-columns: 1fr;
    }
}

/* Beispieldaten-Kennzeichnung im KI-Index: Vorschau unterhalb der
   Mindest-Stichprobe wird überall sichtbar als Demo markiert. */
.ki-index-demo-badge {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ki-index-demo-note {
    margin-top: 14px;
}

@media print {
    /* Randlos drucken: ohne Seitenrand rendert der Browser KEINE eigenen
       Kopf-/Fusszeilen (Seitentitel + URL). Die Dokumentränder übernimmt
       das body-Padding. */
    @page {
        size: A4;
        margin: 0;
    }

    html,
    body {
        background: #ffffff !important;
        margin: 0 !important;
    }

    body {
        color: #1f2937 !important;
        padding: 16mm 15mm !important;
        font-size: 10.5pt;
        line-height: 1.55;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .site-header,
    .alp-topbar,
    .alp-header,
    .site-footer,
    .alp-footer,
    .console-sidebar,
    .console-page-header,
    .toast-stack,
    .print-report-action,
    .freshness-notice-panel,
    .freshness-notice,
    .language-menu,
    .cta-band,
    .share-row,
    .report-context,
    .score-benchmark,
    .score-card-cta,
    .report-visitor-cta {
        display: none !important;
    }

    body.page-dashboard .console-layout,
    body.page-dashboard .console-main,
    body.page-scan .report-section,
    body.page-scan .report-section .container {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-dashboard .console-main > *:not(.print-report-area),
    body.page-scan .report-section .container > *:not(.print-report-area) {
        display: none !important;
    }

    .print-report-area,
    .print-only {
        display: block !important;
    }

    /* Dokumentkopf: Logo + Marke links, Scan-Datum rechts, Akzentlinie */
    .print-report-header {
        display: flex !important;
        align-items: center;
        gap: 14px;
        border-bottom: 3px solid var(--brand-accent, #269CD9);
        padding-bottom: 14px;
        margin-bottom: 20px;
    }

    .print-report-header img {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .print-report-header strong {
        display: block;
        font-size: 13pt;
        color: #111827;
    }

    .print-report-header > div > span {
        display: block;
        color: #6b7280;
        font-size: 9.5pt;
    }

    .print-report-date {
        margin-left: auto;
        color: #6b7280;
        font-size: 9pt;
        text-align: right;
    }

    .report-header {
        display: block !important;
        margin-bottom: 14px;
    }

    .report-header .eyebrow {
        color: var(--brand-accent, #269CD9) !important;
        font-size: 8.5pt;
        letter-spacing: 0.14em;
        margin-bottom: 2px;
    }

    .report-header h1 {
        font-size: 21pt;
        color: #111827;
        margin: 0;
    }

    /* Marke steht bereits im Dokumentkopf */
    .report-branding {
        display: none !important;
    }

    .report-grid,
    .settings-grid,
    .tips-grid,
    .chart-grid {
        display: block !important;
    }

    .score-card,
    .checks-card,
    .tip-card,
    .scan-lead-panel,
    .open-recommendations-summary,
    .quality-hints {
        border: 1px solid #e5e7eb !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
        margin: 0 0 14px !important;
        padding: 16px 18px !important;
        background: #ffffff !important;
    }

    .scan-lead-panel {
        background: #f8fafc !important;
        border: none !important;
        border-left: 4px solid var(--brand-accent, #269CD9) !important;
        border-radius: 0 10px 10px 0 !important;
    }

    .section,
    .tips-section {
        padding: 0 !important;
    }

    /* Score-Karte: farbiger Donut links, Titel + Zusammenfassung rechts.
       Grid statt Flex, weil Donut/h2/p direkte Kinder der Karte sind. */
    .score-card {
        position: static !important;
        display: grid !important;
        grid-template-columns: 84px minmax(0, 1fr);
        column-gap: 18px;
        align-items: center;
        text-align: left !important;
    }

    .score-donut {
        width: 84px !important;
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .score-card h2 {
        grid-column: 2;
        grid-row: 1;
        margin: 0 0 4px;
        font-size: 12pt;
        align-self: end;
    }

    .score-card p {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        color: #374151;
        align-self: start;
    }

    .score-donut svg {
        display: block !important;
    }

    /* Lade-Animation im Druck einfrieren: sofort den Endzustand zeigen,
       sonst druckt der Browser den leeren Start-Ring. */
    .score-donut-value {
        animation: none !important;
        stroke-dashoffset: var(--score-offset) !important;
    }

    .score-donut span {
        color: #111827 !important;
        font-size: 1.25rem !important;
    }

    .check-category,
    .technical-details {
        display: block !important;
    }

    .checks-card h2,
    .open-recommendations-summary h2 {
        font-size: 12pt;
        margin-top: 0;
    }

    .check-category {
        margin-top: 10pt;
    }

    .check-row {
        grid-template-columns: 26px minmax(0, 1fr) auto !important;
        border-color: #eef2f7 !important;
        background: #ffffff !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* Ampel-Punkte behalten ihre Farben (print-color-adjust: exact) */
    .check-status {
        width: 20px !important;
        height: 20px !important;
        font-size: 8pt !important;
    }

    .status-green,
    .status-yellow,
    .status-red {
        background: #ffffff !important;
    }

    .code-box,
    pre {
        white-space: pre-wrap !important;
        overflow: visible !important;
        color: #111827 !important;
        background: #f9fafb !important;
    }

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

    .report-footer-credit {
        margin-top: 18px;
        padding-top: 10px;
        border-top: 1px solid #e5e7eb;
        color: #9ca3af !important;
        font-size: 8.5pt;
        text-align: right;
    }

    .report-footer-credit::after {
        content: " - ki-console.com";
    }
}

/* ============================================================
   Ukrainische Seiten (html[lang="uk"]): typografischer Feinschliff,
   damit die kyrillische Umsetzung visuell mit der deutschen Seite
   gleichzieht. style.css wird zuletzt geladen -> diese Regeln gewinnen.
   ============================================================ */

/* Oswald 700 laeuft schwerer/schwaerzer als Rajdhani 700 -> Ueberschriften
   auf 600 (visuell ~ Rajdhani 700). */
html[lang="uk"] body.alp h1,
html[lang="uk"] body.alp h2,
html[lang="uk"] body.alp h3,
html[lang="uk"] body.alp h4,
html[lang="uk"] .hero h1,
html[lang="uk"] .pricing-hero h1,
html[lang="uk"] .knowledge-hero h1,
html[lang="uk"] .section-heading h2,
html[lang="uk"] .report-header h1 {
    font-weight: 600;
}

/* Kondensierte kyrillische Versalien: etwas Laufweite + Zeilenhoehe fuer
   mehrzeilige Titel. */
html[lang="uk"] .hero h1,
html[lang="uk"] .pricing-hero h1,
html[lang="uk"] .knowledge-hero h1,
html[lang="uk"] .section-heading h2,
html[lang="uk"] .report-header h1 {
    letter-spacing: .015em;
    line-height: 1.14;
}

/* Laengere UA-Beschriftungen duerfen umbrechen statt zu ueberlaufen. */
html[lang="uk"] .button {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Hero-Scan-Reihe: bei Platzmangel umbrechen, damit ein langer Button das
   URL-Feld nicht zusammenquetscht (DE-Text ist kurz -> bleibt einzeilig). */
.scan-form-row {
    flex-wrap: wrap;
}

.scan-form-row input {
    flex: 1 1 260px;
}

.scan-form-row .button {
    flex: 0 1 auto;
    white-space: normal;
    hyphens: auto;
}

/* Plan-CTA-Buttons: lange UA-Texte kontrolliert umbrechen; fuer UA kartenbreit,
   damit das Kartenraster ruhig bleibt. */
.price-card .button {
    white-space: normal;
    hyphens: auto;
}

html[lang="uk"] .price-card .button {
    width: 100%;
}

/* Breiteres UA-"Empfohlen"-Badge etwas kompakter. */
html[lang="uk"] .popular-badge {
    font-size: .72rem;
    padding: 5px 8px;
}

/* Vergleichstabelle: ueberbreite zusammengesetzte UA-Tokens abfangen
   (Container scrollt bereits horizontal; nur Absicherung). */
html[lang="uk"] .pricing-comparison-table th:first-child {
    overflow-wrap: anywhere;
}

/* Tracker-Versionsstatus (crawler-nachweis.php). */
.tracker-version-ok {
    color: var(--color-green);
    font-weight: 700;
    margin: 6px 0;
}

.tracker-code-details {
    margin-top: 12px;
}

.tracker-code-details summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary);
}

.tracker-code-box {
    width: 100%;
    margin-top: 8px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: .8rem;
    line-height: 1.5;
    white-space: pre;
    overflow-x: auto;
    resize: vertical;
}

/* WordPress-Plugin-Callout auf der Tracker-Installationsseite. */
.tracker-wp {
    margin: 16px 0;
    padding: 18px 20px;
    border: 1px solid var(--color-line);
    border-left: 4px solid var(--color-primary);
    border-radius: 12px;
    background: var(--color-bg);
}

.tracker-wp h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.tracker-wp p {
    margin: 0 0 12px;
}

.tracker-wp .button {
    margin-bottom: 8px;
}
