/* luk-as.de — layout DNA from ie-rankguide.jp.net (navy + gold) + IHK / neon CTA gradient */
/* :root tokens aligned with reference site inline CSS, dark-adapted */
:root {
    --cbe-ie-p: #1e3a5f;
    --cbe-ie-pd: #0f2a4a;
    --cbe-ie-bl: #2a5298;
    --cbe-ie-gold: #d4900a;
    --cbe-ie-gold-t: rgba(212, 144, 10, 0.22);
    --cbe-ink: #e8edf5;
    --cbe-ink-mute: #a8b1c1;
    --cbe-ink-faint: #7a8799;
    --cbe-surface-0: #080d14;
    --cbe-surface-1: #0f1622;
    --cbe-surface-2: #141d2d;
    --cbe-surface-3: #1a2738;
    --cbe-line: #2a3a4f;
    --cbe-grad-cta-1: #00e878;
    --cbe-grad-cta-2: #00c8f0;
    --cbe-grad-cta-1-hi: #00ff88;
    --cbe-grad-cta-2-hi: #00d4ff;
    --cbe-font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --cbe-font-body: "Lora", "Georgia", serif;
    --cbe-radius: 16px;
    --cbe-radius-sm: 8px;
    --cbe-radius-pill: 9999px;
    --cbe-shadow: 0 12px 40px rgba(0, 20, 40, 0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body {
    width: 100%;
    font-family: var(--cbe-font-body);
    color: var(--cbe-ink);
    background: linear-gradient(180deg, var(--cbe-surface-0) 0%, #0a101a 100%);
    line-height: 1.75;
    font-size: 17px;
    overflow-x: hidden;
}
a {
    color: #5eedd0;
    text-decoration: none;
    transition: color .2s, box-shadow .2s, filter .2s;
}
a:hover { color: #a8fff0; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.cbe-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* —— Actions: IHK-style neon gradient CTA (green → cyan), black label —— */
.cbe-go {
    display: inline-block;
    padding: 12px 26px;
    border-radius: var(--cbe-radius-pill);
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: transform .15s, box-shadow .2s, filter .2s;
    white-space: nowrap;
    font-family: var(--cbe-font-ui);
}
.cbe-go:hover { transform: translateY(-2px); }
.cbe-go--ihk {
    background: linear-gradient(90deg, var(--cbe-grad-cta-1) 0%, var(--cbe-grad-cta-2) 100%);
    color: #0a0a0a;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.12),
        0 6px 28px rgba(0, 232, 120, 0.38),
        0 0 32px rgba(0, 200, 240, 0.28);
}
.cbe-go--ihk:hover {
    background: linear-gradient(90deg, var(--cbe-grad-cta-1-hi) 0%, var(--cbe-grad-cta-2-hi) 100%);
    color: #050505;
    filter: brightness(1.04);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.1),
        0 8px 36px rgba(0, 255, 136, 0.45),
        0 0 40px rgba(0, 212, 255, 0.35);
}
.cbe-go--block {
    display: block;
    width: 100%;
    text-align: center;
}

/* —— Ribbon (ie-rankguide topbar pattern) —— */
.cbe-rib {
    background: var(--cbe-ie-pd);
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--cbe-font-ui);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid var(--cbe-ie-gold);
}
.cbe-rib__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.cbe-rib a {
    color: #9dfff0;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    background: linear-gradient(90deg, var(--cbe-grad-cta-1), var(--cbe-grad-cta-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cbe-rib a:hover {
    -webkit-text-fill-color: #e0ffff;
    border-bottom-color: rgba(0, 232, 200, 0.5);
}

/* —— Header: gradient block like ie-rankguide .site-header —— */
.cbe-hd {
    background: linear-gradient(135deg, var(--cbe-ie-pd) 0%, var(--cbe-ie-p) 60%, var(--cbe-ie-bl) 100%);
    border-bottom: 1px solid rgba(42, 63, 88, 0.7);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 28px rgba(0, 10, 25, 0.45);
    max-width: 100%;
    overflow: hidden;
}
.cbe-hd::after {
    content: "◈ · ◆ · ◈";
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    opacity: 0.07;
    letter-spacing: 10px;
    pointer-events: none;
    color: #fff;
    font-family: var(--cbe-font-ui);
}
.cbe-hd__row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    max-width: 100%;
}
.cbe-hd__brand {
    font-family: var(--cbe-font-ui);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.cbe-hd__brand:hover { color: #ffe6a8; }

.cbe-hd__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.cbe-hd__burger span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: .3s;
}

.cbe-hd__list { display: flex; gap: 2px; flex-wrap: wrap; }
.cbe-hd__item > a {
    display: block;
    padding: 20px 14px;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--cbe-font-ui);
    font-size: 14px;
    font-weight: 600;
    transition: color .2s, background .2s;
    border-radius: var(--cbe-radius-sm);
}
.cbe-hd__item > a:hover,
.cbe-hd__item.active > a {
    color: #fff;
    background: var(--cbe-ie-gold-t);
}

/* Dropdowns (legacy) */
.has-dropdown { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--cbe-surface-2);
    min-width: 280px;
    border-radius: var(--cbe-radius-sm);
    box-shadow: var(--cbe-shadow);
    border: 1px solid var(--cbe-line);
    padding: 8px 0;
    z-index: 100;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
    display: block;
    padding: 8px 20px;
    color: var(--cbe-ink-mute);
    font-size: 13px;
    transition: background .15s;
}
.dropdown li a:hover {
    background: var(--cbe-surface-3);
    color: #5eedd0;
}

/* —— Main copy (Lora body + Inter headings, ie-rankguide H2 rhythm) —— */
.cbe-canvas { padding: 40px 0 60px; }
.cbe-canvas h1 {
    font-family: var(--cbe-font-ui);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    color: var(--cbe-ink);
    margin-bottom: 20px;
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
    letter-spacing: -0.02em;
}
.cbe-canvas h2 {
    font-family: var(--cbe-font-ui);
    font-size: 24px;
    font-weight: 800;
    color: var(--cbe-ink);
    margin-top: 44px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(30, 58, 95, 0.5);
    position: relative;
}
.cbe-canvas h2::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--cbe-ie-p), var(--cbe-ie-gold));
}
.cbe-canvas h3 {
    font-family: var(--cbe-font-ui);
    font-size: 19px;
    font-weight: 700;
    color: #c5d3eb;
    margin-top: 28px;
    margin-bottom: 12px;
}
.cbe-canvas p { margin-bottom: 18px; color: var(--cbe-ink-mute); word-wrap: break-word; overflow-wrap: break-word; }
.cbe-canvas a:not(.cbe-go) {
    font-family: var(--cbe-font-ui);
    font-weight: 600;
    color: #5eedd0;
    background: linear-gradient(90deg, #3dffb0, #4ec8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 1px solid rgba(0, 232, 200, 0.35);
    transition: filter .2s, border-color .2s;
}
.cbe-canvas a:not(.cbe-go):hover {
    filter: brightness(1.15);
    border-bottom-color: rgba(0, 212, 255, 0.6);
}
@supports not (background-clip: text) {
    .cbe-canvas a:not(.cbe-go) {
        color: #5eedd0;
        background: none;
        -webkit-text-fill-color: currentColor;
    }
}
.cbe-canvas ul, .cbe-canvas ol { margin-bottom: 16px; padding-left: 24px; }
.cbe-canvas ul { list-style: disc; }
.cbe-canvas ol { list-style: decimal; }
.cbe-canvas li { margin-bottom: 6px; color: var(--cbe-ink-mute); }
.cbe-canvas strong { color: var(--cbe-ink); }
.cbe-canvas dt { font-weight: 600; color: var(--cbe-ink); margin-top: 12px; }
.cbe-canvas dd { color: var(--cbe-ink-mute); margin-left: 0; padding-left: 0; }
.cbe-canvas table[border] { width: 100%; border-color: var(--cbe-line); }
.cbe-canvas table[border] th,
.cbe-canvas table[border] td { border-color: var(--cbe-line); }

/* —— Offer table / cards (ie-rankguide card top accent) —— */
.cbe-twrap {
    margin: 32px 0;
    position: relative;
    border-radius: var(--cbe-radius);
    border: 1px solid var(--cbe-line);
    background: var(--cbe-surface-1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}
.cbe-twrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cbe-ie-p), var(--cbe-ie-gold));
    z-index: 1;
    pointer-events: none;
}
.cbe-twrap[itemscope] { padding: 0; }
.cbe-tdesk { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cbe-ttable {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-family: var(--cbe-font-ui);
    background: var(--cbe-surface-1);
    border-radius: 0;
    overflow: hidden;
    border: none;
}
.cbe-ttable thead { background: var(--cbe-ie-pd); }
.cbe-ttable th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    font-size: 13px;
    border-bottom: 2px solid var(--cbe-ie-gold);
    white-space: nowrap;
}
.cbe-ttable td {
    padding: 16px 16px;
    border-bottom: 1px solid var(--cbe-line);
    vertical-align: middle;
}
.cbe-ttable tbody tr:hover { background: rgba(30, 58, 95, 0.25); }
.cbe-ttable tbody tr:nth-child(even) { background: rgba(15, 22, 34, 0.5); }
.cbe-ttable tbody tr:nth-child(even):hover { background: rgba(30, 58, 95, 0.22); }

.cbe-td-r {
    font-weight: 800;
    font-family: var(--cbe-font-ui);
    color: var(--cbe-ie-gold);
    text-align: center;
    width: 40px;
}
.cbe-td-ico {
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
}
.cbe-vlogo {
    width: 84px;
    height: 84px;
    min-width: 84px;
    object-fit: contain;
    border-radius: var(--cbe-radius-sm);
    flex-shrink: 0;
    border: 1px solid var(--cbe-line);
    background: var(--cbe-surface-2);
}
.cbe-ttable th:nth-child(3) { text-align: center; }
.cbe-td-deal {
    font-weight: 700;
    color: var(--cbe-ink);
    text-align: center;
}
.cbe-td-lic { color: var(--cbe-ink-faint); font-size: 13px; white-space: nowrap; }
.cbe-td-go { text-align: center; }

.cbe-tdesk { display: block; }
.cbe-tcards { display: none !important; }

.badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--cbe-font-ui);
    background: var(--cbe-ie-p);
    color: #fff;
    border-radius: 20px;
    margin-left: 6px;
    vertical-align: middle;
}

/* misc tables */
.table-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0 30px;
    max-width: 100%;
}
.top5-table {
    width: 100%;
    min-width: 400px;
    border-collapse: collapse;
    font-size: 15px;
    background: var(--cbe-surface-1);
    border: 1px solid var(--cbe-line);
    border-radius: var(--cbe-radius-sm);
    overflow: hidden;
}
.top5-table th {
    background: var(--cbe-ie-pd);
    font-family: var(--cbe-font-ui);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--cbe-ie-gold);
    color: #fff;
}
.top5-table td { padding: 10px 16px; border-bottom: 1px solid var(--cbe-line); color: var(--cbe-ink-mute); }
.top5-table th, .top5-table td { word-break: break-word; white-space: normal; }
.top5-table tr:hover { background: rgba(30, 58, 95, 0.2); }

/* author / FAQ */
.author-block {
    margin-top: 48px;
    padding: 24px;
    background: var(--cbe-surface-2);
    border-radius: var(--cbe-radius);
    border: 1px solid var(--cbe-line);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cbe-ie-p) 0%, var(--cbe-ie-bl) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    font-family: var(--cbe-font-ui);
    color: #fff;
    flex-shrink: 0;
}
.author-info h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; color: var(--cbe-ink); }
.author-info p { font-size: 13px; color: var(--cbe-ink-faint); margin-bottom: 2px; }

.faq-item { margin-bottom: 12px; }
.faq-question { font-weight: 600; font-size: 16px; color: var(--cbe-ink); margin-bottom: 6px; }
.faq-answer { color: var(--cbe-ink-mute); padding-left: 0; }

/* —— Footer (dark card) —— */
.cbe-ft {
    background: var(--cbe-surface-1);
    border-top: 1px solid var(--cbe-line);
    padding: 44px 0 28px;
    margin-top: 48px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}
.cbe-ft__top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 32px;
}
.cbe-ft__name {
    font-family: var(--cbe-font-ui);
    font-size: 16px;
    font-weight: 800;
    color: var(--cbe-ink);
}
.cbe-ft__name:hover {
    color: #ffe6a8;
}
.cbe-ft__ln ul { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.cbe-ft__ln a {
    font-family: var(--cbe-font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--cbe-ink-faint);
    border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
}
.cbe-ft__ln a:hover {
    color: #a8fff0;
    border-bottom-color: rgba(0, 232, 200, 0.4);
}
.cbe-ft__low {
    border-top: 1px solid var(--cbe-line);
    padding-top: 20px;
}
.cbe-ft__low p { font-size: 13px; color: var(--cbe-ink-faint); text-align: center; }

/* —— Cookie —— */
.cbe-ck {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #07090c;
    color: #fff;
    padding: 18px 0;
    z-index: 9999;
    display: none;
    border-top: 1px solid var(--cbe-line);
}
.cbe-ck.is-visible { display: block; }
.cbe-ck__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cbe-ck__row p { font-size: 13px; color: var(--cbe-ink-mute); margin: 0; }
.cbe-ck__row a {
    font-weight: 700;
    background: linear-gradient(90deg, #3dffb0, #4ec8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cbe-ck__row a:hover { filter: brightness(1.12); }

/* Placeholder logos (illustration pages) */
.cbe-phlogo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: var(--cbe-radius-sm);
    background: linear-gradient(135deg, var(--cbe-ie-p) 0%, var(--cbe-ie-bl) 100%);
    color: #fff;
    font-weight: 800;
    font-family: var(--cbe-font-ui);
    font-size: 18px;
    letter-spacing: 0.02em;
    border: 1px solid var(--cbe-line);
}

@media (max-width: 900px) {
    .cbe-hd::after { display: none; }
    .cbe-hd__burger { display: flex; }
    .cbe-hd__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, var(--cbe-ie-pd) 0%, #152238 100%);
        border-bottom: 2px solid var(--cbe-ie-gold);
        box-shadow: var(--cbe-shadow);
    }
    .cbe-hd__nav.is-opened { display: block; }
    .cbe-hd__list { flex-direction: column; padding: 8px 0; }
    .cbe-hd__item > a { padding: 12px 20px; }
    .dropdown {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: var(--cbe-surface-1);
        display: none;
        min-width: 100%;
    }
    .has-dropdown.is-opened .dropdown { display: block; }
    .dropdown li a { padding-left: 36px; }
    .cbe-canvas h1 { font-size: 26px; }
    .cbe-canvas h2 { font-size: 20px; }
    .cbe-tdesk { display: none !important; }
    .cbe-tcards { display: flex !important; flex-direction: column; gap: 16px; }
    .cbe-offer {
        background: var(--cbe-surface-2);
        border: 1px solid var(--cbe-line);
        border-radius: var(--cbe-radius);
        padding: 18px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    .cbe-offer__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
    .cbe-offer__n {
        width: 30px;
        height: 30px;
        background: linear-gradient(135deg, var(--cbe-ie-p), var(--cbe-ie-gold));
        color: #0a0a0a;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        font-weight: 800;
        font-family: var(--cbe-font-ui);
        flex-shrink: 0;
    }
    .cbe-offer__img {
        width: 74px;
        height: 74px;
        min-width: 74px;
        object-fit: contain;
        border-radius: var(--cbe-radius-sm);
        flex-shrink: 0;
    }
    .cbe-offer__label {
        font-weight: 600;
        font-size: 16px;
        color: var(--cbe-ink);
        min-width: 0;
        overflow-wrap: anywhere;
    }
    .cbe-offer__deal { font-size: 15px; font-weight: 700; color: var(--cbe-ink); margin-bottom: 4px; }
    .cbe-offer__meta { font-size: 13px; color: var(--cbe-ink-faint); margin-bottom: 12px; }
    .author-block { flex-direction: column; }
    .cbe-ck__row { flex-direction: column; text-align: center; }
    .cbe-ft__top { flex-direction: column; gap: 20px; }
    .cbe-phlogo { width: 74px; height: 74px; font-size: 16px; }
}

@media (max-width: 600px) {
    .cbe-canvas h1 { font-size: 22px; }
    .cbe-canvas h2 { font-size: 18px; }
    .cbe-canvas h3 { font-size: 16px; }
    .cbe-wrap { padding: 0 16px; }
    .cbe-hd__row { min-height: 56px; }
    .cbe-hd__brand { font-size: 14px; line-height: 1.3; max-width: 65%; white-space: normal; }
    .cbe-canvas { padding: 28px 0 40px; }
    .cbe-offer { padding: 14px; }
    .cbe-offer__deal { font-size: 14px; }
    .top5-table { font-size: 13px; }
    .top5-table th, .top5-table td { padding: 8px 12px; }
}

html, body { overflow-x: hidden; max-width: 100vw; }
.cbe-canvas h1, .cbe-canvas h2, .cbe-canvas h3, .cbe-canvas p, .cbe-canvas li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
