/* Affiliate-Startseite, angelehnt an die ERP-Landingpage */

:root {
    --aff-bg: #ffffff;
    --aff-soft: #f6f7f2;
    --aff-text: #0a0a0b;
    --aff-muted: #52525b;
    --aff-line: rgba(10, 10, 11, 0.10);
    --aff-line-strong: rgba(10, 10, 11, 0.20);
    --aff-lime: #ccff00;
    --aff-shadow: 0 12px 32px rgba(10, 10, 11, 0.10);
    --aff-max: 1140px;
    --aff-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body.aff-land {
    margin: 0;
    background: var(--aff-bg);
    color: var(--aff-text);
    font-family: var(--aff-font);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.aff-land a { color: inherit; text-decoration: none; }

.aff-land-wrap {
    width: 100%;
    max-width: var(--aff-max);
    margin: 0 auto;
    padding: 0 24px;
}

.aff-land-mark {
    background: linear-gradient(transparent 60%, var(--aff-lime) 60%);
    padding: 0 0.06em;
    border-radius: 2px;
}

.aff-land-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--aff-line);
}

.aff-land-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 72px;
}

.aff-land-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.4px;
    font-size: 18px;
}

.aff-land-logo img {
    height: 34px;
    width: auto;
    filter: brightness(0);
}

.aff-land-logo span { color: var(--aff-muted); font-weight: 600; }

.aff-land .lp-lang-toggle {
    border: 1px solid var(--aff-line-strong);
    background: #fff;
    color: var(--aff-text);
    border-radius: 999px;
}

.aff-land-nav nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.aff-land-nav nav a {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
}

.aff-land-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
}

.aff-land-btn-primary {
    background: var(--aff-lime);
    color: #0a0a0b;
}

.aff-land-btn-primary:hover { background: #bced00; }

.aff-land-btn-ghost {
    background: transparent;
    border-color: var(--aff-line-strong);
}

.aff-land-btn-ghost:hover { border-color: var(--aff-text); }

.aff-land-hero {
    padding: 88px 0 36px;
    background:
        radial-gradient(ellipse 70% 50% at 80% 0%, rgba(204, 255, 0, 0.35), transparent 60%),
        var(--aff-bg);
}

.aff-land-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--aff-muted);
    margin: 0 0 16px;
}

.aff-land-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--aff-lime);
    box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.35);
}

.aff-land-hero h1 {
    margin: 0;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.02;
    letter-spacing: -1.5px;
    max-width: 14ch;
}

.aff-land-hero .aff-land-lead {
    max-width: 560px;
    font-size: 18px;
    color: var(--aff-muted);
    margin: 20px 0 0;
}

.aff-land-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.aff-land-products { padding: 28px 0 72px; }

.aff-land-products h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.8px;
}

.aff-land-lead { color: var(--aff-muted); }

.aff-land-empty {
    margin-top: 28px;
    padding: 28px;
    border: 1px dashed var(--aff-line-strong);
    border-radius: 16px;
    color: var(--aff-muted);
}

.aff-rows {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 36px;
}

.aff-row {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    grid-template-areas:
        "media main"
        "media facts";
    gap: 12px 48px;
    align-items: start;
    width: 100%;
    padding: 48px clamp(24px, 5vw, 80px);
    background: #fff;
    border-top: 1px solid var(--aff-line);
}

.aff-row:nth-child(even) { background: var(--aff-soft); }
.aff-row:last-child { border-bottom: 1px solid var(--aff-line); }

.aff-row-media {
    grid-area: media;
    width: 280px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--aff-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.aff-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aff-row-fallback {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: var(--aff-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 800;
}

.aff-row-main { grid-area: main; }

.aff-row-facts {
    grid-area: facts;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 20px;
    padding-top: 22px;
    border-top: 1px solid var(--aff-line);
}

.aff-row-main h3 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -0.5px;
}

.aff-row-kicker {
    margin: 14px 0 0;
    color: var(--aff-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aff-row-market {
    margin: 4px 0 0;
    font-size: 15px;
}

.aff-row-desc {
    margin: 6px 0 0;
    color: var(--aff-text);
    font-size: 15px;
}

.aff-usp {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.aff-usp li {
    position: relative;
    padding-left: 16px;
    margin-top: 4px;
}

.aff-usp li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--aff-lime);
}

.aff-row-link {
    margin-top: 18px;
}

.aff-row-price {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.aff-row-meta span {
    display: block;
    color: var(--aff-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aff-row-meta strong {
    display: block;
    margin-top: 6px;
    font-size: 22px;
}

.aff-row-meta small {
    display: block;
    margin-top: 4px;
    color: var(--aff-muted);
}

.aff-row-provision strong {
    background: linear-gradient(transparent 62%, var(--aff-lime) 62%);
}

.aff-info { padding: 72px 0; background: var(--aff-soft); }
.aff-info h2, .aff-terms h2, .aff-calc h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.8px;
}
.aff-info-block { margin-top: 36px; }
.aff-info-block h3 { margin: 0 0 8px; font-size: 22px; }
.aff-info-block p { margin: 0; color: var(--aff-muted); max-width: 760px; }

.aff-check {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}
.aff-check li {
    background: #fff;
    border: 1px solid var(--aff-line);
    border-radius: 14px;
    padding: 16px 18px;
    font-weight: 600;
}

.aff-bill {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}
.aff-bill th, .aff-bill td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--aff-line);
    vertical-align: top;
}
.aff-bill th { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--aff-muted); }
.aff-bill tr:last-child td { border-bottom: 0; }

.aff-terms { padding: 72px 0 40px; }
.aff-terms article {
    margin-top: 22px;
    max-width: 760px;
}
.aff-terms h3 { margin: 0 0 6px; font-size: 18px; }
.aff-terms p { margin: 0; color: var(--aff-muted); }

.aff-land-steps {
    background: var(--aff-soft);
    padding: 72px 0;
}

.aff-land-steps h2 {
    margin: 0 0 28px;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.8px;
}

.aff-step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.aff-step-grid-space { margin-top: 28px; }

.aff-step {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid var(--aff-line);
}

.aff-step strong {
    display: inline-block;
    margin-bottom: 8px;
    background: var(--aff-lime);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 13px;
}

.aff-step h3 { margin: 8px 0; font-size: 20px; }
.aff-step p { margin: 0; color: var(--aff-muted); }

.aff-unlimited {
    background: var(--aff-lime);
    padding: 80px 0;
}

.aff-unlimited .aff-land-eyebrow,
.aff-unlimited .aff-unlimited-text {
    color: #0a0a0b;
}

.aff-unlimited .aff-land-dot {
    background: #0a0a0b;
    box-shadow: 0 0 0 4px rgba(10, 10, 11, 0.15);
}

.aff-unlimited .aff-land-mark {
    background: none;
    padding: 0;
}

.aff-unlimited h2 {
    max-width: 14ch;
    margin: 8px 0 18px;
    font-size: clamp(42px, 7vw, 84px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.aff-unlimited-text {
    max-width: 42rem;
    margin: 0;
    font-size: 22px;
    line-height: 1.45;
}

.aff-calc {
    padding: 28px 0 32px;
    background: var(--aff-soft);
}

.aff-calc .aff-land-eyebrow { margin-bottom: 6px; }

.aff-calc h2 {
    font-size: clamp(22px, 5vw, 32px);
    margin-bottom: 6px;
}

.aff-calc .aff-land-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
}

.aff-calc-form {
    margin-top: 12px;
}

.aff-calc-line {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) max-content;
    grid-template-areas:
        "check name qty"
        "check each sum";
    column-gap: 8px;
    row-gap: 2px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid var(--aff-line);
}

.aff-calc-check {
    grid-area: check;
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: #0a0a0b;
}

.aff-calc-name,
.aff-calc-each {
    display: block;
    min-width: 0;
}

.aff-calc-name {
    grid-area: name;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}

.aff-calc-qty { grid-area: qty; }

.aff-calc-line-sum { grid-area: sum; }

.aff-calc-each {
    grid-area: each;
    color: var(--aff-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.aff-calc-each strong {
    color: var(--aff-text);
    font-size: 12px;
}

.aff-calc-qty {
    width: 4.25rem;
    justify-self: end;
    height: 40px;
    margin: 0;
    padding: 0 4px;
    border: 1px solid var(--aff-line-strong);
    border-radius: 10px;
    background: #fff;
    color: var(--aff-text);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.aff-calc-qty::-webkit-outer-spin-button,
.aff-calc-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.aff-calc-line-sum {
    margin: 0;
    justify-self: end;
    text-align: right;
}

.aff-calc-line-sum strong {
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.aff-calc-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.aff-calc-total {
    margin-top: 6px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #0a0a0b;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.aff-calc-total > span {
    font-size: 14px;
    font-weight: 700;
}

.aff-calc-total strong {
    display: block;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--aff-lime);
    text-align: right;
    white-space: nowrap;
}

.aff-calc-note {
    margin: 8px 0 0;
    color: var(--aff-muted);
    font-size: 13px;
    line-height: 1.35;
}

.aff-land-foot {
    padding: 28px 0 40px;
    color: var(--aff-muted);
    font-size: 14px;
}

@media (max-width: 900px) {
    .aff-step-grid,
    .aff-check { grid-template-columns: 1fr; }
    .aff-row {
        grid-template-columns: 160px minmax(0, 1fr);
        grid-template-areas:
            "media main"
            "facts facts";
        gap: 16px;
        padding: 28px 20px;
    }
    .aff-row-media { width: 160px; height: 160px; }
    .aff-row-facts { grid-template-columns: 1fr 1fr; }
    .aff-land-nav-inner { height: auto; padding: 14px 0; align-items: flex-start; flex-direction: column; }
    .aff-bill { display: block; overflow-x: auto; }
}
