/* =========================================================================
   Chili Holding | SEO-Check  ·  CI-konformes Stylesheet
   Farben, Font, Cards & Buttons entsprechen der Marken-CSS.
   ========================================================================= */

:root {
    --cc-red: #BF1D1D;
    --cc-red-alt: #BE1E1E;
    --cc-dark: #4D4C4B;
    --cc-gray: #6D666C;
    --cc-green: #257D3D;
    --cc-line: #CECECE;
    --cc-soft: #F3F3F3;
    --shadow-default: 4px 4px 25px 10px rgba(0, 0, 0, 0.05);
    --radius: 15px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    color: var(--cc-dark);
    background: linear-gradient(to top, #F3ECE6 0%, #FFFFFF 100%);
    min-height: 100vh;
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 600;
}

h3 {
    color: var(--cc-dark);
    font-size: 16px;
}

.wrap {
    margin: 0 auto;
    width: 1200px;
    max-width: 90%;
}

/* ---------- Header ---------- */
header.cc-header {
    background: #fff;
    padding: 22px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
    position: sticky;
    top: 0;
    z-index: 999;
}

.cc-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header-logo {
    width: 180px;
    height: auto;
    display: block;
}

.cc-header .tool-badge {
    font-size: 13px;
    color: var(--cc-gray);
    border: .5px solid var(--cc-gray);
    border-radius: 30px;
    padding: 6px 15px;
    background: var(--cc-soft);
    white-space: nowrap;
}

/* ---------- Hero / Eingabe ---------- */
.seo-hero {
    padding: 70px 0 40px;
    text-align: center;
}

.seo-hero .eyebrow {
    color: var(--cc-green);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.seo-hero h1 {
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 16px;
}

.seo-hero h1 span {
    color: var(--cc-red);
}

.seo-hero p.lead {
    font-size: 17px;
    color: var(--cc-dark);
    max-width: 640px;
    margin: 0 auto 34px;
    font-weight: 350;
}

.seo-form {
    display: flex;
    gap: 12px;
    max-width: 660px;
    margin: 0 auto;
    background: #fff;
    padding: 12px;
    border-radius: 40px;
    box-shadow: var(--shadow-default);
}

.seo-form input[type="url"],
.seo-form input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 30px;
    color: var(--cc-dark);
    background: transparent;
    font-family: inherit;
    font-weight: 300;
    min-width: 0;
}

.seo-form input::placeholder {
    color: #9a9599;
}

.button {
    background-color: var(--cc-red);
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 30px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background-color .3s ease;
}

.button:hover {
    background-color: var(--cc-dark);
}

.button:disabled {
    opacity: .6;
    cursor: default;
}

.button.secondary {
    background-color: var(--cc-dark);
}

.button.secondary:hover {
    background-color: var(--cc-red);
}

.form-hint {
    font-size: 12.5px;
    color: var(--cc-gray);
    margin-top: 14px;
}

/* ---------- Statuszeilen ---------- */
.seo-status {
    text-align: center;
    margin: 30px auto;
    max-width: 660px;
}

.seo-error {
    background: #fff;
    border-left: 4px solid var(--cc-red);
    border-radius: 12px;
    padding: 18px 22px;
    text-align: left;
    box-shadow: var(--shadow-default);
    color: var(--cc-dark);
    font-size: 15px;
}

/* ---------- Loader ---------- */
.seo-loader {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 40px 0;
}

.seo-loader.active {
    display: flex;
}

.seo-spinner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 4px solid rgba(191, 29, 29, .15);
    border-top-color: var(--cc-red);
    animation: cc-spin 0.9s linear infinite;
}

@keyframes cc-spin {
    to {
        transform: rotate(360deg);
    }
}

.seo-loader .loader-text {
    color: var(--cc-gray);
    font-size: 14px;
}

/* =========================================================================
   Ergebnis
   ========================================================================= */
.seo-results {
    display: none;
    padding-bottom: 90px;
}

.seo-results.active {
    display: block;
}

/* Score-Panel */
.score-panel {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-default);
    padding: 40px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.score-url {
    font-size: 13px;
    color: var(--cc-gray);
    word-break: break-all;
    margin-bottom: 4px;
}

.score-url strong {
    color: var(--cc-dark);
    font-weight: 600;
}

/* Gauge */
.gauge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gauge {
    position: relative;
    width: 220px;
    height: 220px;
}

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

.gauge .track {
    fill: none;
    stroke: #EDE9E5;
    stroke-width: 16;
}

.gauge .value {
    fill: none;
    stroke-width: 16;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.4s cubic-bezier(.16, 1, .3, 1), stroke .8s ease;
}

.gauge .readout {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gauge .num {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
}

.gauge .max {
    font-size: 14px;
    color: var(--cc-gray);
    margin-top: 2px;
}

.gauge-grade {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 600;
}

/* Kategorie-Balken */
.cat-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cat-bar-row {
    display: grid;
    grid-template-columns: 190px 1fr 46px;
    align-items: center;
    gap: 14px;
    width: 100%;
    background: none;
    border: none;
    padding: 6px 8px;
    margin: 0 -8px;
    border-radius: 10px;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}

.cat-bar-row:hover {
    background: #F7F3EF;
}

.cat-bar-row:hover .cat-bar-label {
    color: var(--cc-red);
}

.cat-bar-label {
    font-size: 14px;
    color: var(--cc-dark);
    font-weight: 500;
}

.cat-bar-track {
    display: block;
    height: 10px;
    background: #EDE9E5;
    border-radius: 6px;
    overflow: hidden;
}

.cat-bar-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 6px;
    transition: width 1.2s cubic-bezier(.16, 1, .3, 1);
}

.cat-bar-score {
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

/* Deckel-Hinweis */
.cap-banner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border-left: 4px solid var(--cc-red);
    border-radius: var(--radius);
    box-shadow: var(--shadow-default);
    padding: 18px 22px;
    margin-bottom: 26px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--cc-dark);
}

.cap-banner .cap-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(191, 29, 29, .10);
    color: var(--cc-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.cap-banner em {
    color: var(--cc-red);
    font-style: normal;
    font-weight: 600;
}

.cap-banner .cap-base {
    display: block;
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--cc-gray);
}

/* Zusammenfassungs-Chips */
.summary-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
    justify-content: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 30px;
    padding: 9px 18px;
    font-size: 13.5px;
    box-shadow: var(--shadow-default);
    color: var(--cc-dark);
}

.chip .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot.good {
    background: var(--cc-green);
}

.dot.warn {
    background: #E0A400;
}

.dot.error {
    background: var(--cc-red);
}

.dot.info {
    background: var(--cc-gray);
}

/* Ergebnisse werden direkt angezeigt – kein Aufklapp-Gate mehr */
.details-section {
    margin: 0 -40px;
}

.details-inner {
    padding: 30px 40px 0;
}

.details-inner h2 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 6px;
}

.details-sub {
    text-align: center;
    color: var(--cc-gray);
    font-size: 14px;
    margin-bottom: 34px;
}

/* Empfehlungs-Cards */
.rec-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 50px;
}

.rec-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-default);
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    border-left: 4px solid transparent;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease;
}

.rec-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.rec-card.status-error {
    border-left-color: var(--cc-red);
}

.rec-card.status-warn {
    border-left-color: #E0A400;
}

.rec-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.rec-icon.status-error {
    background: rgba(191, 29, 29, .10);
    color: var(--cc-red);
}

.rec-icon.status-warn {
    background: rgba(224, 164, 0, .14);
    color: #B98300;
}

.rec-body h4 {
    font-size: 16px;
    margin: 2px 0 6px;
    color: var(--cc-dark);
}

.rec-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.rec-cat {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--cc-gray);
    background: var(--cc-soft);
    padding: 3px 10px;
    border-radius: 20px;
}

.rec-value {
    font-size: 12.5px;
    color: var(--cc-gray);
}

.rec-body p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #555;
}

/* KI-/LLM-Empfehlungen: bewusst zurückhaltender, sekundärer Block */
.geo-rec-block {
    margin: -18px 0 50px;
    padding: 26px 28px 6px;
    background: #FAF7F4;
    border: 1px dashed var(--cc-line);
    border-radius: var(--radius);
}

.geo-rec-head {
    font-size: 15px;
    font-weight: 600;
    color: var(--cc-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.geo-rec-head span {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--cc-gray);
    background: #fff;
    border: 1px solid var(--cc-line);
    padding: 2px 9px;
    border-radius: 20px;
}

.geo-rec-sub {
    font-size: 13.5px;
    color: var(--cc-gray);
    line-height: 1.55;
    margin-bottom: 20px;
}

.geo-rec-block .rec-list {
    margin-bottom: 20px;
}

.geo-rec-block .rec-card {
    box-shadow: none;
    border: 1px solid var(--cc-line);
}

/* Detail-Tabellen je Kategorie */
.cat-detail {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-default);
    padding: 26px 28px;
    margin-bottom: 20px;
    scroll-margin-top: 100px;
    transition: box-shadow .4s ease, transform .4s ease;
}

.cat-detail.cat-flash {
    box-shadow: 0 0 0 2px var(--cc-red), var(--shadow-default);
}

.cat-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 16px;
}

.cat-detail-head h3 {
    font-size: 17px;
    font-weight: 600;
}

.cat-detail-head .cat-score-pill {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    color: #fff;
}

.check-row {
    border-bottom: 1px solid #eee;
}

.check-row:last-child {
    border-bottom: none;
}

.check-head {
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    cursor: default;
    display: grid;
    grid-template-columns: 26px 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    text-align: left;
    color: inherit;
}

.check-row.has-info .check-head {
    cursor: pointer;
}

.check-row.has-info .check-head:hover .check-title {
    color: var(--cc-red);
}

.check-head .ci {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-block;
}

.ci.good {
    background: var(--cc-green);
}

.ci.warn {
    background: #E0A400;
}

.ci.error {
    background: var(--cc-red);
}

.ci.info {
    background: var(--cc-gray);
}

.check-title {
    font-size: 14.5px;
    color: var(--cc-dark);
}

.check-value {
    font-size: 13px;
    color: var(--cc-gray);
    text-align: right;
    max-width: 320px;
}

.check-chevron {
    font-size: 12px;
    color: var(--cc-gray);
    transition: transform .3s ease;
}

.check-row.open .check-chevron {
    transform: rotate(180deg);
}

/* ausklappbare Erklärung */
.check-info {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.check-row.open .check-info {
    max-height: 400px;
}

.check-info p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 10px 38px;
    padding-right: 10px;
}

.check-info p:first-child {
    padding-top: 2px;
}

.check-info p:last-child {
    margin-bottom: 14px;
}

.check-what strong {
    color: var(--cc-dark);
}

.check-todo strong {
    color: var(--cc-red);
}

/* Bild-Vorschau fehlender Alt-Texte */
.alt-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 4px 0 6px 38px;
    padding-right: 10px;
}

.rec-body .alt-gallery {
    margin-left: 0;
    margin-top: 12px;
}

.alt-thumb {
    width: 88px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.alt-thumb-img {
    display: block;
    width: 88px;
    height: 66px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E7DFD8;
    background: #F3ECE6 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="%236D666C" stroke-width="1.5"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="8.5" cy="8.5" r="1.5"/><path d="M21 15l-5-5L5 21"/></svg>') center/24px no-repeat;
}

.alt-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.alt-thumb.broken .alt-thumb-img img {
    display: none;
}

.alt-thumb figcaption {
    font-size: 11px;
    color: var(--cc-gray);
    line-height: 1.3;
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.alt-more {
    font-size: 12.5px;
    color: var(--cc-gray);
    margin: 2px 0 6px 38px;
}

.rec-body .alt-more {
    margin-left: 0;
}

.result-actions {
    text-align: center;
    margin-top: 30px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Call-to-Action unter den Ergebnissen – ruhig, hell, dezenter roter Akzent */
.seo-cta {
    margin-top: 40px;
    background: #fff;
    border: 1px solid var(--cc-line);
    border-top: 3px solid var(--cc-red);
    border-radius: var(--radius);
    box-shadow: var(--shadow-default);
    overflow: hidden;
}

.seo-cta-inner {
    padding: 40px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.seo-cta .cta-eyebrow {
    display: inline-block;
    color: var(--cc-red);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.seo-cta h2 {
    color: var(--cc-dark);
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.seo-cta p {
    color: var(--cc-gray);
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 26px;
    font-weight: 350;
}

.seo-cta .cta-btn {
    display: inline-block;
    background: var(--cc-red);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    padding: 14px 30px;
    border-radius: 30px;
    transition: background-color .3s ease;
}

.seo-cta .cta-btn:hover {
    background: var(--cc-dark);
}

/* Einwilligung unter dem Prüfformular – custom Checkbox */
.consent-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 560px;
    margin: 20px auto 0;
    text-align: left;
    font-size: 13px;
    color: var(--cc-gray);
    line-height: 1.55;
    cursor: pointer;
}

.consent-check input {
    appearance: none;
    -webkit-appearance: none;
    margin: 1px 0 0;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 1.5px solid var(--cc-line);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color .2s ease, background-color .2s ease;
}

.consent-check input:hover {
    border-color: var(--cc-red);
}

.consent-check input:checked {
    background-color: var(--cc-red);
    border-color: var(--cc-red);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="white" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M3.5 8.5l3 3 6-7"/></svg>');
    background-size: 13px;
    background-position: center;
    background-repeat: no-repeat;
}

.consent-check input:focus-visible {
    outline: 2px solid rgba(191, 29, 29, .4);
    outline-offset: 2px;
}

.consent-check a {
    color: var(--cc-red);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color .2s ease;
}

.consent-check a:hover {
    color: var(--cc-dark);
}

/* Footer */
.cc-footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 30px 0;
    margin-top: 40px;
}

.cc-footer .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.cc-footer p {
    font-size: 13px;
    color: var(--cc-gray);
}

.cc-footer a {
    color: var(--cc-red);
    text-decoration: none;
}

.cc-footer a:hover {
    text-decoration: underline;
}

.cc-footer img {
    height: 34px;
}

/* ---------- Print ---------- */
@media print {

    .seo-hero,
    .cc-header .tool-badge,
    .result-actions,
    .seo-form,
    .cc-footer a,
    .seo-cta {
        display: none;
    }

    body {
        background: #fff;
    }

    .score-panel,
    .rec-card,
    .cat-detail {
        box-shadow: none;
        border: 1px solid #eee;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .score-panel {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gauge-wrap {
        margin: 0 auto;
    }

    .cat-bar-row {
        grid-template-columns: 120px 1fr 40px;
        gap: 10px;
    }

    .cat-bar-label {
        font-size: 12.5px;
    }
}

@media (max-width: 620px) {
    .seo-hero h1 {
        font-size: 25px;
    }

    .seo-hero {
        padding: 40px 0 26px;
    }

    .seo-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 14px;
    }

    .seo-form input {
        text-align: center;
    }

    .button {
        justify-content: center;
    }

    #header-logo {
        width: 140px;
    }

    .score-panel {
        padding: 26px;
    }

    .rec-card {
        grid-template-columns: 1fr;
    }

    .rec-icon {
        display: none;
    }

    .check-value {
        max-width: 150px;
    }

    .details-section {
        margin: 0;
    }

    .details-inner {
        padding: 30px 0 0;
    }

    .seo-cta-inner {
        padding: 34px 24px;
    }

    .seo-cta h2 {
        font-size: 20px;
    }
}

/* =========================================================================
   Cookie-Banner (identische Optik wie Hauptseite)
   ========================================================================= */
.cc-banner [hidden] {
    display: none !important;
}

.cc-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 460px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-default);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}

.cc-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cc-banner__inner {
    padding: 30px;
    max-height: 80vh;
    overflow-y: auto;
}

.cc-banner h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--cc-dark);
    margin-bottom: 10px;
}

.cc-banner p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--cc-dark);
    margin-bottom: 15px;
}

.cc-banner a {
    color: var(--cc-red);
    text-decoration: underline;
}

.cc-banner__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--cc-line);
}

.cc-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}

.cc-option input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--cc-red);
    cursor: pointer;
    flex-shrink: 0;
}

.cc-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: .6;
}

.cc-option strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--cc-dark);
    margin-bottom: 2px;
}

.cc-option span {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: var(--cc-gray);
    font-weight: 300;
}

.cc-banner__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cc-btn {
    margin: 0;
    padding: 8px 16px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 675px) {
    .cc-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
    }

    .cc-banner__inner {
        padding: 20px;
    }

    .cc-banner__buttons {
        flex-direction: column;
    }

    .cc-btn {
        width: 100%;
        text-align: center;
    }
}

.seo-content {
    padding: 70px 0 20px;
}

.seo-content>.wrap>.eyebrow {
    color: var(--cc-green);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.seo-content h2 {
    font-size: 26px;
    line-height: 1.3;
    color: var(--cc-dark);
    margin-bottom: 14px;
}

.seo-content .content-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--cc-gray);
    max-width: 680px;
    margin-bottom: 40px;
    font-weight: 350;
}

/* ---------- Kategorie-Karten ---------- */
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.content-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-default);
    display: flex;
    flex-direction: column;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--cc-soft);
    color: var(--cc-red);
    margin-bottom: 18px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.content-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--cc-dark);
    margin-bottom: 12px;
}

.content-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--cc-gray);
    font-weight: 300;
    margin-bottom: 12px;
}

.content-card .card-link {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 8px;
}

.content-card .card-link a,
.content-prose a,
.faq-answer a {
    color: var(--cc-red);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(191, 29, 29, .28);
    transition: border-color .2s ease;
}

.content-card .card-link a:hover,
.content-prose a:hover,
.faq-answer a:hover {
    border-bottom-color: var(--cc-red);
}

/* ---------- CTA-Bänder ---------- */
.content-cta {
    background: var(--cc-red);
    border-radius: var(--radius);
    padding: 34px 40px;
    margin: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.content-cta h2 {
    color: #fff;
    font-size: 21px;
    margin-bottom: 8px;
}

.content-cta p {
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 350;
    margin: 0;
    max-width: 560px;
}

.content-cta .cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--cc-red);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 30px;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.content-cta .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

/* Variante: hell, damit nicht 3x dieselbe rote Fläche erscheint */
.content-cta--soft {
    background: #fff;
    box-shadow: var(--shadow-default);
}

.content-cta--soft h2 {
    color: var(--cc-dark);
}

.content-cta--soft p {
    color: var(--cc-gray);
}

.content-cta--soft .cta-btn {
    background: var(--cc-red);
    color: #fff;
}

/* ---------- Ablauf-Schritte ---------- */
.step-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0 60px;
}

.step-list li {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-default);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--cc-red);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-list h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--cc-dark);
    margin-bottom: 10px;
}

.step-list p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--cc-gray);
    font-weight: 300;
}

/* ---------- Fließtext ---------- */
.content-prose {
    max-width: 760px;
    margin-bottom: 60px;
}

.content-prose p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--cc-gray);
    font-weight: 300;
    margin-bottom: 16px;
}

/* ---------- FAQ ---------- */
.faq-list {
    margin: 26px 0 60px;
    max-width: 860px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-default);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 56px 20px 26px;
    font-size: 16px;
    font-weight: 500;
    color: var(--cc-dark);
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    position: absolute;
    right: 26px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--cc-red);
    border-bottom: 2px solid var(--cc-red);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .25s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-20%) rotate(-135deg);
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--cc-red);
    outline-offset: -2px;
}

.faq-answer {
    padding: 0 26px 22px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--cc-gray);
    font-weight: 300;
}

/* ---------- Print ---------- */
@media print {
    .seo-content {
        display: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {

    .content-grid,
    .step-list {
        grid-template-columns: 1fr;
    }

    .content-cta {
        padding: 28px 26px;
    }

    .content-cta .cta-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 620px) {
    .seo-content {
        padding: 44px 0 10px;
    }

    .seo-content h2 {
        font-size: 21px;
    }

    .content-card {
        padding: 24px;
    }

    .content-cta h2 {
        font-size: 19px;
    }

    .faq-item summary {
        padding: 17px 48px 17px 20px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 20px 18px;
    }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {

    .content-cta .cta-btn,
    .faq-item summary::after {
        transition: none;
    }

    .content-cta .cta-btn:hover {
        transform: none;
    }
}