@font-face {
    font-family: 'TheSans';
    src: url('../fonts/TheSansC5s-4_SemiLight.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheSans';
    src: url('../fonts/TheSansC5s-4_SemiLightItalic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TheSans';
    src: url('../fonts/TheSansC5s-6_SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TheSans';
    src: url('../fonts/TheSansC5s-6_SemiBoldItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

:root {
    --accent: #0ba6cd;
    --interviewer: #0a7ea4;
    --urgency: #c44a4a;
    --bg: #f4f4f4;
    --bg-elevated: #ffffff;
    --bg-card: #eeeeee;
    --footer-bg: #e8e8e8;
    --text: #1a1a1a;
    --text-muted: #555555;
    --border: #d0d0d0;
    --max-width: 960px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --interviewer: #5eb0d9;
        --urgency: #e87a7a;
        --bg: #121212;
        --bg-elevated: #1a1a1a;
        --bg-card: #1e1e1e;
        --footer-bg: #0d0d0d;
        --text: #e8e8e8;
        --text-muted: #a8a8a8;
        --border: #333333;
    }
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    font-family: 'TheSans', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Header */

.site-header {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-logo img {
    height: 36px;
    width: auto;
    border-radius: 4px;
}

.header-wordmark {
    font-size: 1.125rem;
    font-weight: 700 !important;
    color: var(--text);
    letter-spacing: 0.01em;
}

.header-sponsored {
    margin-left: auto;
    font-size: 11px;
    font-style: italic;
    color: var(--text-muted);
    flex-shrink: 0;
}

.header-wordmark strong {
    font-weight: 700;
}

.back-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.back-link:hover {
    color: var(--text);
    text-decoration: none;
}

.anzeige-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    text-align: right;
}

.anzeige-bar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6px 20px;
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
}

/* Layout */

.content-wrapper {
    padding: 24px 0 0;
}

.layout-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Article head */

.article-head {
    margin-bottom: 28px;
}

.article-meta-line {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: none;
}

.article-meta-line span+span::before {
    content: '  |  ';
    color: var(--border);
}

.article-headline {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 12px;
}

.article-lead,
.text-intro-bold {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text);
    margin-bottom: 20px;
}

/* Interview dialogue (Google Doc: c6, c18, c27) */

.interview-q {
    margin-bottom: 1.25rem;
}

.speaker-berger {
    color: var(--interviewer);
    font-weight: 700;
}

.interview-q .q-text {
    font-weight: 700;
    color: var(--text);
}

.interview-a {
    margin-bottom: 1.25rem;
}

.speaker-seidel {
    font-weight: 700;
    color: var(--interviewer);
}

.article-callout {
    text-align: center;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 1.25rem 1rem;
    margin: 1.75rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.hl-examples {
    font-weight: 700;
    color: var(--text);
}

.story-name {
    font-weight: 700;
    font-style: italic;
    color: var(--text);
}

.hl-brand {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

.hl-brand:hover {
    text-decoration: underline;
    color: var(--accent);
}

.hl-amount {
    font-weight: 700;
    color: var(--text);
}

.hl-num {
    font-weight: 700;
    color: var(--text);
    margin-right: 0.35em;
}

.hl-urgency,
.form-availability.hl-urgency {
    color: var(--urgency) !important;
    font-weight: 700;
    font-size: 1.125rem;
}

.form-heading {
    font-weight: 700;
    color: var(--text);
}

.article-hero {
    margin: 0 0 24px;
    border-radius: 2px;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Body */

.article-body {
    font-size: 1.0625rem;
    line-height: 1.65;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text);
    padding-top: 0.5rem;
    border-top: 2px solid var(--accent);
}

.article-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 1.75rem 0 0.75rem;
    color: var(--text);
}

.article-body em,
.article-body i {
    font-style: italic;
}

.article-body strong {
    font-weight: 600;
}

.article-figure {
    margin: 1.75rem 0;
}

.article-figure img {
    width: 100%;
    border-radius: 2px;
}

.article-quote {
    border-left: 3px solid var(--accent);
    padding: 12px 20px;
    margin: 1.5rem 0;
    background: var(--bg-card);
    font-style: italic;
    color: var(--text-muted);
}

.article-quote .speaker {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.user-story {
    display: flex;
    gap: 16px;
    margin: 1.75rem 0;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.user-story img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-story-body h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.user-story-body p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.proof-image {
    margin-top: 12px;
    max-width: 280px;
    border: 1px solid var(--border);
}

/* Form block */

.lead-form-section {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    padding: 32px 28px 28px;
    margin: 2.5rem 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.lead-form-section .form-availability {
    margin-bottom: 6px;
}

.lead-form-section .form-heading {
    font-size: 1.125rem;
    padding-bottom: 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.form-wrapper {
    position: relative;
}

.preloader {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(244, 244, 244, 0.92);
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 2px;
}

.preloader.active {
    display: flex;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

.rules-list {
    margin: 1.5rem 0;
    padding-left: 1.25rem;
}

.rules-list li {
    margin-bottom: 0.5rem;
}

/* Comments */

.comments-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border);
}

.comments-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.comment {
    display: flex;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

.comment-reply .comment-author {
    color: var(--interviewer);
}

.hl-cta {
    font-weight: 700;
    color: var(--interviewer) !important;
    text-decoration: none;
}

.hl-cta:hover {
    color: var(--accent) !important;
    text-decoration: none;
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.comment-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.55;
}

.comment-votes {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.comment-reply {
    margin-left: 60px;
    padding-left: 16px;
    border-left: 2px solid var(--accent);
}

.comment-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    margin-top: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff !important;
    background: var(--accent);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}

.comment-cta:hover {
    background: #0995b8;
    text-decoration: none;
    color: #ffffff !important;
}

/* Footer */

.site-footer {
    background: var(--footer-bg);
    color: var(--text-muted);
    margin-top: 40px;
    padding: 32px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-desc {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 14px;
    color: var(--text-muted);
}

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

.footer-desc a:hover {
    color: var(--interviewer);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 20px;
}

.footer-nav-links,
.footer-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-nav-links a,
.footer-legal-nav a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 2px;
    text-decoration: none;
}

.footer-nav-links a:hover,
.footer-nav-links a[aria-current="page"],
.footer-legal-nav a:hover,
.footer-legal-nav a[aria-current="page"] {
    color: var(--accent);
    border-color: var(--accent);
    text-decoration: none;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-company {
    font-size: 11px !important;
    font-style: italic;
    color: var(--text-muted) !important;
    margin-top: 20px;
}

.footer-company-heading {
    font-weight: 700 !important;
    font-size: 14px !important;
    font-style: normal !important;
    color: var(--text) !important;
}

/* Legal pages */

.legal-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.legal-page h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5em;
    color: var(--text);
}

.legal-page h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2em;
    margin-bottom: 0.5em;
    color: var(--text);
    border-top: none;
    padding-top: 0;
}

.legal-page p,
.legal-page li {
    line-height: 1.75;
    margin-bottom: 0.8em;
    color: var(--text);
}

.legal-page ul {
    padding-left: 1.5em;
}

.legal-page a {
    color: var(--accent);
}

.legal-page a:hover {
    color: var(--interviewer);
}

.legal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2em;
}

.legal-page .back-link {
    display: inline-block;
    margin-bottom: 2em;
    color: var(--accent);
    text-decoration: underline;
}

.legal-page .back-link:hover {
    color: var(--interviewer);
    text-decoration: underline;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    padding: 24px 28px;
    margin: 2em 0;
    border-radius: 2px;
}

.contact-card p {
    margin-bottom: 0.4em;
    color: var(--text);
}

.contact-card strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 0.6em;
    color: var(--text);
}

.contact-card a {
    color: var(--accent);
}

.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

.contact-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    color: var(--text);
}

.contact-table td:first-child {
    font-weight: 600;
    width: 220px;
    color: var(--text-muted);
}

.legal-card {
    background: var(--bg-elevated);
    padding: 32px 28px 40px;
    border: 1px solid var(--border);
}

.legal-page-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text);
}

.legal-body h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 28px 0 12px;
    border-top: none;
    padding-top: 0;
    color: var(--text);
}

.legal-body p,
.legal-body li {
    color: var(--text);
}

.legal-body ul {
    margin: 0 0 14px 20px;
}

@media (max-width: 640px) {
    .user-story {
        flex-direction: column;
    }
    .comment-reply {
        margin-left: 0;
        padding-left: 12px;
    }
    .header-inner {
        flex-wrap: wrap;
    }
}