/* Local CSS overrides — loaded after the generated theme CSS.
   This file is NOT generated by Webcard and will not be overwritten on export.
   Use it for tweaks, corrections, and additions. */

/* ── Cookie Consent Banner ─────────────────────────────────────── */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #1a1a2e;
  color: #f0f0f0;
  box-shadow: 0 -2px 12px rgba(0,0,0,.35);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.ccb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ccb-text {
  flex: 1 1 300px;
  margin: 0;
  color: #d0d0d0;
}

.ccb-link {
  color: #7ab8f5;
  text-decoration: underline;
}

.ccb-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.ccb-btn {
  padding: 9px 22px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s;
}

.ccb-btn:hover { opacity: .85; }

.ccb-btn--primary {
  background: #007AFF;
  color: #fff;
}

.ccb-btn--secondary {
  background: transparent;
  color: #d0d0d0;
  border: 1px solid #555;
}

@media (max-width: 600px) {
  .ccb-inner { padding: 14px 16px; gap: 12px; }
  .ccb-actions { width: 100%; justify-content: flex-end; }
}

/* ── Language switcher: unified top-right, no flags ────────────── */
/* Targets both native Webcard switcher and JS-injected fallback    */
.ed-language.language-item {
  position: fixed !important;
  top: 14px !important;
  right: 20px !important;
  z-index: 10000 !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  background: transparent !important;
  gap: 0 !important;
}

/* Remove flag icons (custom.js sets inline background-image) */
.ed-language.language-item a {
  background-image: none !important;
  padding: 4px 7px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color: inherit !important;
  text-decoration: none !important;
  opacity: 0.45 !important;
  transition: opacity .15s !important;
}

.ed-language.language-item a.active {
  opacity: 1 !important;
}

.ed-language.language-item a:hover {
  opacity: 0.75 !important;
}

.ed-language.language-item a + a {
  border-left: 1px solid currentColor !important;
  opacity: 0.45 !important;
}

.ed-language.language-item a + a.active {
  opacity: 1 !important;
}

@media (max-width: 600px) {
  .ed-language.language-item {
    top: 10px !important;
    right: 14px !important;
  }
}

/* ── Footer ─────────────────────────────────────────────────────── */
/* Dark background instead of theme blue; transparent inner boxes  */
.footer-saga-content.footer,
.footer-saga-content.footer > .inner {
  background-color: #1a1a2e !important;
  background-image: none !important;
}

.footer-saga-content .footer-saga-box {
  background-color: transparent !important;
  background-image: none !important;
}

.footer-saga-content .footer-saga-box,
.footer-saga-content .footer-saga-box p,
.footer-saga-content .footer-saga-box li,
.footer-saga-content .footer-saga-box a:not(:hover),
.footer-saga-content .description {
  color: #c8cdd8 !important;
}

.footer-saga-content h1,
.footer-saga-content h2,
.footer-saga-content h3 {
  color: #ffffff !important;
}

.footer-saga-content a:hover {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* ── Pricing page: Windows buy button ──────────────────────────── */
a.btn-windows-buy {
  background: transparent !important;
  border: 2px solid currentColor !important;
  opacity: 0.82 !important;
}
a.btn-windows-buy:hover {
  opacity: 1 !important;
}

/* ── Widerrufsformular ─────────────────────────────────────────── */
#widerruf-btn {
  position: fixed;
  right: -36px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  z-index: 9998;
  background: #1a1a2e;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 8px 16px;
  border: none;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  transition: right .2s, background .15s;
}
#widerruf-btn:hover {
  right: -28px;
  background: #007AFF;
}

#widerruf-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 99990;
  backdrop-filter: blur(2px);
}
#widerruf-overlay.active { display: block; }

#widerruf-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99991;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  width: min(520px, 94vw);
  font-family: 'Open Sans', sans-serif;
  display: none;
  overflow: hidden;
}
#widerruf-modal.active { display: block; }

.wf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #eee;
}
.wf-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}
.wf-close {
  background: none;
  border: none;
  font-size: 22px;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.wf-close:hover { color: #333; }

.wf-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-bottom: 1px solid #eee;
}
.wf-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: #e8eaed;
  color: #666;
  flex-shrink: 0;
}
.wf-step.active { background: #1a1a2e; color: #fff; }
.wf-step-line { flex: 1; height: 2px; background: #e8eaed; border-radius: 2px; }

.wf-body { padding: 20px 24px; }

.wf-intro {
  font-size: 13px;
  color: #555;
  margin: 0 0 18px;
  line-height: 1.5;
}

.wf-field { margin-bottom: 16px; }
.wf-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.wf-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d0d4da;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #333;
  box-sizing: border-box;
  transition: border-color .15s;
  outline: none;
}
.wf-field input:focus { border-color: #007AFF; }
.wf-field input.error { border-color: #e53e3e; }

.wf-summary {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #444;
  line-height: 1.7;
}
.wf-summary strong { color: #1a1a2e; }

.wf-legal {
  font-size: 12px;
  color: #888;
  margin: 0 0 20px;
  line-height: 1.5;
}

.wf-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 24px 24px;
}
.wf-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .15s, background .15s;
}
.wf-btn:hover { opacity: .88; }
.wf-btn--secondary {
  background: #f0f2f5;
  color: #444;
}
.wf-btn--primary {
  background: #1a1a2e;
  color: #fff;
}
.wf-btn--danger {
  background: #e53e3e;
  color: #fff;
}

.wf-success {
  padding: 40px 24px;
  text-align: center;
}
.wf-success-icon { font-size: 48px; margin-bottom: 16px; }
.wf-success h3 { margin: 0 0 8px; color: #1a1a2e; font-size: 18px; }
.wf-success p { margin: 0; color: #666; font-size: 14px; line-height: 1.5; }

@media (max-width: 600px) {
  .wf-header, .wf-body, .wf-footer { padding-left: 16px; padding-right: 16px; }
  .wf-steps { padding: 12px 16px; }
}

