/*
Theme Name: betrugsverdacht.com
Theme URI: https://betrugsverdacht.com
Author: Gregor Kasueske
Description: Individuelles Theme für betrugsverdacht.com — Werkzeugkasten für den unabhängigen Casino-Selbstcheck.
Version: 0.4.4
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: betrugsverdacht
*/

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; color: #2d3a37; background: #ffffff; line-height: 1.65; font-size: 17px; }

::selection { background: #0b6e4f; color: #ffffff; }

img { max-width: 100%; height: auto; }

a { color: #0b6e4f; }

/* Layout */
body .container { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
body .container-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
body .site-main { display: block; }

/* Header */
body .site-header { border-bottom: 1px solid #e2e8e5; background: #ffffff; }
body .site-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
body .site-header .site-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #11332c; text-decoration: none; letter-spacing: -0.01em; }
body .site-header .site-brand .brand-mark { display: inline-flex; width: 30px; height: 30px; }
body .site-header .site-nav { display: none; }
body .site-header .site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
body .site-header .site-nav a { color: #2d3a37; text-decoration: none; font-size: 15px; font-weight: 600; }
body .site-header .site-nav a:hover { color: #0b6e4f; }

/* Tool-CTA-Shortcode [tool_cta] — konsistenter Zugang zu den Startseiten-Tools */
body .entry-content .tool-cta { display: block; margin: 28px 0; padding: 20px 22px; background: #f7faf8; border: 1px solid #e2e8e5; border-left: 4px solid #0b6e4f; border-radius: 10px; }
body .entry-content .tool-cta .tool-cta-head { display: block; font-size: 18px; font-weight: 700; color: #11332c; margin-bottom: 6px; }
body .entry-content .tool-cta .tool-cta-text { display: block; font-size: 15px; color: #2d3a37; line-height: 1.6; margin-bottom: 14px; }
body .entry-content .tool-cta .tool-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body .entry-content .tool-cta .tool-cta-btn { display: inline-block; padding: 10px 18px; background: #0b6e4f; color: #ffffff; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 6px; }
body .entry-content .tool-cta .tool-cta-btn:hover { background: #095a40; }
body .entry-content .tool-cta .tool-cta-btn-ghost { background: #ffffff; color: #0b6e4f; border: 1px solid #0b6e4f; }
body .entry-content .tool-cta .tool-cta-btn-ghost:hover { background: #eef5f1; }

/* Affiliate-Hinweis-Leiste (beim Aufruf immer sichtbar, DE-Compliance) */
body .affiliate-notice { background: #11332c; color: #ffffff; font-size: 13px; line-height: 1.55; }
body .affiliate-notice .container { padding-top: 9px; padding-bottom: 9px; }
body .affiliate-notice strong { color: #ffffff; font-weight: 700; }
body .affiliate-notice a { color: #ffffff; text-decoration: underline; }
body .affiliate-notice a:hover { color: #d8e6e0; }

/* Werbehinweis (Header-Button mit Tooltip) */
body .site-header .header-inner .header-right { display: flex; align-items: center; gap: 16px; }
body .site-header .header-inner .werbehinweis-btn { position: relative; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; padding: 5px 10px; border-radius: 6px; border: 1px solid #e2e8e5; background: #f7faf8; transition: background-color 0.2s, border-color 0.2s; flex-shrink: 0; }
body .site-header .header-inner .werbehinweis-btn:hover { background: #eef5f1; border-color: #0b6e4f; }
body .site-header .header-inner .werbehinweis-btn .werbehinweis-label { font-size: 11px; font-weight: 700; color: #5b6b67; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
body .site-header .header-inner .werbehinweis-btn .werbehinweis-tooltip { display: none; position: absolute; top: calc(100% + 10px); right: 0; width: 300px; max-width: 86vw; background: #ffffff; border: 1px solid #e2e8e5; border-radius: 10px; box-shadow: 0 8px 24px rgba(17, 51, 44, 0.14); padding: 16px; z-index: 200; }
body .site-header .header-inner .werbehinweis-btn .werbehinweis-tooltip::before { content: ""; position: absolute; top: -6px; right: 18px; width: 10px; height: 10px; background: #ffffff; border-left: 1px solid #e2e8e5; border-top: 1px solid #e2e8e5; transform: rotate(45deg); }
body .site-header .header-inner .werbehinweis-btn .werbehinweis-tooltip .werbehinweis-tooltip-text { font-size: 13px; line-height: 1.6; color: #2d3a37; display: block; }
body .site-header .header-inner .werbehinweis-btn .werbehinweis-tooltip .werbehinweis-tooltip-text a { color: #0b6e4f; text-decoration: underline; }
body .site-header .header-inner .werbehinweis-btn:hover .werbehinweis-tooltip,
body .site-header .header-inner .werbehinweis-btn:focus-within .werbehinweis-tooltip,
body .site-header .header-inner .werbehinweis-btn.open .werbehinweis-tooltip { display: block; }

/* Footer */
body .site-footer { border-top: 1px solid #e2e8e5; background: #11332c; color: #d3e0da; margin-top: 64px; }
body .site-footer .footer-inner { padding-top: 40px; padding-bottom: 40px; display: grid; gap: 28px; }
body .site-footer .footer-brand { font-weight: 800; font-size: 18px; color: #ffffff; }
body .site-footer .footer-links { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
body .site-footer .footer-links a { color: #d3e0da; text-decoration: none; font-size: 15px; }
body .site-footer .footer-links a:hover { color: #ffffff; text-decoration: underline; }
body .site-footer .footer-note { font-size: 13px; color: #9fb4ab; line-height: 1.6; }
body .site-footer .footer-note a { color: #cfe0d8; }

/* Content typography (interior pages) */
body .page-content { padding-top: 40px; padding-bottom: 24px; }
body .page-content h1 { font-size: 30px; line-height: 1.2; font-weight: 800; color: #11332c; letter-spacing: -0.02em; margin: 0 0 18px; }
body .page-content h2 { font-size: 23px; line-height: 1.25; font-weight: 700; color: #11332c; margin: 36px 0 10px; }
body .page-content h3 { font-size: 19px; font-weight: 700; color: #1f2a28; margin: 26px 0 8px; }
body .page-content p { margin: 0 0 16px; }
body .page-content ul, body .page-content ol { margin: 0 0 16px; padding-left: 22px; }
body .page-content li { margin-bottom: 8px; }
body .page-content a { color: #0b6e4f; text-decoration: underline; text-underline-offset: 2px; }
body .page-content a:hover { color: #095c42; }
body .page-content em { color: #5b6b67; }

@media (min-width: 768px) {
  body { font-size: 18px; }
  body .site-header .site-nav { display: block; }
  body .site-footer .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  body .page-content { padding-top: 56px; }
  body .page-content h1 { font-size: 38px; }
  body .page-content h2 { font-size: 26px; }
}

@media (min-width: 1024px) {
  body .page-content h1 { font-size: 44px; }
}

/* Themen-Karten (Shortcode [themen_karten]) — prominentes Verlinkungselement */
body .page-content .topic-cards { display: block; margin: 30px 0 34px; border-top: 1px solid #e2e8e5; padding-top: 22px; }
body .page-content .topic-cards .tc-head { display: block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #0b6e4f; margin: 0 0 14px; }
body .page-content .topic-cards .tc-grid { display: grid; gap: 12px; }
body .page-content .topic-cards .topic-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid #e2e8e5; border-radius: 12px; background: #f7faf8; text-decoration: none; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
body .page-content .topic-cards .topic-card:hover { border-color: #0b6e4f; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(11, 110, 79, 0.10); }
body .page-content .topic-cards .tc-text-wrap { flex: 1; display: flex; flex-direction: column; gap: 2px; }
body .page-content .topic-cards .tc-title { font-size: 16px; font-weight: 700; color: #11332c; }
body .page-content .topic-cards .tc-desc { font-size: 14px; color: #5b6b67; line-height: 1.4; }
body .page-content .topic-cards .tc-arrow { flex-shrink: 0; color: #0b6e4f; display: inline-flex; }

/* Geprüfte Casino-Beispiele (Shortcode [gepruefte_casinos]) */
body .page-content .casino-examples { display: block; margin: 32px 0 36px; border: 1px solid #e2e8e5; border-radius: 14px; padding: 20px; background: #ffffff; }
body .page-content .casino-examples .ce-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
body .page-content .casino-examples .ce-kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #0b6e4f; }
body .page-content .casino-examples .ce-cat { font-size: 17px; font-weight: 800; color: #11332c; }
body .page-content .casino-examples .ad-label { margin-left: auto; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #6b4e06; background: #fdf3d6; border: 1px solid #efdfa8; border-radius: 5px; padding: 2px 7px; }
body .page-content .casino-examples .ce-grid { display: grid; gap: 14px; }
body .page-content .casino-examples .casino-card { display: flex; flex-direction: column; border: 1px solid #e2e8e5; border-radius: 12px; overflow: hidden; background: #ffffff; }
body .page-content .casino-examples .cc-shot { display: block; width: 100%; aspect-ratio: 16 / 9; }
body .page-content .casino-examples .cc-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
body .page-content .casino-examples .cc-shot-placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0b6e4f, #11332c); }
body .page-content .casino-examples .cc-shot-label { color: #ffffff; font-weight: 800; font-size: 19px; letter-spacing: 0.01em; }
body .page-content .casino-examples .cc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
body .page-content .casino-examples .cc-name { font-size: 17px; font-weight: 800; color: #11332c; }
body .page-content .casino-examples .cc-fact { font-size: 14px; color: #5b6b67; }
body .page-content .casino-examples .cc-note { font-size: 13px; font-weight: 600; color: #0b6e4f; }
body .page-content .casino-examples .cc-cta { margin-top: 8px; display: block; text-align: center; background: #0b6e4f; color: #ffffff !important; text-decoration: none !important; font-weight: 700; padding: 10px 14px; border-radius: 9px; }
body .page-content .casino-examples .cc-cta:hover { background: #095c42; }
body .page-content .casino-examples .ce-foot { display: block; font-size: 13px; color: #5b6b67; line-height: 1.55; margin: 14px 0 0; }

/* Team-Vorstellung (Über uns) */
body .page-content .team-member { display: flex; gap: 18px; align-items: flex-start; margin: 26px 0; }
body .page-content .team-member .team-photo { width: 110px; height: 110px; border-radius: 12px; object-fit: cover; flex-shrink: 0; border: 1px solid #e2e8e5; }
body .page-content .team-member .team-text { flex: 1; }
body .page-content .team-member .team-text h3 { margin-top: 0; }

/* Autorenkasten (E-E-A-T) */
body .page-content .author-box { display: flex; gap: 16px; align-items: flex-start; margin: 44px 0 8px; padding: 20px; border: 1px solid #e2e8e5; border-radius: 12px; background: #f7faf8; }
body .page-content .author-box .author-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
body .page-content .author-box .author-photo-fallback { display: flex; align-items: center; justify-content: center; background: #0b6e4f; color: #ffffff; font-weight: 800; font-size: 28px; }
body .page-content .author-box .author-meta { display: flex; flex-direction: column; gap: 2px; }
body .page-content .author-box .author-byline { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #0b6e4f; }
body .page-content .author-box .author-name { font-size: 17px; font-weight: 800; color: #11332c; }
body .page-content .author-box .author-role { font-size: 14px; color: #5b6b67; }
body .page-content .author-box .author-bio { font-size: 14px; color: #2d3a37; line-height: 1.55; margin: 8px 0 0; }

@media (min-width: 640px) {
  body .page-content .topic-cards .tc-grid { grid-template-columns: 1fr 1fr; }
  body .page-content .casino-examples .ce-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* Blacklist-Element (Shortcode [casino_blacklist]) — Anbieter ohne GGL-Lizenz */
body .page-content .blacklist-tool { display: block; margin: 30px 0 36px; }
body .page-content .blacklist-tool .bl-disclaimer { font-size: 14px; line-height: 1.6; color: #2d3a37; background: #fdf3d6; border: 1px solid #efdfa8; border-left: 4px solid #c79a1e; border-radius: 10px; padding: 16px 18px; margin: 0 0 22px; }
body .page-content .blacklist-tool .bl-disclaimer a { color: #8a6d10; }
body .page-content .blacklist-tool .bl-grid { display: grid; gap: 14px; }
body .page-content .blacklist-tool .bl-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid #e6cfcf; border-left: 4px solid #b3261e; border-radius: 12px; background: #fdf6f5; padding: 16px 18px; }
body .page-content .blacklist-tool .bl-name { font-size: 17px; font-weight: 800; color: #11332c; }
body .page-content .blacklist-tool .bl-meta { font-size: 13px; color: #5b6b67; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body .page-content .blacklist-tool .bl-flag { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #ffffff; background: #b3261e; border-radius: 5px; padding: 2px 8px; }
body .page-content .blacklist-tool .bl-risk { font-size: 14px; color: #2d3a37; line-height: 1.55; }
body .page-content .blacklist-tool .bl-more-label { font-size: 15px; font-weight: 700; color: #11332c; margin: 26px 0 10px; }
body .page-content .blacklist-tool .bl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
body .page-content .blacklist-tool .bl-chip { display: inline-block; font-size: 13px; font-weight: 600; color: #7a2018; background: #fbeae8; border: 1px solid #e6cfcf; border-radius: 999px; padding: 5px 12px; }
body .page-content .blacklist-tool .bl-foot { font-size: 12px; color: #5b6b67; line-height: 1.55; margin: 0; }

@media (min-width: 640px) {
  body .page-content .blacklist-tool .bl-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  body .page-content .blacklist-tool .bl-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* Startseiten-Textsektionen (front-page.php) */
body .fp-intro { padding: 26px 0 2px; }
body .fp-intro p { font-size: 18px; line-height: 1.7; color: #2d3a37; margin: 0; }
body .methodik { padding: 30px 0; }
body .methodik .methodik-title { font-size: 24px; font-weight: 800; color: #11332c; margin: 0 0 12px; }
body .methodik p { font-size: 16px; line-height: 1.7; color: #2d3a37; margin: 0; }
body .stats-band { background: #11332c; color: #ffffff; padding: 46px 0; margin: 8px 0; }
body .stats-band .stats-title { font-size: 26px; font-weight: 800; color: #ffffff; margin: 0 0 8px; }
body .stats-band .stats-lead { font-size: 16px; color: #cfe0d8; margin: 0 0 22px; max-width: 720px; line-height: 1.6; }
body .stats-band .stats-grid { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 14px; }
body .stats-band .stats-grid li { display: flex; flex-direction: column; gap: 4px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 16px 18px; }
body .stats-band .stat-num { font-size: 21px; font-weight: 800; color: #ffffff; }
body .stats-band .stat-text { font-size: 14px; line-height: 1.5; color: #cfe0d8; }
body .stats-band .stats-foot { font-size: 15px; color: #ffffff; margin: 0; }
body .stats-band .stats-foot a { color: #ffffff; text-decoration: underline; }
body .faq { padding: 40px 0; }
body .faq .faq-title { font-size: 26px; font-weight: 800; color: #11332c; margin: 0 0 16px; }
body .faq .faq-item { border-top: 1px solid #e2e8e5; padding: 16px 0; }
body .faq .faq-item h3 { font-size: 17px; font-weight: 700; color: #11332c; margin: 0 0 6px; }
body .faq .faq-item p { font-size: 15px; line-height: 1.65; color: #2d3a37; margin: 0; }

@media (min-width: 768px) {
  body .stats-band .stats-grid { grid-template-columns: 1fr 1fr; }
}
