/* ============================================================
   GrindAcademy – zentrale Stylesheet-Datei
   Eine Datei für alle Seiten. Wer hier etwas ändert,
   ändert es überall. Genau das ist der Punkt.
   ============================================================ */

@font-face {
    font-family: 'Anton';
    src: url('../fonts/anton-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #131022;
    --surface: #1c1832;
    --line: rgba(139, 233, 59, 0.18);
    --green: #8be93b;
    --purple: #7c5cff;
    --red: #ff6b6b;
    --text: #efedf8;
    --muted: #a9a3c4;
    --display: 'Anton', 'Arial Black', 'Arial Bold', sans-serif;
    --body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, 'Courier New', monospace;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    background: var(--ink);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection { background: var(--green); color: #0c0a18; }

a { color: var(--green); }

img { max-width: 100%; }

.wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
}

.wrap-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Navigation ---------- */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.nav-brand img { width: 46px; height: 46px; object-fit: contain; }

.nav-brand span {
    font-family: var(--display);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-links { display: flex; gap: 26px; }

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a:focus-visible { color: var(--green); }

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

.eyebrow {
    font-family: var(--mono);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 26px;
}

.hero h1 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(3rem, 10vw, 7.5rem);
    line-height: 0.98;
    letter-spacing: 0.01em;
}

.hero h1 .money { color: var(--green); }

.hero-sub {
    max-width: 620px;
    margin: 30px auto 0;
    font-size: 1.2rem;
    color: var(--muted);
}

.hero-sub strong { color: var(--text); }

/* Datierung der Marken-Zahlen. Steht bewusst direkt unter dem Claim. */
.stand {
    max-width: 620px;
    margin: 18px auto 0;
    font-family: var(--mono);
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--muted);
}

.stand b { color: var(--text); font-weight: 400; }

/* ---------- Signatur: AdSense-Readout ---------- */
.readout {
    max-width: 560px;
    margin: 48px auto 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    text-align: left;
    font-family: var(--mono);
    font-size: 0.95rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.readout-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.readout-bar::before {
    content: '';
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 16px 0 0 var(--purple), 32px 0 0 rgba(255,255,255,0.25);
    margin-right: 32px;
}

.readout-body { padding: 20px 22px 24px; }

.readout-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    opacity: 0;
    animation: rowIn 0.5s ease forwards;
}

.readout-row:nth-child(1) { animation-delay: 0.2s; }
.readout-row:nth-child(2) { animation-delay: 0.5s; }
.readout-row:nth-child(3) { animation-delay: 0.8s; }
.readout-row:nth-child(4) { animation-delay: 1.1s; }
.readout-row:nth-child(5) { animation-delay: 1.4s; }
.readout-row:nth-child(6) { animation-delay: 1.7s; }

/* Fix: :last-child griff nie, weil danach noch die Fußnote steht. */
.readout-row:last-of-type { border-bottom: none; }

.readout-row .k { color: var(--muted); }
.readout-row .v { color: var(--text); }

.readout-row.total .k,
.readout-row.total .v {
    color: var(--green);
    font-weight: 700;
    font-size: 1.05rem;
}

.cursor {
    display: inline-block;
    width: 9px; height: 1.1em;
    background: var(--green);
    vertical-align: text-bottom;
    margin-left: 6px;
    animation: blink 1s steps(1) infinite;
}

@keyframes rowIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blink { 50% { opacity: 0; } }

.readout-note {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--muted);
}

/* ---------- Beweis-Screenshots ---------- */
.proof {
    max-width: 720px;
    margin: 34px auto 0;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.proof figure {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

.proof img { width: 100%; display: block; }

.proof figcaption {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--muted);
    padding: 10px 12px;
    text-align: left;
}

/* Platzhalter, solange kein echter Screenshot da ist. */
.proof-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 20px;
    border: 1px dashed rgba(169, 163, 196, 0.35);
    border-radius: 10px;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--muted);
    text-align: center;
}

/* ---------- Was du lernst ---------- */
.takeaways {
    max-width: 560px;
    margin: 40px auto 0;
    text-align: left;
    list-style: none;
}

.takeaways li {
    position: relative;
    padding: 11px 0 11px 34px;
    color: var(--muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.takeaways li:last-child { border-bottom: none; }

.takeaways li::before {
    content: '✓';
    position: absolute;
    left: 4px;
    color: var(--green);
    font-family: var(--mono);
}

.takeaways strong { color: var(--text); font-weight: 600; }

.takeaways-head {
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--purple);
    margin-top: 60px;
}

/* ---------- Buttons ---------- */
.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 44px;
}

.btn {
    display: inline-block;
    padding: 16px 34px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover, .btn:focus-visible { transform: translateY(-2px); }

.btn-primary {
    background: var(--green);
    color: #0c0a18;
    box-shadow: 0 10px 26px rgba(139, 233, 59, 0.25);
}

.btn-secondary {
    border: 1px solid var(--purple);
    color: var(--text);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
    background: rgba(124, 92, 255, 0.12);
}

.cta-sub {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---------- Sektionen ---------- */
section { padding: 90px 0; }

.section-label {
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 16px;
}

h2 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.05;
    margin-bottom: 24px;
}

h3 {
    font-family: var(--body);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.prose { max-width: 640px; color: var(--muted); font-size: 1.1rem; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--text); }

.divider { border-top: 1px solid var(--line); }

/* ---------- Autor / Gesicht ---------- */
.author-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 50px;
    align-items: start;
}

.author-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    border: 1px solid var(--line);
    object-fit: cover;
    display: block;
}

.author-slot {
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px dashed rgba(169, 163, 196, 0.35);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--muted);
}

.author-caption {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 12px;
    text-align: center;
}

/* ---------- eBook ---------- */
.ebook {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(124, 92, 255, 0.06), transparent 70%);
}

.ebook-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

/* CSS-Buchcover, kein Bild nötig */
.book {
    width: 260px;
    aspect-ratio: 5 / 7;
    margin: 0 auto;
    background: linear-gradient(160deg, #241d45 0%, #16122c 100%);
    border: 1px solid var(--line);
    border-left: 10px solid var(--green);
    border-radius: 4px 10px 10px 4px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 24px 24px 60px rgba(0, 0, 0, 0.45);
    transform: rotate(-2deg);
}

.book-84 {
    font-family: var(--display);
    font-size: 3.4rem;
    color: var(--green);
    line-height: 1;
}

.book-title {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 1.2;
}

.book-sub {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--muted);
}

.book-cover-img {
    display: block;
    width: 260px;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 24px 24px 60px rgba(0, 0, 0, 0.45);
}

.ebook-points {
    list-style: none;
    margin: 24px 0 32px;
}

.ebook-points li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--muted);
}

.ebook-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--green);
    font-family: var(--mono);
}

.ebook-points strong { color: var(--text); }

/* ---------- Preis ---------- */
.price-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.price-tag {
    font-family: var(--display);
    font-size: 2.6rem;
    color: var(--text);
    line-height: 1;
}

.price-tag .cur { color: var(--green); }

.price-note {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 10px;
}

.price-note b { color: var(--text); font-weight: 400; }

/* ---------- Anti-Guru ---------- */
.promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.promise-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px;
}

.promise-card.bad { border-color: rgba(255, 107, 107, 0.3); }

.promise-card h3 {
    font-family: var(--mono);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.promise-card.bad h3 { color: var(--red); }
.promise-card.good h3 { color: var(--green); }

.promise-card ul { list-style: none; }

.promise-card li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--muted);
}

.promise-card.bad li::before {
    content: '✕';
    position: absolute; left: 0;
    color: var(--red);
}

.promise-card.good li::before {
    content: '✓';
    position: absolute; left: 0;
    color: var(--green);
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }

.faq details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 0;
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 40px 20px 0;
    position: relative;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

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

.faq summary::after {
    content: '+';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--mono);
    font-size: 1.4rem;
    color: var(--green);
}

.faq details[open] summary::after { content: '−'; }

.faq summary:hover, .faq summary:focus-visible { color: var(--green); }

.faq-answer {
    padding: 0 20px 22px 0;
    color: var(--muted);
}

.faq-answer p + p { margin-top: 12px; }
.faq-answer strong { color: var(--text); }

/* ---------- Garantie ---------- */
.guarantee {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--purple);
    border-radius: 10px;
    padding: 28px 30px;
    margin-top: 40px;
    color: var(--muted);
}

.guarantee h3 { color: var(--text); }
.guarantee p + p { margin-top: 12px; }
.guarantee strong { color: var(--text); }

/* ---------- TikTok ---------- */
.tiktok { border-top: 1px solid var(--line); text-align: center; }

.tiktok .prose { margin: 0 auto; }

.tiktok-handle {
    font-family: var(--mono);
    font-size: 1.1rem;
    color: var(--green);
    margin: 24px 0 32px;
}

.tiktok-stats {
    display: flex;
    justify-content: center;
    gap: 44px;
    flex-wrap: wrap;
    margin: 34px 0 8px;
}

.tiktok-stats div { font-family: var(--mono); }

.tiktok-stats .num {
    display: block;
    font-family: var(--display);
    font-size: 2rem;
    color: var(--green);
    line-height: 1.1;
}

.tiktok-stats .lbl {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Formular ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 40px;
}

@media (max-width: 600px) { .card { padding: 26px; } }

.form-group { margin-bottom: 24px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    font-family: var(--body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group select option { background: var(--surface); color: var(--text); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(139, 233, 59, 0.15);
}

.form-group textarea { min-height: 140px; resize: vertical; }

/* Honeypot: für Menschen unsichtbar, für Bots verlockend. */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.privacy-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    flex-shrink: 0;
    accent-color: var(--green);
}

.privacy-text { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

.recaptcha-container { margin-bottom: 24px; display: flex; justify-content: center; }

.submit-btn {
    background: var(--green);
    color: #0c0a18;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--body);
    cursor: pointer;
    width: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 10px 26px rgba(139, 233, 59, 0.2);
}

.submit-btn:hover { transform: translateY(-2px); }

.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.message {
    padding: 18px 20px;
    border-radius: 10px;
    margin-bottom: 26px;
    line-height: 1.6;
}

.success-message {
    background: rgba(139, 233, 59, 0.08);
    border: 1px solid var(--green);
    color: var(--green);
}

.error-message {
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid var(--red);
    color: var(--red);
}

.info-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--green);
    border-radius: 10px;
    padding: 24px 26px;
    margin-top: 30px;
    color: var(--muted);
}

.info-box h3 { color: var(--text); }
.info-box p { margin-bottom: 6px; }
.info-box strong { color: var(--text); }

/* ---------- Rechtstexte ---------- */
.legal { color: var(--muted); }

.legal h2 {
    font-family: var(--display);
    font-size: 1.35rem;
    color: var(--green);
    margin: 42px 0 14px;
    letter-spacing: 0.02em;
}

.legal h2:first-child { margin-top: 0; }

.legal h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin: 24px 0 10px;
}

.legal p { margin-bottom: 14px; }

.legal ul { margin: 0 0 14px 22px; }

.legal li { margin-bottom: 6px; }

.legal strong { color: var(--text); }

.legal .meta { font-size: 0.85rem; color: var(--muted); opacity: 0.75; }

/* ---------- Page-Header (Unterseiten) ---------- */
.page-head {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 60px;
}

.page-head h1 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1;
}

.page-head .prose { margin-top: 20px; }

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid var(--line);
    padding: 50px 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover, .footer-links a:focus-visible { color: var(--green); }

/* ---------- Barrierefreiheit / Motion ---------- */
a:focus-visible, .btn:focus-visible, summary:focus-visible, button:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--green);
    color: #0c0a18;
    padding: 12px 20px;
    z-index: 100;
    font-weight: 700;
}

.skip-link:focus { left: 12px; top: 12px; }

@media (prefers-reduced-motion: reduce) {
    .readout-row { animation: none; opacity: 1; }
    .cursor { animation: none; }
    html { scroll-behavior: auto; }
    .btn:hover, .submit-btn:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
    /* Navigation bleibt mobil sichtbar – der TikTok-Traffic kommt vom Handy.
       Statt alles auszublenden nur enger setzen. */
    .nav-links { gap: 18px; }
    .nav-links a { font-size: 0.9rem; }
    section { padding: 64px 0; }
    .hero { padding: 40px 0 70px; }
    .ebook-grid { grid-template-columns: 1fr; gap: 44px; }
    .promise-grid { grid-template-columns: 1fr; }
    .author-grid { grid-template-columns: 1fr; gap: 30px; }
    .author-photo, .author-slot { max-width: 300px; margin: 0 auto; }
    .book { transform: rotate(0deg); }
    .cta-group .btn { flex: 1 1 100%; }
}

/* Sehr schmale Handys: Wortmarke weicht, damit die Links Platz haben.
   Logo-Icon + eBook/TikTok/Kontakt bleiben erreichbar. */
@media (max-width: 430px) {
    .nav-brand span { display: none; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 0.85rem; }
    .nav { padding: 16px 0; }
}
