/* esim-global.de */
:root {
    --navy: #0f2a4a;
    --navy-2: #173b66;
    --teal: #0d9488;
    --teal-dark: #0f766e;
    --teal-soft: #e6f6f4;
    --ink: #0f172a;
    --muted: #5b6b7f;
    --line: #e3e8ef;
    --bg: #ffffff;
    --bg-soft: #f5f8fb;
    --warn-bg: #fff7e6;
    --warn: #8a5a00;
    --error-bg: #fdecec;
    --error: #b42318;
    --ok-bg: #e7f7ee;
    --ok: #067647;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15, 42, 74, .06), 0 6px 20px rgba(15, 42, 74, .07);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; }
a { color: var(--teal-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(28px, 4.5vw, 44px); margin: 0 0 12px; letter-spacing: -.02em; }
h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 16px; letter-spacing: -.01em; }
h3 { font-size: 18px; margin: 0 0 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip: auto; inset-inline-start: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
html, body { overflow-x: clip; }
:focus-visible { outline: 3px solid #5eead4; outline-offset: 2px; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 20px; letter-spacing: -.01em; }
.logo svg { width: 30px; height: 30px; color: #5eead4; }
.logo strong { color: #5eead4; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { color: #dbe7f5; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.main-nav a:hover, .main-nav a[aria-current] { background: rgba(255, 255, 255, .1); color: #fff; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #1d5c7a 100%); color: #fff; padding: 56px 0 72px; }
.hero h1 { color: #fff; max-width: 720px; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: #cfe0f2; max-width: 640px; margin: 0 0 28px; }
.search { position: relative; max-width: 560px; }
.search input { width: 100%; font: inherit; font-size: 18px; padding: 16px 18px 16px 50px; border-radius: 12px; border: 0; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); color: var(--ink); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.search-results { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; z-index: 4; max-height: 360px; overflow-y: auto; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 16px; color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a.active { background: var(--bg-soft); }
.search-results .price { margin-left: auto; color: var(--muted); font-size: 14px; white-space: nowrap; }
.search-results .empty { padding: 14px 16px; color: var(--muted); }
.usp { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding: 0; list-style: none; color: #cfe0f2; font-size: 15px; }
.usp li { position: relative; padding-inline-start: 22px; }
.usp li::before { content: "✓"; color: #5eead4; font-weight: 700; position: absolute; inset-inline-start: 0; top: 0; }

/* Sections */
.section { padding: 56px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { margin: 0; }

/* Country tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-1px); }
.tile .name { font-weight: 600; line-height: 1.25; }
.tile .from { display: block; font-size: 14px; color: var(--muted); font-weight: 400; }
.flag { width: 36px; height: 27px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); flex-shrink: 0; background: var(--bg-soft); }
.flag.lg { width: 72px; height: 54px; border-radius: 8px; }
.az-letter { font-size: 20px; margin: 28px 0 10px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; margin-bottom: 12px; }
.step p { margin: 0; color: var(--muted); }

/* Country page */
.country-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 32px 0; }
.country-head .inner { display: flex; align-items: center; gap: 20px; }
.country-head h1 { margin: 0 0 4px; }
.country-head p { margin: 0; color: var(--muted); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.filter button { font: inherit; font-size: 14px; padding: 8px 14px; border: 1px solid var(--line); background: #fff; border-radius: 999px; cursor: pointer; color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.packages { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pkg { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 1px 2px rgba(15, 42, 74, .04); }
.pkg .data { font-size: 28px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.pkg .days { color: var(--muted); margin-bottom: 12px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.pkg ul li { position: relative; padding: 2px 0; padding-inline-start: 14px; }
.pkg ul li::before { content: "•"; color: var(--teal); position: absolute; inset-inline-start: 0; top: 2px; }
.pkg .bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pkg .price { font-size: 24px; font-weight: 700; color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; padding: 11px 18px; border-radius: 10px; border: 0; background: var(--teal); color: #fff; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--teal-dark); }
.btn.lg { font-size: 18px; padding: 15px 24px; width: 100%; }
.btn.ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn[disabled] { opacity: .6; cursor: wait; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); }
.coverage { columns: 4 160px; font-size: 14px; color: var(--muted); margin: 12px 0 0; padding: 0; list-style: none; }
details.more { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-top: 24px; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--navy); }

/* Info boxes */
.note { border-radius: 12px; padding: 14px 18px; margin: 0 0 20px; }
.note.warn { background: var(--warn-bg); color: var(--warn); }
.note.error { background: var(--error-bg); color: var(--error); }
.note.ok { background: var(--ok-bg); color: var(--ok); }
.note ul { margin: 6px 0 0; padding-left: 20px; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; padding: 40px 16px 64px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.summary { position: sticky; top: 88px; }
.summary .head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0 0 16px; font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.summary .total { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; font-size: 20px; font-weight: 700; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input[type=email], .field select { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; }
.field input:focus, .field select:focus { border-color: var(--teal); outline: 3px solid #ccfbf1; }
.field .hint { font-size: 14px; color: var(--muted); margin-top: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal); }
.legal-hint { font-size: 14px; color: var(--muted); margin: 16px 0; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; justify-content: center; }
.pay-logos img { display: block; width: 48px; height: 30px; }
.site-footer .pay-logos, .prose .pay-logos { justify-content: flex-start; }
.prose .pay-logos { margin-bottom: 16px; }

/* Order page */
.order-wrap { max-width: 860px; padding: 40px 16px 64px; }
.esim { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.esim img.qr { width: 240px; height: 240px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.copy { font: inherit; font-size: 13px; color: var(--teal-dark); background: none; border: 0; cursor: pointer; padding: 0 0 0 8px; font-family: var(--font); }
.tabs { display: flex; gap: 8px; margin: 24px 0 12px; }
.tabs button { font: inherit; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.howto ol { padding-left: 20px; margin: 0; }
.howto li { margin-bottom: 6px; }
.spinner { width: 42px; height: 42px; border: 4px solid var(--teal-soft); border-top-color: var(--teal); border-radius: 50%; animation: spin 1s linear infinite; margin: 8px auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Text pages */
.prose { max-width: 820px; padding: 40px 16px 64px; }
.prose h2 { margin-top: 32px; font-size: 22px; }
.prose h3 { margin-top: 20px; }
.prose p, .prose li { color: #283548; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 17px; }
.faq details p { margin: 10px 0 0; }
.device-brands { columns: 3 220px; }
.device-brands section { break-inside: avoid; margin-bottom: 20px; }
.device-brands h3 { text-transform: capitalize; }
.device-brands ul { margin: 0; padding-left: 18px; font-size: 14px; color: #283548; }

/* Footer */
.site-footer { background: var(--navy); color: #b8c9dd; padding: 48px 0 24px; margin-top: 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { color: #fff; font-size: 15px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer a { display: block; color: #b8c9dd; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.logo-footer { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 20px; font-size: 14px; }

@media (max-width: 900px) {
    .checkout { grid-template-columns: 1fr; }
    .summary { position: static; order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hero { padding: 36px 0 48px; }
    .main-nav a { padding: 8px; font-size: 15px; }
    .logo span { font-size: 18px; }
    .esim { grid-template-columns: 1fr; }
    .esim img.qr { margin: 0 auto; display: block; }
    .kv { grid-template-columns: 1fr; gap: 2px; }
    .kv dt { margin-top: 8px; }
    .country-head .inner { align-items: flex-start; }
    .flag.lg { width: 56px; height: 42px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media print {
    .site-header, .site-footer, .tabs, .copy, .no-print { display: none !important; }
    .card { box-shadow: none; border: 0; }
}
.country-head .intro { max-width: 820px; margin: 18px 0 0; color: #283548; }
.logo { white-space: nowrap; }
@media (max-width: 420px) {
    .logo span { font-size: 17px; }
    .logo svg { width: 26px; height: 26px; }
    .main-nav { gap: 0; }
    .main-nav a { padding: 6px 7px; font-size: 14px; }
}
.pay-choice { border: 0; padding: 0; margin: 0 0 18px; }
.pay-choice legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.pay-choice .choice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; cursor: pointer; }
.pay-choice .choice:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.pay-choice input { width: 18px; height: 18px; accent-color: var(--teal); margin: 0; }
.pay-choice .label { font-weight: 500; }
.pay-choice .logos { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.pay-choice .logos img { width: 38px; height: 24px; }
.apn-box .apn-value { margin: 8px 0 4px; font-size: 18px; }
.apn-box code, .prose code, .faq code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(15, 42, 74, .06); padding: 1px 6px; border-radius: 4px; }
.apn-box details { margin-top: 8px; }
.apn-box summary { cursor: pointer; font-weight: 600; }
.apn-box p { margin: 8px 0 0; }
.pkg .apn-manual { color: var(--warn); }
.prose pre { background: #0f172a; color: #e2e8f0; padding: 14px 16px; border-radius: 10px; overflow-x: auto; font-size: 13px; line-height: 1.5; }
.prose pre code { background: none; color: inherit; padding: 0; }
.api-table { border-collapse: collapse; width: 100%; font-size: 15px; }
.api-table th, .api-table td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); }

/* Kachel-/Listenansicht der Pakete */
.pkg-toolbar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.pkg-toolbar .filter { margin: 0; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; margin-left: auto; }
.view-toggle button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; border: 0; background: none; padding: 6px 12px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.view-toggle button svg { width: 16px; height: 16px; fill: currentColor; }
.view-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.packages.list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.packages.list .pkg { display: grid; grid-template-columns: 150px 120px 1fr auto auto; align-items: center; gap: 4px 20px; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); box-shadow: none; padding: 14px 20px; }
.packages.list .pkg:last-child { border-bottom: 0; }
.packages.list .pkg:hover { background: var(--bg-soft); }
.packages.list .pkg .data { font-size: 20px; margin: 0; }
.packages.list .pkg .days { margin: 0; color: var(--ink); font-weight: 500; }
.packages.list .pkg ul { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.packages.list .pkg ul li { padding: 0; }
.packages.list .pkg .bottom { display: contents; }
.packages.list .pkg .price { font-size: 20px; text-align: right; white-space: nowrap; }
@media (max-width: 760px) {
    .packages.list .pkg { grid-template-columns: 1fr auto; grid-template-areas: "data price" "days btn" "info info"; padding: 14px 16px; }
    .packages.list .pkg .data { grid-area: data; }
    .packages.list .pkg .days { grid-area: days; }
    .packages.list .pkg ul { grid-area: info; margin-top: 6px; }
    .packages.list .pkg .price { grid-area: price; }
    .packages.list .pkg .btn { grid-area: btn; justify-self: end; }
    .view-toggle span { display: none; }
}

/* Sprachauswahl */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: #dbe7f5; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: rgba(255, 255, 255, .1); color: #fff; }
.lang-switch summary svg { width: 16px; height: 16px; }
.lang-switch ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); background: #fff; border-radius: 12px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; min-width: 180px; max-height: 70vh; overflow-y: auto; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; }
.lang-switch li a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; white-space: nowrap; }
.lang-switch li a:hover { background: var(--bg-soft); }
.lang-switch li a[aria-current] { background: var(--teal-soft); color: var(--teal-dark); font-weight: 600; }
@media (max-width: 600px) { .lang-switch summary { padding: 6px; } .lang-switch ul { position: fixed; inset-inline: 16px; top: 64px; grid-template-columns: 1fr 1fr; } }

/* Hinweis-Kacheln ohne Nummer */
.steps.tips { counter-reset: none; }
.steps.tips .step::before { display: none; }

/* Rechts-nach-links (Arabisch) */
[dir="rtl"] .search input { padding: 16px 50px 16px 18px; }
[dir="rtl"] .search svg { left: auto; right: 16px; }
[dir="rtl"] .view-toggle { margin-left: 0; margin-right: auto; }
[dir="rtl"] .search-results .price { margin-left: 0; margin-right: auto; }
[dir="rtl"] .summary dd, [dir="rtl"] .packages.list .pkg .price { text-align: left; }
[dir="rtl"] .copy { padding: 0 8px 0 0; }
[dir="rtl"] .note ul { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .howto ol { padding-left: 0; padding-right: 20px; }

/* Asien-Domains: eigene Farben */
.theme-asia {
    --navy: #3b0d2c;
    --navy-2: #5b1a45;
    --teal: #e11d48;
    --teal-dark: #be123c;
    --teal-soft: #ffe4e6;
}
.theme-asia .hero { background: linear-gradient(160deg, #3b0d2c 0%, #6b1d4f 55%, #9f1239 100%); }
.theme-asia .logo svg, .theme-asia .logo strong, .theme-asia .usp li::before { color: #fda4af; }
.theme-asia .hero p.lead, .theme-asia .usp { color: #fbd5dc; }
.theme-asia .site-footer { color: #e9c6d3; }
.theme-asia .site-footer a { color: #e9c6d3; }
.theme-asia :focus-visible { outline-color: #fda4af; }

/* Länderseite: Foto und Reiseinfos */
.country-head.has-photo .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: auto auto 1fr; column-gap: 40px; align-items: start; }
.country-head.has-photo .crumbs { grid-column: 1 / -1; }
.country-head.has-photo .inner, .country-head.has-photo .intro { grid-column: 1; }
.country-photo { grid-column: 2; grid-row: 2 / span 2; margin: 0; position: relative; }
.country-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.country-photo figcaption { position: absolute; inset-inline-end: 8px; bottom: 8px; font-size: 11px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.country-photo figcaption a, .country-photo figcaption span { color: #fff; text-decoration: none; background: rgba(0, 0, 0, .45); padding: 2px 7px; border-radius: 6px; }
@media (max-width: 860px) {
    .country-head.has-photo .wrap { grid-template-columns: 1fr; grid-template-rows: none; }
    .country-photo { grid-column: 1; grid-row: auto; margin: 0 0 18px; }
    .country-photo img { aspect-ratio: 16 / 9; }
}

.guide { margin-top: 48px; max-width: 980px; }
.guide h3 { font-size: 20px; margin: 32px 0 12px; }
.guide h4 { font-size: 17px; margin: 0 0 6px; color: var(--navy); }
.guide p { margin: 0 0 12px; }
.guide-intro { font-size: 17px; color: #283548; max-width: 820px; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin: 0; }
.facts > div { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); }
.highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.highlights article { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.highlights p { margin: 0; color: #283548; }
.tips { padding-inline-start: 20px; margin: 0; }
.tips li { margin-bottom: 8px; }
.dos-donts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.dos-donts > div { border-radius: var(--radius); padding: 4px 20px 12px; }
.dos-donts h3 { margin-top: 14px; }
.dos-donts ul { list-style: none; padding: 0; margin: 0; }
.dos-donts li { position: relative; padding-inline-start: 26px; margin-bottom: 10px; }
.dos-donts li::before { position: absolute; inset-inline-start: 0; top: 0; font-weight: 700; }
.dos { background: var(--ok-bg); }
.dos li::before { content: "✓"; color: var(--ok); }
.donts { background: var(--error-bg); }
.donts li::before { content: "✕"; color: var(--error); }
.guide .guide-note { margin-top: 24px; }
@media (max-width: 700px) {
    .dos-donts { grid-template-columns: 1fr; }
}

/* Anleitung */
.setup .lead { font-size: 18px; color: #283548; }
.setup .toc { display: flex; flex-wrap: wrap; gap: 6px 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 20px 0 8px; font-size: 15px; }
.setup h2 { margin-top: 36px; scroll-margin-top: 80px; }
.setup ol li, .setup ul li { margin-bottom: 8px; }

/* esim-weltweit.de / esim-global.de: Farben aus dem ReiseSIM-Logo, helles Design im Stil von esim.com.de */
.theme-global {
    --navy: #21405f;          /* Logo: Schieferblau */
    --navy-2: #2d5a80;
    --teal: #2191bc;          /* Logo: Hellblau */
    --teal-dark: #1a7399;
    --teal-soft: #e4f3fa;
    --bg-soft: #f4f7fa;
    --font: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Josefin Sans", "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.theme-global body, body.theme-global { font-weight: 500; }
.theme-global h1, .theme-global h2, .theme-global h3, .theme-global .logo, .theme-global .main-nav a, .theme-global .site-footer h2 { font-family: var(--font-head); }
.theme-global h1, .theme-global h2 { font-weight: 700; letter-spacing: 0; }
.theme-global h3 { font-weight: 700; }
.theme-global :focus-visible { outline-color: #7cc4e2; }

/* Leiste oben mit Vorteilen */
.topbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-top: 6px; padding-bottom: 6px; }
.topbar span { position: relative; padding-inline-start: 16px; }
.topbar span::before { content: "✓"; color: var(--teal); font-weight: 700; position: absolute; inset-inline-start: 0; top: 0; }
@media (max-width: 700px) { .topbar span:nth-child(n+3) { display: none; } }

/* Kopfzeile hell */
.theme-global .site-header { background: #fff; color: var(--navy); border-bottom: 1px solid var(--line); box-shadow: 0 1px 8px rgba(33, 64, 95, .06); }
.theme-global .logo { color: var(--navy); font-size: 22px; font-weight: 700; }
.theme-global .logo svg { color: var(--teal); }
.theme-global .logo strong { color: var(--teal); }
.theme-global .main-nav a { color: var(--navy); font-weight: 600; letter-spacing: .02em; }
.theme-global .main-nav a:hover, .theme-global .main-nav a[aria-current] { background: var(--teal-soft); color: var(--teal-dark); }
.theme-global .lang-switch summary { color: var(--navy); }
.theme-global .lang-switch summary:hover, .theme-global .lang-switch[open] summary { background: var(--teal-soft); color: var(--teal-dark); }

/* Startbereich als blauer Verlaufs-Kasten */
.theme-global .hero { background: #fff; padding: 28px 0 8px; }
.theme-global .hero > .wrap { background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); border-radius: 18px; padding: 56px 40px 48px; text-align: center; box-shadow: 0 10px 30px rgba(33, 64, 95, .18); }
.theme-global .hero h1 { margin-left: auto; margin-right: auto; }
.theme-global .hero p.lead { color: #e1f1f9; margin-left: auto; margin-right: auto; }
.theme-global .hero .search { margin: 0 auto; text-align: start; }
.theme-global .usp { justify-content: center; color: #e1f1f9; }
.theme-global .usp li::before { color: #fff; }
@media (max-width: 600px) {
    .theme-global .hero { padding: 12px 0 0; }
    .theme-global .hero > .wrap { border-radius: 14px; padding: 32px 18px 28px; margin: 0 12px; }
}

/* Kacheln, Schritte, Buttons */
.theme-global .tile { background: var(--bg-soft); border-color: transparent; }
.theme-global .tile:hover { background: #fff; border-color: var(--teal); }
.theme-global .step::before { background: var(--teal); color: #fff; }
.theme-global .btn { font-weight: 700; }
.theme-global .country-head { background: linear-gradient(180deg, var(--teal-soft) 0%, var(--bg-soft) 100%); }
.theme-global .site-footer { background: var(--navy); }
.theme-global .site-footer a:hover { color: #9fd6ee; }
.theme-global .hero .usp { display: none; }   /* Vorteile stehen in der Leiste oben */
@media (max-width: 600px) {
    .theme-global .logo { font-size: 18px; gap: 8px; }
    .theme-global .logo svg { width: 26px; height: 26px; }
}
@media (max-width: 420px) {
    .theme-global .logo { font-size: 16px; }
    .theme-global .logo svg { width: 22px; height: 22px; }
    .theme-global .main-nav a { padding: 6px 5px; font-size: 13.5px; letter-spacing: 0; }
    .theme-global .lang-switch summary { padding: 6px 4px; }
}

/* Ratgeber */
.blog { padding-top: 32px; padding-bottom: 24px; }
.blog .lead { font-size: 18px; color: #283548; max-width: 760px; }
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin: 24px 0; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.blog-card h2, .blog-card h3 { font-size: 20px; margin: 0 0 6px; }
.blog-card h2 a, .blog-card h3 a { color: var(--navy); text-decoration: none; }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--teal-dark); }
.blog-card p { margin: 0 0 10px; }
.blog-card .more { font-weight: 600; text-decoration: none; }
.blog-article { max-width: 780px; }
.blog-article h2 { margin-top: 32px; }
.blog-article table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 15px; }
.blog-article th, .blog-article td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; }
.blog-article th { background: var(--bg-soft); }
.blog-cta { max-width: 780px; background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); color: #fff; border-radius: var(--radius); padding: 24px 26px; margin: 32px 0; }
.blog-cta h2 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.blog-cta p { margin: 0 0 14px; color: #e4f3fa; }
.blog-cta .btn { background: #fff; color: var(--navy); }
.blog-more-title { margin-top: 40px; font-size: 22px; }

/* Fußzeile: Anbieter ReiseSIM.de und "Made in Kevelaer" */
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 24px; }
.footer-brand + .footer-bottom { border-top: 0; margin-top: 16px; padding-top: 0; }
.site-footer a.reisesim-badge { display: inline-flex; align-items: center; gap: 12px; padding: 0; color: inherit; }
.reisesim-badge span { font-size: 14px; }
.reisesim-badge img { display: block; height: 44px; width: auto; background: #fff; border-radius: 10px; padding: 7px 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); transition: transform .15s; }
.reisesim-badge:hover img { transform: translateY(-1px); }
.made-in { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 8px 14px 8px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; color: #fff; font-size: 14px; letter-spacing: .01em; }
.made-in strong { font-weight: 700; }
.made-in .heart { width: 18px; height: 18px; fill: #ef4458; flex: none; }
.made-in .de-flag { width: 18px; height: 12px; border-radius: 2px; flex: none; background: linear-gradient(#000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
@media (prefers-reduced-motion: no-preference) {
    .made-in:hover .heart { animation: heartbeat .9s ease-in-out 2; }
}
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.22); } 60% { transform: scale(.95); } }
@media (max-width: 600px) { .footer-brand { flex-direction: column; align-items: flex-start; } }
.theme-global .site-footer .logo { color: #fff; }
.theme-global .site-footer .logo strong { color: #9fd6ee; }
