:root {
    --ink: #1c1914;
    --muted: #5c5348;
    --paper: #f3efe6;
    --sheet: #fffdf8;
    --line: #e4d9c8;
    --pine: #1e3a32;
    --pine-2: #2d564a;
    --brass: #8d6432;
    --alert: #f4e4e0;
    --alert-ink: #6d2b28;
    --ok: #e5f0ea;
    --ok-ink: #1e3a32;
    color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding-bottom: 12rem;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(141, 100, 50, 0.08), transparent 32rem),
        var(--paper);
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 1.05rem;
    line-height: 1.55;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: white;
    padding: 0.5rem 0.8rem;
}

.skip:focus { top: 0.5rem; }

.site-header, .site-footer, main {
    width: min(1080px, calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem 0;
}

.brand {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.mark {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    background: var(--pine);
    color: #f6f1e6;
    font-family: Palatino, "Palatino Linotype", Georgia, serif;
    letter-spacing: 0.04em;
}

.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); }

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
    align-items: center;
}

.site-nav a, .linkish {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.site-nav a:hover, .linkish:hover { border-bottom-color: var(--brass); }

.linkish {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.site-nav form { margin: 0; }

h1, h2, legend {
    font-family: Palatino, "Palatino Linotype", Georgia, serif;
    font-weight: 500;
    line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 0.2rem 0 1rem; }
h2 { font-size: 1.6rem; margin: 2rem 0 0.6rem; }

.hero { padding: 2.5rem 0 1rem; }
.eyebrow {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass);
    font-size: 0.78rem;
    margin: 0;
}
.lead { max-width: 40rem; font-size: 1.2rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.button, button {
    display: inline-block;
    background: var(--pine);
    color: #f6f1e6;
    border: 1px solid var(--pine);
    padding: 0.7rem 1rem;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}

.button.quiet, button.quiet {
    background: transparent;
    color: var(--pine);
}

button:hover, .button:hover { background: var(--pine-2); color: white; }

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-bottom: 3rem;
}

.cards article, .prose, .stack, table {
    background: var(--sheet);
}

.cards article {
    padding: 1.2rem 1.2rem 1.4rem;
    border-top: 3px solid var(--brass);
}

.num {
    margin: 0;
    color: var(--brass);
    font-family: Palatino, Georgia, serif;
}

.prose { padding: 0.5rem 0 3rem; max-width: 46rem; }
.narrow { padding-bottom: 3rem; }

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 2rem;
    color: var(--muted);
}

.site-footer a { color: var(--pine); }

blockquote {
    margin: 1rem 0;
    padding: 0.2rem 0 0.2rem 1rem;
    border-left: 3px solid var(--brass);
}

label { display: grid; gap: 0.35rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }

input, textarea {
    width: 100%;
    font: inherit;
    color: inherit;
    background: white;
    border: 1px solid #cbbfaa;
    padding: 0.65rem 0.7rem;
}

input:focus, textarea:focus, button:focus-visible, a:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 2px;
}

.check {
    grid-template-columns: auto 1fr;
    align-items: start;
    font-weight: 400;
}

.check input { width: auto; margin-top: 0.35rem; }

.stack { display: grid; gap: 0.9rem; }
fieldset {
    border: 1px solid var(--line);
    margin: 0;
    padding: 1rem;
    display: grid;
    gap: 0.9rem;
}

.alert {
    background: var(--alert);
    color: var(--alert-ink);
    padding: 0.7rem 0.9rem;
}
.alert p { margin: 0.2rem 0; }
.alert.ok { background: var(--ok); color: var(--ok-ink); }

.qr {
    margin: 0.2rem 0 1rem;
    width: fit-content;
    background: #fff;
    padding: 0.7rem 0.7rem 0.5rem;
    border: 1px solid var(--line);
}

.qr svg {
    display: block;
    width: 220px;
    height: 220px;
}

.qr figcaption {
    margin-top: 0.35rem;
    text-align: center;
    font-size: 0.95rem;
}

.secret {
    font-family: Consolas, "Courier New", monospace;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    background: #f7f3ea;
    padding: 0.8rem;
    overflow-wrap: anywhere;
}

pre.watch {
    white-space: pre-wrap;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.92rem;
    background: #f7f3ea;
    padding: 0.8rem;
}

.codes {
    columns: 2;
    padding-left: 1.2rem;
}
.codes code { font-size: 1.05rem; }

table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
}
th, td {
    text-align: left;
    padding: 0.55rem 0.6rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }

.fine { color: var(--muted); }

.hinweis[hidden] { display: none !important; }

.hinweis {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    width: auto;
    max-width: 1080px;
    margin: 0 auto;
    padding: 1rem 1.1rem;
    background: var(--pine);
    color: #f6f1e6;
    box-shadow: 0 10px 30px rgba(28, 25, 20, 0.18);
    z-index: 2;
}

.hinweis h2 { margin: 0 0 0.3rem; font-size: 1.3rem; color: inherit; }
.hinweis p { margin: 0; }
.hinweis a { color: #f0d7b0; }
.hinweis-actions { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.hinweis button { background: #f6f1e6; color: var(--pine); }

body.shop {
    background: #fff;
    color: #1c2744;
    padding-bottom: 9rem;
}

body.shop h1,
body.shop h2,
body.shop h3 {
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    color: #1a335d;
}

.topbar {
    background: #fff;
    border-bottom: 3px solid #7eb6e6;
}

.topbar-inner {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding: 0.8rem 0;
}

.topbar .brand img { width: 168px; height: auto; display: block; }

body.shop .site-nav a { color: #2d4f86; font-size: 0.95rem; }
body.shop .site-nav a:hover { border-bottom-color: #7eb6e6; }

body.shop .site-footer {
    width: 100%;
    max-width: none;
    margin: 2rem 0 0;
    padding: 1.6rem 1rem 2rem;
    background: #e7eef3;
    color: #2d4f86;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.35rem;
    border-top: 0;
}

.footer-logo { width: 120px; height: auto; }

body.shop .site-footer a { color: #2d4f86; text-decoration: none; }
body.shop .site-footer a:hover { text-decoration: underline; }
body.shop .site-footer p { margin: 0.15rem 0; }
body.shop .site-footer .fine a { color: #6d7f93; font-size: 0.85rem; }

.trademarks {
    margin: 0.85rem 0 0;
    max-width: 42rem;
    color: #6a7c90;
    font-size: 0.72rem;
    line-height: 1.4;
    font-weight: 400;
}

.admin-mark {
    width: min(1080px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0 0 2rem;
}

.fp { width: min(980px, 100%); margin: 0 auto; padding: 1.6rem 0 2rem; }
.fp h1 {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    text-align: center;
    margin: 0.4rem 0 1rem;
}
.fp h2 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.fp .banner {
    background: #8ecdf5;
    color: #16325c;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin: 1.2rem 0;
}
.fp .banner a { color: inherit; text-decoration: none; }
.fp .kicker {
    color: #f15a24;
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.92rem;
    margin: 1.4rem 0 0.4rem;
}
.fp .audiences, .fp .signals, .fp .trainers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin: 1.5rem 0;
}
.fp .trainers { grid-template-columns: 1fr 1fr; text-align: center; }
.fp .audiences article, .fp .signals article { text-align: center; }
.fp .audiences img { width: 150px; height: 150px; object-fit: contain; }
.fp .audiences h2 { font-size: 1rem; }
.fp .q { color: #e23b3b; font-weight: 700; }
.fp .result, .fp .method, .fp blockquote { text-align: center; }
.fp blockquote {
    border: 0;
    color: #24324d;
    font-style: italic;
    max-width: 38rem;
    margin: 1rem auto;
    padding: 0;
}
.fp .split {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.2rem;
    align-items: center;
    margin: 1rem 0 1.4rem;
}
.fp .split img { width: 100%; height: auto; border-radius: 2px; }
.fp .steps { grid-template-columns: minmax(180px, 280px) 1fr; }
.fp .steps ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.7rem; }
.fp .pay { grid-template-columns: 1fr 220px; }
.fp .course { max-width: 34rem; margin: 0 auto 2rem; }
.fp .course ul { padding-left: 1.1rem; }
.fp .price { margin-top: 0.8rem; }
.fp-btn, .fp .banner + .course a {
    display: inline-block;
    background: #9fd4f6;
    color: #16325c;
    text-decoration: none;
    border-radius: 8px;
    padding: 0.45rem 0.8rem;
    font-weight: 600;
}
.fp .center { text-align: center; }
.fp hr { width: 72px; border: 0; border-top: 2px solid #c5cdd6; margin: 1.6rem auto; }
.fp table {
    display: table;
    width: 100%;
    background: transparent;
    border-collapse: collapse;
    margin: 0.5rem 0 1rem;
}
.fp th, .fp td { border: 1px solid #c5d0dc; padding: 0.55rem 0.65rem; font-size: 0.95rem; }
.fp .clients, .fp .note { color: #7d8ba0; font-size: 0.82rem; text-align: center; }
.fp .quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; color: #24508a; font-size: 0.92rem; }
.fp .quotes ul { margin: 0; padding-left: 1rem; }
.fp .trainers img { width: 180px; height: auto; }
.placeholder h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.uebung { width: min(1080px, 100%); margin: 2.2rem auto 3rem; }
.uebung h1 { font-size: 1.55rem; font-weight: 700; margin: 0 0 1.4rem; }
.uebung h2 { font-size: 1.35rem; font-weight: 700; margin: 2rem 0 0.7rem; }
.uebung-gate { text-align: center; }
.uebung-gate h1 { text-align: center; }
.uebung-gate form { display: grid; gap: 0.75rem; justify-items: center; margin-top: 1.2rem; }
.uebung-gate label { width: min(640px, 100%); font-weight: 400; }
.uebung-gate button {
    background: #8ecdf5;
    color: #16325c;
    border-color: #7eb6e6;
    min-width: 7.5rem;
    padding: 0.45rem 1.1rem;
}
.uebung-gate button:hover { background: #7eb6e6; color: #16325c; }
.uebung-lead {
    display: grid;
    grid-template-columns: min(534px, 100%) minmax(0, 1fr);
    gap: 1.6rem;
    align-items: start;
}
.uebung-lead figure { width: 100%; max-width: 534px; margin: 0; }
.uebung-lead a { display: block; }
.uebung-lead img { width: 100%; height: auto; display: block; }
.uebung-lead figcaption { margin-top: 0.4rem; font-size: 0.95rem; }
.uebung-folder {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    margin: 1rem 0 0.25rem;
}
.uebung-folder img, .uebung-list img { width: 18px; height: 18px; flex: none; }
.uebung-list { list-style: none; margin: 0.15rem 0 0.4rem; padding: 0; }
.uebung-list li { display: flex; align-items: flex-start; gap: 0.4rem; margin: 0.18rem 0; }
.uebung-list a { color: #1a4f9c; }
.uebung-shot { width: 100%; height: auto; margin: 1.4rem 0 0.4rem; }
.uebung .soon { color: #5c6b80; }

.fb { width: min(760px, 100%); margin: 2rem auto 3rem; }
.fb h1 { font-size: 1.7rem; font-weight: 650; text-align: left; margin: 0 0 0.8rem; }
.fb-step { margin: 0 0 0.35rem; color: #66788c; font-size: 0.92rem; }
.fb-bar { height: 14px; background: #d5dbe3; border-radius: 8px; overflow: hidden; margin: 0 0 1.3rem; }
.fb-bar span { display: block; height: 100%; background: #066aab; }
.fb-intro { display: grid; grid-template-columns: 1fr 250px; gap: 1.2rem; align-items: start; margin-bottom: 1rem; }
.fb-intro figure { margin: 0; }
.fb-intro img { width: 100%; height: auto; display: block; }
.fb-intro figcaption { text-align: center; font-size: 0.92rem; margin-top: 0.3rem; }
.fb-label { font-weight: 700; margin: 0.4rem 0; }
.fb .names { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 0.8rem; }
.fb .names label, .fb .names span { font-weight: 400; }
.fb .names span { color: #66788c; font-size: 0.88rem; }
.fb select {
    width: 100%;
    max-width: 34rem;
    font: inherit;
    color: inherit;
    background: white;
    border: 1px solid #c5cdd6;
    padding: 0.55rem 0.7rem;
}
.fb form { display: grid; gap: 0.85rem; position: relative; }
.fb-actions { display: flex; gap: 0.8rem; align-items: center; }
.fb button.weiter { width: auto; justify-self: start; background: #066aab; border-color: #055a92; color: white; padding: 0.55rem 1.2rem; }
.fb button.weiter:hover { background: #055a92; color: white; }
.fb button.quiet { background: transparent; color: #1a335d; border-color: transparent; }
.fb-note { color: #66788c; font-size: 0.92rem; margin: 0; }
.fb-thanks { background: #e7f6cf; border: 1px solid #b7d98a; padding: 0.85rem 1rem; }
.fb-thanks p { margin: 0.3rem 0; }
.fb-average { font-size: 2.2rem; margin: 0.2rem 0 0.4rem; font-weight: 650; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.fp-blog { margin-top: 1.2rem; }
.fp-blog-intro { max-width: 40rem; color: #3d4f63; }
.fp-blog-list {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}
.fp-blog-list article { display: grid; gap: 0.45rem; align-content: start; }
.fp-blog-list img { width: 100%; height: auto; display: block; background: #e8eef5; }
.fp-blog-list h3 { margin: 0; font-size: 1.05rem; font-weight: 650; line-height: 1.3; }
.fp-blog-list h3 a { color: inherit; text-decoration: none; }
.fp-blog-list h3 a:hover { color: #066aab; }
.fp-blog-list p { margin: 0; color: #2d3d50; }
.fp-blog-all { margin: 1.2rem 0 0; }
.fp-blog-all a { font-weight: 650; color: #066aab; }

.blog { width: min(920px, 100%); margin: 2rem auto 3.5rem; }
.blog-crumb { display: flex; flex-wrap: wrap; gap: 0.4rem; color: #66788c; font-size: 0.92rem; margin: 0 0 1.2rem; }
.blog-crumb a { color: #1a4f9c; }
.blog-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 650; }
.blog-hero p { margin: 0 0 1.4rem; color: #3d4f63; max-width: 40rem; }
.blog-search { margin: 0 0 1rem; padding: 1rem 1.1rem; background: linear-gradient(180deg, #f4f8fc, #eef4fa); border: 1px solid #d5dee8; }
.blog-search label { display: block; font-weight: 650; margin: 0 0 0.45rem; }
.blog-search-row { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }
.blog-search input[type="search"] {
    flex: 1 1 16rem;
    min-width: 12rem;
    font: inherit;
    border: 1px solid #c5cdd6;
    background: #fff;
    padding: 0.55rem 0.7rem;
}
.blog-search button {
    background: #066aab;
    border-color: #055a92;
    color: #fff;
    padding: 0.55rem 1.1rem;
}
.blog-search button:hover { background: #055a92; color: #fff; }
.blog-reset { color: #1a4f9c; }
.blog-result-meta, .blog-empty { color: #5c6b80; margin: 0 0 1.1rem; }
.blog-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.blog-card {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid #dbe3ec;
}
.blog-card-media { display: block; }
.blog-card-media img,
.blog-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    background: #e8eef5;
}
.blog-meta { margin: 0 0 0.35rem; color: #66788c; font-size: 0.92rem; }
.blog-card h2 { margin: 0 0 0.45rem; font-size: 1.25rem; font-weight: 650; line-height: 1.3; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { color: #066aab; }
.blog-card p { margin: 0 0 0.55rem; color: #2d3d50; }
.blog-more { font-weight: 650; color: #066aab; }
.blog-post-header { margin-bottom: 1.2rem; }
.blog-post-header h1 { margin: 0 0 0.7rem; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; }
.blog-lead { font-size: 1.08rem; color: #3d4f63; max-width: 42rem; }
.blog-hero-image { margin: 0 0 1.5rem; }
.blog-content { line-height: 1.65; color: #243447; }
.blog-content > *:first-child { margin-top: 0; }
.blog-content h2, .blog-content h3 { margin: 1.6rem 0 0.7rem; line-height: 1.25; }
.blog-content p, .blog-content ul, .blog-content ol { margin: 0 0 1rem; }
.blog-content img { max-width: 100%; height: auto; }
.blog-content a { color: #1a4f9c; }
.blog-content hr { border: 0; border-top: 1px solid #dbe3ec; margin: 1.6rem 0; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 0.4rem 0.7rem; color: #5c6b80; font-size: 0.92rem; margin: 1.5rem 0; }
.blog-tags span:not(:first-child) {
    background: #eef4fa;
    border: 1px solid #d5dee8;
    padding: 0.15rem 0.5rem;
}
.blog-post-footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #dbe3ec; }

@media (max-width: 800px) {
    .site-header, .cards, .hinweis { display: grid; }
    body { padding-bottom: 18rem; }
    .cards { grid-template-columns: 1fr; }
    .codes { columns: 1; }
    .topbar-inner { display: grid; justify-items: center; text-align: center; }
    .fp .audiences, .fp .signals, .fp .quotes, .fp .split, .fp .steps, .fp .pay, .fp .trainers,
    .uebung-lead, .fb-intro, .fb .names, .blog-card, .fp-blog-list {
        grid-template-columns: 1fr;
    }
    .fp table { display: block; overflow-x: auto; }
}
