@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/inter-1.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-2.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-3.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-4.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-5.ttf') format('truetype'); }

:root {
  --primary: #1a365d;
  --primary-light: #2b4c7e;
  --accent: #e67e22;
  --accent-hover: #d35400;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --bg-dark: #0f1b2d;
  --text: #1a202c;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text); line-height: 1.6; background: var(--bg); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-burger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

/* ── Hero ── */
.hero { position: relative; padding: 120px 0 80px; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('hero-bg.jpg') center/cover no-repeat; z-index: 0; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,54,93,0.92) 0%, rgba(43,76,126,0.88) 50%, rgba(59,108,176,0.85) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; }

.hero-welcome { font-size: 1.1rem; color: #f0c040; font-style: italic; margin-bottom: 8px; font-weight: 400; letter-spacing: 0.5px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.hero-accent { color: var(--accent); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }

/* ── Tool Card ── */
.tool-card { background: var(--card-bg); border-radius: 16px; padding: 36px; box-shadow: var(--shadow-lg); max-width: 640px; margin: 0 auto; text-align: left; }
.tool-step { margin-bottom: 24px; }
.tool-step-label { font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.step-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.75rem; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.lang-row { display: flex; align-items: center; gap: 12px; }
.lang-field { flex: 1; }
.lang-field label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.lang-field select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; background: #fff; cursor: pointer; transition: border-color 0.2s; }
.lang-field select:focus { outline: none; border-color: var(--primary); }
.lang-arrow { font-size: 1.3rem; color: var(--text-light); margin-top: 18px; }

/* ── Dropzone ── */
.dropzone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.dropzone:hover, .dropzone.dragover { border-color: var(--primary); background: rgba(26,54,93,0.03); }
.dz-icon { color: var(--text-light); margin-bottom: 8px; }
.dz-text { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 4px; }
.dz-link { background: none; border: none; color: var(--accent); font-weight: 600; cursor: pointer; font-size: 0.95rem; text-decoration: underline; }
.dropzone small { color: var(--text-light); font-size: 0.8rem; }
.dz-file { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.dz-file-name { font-weight: 500; flex: 1; }
.dz-file-size { color: var(--text-muted); font-size: 0.85rem; }
.dz-remove { background: none; border: none; color: var(--text-light); font-size: 1.1rem; cursor: pointer; padding: 4px 8px; border-radius: 4px; }
.dz-remove:hover { background: #fee2e2; color: #dc2626; }

/* ── Options + Button ── */
.tool-options { display: flex; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.opt { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--text-muted); cursor: pointer; }
.opt input { accent-color: var(--primary); }
.btn-quote { width: 100%; padding: 14px; background: var(--accent); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.1s; }
.btn-quote:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-1px); }
.btn-quote:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Result ── */
#result { margin-top: 24px; }
.result-loading { display: flex; align-items: center; gap: 12px; padding: 20px; justify-content: center; color: var(--text-muted); }
.result-loading[hidden] { display: none; }
.spinner { width: 24px; height: 24px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.price-hero { text-align: center; padding: 24px 0 16px; }
.price { font-size: 2.4rem; font-weight: 700; color: var(--primary); }
.delivery { color: var(--text-muted); font-size: 0.95rem; margin-top: 4px; }
.breakdown { border-top: 1px solid var(--border); padding-top: 12px; margin: 12px 0 16px; }
.breakdown-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; color: var(--text-muted); }
.breakdown-row.total { border-top: 1.5px solid var(--primary); margin-top: 8px; padding-top: 10px; font-weight: 700; color: var(--text); }
.betrag { font-variant-numeric: tabular-nums; }
.ocr-info { background: var(--bg-alt); border-left: 3px solid var(--primary); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 16px; font-size: 0.88rem; }
.ocr-info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-top: 8px; font-size: 0.82rem; color: var(--text-muted); }
.ocr-info-row span { font-weight: 500; }
.text-preview { margin: 12px 0; }
.text-preview summary { cursor: pointer; font-size: 0.85rem; color: var(--text-muted); padding: 8px 0; }
.text-preview pre { font-size: 0.75rem; max-height: 200px; overflow: auto; padding: 12px; background: var(--bg-alt); border-radius: var(--radius-sm); white-space: pre-wrap; word-break: break-word; }
.btn-primary { width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; margin-top: 12px; }
.btn-primary:hover { background: var(--primary-light); }

/* ── Lang Banner ── */
.lang-banner { background: var(--bg-alt); padding: 20px 0; text-align: center; border-bottom: 1px solid var(--border); }
.lang-banner p { font-size: 1rem; color: var(--text-muted); }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: 1.8rem; font-weight: 700; color: var(--primary); text-align: center; margin-bottom: 48px; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image::before { content: ''; position: absolute; top: 12px; left: -8px; bottom: -8px; width: 6px; background: var(--accent); border-radius: 3px; z-index: 1; }
.about-image img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.about-label { font-size: 0.85rem; color: var(--accent); font-style: italic; margin-bottom: 4px; }
.about-heading { font-size: 1.6rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.98rem; line-height: 1.8; }
.btn-about-contact { display: inline-block; margin-top: 8px; padding: 12px 32px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 24px; font-weight: 600; font-size: 0.95rem; transition: background 0.2s, transform 0.1s; }
.btn-about-contact:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 32px 20px; background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.2s; }
.step-card:hover { transform: translateY(-4px); }
.step-num { width: 44px; height: 44px; background: var(--accent); color: #fff; font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border-radius: 8px; margin: 0 auto 16px; }
.step-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { margin-bottom: 20px; }
.contact-item strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item a, .contact-item span { color: var(--text); font-size: 1.05rem; text-decoration: none; }
.contact-item a:hover { color: var(--accent); }
.contact-cta { background: var(--bg-alt); border-radius: var(--radius); padding: 36px; text-align: center; }
.contact-cta p { color: var(--text-muted); margin-bottom: 20px; font-size: 1.05rem; }
.btn-cta { display: inline-block; padding: 14px 36px; background: var(--accent); color: #fff; text-decoration: none; border-radius: var(--radius-sm); font-weight: 600; font-size: 1.05rem; transition: background 0.2s, transform 0.1s; }
.btn-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.contact-note { font-size: 0.88rem; color: var(--text-light); margin-top: 16px; }
.contact-note a { color: var(--accent); }

/* ── Footer ── */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.footer-col a, .footer-col span { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; line-height: 1.6; }
.footer-col a:hover { color: #fff; }
.footer-brand { margin-bottom: 8px; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.35); }

.btn-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-muted); padding: 4px 8px; }

/* ── Order Dialog ── */
.order-dialog { border: none; border-radius: var(--radius); padding: 28px; max-width: 520px; width: 90%; box-shadow: var(--shadow-lg); margin: auto; }
.order-dialog::backdrop { background: rgba(0,0,0,0.5); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dialog-head h3 { color: var(--primary); }
.quote-summary { background: var(--bg-alt); padding: 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 0.95rem; line-height: 1.7; }
.dialog-note { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 16px; }
.dialog-contact { font-size: 0.88rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 16px; }
.dialog-contact a { color: var(--accent); text-decoration: none; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); gap: 16px; }
  .nav-burger { display: block; }
  .hero { padding: 100px 0 60px; }
  
.hero-welcome { font-size: 1.1rem; color: #f0c040; font-style: italic; margin-bottom: 8px; font-weight: 400; letter-spacing: 0.5px; }
.hero h1 { font-size: 1.8rem; }
  .tool-card { padding: 24px 16px; }
  .lang-row { flex-direction: column; }
  .lang-arrow { transform: rotate(90deg); margin: 0; }
  .about-grid { grid-template-columns: 1fr; } .about-image { max-width: 400px; margin: 0 auto; }
  
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tool-options { flex-direction: column; gap: 12px; }
}

/* ── Cookie Banner ── */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; background: var(--bg-dark); border-top: 2px solid var(--accent); padding: 0; transform: translateY(100%); transition: transform 0.35s ease; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner { max-width: 960px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-inner p { flex: 1; min-width: 260px; color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.5; margin: 0; }
.cookie-inner a { color: var(--accent); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 10px 22px; border: none; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.cookie-btn-accept { background: var(--accent); color: #fff; }
.cookie-btn-accept:hover { background: var(--accent-hover); }
.cookie-btn-decline { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }
.cookie-btn-decline:hover { background: rgba(255,255,255,0.2); }
@media (max-width: 600px) { .cookie-inner { flex-direction: column; text-align: center; } .cookie-btns { width: 100%; justify-content: center; } }

/* ── Legal Pages ── */
.legal-page { padding: 120px 0 60px; min-height: 80vh; }
.legal-page h1 { color: var(--primary); margin-bottom: 8px; font-size: 1.8rem; }
.legal-page .legal-date { color: var(--text-light); font-size: 0.88rem; margin-bottom: 32px; }
.legal-page h2 { color: var(--primary); font-size: 1.2rem; margin: 28px 0 12px; }
.legal-page p, .legal-page li { color: var(--text); font-size: 0.95rem; line-height: 1.7; }
.legal-page ul { padding-left: 24px; margin: 8px 0; }
.legal-page a { color: var(--accent); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }
.footer-legal { font-size: 0.82rem; }
.footer-legal a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* ── Admin Link ── */
.admin-link { opacity: 0.3; font-size: 0.78rem !important; margin-top: 4px; }
.admin-link:hover { opacity: 1; }

/* Order form */
.form-label { display: block; margin-bottom: 12px; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.form-label input, .form-label textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; font-family: inherit; box-sizing: border-box; }
.form-label input:focus, .form-label textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,54,93,0.1); }

/* Payment */
.payment-block { background: var(--bg-light, #f8fafc); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.payment-block h4 { margin: 0 0 12px; color: var(--primary); font-size: 0.95rem; }
.bank-details { font-size: 0.88rem; line-height: 1.7; }
.bank-details strong { display: inline-block; min-width: 140px; }
.betreff-highlight { background: #fef3c7; padding: 2px 8px; border-radius: 4px; font-weight: 700; font-family: monospace; letter-spacing: 0.5px; }
.pay-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 8px; }
.btn-mollie { width: 100%; padding: 12px; background: #0a6ebd; color: #fff; border: none; border-radius: var(--radius); font-size: 0.95rem; cursor: pointer; font-weight: 600; }
.btn-mollie:hover { background: #085a9e; }

/* Confirmation */
.confirmation-box { text-align: center; padding: 20px 0; }
.confirm-icon { width: 60px; height: 60px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 32px; line-height: 60px; margin: 0 auto 16px; }

/* Shipping choice */
.shipping-choice { margin: 16px 0; }
.shipping-choice legend { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; margin-bottom: 8px; }
.shipping-opt { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 6px; cursor: pointer; transition: border-color 0.2s; }
.shipping-opt:hover { border-color: var(--primary); }
.shipping-opt input[type="radio"] { accent-color: var(--primary); }
.shipping-opt .shipping-label { flex: 1; font-size: 0.9rem; }
.shipping-opt .shipping-price { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

/* Julia-Feedback Additions */
.hero-badge {
  display: block;
  width: fit-content;
  margin: 8px auto 0;
  text-align: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-top: 8px;
  backdrop-filter: blur(4px);
}

.step-detail {
  font-size: 0.85rem;
  color: var(--muted, #6b7280);
  margin-top: 6px;
}

.shipping-note {
  display: block;
  font-size: 0.8rem;
  color: var(--muted, #6b7280);
  margin-top: 2px;
  font-style: italic;
}

.mollie-info {
  font-size: 0.9rem;
  color: var(--text, #333);
  margin-bottom: 10px;
  line-height: 1.5;
}

.mollie-methods {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--muted, #6b7280);
  margin-bottom: 14px;
  text-align: center;
  letter-spacing: 0.3px;
}

/* ── News / Aktuelles ── */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.news-card { text-align: left; padding: 24px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card .news-date { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.news-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 10px; line-height: 1.35; }
.news-card .news-teaser { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.news-card .news-more { margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 0.88rem; }

/* ── Textblöcke (Zertifiziert / Professionell) ── */
.text-block { max-width: 820px; margin: 0 auto 36px; }
.text-block:last-child { margin-bottom: 0; }
.text-block h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 14px; }
.text-block p { font-size: 0.98rem; color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.more-text[hidden] { display: none; }
.btn-more { background: none; border: none; color: var(--accent); font-weight: 600; font-size: 0.95rem; cursor: pointer; padding: 4px 0; }
.btn-more:hover { color: var(--accent-hover); text-decoration: underline; }

/* ── USP / Stärken ── */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.usp-card { text-align: center; padding: 32px 24px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.usp-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 12px; }
.usp-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

/* ── News Dialog ── */
.news-dialog { max-width: 640px; }
.news-dialog-date { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 16px; }
.news-dialog-body p { font-size: 0.98rem; color: var(--text); line-height: 1.75; margin-bottom: 14px; }

@media (max-width: 760px) {
  .usp-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ── Zahlungs-Symbole (Mollie) ── */
.pay-icons { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; align-items: center; }
.pay-badge { display: inline-flex; align-items: center; justify-content: center; height: 28px; min-width: 46px; padding: 0 9px; background: #fff; border: 1px solid #e2e8f0; border-radius: 5px; font-size: 11px; font-weight: 800; letter-spacing: 0.3px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); white-space: nowrap; }
.pay-visa { color: #1a1f71; font-style: italic; }
.pay-paypal { color: #003087; }
.pay-sepa { color: #10298e; }
.pay-applepay { color: #000; }
.pay-gpay { color: #5f6368; }
.pay-klarna { background: #ffb3c7; color: #17120f; border-color: #ffb3c7; }
.pay-mc { padding: 0 6px; min-width: 0; }
.pay-mc svg { display: block; }

/* ── i18n: Flacker-Schutz (nur Nicht-DE versteckt bis Übersetzung da) ── */
html.i18n-loading body { visibility: hidden; }

/* ── i18n: Sprach-Umschalter im Header ── */
.lang-switcher { position: relative; margin-left: 16px; flex-shrink: 0; }
.lang-current { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 0.9rem; color: inherit; line-height: 1; }
.lang-current .lang-flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: inline-block; }
.lang-current .lang-caret { font-size: 0.7rem; opacity: 0.7; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--card-bg, #fff); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg, 0 10px 30px rgba(0,0,0,.15)); min-width: 175px; z-index: 1000; max-height: 75vh; overflow-y: auto; }
.lang-menu li { margin: 0; }
.lang-menu button { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: transparent; border: none; padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 0.92rem; color: var(--text, #1f2937); }
.lang-menu button:hover { background: rgba(0,0,0,0.06); }
.lang-menu button[aria-current="true"] { font-weight: 700; color: var(--accent); }
.lang-menu .lang-flag { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex-shrink: 0; }
@media (max-width: 640px) { .lang-switcher { margin-left: 8px; } .lang-current .lang-code { display: none; } }
