/* ============================================================
   SEO Landingpage Styles – WP Tegernsee
   Depot Risk Check Ratgeber-Bereich
   ============================================================ */

/* ── Container ─────────────────────────────────────────────── */
.wpt-seo-landing-page {
    color: #1a1a1a;
    line-height: 1.7;
}

.wpt-seo-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.wpt-seo-breadcrumb {
    font-size: 13px;
    color: #666;
    padding: 20px 0 0;
    margin-bottom: 32px;
}

.wpt-seo-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.wpt-seo-breadcrumb a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.wpt-seo-breadcrumb span[aria-hidden] {
    margin: 0 8px;
    color: #bbb;
}

/* ── Header ─────────────────────────────────────────────────── */
.wpt-seo-header {
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e8e8e8;
}

.wpt-seo-cluster-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8b7340;
    background: #f8f4eb;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 16px;
}

.wpt-seo-h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 24px;
    color: #0d1b2a;
}

/* ── Zuletzt aktualisiert ───────────────────────────────────── */
.wpt-seo-meta-updated {
    font-size: 12px;
    color: #999;
    margin: -16px 0 24px;
    letter-spacing: 0.02em;
}

.wpt-seo-meta-updated time {
    font-weight: 500;
    color: #777;
}

.wpt-seo-intro {
    font-size: 18px;
    line-height: 1.65;
    color: #3a3a3a;
    max-width: 720px;
    margin-bottom: 32px;
}

.wpt-seo-intro p {
    margin: 0;
}

/* ── Primärer Header-CTA ────────────────────────────────────── */
.wpt-seo-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: #0d1b2a;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.wpt-seo-cta-button:hover {
    background: #1a3050;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.wpt-seo-cta-button--primary {
    background: #8b7340;
}

.wpt-seo-cta-button--primary:hover {
    background: #6e5b30;
}

/* ── Content Blocks ─────────────────────────────────────────── */
.wpt-seo-content {
    margin-bottom: 56px;
}

.wpt-seo-block {
    margin-bottom: 48px;
}

/* Text Block */
.wpt-seo-text-block h2 {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 16px;
    line-height: 1.3;
}

.wpt-seo-text-block h3 {
    font-size: 19px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 24px 0 12px;
}

.wpt-seo-text-block p {
    margin: 0 0 16px;
    color: #2a2a2a;
}

/* Bullets Block */
.wpt-seo-bullets-block {
    background: #f7f8fa;
    border-left: 3px solid #0d1b2a;
    padding: 24px 28px;
    border-radius: 0 6px 6px 0;
}

.wpt-seo-bullets-block h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wpt-seo-bullet-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wpt-seo-bullet-list li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: #2a2a2a;
    font-size: 15px;
    border-bottom: 1px solid #eaecef;
}

.wpt-seo-bullet-list li:last-child {
    border-bottom: none;
}

.wpt-seo-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #8b7340;
    border-radius: 50%;
}

/* FAQ Block */
.wpt-seo-faq-block {
    margin-bottom: 48px;
}

.wpt-seo-faq-block > h2 {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 28px;
}

.wpt-seo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wpt-seo-faq-item {
    border-bottom: 1px solid #e8e8e8;
    padding: 20px 0;
}

.wpt-seo-faq-item:first-child {
    border-top: 1px solid #e8e8e8;
}

.wpt-seo-faq-question {
    font-size: 17px;
    font-weight: 600;
    color: #0d1b2a;
    margin: 0 0 10px;
    line-height: 1.4;
}

.wpt-seo-faq-answer {
    font-size: 15px;
    line-height: 1.65;
    color: #3a3a3a;
}

/* CTA Block */
.wpt-seo-cta-block {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3050 100%);
    color: #fff;
    padding: 40px 44px;
    border-radius: 8px;
    text-align: center;
}

.wpt-seo-cta-headline {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.wpt-seo-cta-text {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.wpt-seo-cta-block .wpt-seo-cta-button {
    background: #8b7340;
    font-size: 16px;
    padding: 16px 36px;
}

.wpt-seo-cta-block .wpt-seo-cta-button:hover {
    background: #6e5b30;
}

/* ── Weiterführende Links ────────────────────────────────────── */
.wpt-seo-related-links {
    background: #f7f8fa;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 48px;
}

.wpt-seo-related-headline {
    font-size: 17px;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wpt-seo-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.wpt-seo-related-list li::before { content: none !important; }

.wpt-seo-related-link {
    display: block;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #e0e3e8;
    border-radius: 4px;
    color: #0d1b2a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.wpt-seo-related-link:hover {
    border-color: #8b7340;
    background: #fdfbf7;
    color: #0d1b2a;
    text-decoration: none;
}

/* ── Disclaimer ─────────────────────────────────────────────── */
.wpt-seo-disclaimer {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px 20px;
    margin-top: 48px;
}

.wpt-seo-disclaimer p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.wpt-seo-disclaimer strong {
    color: #333;
}

/* ── Inhaltsverzeichnis (TOC) ───────────────────────────────── */
.wpt-seo-toc {
    background: #f7f8fa;
    border-left: 3px solid #8b7340;
    border-radius: 0 6px 6px 0;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.wpt-seo-toc-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8b7340;
    margin: 0 0 10px;
}

.wpt-seo-toc-list {
    margin: 0;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wpt-seo-toc-list li {
    font-size: 14px;
    color: #1a1a1a;
}

.wpt-seo-toc-list a {
    color: #0d1b2a;
    text-decoration: none;
    font-weight: 500;
}

.wpt-seo-toc-list a:hover {
    color: #8b7340;
    text-decoration: underline;
}

/* Intro: mehrere Absätze brauchen Abstand */
.wpt-seo-intro p {
    margin: 0 0 16px;
}

.wpt-seo-intro p:last-child {
    margin-bottom: 0;
}

/* ── Cluster-Links in text_blocks ───────────────────────────── */
.wpt-seo-cluster-links {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wpt-seo-cluster-links li {
    font-size: 14px;
}

.wpt-seo-cluster-links li::before {
    display: none;
}

.wpt-seo-cluster-links a {
    display: inline-block;
    color: #0d1b2a;
    text-decoration: none;
    font-weight: 500;
    padding: 2px 0;
    border-bottom: 1px solid #e0e3e8;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.wpt-seo-cluster-links a:hover {
    color: #8b7340;
    border-color: #8b7340;
}

/* ── Ratgeber-Bibliothek ────────────────────────────────────── */
.wpt-seo-library {
    background: #f7f8fa;
    border-radius: 6px;
    padding: 22px 28px;
    margin-top: 48px;
    margin-bottom: 40px;
}

.wpt-seo-library-headline {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8b7340;
    margin: 0 0 14px;
}

.wpt-seo-library-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wpt-seo-library-list li {
    font-size: 14px;
}
.wpt-seo-library-list li::before { content: none !important; }

.wpt-seo-library-link {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #d0d4db;
    border-radius: 20px;
    color: #0d1b2a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wpt-seo-library-link:hover {
    border-color: #8b7340;
    background: #fdfbf7;
    color: #8b7340;
    text-decoration: none;
}

.wpt-seo-library-link--current {
    border-color: #0d1b2a;
    background: #0d1b2a;
    color: #fff;
    cursor: default;
}

/* ── Ratgeber-Suche ─────────────────────────────────────────── */
.wpt-ratgeber-search {
    position: relative;
    margin-bottom: 40px;
}

.wpt-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.wpt-search-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #aaa;
    pointer-events: none;
    flex-shrink: 0;
}

.wpt-search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    font-size: 15px;
    font-family: inherit;
    border: 1.5px solid #d0d4db;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #1a1a1a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.wpt-search-input:focus {
    border-color: #0d1b2a;
    box-shadow: 0 0 0 3px rgba(13,27,42,0.08);
}

.wpt-search-input::placeholder { color: #bbb; }
.wpt-search-input::-webkit-search-cancel-button { display: none; }
.wpt-search-input::-webkit-search-decoration { display: none; }

.wpt-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 200;
    background: #fff;
    border: 1.5px solid #d0d4db;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: 340px;
    overflow-y: auto;
}
.wpt-search-results li::before { content: none !important; }

.wpt-search-result {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #0d1b2a;
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.1s ease, color 0.1s ease;
}

.wpt-search-result:hover,
.wpt-search-result:focus {
    background: #f7f8fa;
    color: #8b7340;
    text-decoration: none;
    outline: none;
}

.wpt-search-result-title {
    display: block;
}

.wpt-search-result-cluster {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #8b7340;
    opacity: 0.85;
}

.wpt-search-loading,
.wpt-search-empty {
    display: block;
    padding: 12px 18px;
    font-size: 14px;
    color: #888;
}

.wpt-search-empty em { font-style: italic; color: #555; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
    .wpt-seo-container {
        padding: 0 16px 60px;
    }

    .wpt-seo-cta-block {
        padding: 28px 24px;
    }

    .wpt-seo-bullets-block {
        padding: 18px 20px;
    }

    .wpt-seo-related-links {
        padding: 20px 20px;
    }
}
