/* static/css/style.css */

/* =========================================================
   1) THEME TOKENS (Logo-Farben)
========================================================= */
:root{
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;

  /* Brand / Logo */
  --brand-1: #5b21ff;
  --brand-2: #7c3aed;
  --brand-3: #4f46e5;
  --brand-soft: rgba(91, 33, 255, 0.12);

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.18);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --focus: 0 0 0 4px rgba(91, 33, 255, 0.14);

  /* Wizard / Progress */
  --progress-track: #eef2ff;
  --progress-fill: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  --progress-text: #4b5563;

  /* Buttons */
  --btn-text: var(--brand-1);
  --btn-border: rgba(91, 33, 255, 0.55);
  --btn-hover-bg: rgba(91, 33, 255, 0.10);

  --btn-primary-bg: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  --btn-primary-shadow: 0 10px 22px rgba(91, 33, 255, 0.24);

  --btn-secondary-bg: #eef2f7;
  --btn-secondary-text: #111827;

  --danger-bg: #fee2e2;
  --danger-text: #991b1b;

  /* Flash */
  --flash-bg: #fef2f2;
  --flash-border: #ef4444;
  --flash-text: #7f1d1d;
}

/* =========================================================
   2) GLOBAL RESET & BODY
========================================================= */
*{ box-sizing:border-box; margin:0; padding:0; }

body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  color-scheme: light;
  min-height: 100vh;
  display:flex;
  flex-direction:column;
}

body.modal-open{ overflow:hidden; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* =========================================================
   3) HEADER & TOP NAVIGATION
========================================================= */
header{
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
}

.header-inner{
  max-width: 1200px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  gap: 18px;
}

/* Brand link */
.brand{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}

/* Right column: Language above Navigation/Login */
.header-actions{
  margin-left:auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  gap: 10px;
}

/* Sprachumschalter */
.lang-switch{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.lang-switch form{ display:inline-flex; }

.theme-toggle-form{
  display:inline-flex;
}

.theme-toggle-btn{
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}

.theme-toggle-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(91, 33, 255, 0.45);
}

.theme-toggle-btn:focus-visible{
  outline: none;
  box-shadow: var(--focus);
}

.lang-select{
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-emoji: emoji;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lang-select option{
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-emoji: emoji;
}
.lang-select:focus{
  border-color: var(--brand-1);
  box-shadow: var(--focus);
}

/* Top Navigation: rechts + mittig */
.topnav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 20px;
}

.topnav ul{
  list-style:none;
  display:flex;
  gap: 22px;
  align-items:center;
}

.topnav ul li a{
  text-decoration:none;
  color: var(--brand-1);
  font-weight: 650;
  font-size: 15px;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease, transform .12s ease;
}

.topnav ul li a:hover{
  background: var(--brand-soft);
  transform: translateY(-1px);
}

/* Login/Logout Button im Header */
.login-btn{
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--btn-primary-bg);
  color: #fff;
  text-decoration:none;
  font-weight: 750;
  box-shadow: var(--btn-primary-shadow);
  border:none;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.login-btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(91, 33, 255, 0.28);
}

.login-btn:active{ transform: translateY(0); }

.login-btn:focus-visible{
  outline: none;
  box-shadow: var(--btn-primary-shadow), var(--focus);
}

/* =========================================================
   4) FLASH MESSAGES
========================================================= */
.flash-wrap{
  max-width: 1200px;
  width: 100%;
  margin: 14px auto 0;
  padding: 0 32px;
  display:flex;
  justify-content:center;
  transition: opacity .2s ease;
}

.flash-wrap.flash-hide{
  opacity: 0;
}

.flash{
  width: 100%;
  max-width: 760px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--flash-border);
  background: var(--flash-bg);
  color: var(--flash-text);
  box-shadow: 0 8px 22px rgba(15,23,42,0.05);
}

.flash.success{
  border-color: #16a34a;
  background: #ecfdf3;
  color: #14532d;
}

body.theme-dark .flash.success{
  border-color: rgba(34, 197, 94, 0.6);
  background: rgba(34, 197, 94, 0.18);
  color: #dcfce7;
}

.flash.info{
  border-color: #2563eb;
  background: #eff6ff;
  color: #1e3a8a;
}

/* =========================================================
   4.5) COOKIE BANNER
========================================================= */
.cookie-banner{
  position: fixed;
  inset: auto 18px 18px 18px;
  display:flex;
  justify-content:center;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .25s ease;
}

.cookie-banner.cookie-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner.cookie-hidden{
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.cookie-card{
  width: min(920px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: 16px;
  padding: 14px 16px;
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content:space-between;
}

.cookie-text{
  display:flex;
  flex-direction:column;
  gap: 4px;
  color: var(--text);
  font-size: 0.95rem;
}

.cookie-text strong{
  font-weight: 900;
}

.cookie-link{
  color: var(--brand-1);
  text-decoration:none;
  font-weight: 700;
}

.cookie-link:hover{
  text-decoration: underline;
}

.cookie-actions{
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

.plan-ads-box{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 55;
  width: min(360px, calc(100vw - 24px));
  background: var(--card);
  border: 1px solid rgba(91,33,255,0.20);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 12px 10px 12px;
}

.plan-ads-box.is-visible{
  animation: adIn 220ms ease-out both;
}

@keyframes adIn{
  from{ opacity: 0; transform: translateY(8px); }
  to{ opacity: 1; transform: translateY(0); }
}

.plan-ads-close{
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.plan-ads-label{
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan-ads-title{
  margin: 4px 0 6px 0;
  font-size: 1rem;
  font-weight: 900;
}

.plan-ads-copy{
  margin: 0;
  font-size: .92rem;
  color: var(--muted);
}

.plan-ads-slot-wrap{
  margin-top: 10px;
  border: 1px solid rgba(91,33,255,0.14);
  border-radius: 10px;
  padding: 6px;
  background: rgba(91,33,255,0.03);
}

.plan-google-ad{
  min-height: 90px;
}

.plan-ads-actions{
  margin-top: 10px;
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
}

@media (max-width: 720px){
  .cookie-card{
    flex-direction:column;
    align-items:flex-start;
  }
  .cookie-actions{
    width:100%;
    justify-content:flex-start;
  }
  .plan-ads-box{
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }
  .legal-doc > h1{
    font-size: 1.56rem;
    margin-bottom: 12px;
  }
  .legal-block{
    padding: 16px;
    border-radius: 16px;
  }
  .legal-block h2{
    font-size: 1.08rem;
  }
}

/* =========================================================
   5) LOGOS
========================================================= */
@keyframes logoIn{
  from{ opacity:0; transform: translateY(6px) scale(0.98); filter: blur(2px); }
  to{ opacity:1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* Header Logo */
.logo-img{
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 20px;
}

/* Footer Logo */
.footer-logo{
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 18px;
}

/* Auth Logo */
.auth-logo{
  display:flex;
  justify-content:center;
  margin-bottom: 14px;
}

.auth-logo-img{
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 22px;
}

/* Modal Logo */
.modal-logo-img{
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 18px;
}

/* Animation nur, wenn .js-logo-animate gesetzt ist */
.js-logo-animate{
  animation: logoIn 650ms cubic-bezier(.2,.8,.2,1) both;
}

/* Wenn Session sagt "schon gezeigt" => diese Klasse setzt JS auf <body> */
body.logo-no-anim .js-logo-animate{
  animation: none !important;
}

/* Effekt auf alle Logos */
.logo-img,
.footer-logo,
.auth-logo-img,
.modal-logo-img{
  box-shadow: 0 10px 28px rgba(91, 33, 255, 0.12);
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
  transform-origin:center;
}

.logo-img:hover,
.footer-logo:hover,
.auth-logo-img:hover,
.modal-logo-img:hover{
  transform: translateY(-1px);
  filter: drop-shadow(0 10px 22px rgba(124, 58, 237, 0.22));
  box-shadow: 0 16px 38px rgba(91, 33, 255, 0.18);
}

/* =========================================================
   6) MAIN CONTAINER
========================================================= */
main{
  max-width: 1200px;
  width: 100%;
  margin: 36px auto;
  padding: 32px 38px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

main h1, main h2, main h3{
  margin-bottom: 14px;
  line-height: 1.22;
}
main p{
  margin-bottom: 14px;
  line-height: 1.6;
}

main.main-narrow{
  max-width: 560px;
  padding: 26px 28px;
}

main.main-landing{
  max-width: 1200px;
  padding: 30px 36px;
}

/* =========================================================
   6.25) LEGAL PAGES
========================================================= */
.legal-doc{
  max-width: 920px;
  margin: 0 auto;
}

.legal-doc > h1{
  margin: 0 0 16px 0;
  font-size: clamp(1.8rem, 2.2vw, 2.3rem);
  letter-spacing: -0.02em;
}

.legal-lang-switch{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}

.legal-lang-switch .btn.is-active{
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(91, 33, 255, 0.26);
}

.legal-block{
  margin-top: 14px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(17,24,39,0.08);
  background:
    radial-gradient(120% 140% at 92% -18%, rgba(91,33,255,0.12) 0%, rgba(91,33,255,0) 58%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.90)),
    var(--card);
  box-shadow: 0 12px 30px rgba(15,23,42,0.08);
}

.legal-block + .legal-block{
  margin-top: 16px;
}

.legal-block h2{
  margin: 18px 0 10px 0;
  font-size: 1.24rem;
  letter-spacing: -0.01em;
}

.legal-block h3{
  margin: 14px 0 8px 0;
  font-size: 1.02rem;
}

.legal-block h2:first-child,
.legal-block h3:first-child{
  margin-top: 0;
}

.legal-block p{
  margin: 0 0 12px 0;
  line-height: 1.68;
  color: #334155;
}

.legal-block ul{
  margin: 8px 0 14px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.legal-block li{
  position: relative;
  padding-left: 16px;
  line-height: 1.58;
  color: #334155;
}

.legal-block li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(91,33,255,0.55);
}

.legal-block strong{
  color: #111827;
}

.legal-contact-grid{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.legal-contact-item{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.08);
  background: rgba(255,255,255,0.62);
}

.legal-contact-item h3{
  margin: 0 0 6px 0;
  font-size: .96rem;
}

.legal-contact-item p{
  margin: 0;
  line-height: 1.55;
}

.legal-contact-item p + p{
  margin-top: 4px;
}

body.theme-dark .legal-block{
  border-color: rgba(255,255,255,0.10);
  background:
    radial-gradient(120% 140% at 92% -18%, rgba(124,58,237,0.26) 0%, rgba(124,58,237,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  box-shadow: 0 16px 34px rgba(0,0,0,0.34);
}

body.theme-dark .legal-block p,
body.theme-dark .legal-block li{
  color: rgba(229,231,235,0.84);
}

body.theme-dark .legal-block h2,
body.theme-dark .legal-block h3,
body.theme-dark .legal-block strong{
  color: rgba(255,255,255,0.95);
}

body.theme-dark .legal-block li::before{
  background: rgba(167,139,250,0.75);
}

body.theme-dark .legal-contact-item{
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

/* =========================================================
   6.5) AUTH PAGES
========================================================= */
.auth-wrap{
  display:flex;
  justify-content:center;
}

.auth-card{
  width:100%;
  max-width: 520px;
}

.auth-title{ margin: 0 0 6px 0; }
.auth-subtitle{ margin: 0 0 16px 0; color: var(--muted); }

.auth-form{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.pw-policy{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 12px;
  background: rgba(91,33,255,0.04);
}

body.theme-dark .pw-policy{
  background: rgba(255,255,255,0.04);
}

body.theme-dark .pw-strength-meter{
  background: rgba(255,255,255,0.10);
}

body.theme-dark .pw-strength-label{
  background: rgba(255,255,255,0.08);
  color: rgba(229,231,235,0.80);
}

body.theme-dark .pw-strength-label[data-strength="weak"]{ color: #fca5a5; }
body.theme-dark .pw-strength-label[data-strength="medium"]{ color: #fcd34d; }
body.theme-dark .pw-strength-label[data-strength="good"]{ color: #93c5fd; }
body.theme-dark .pw-strength-label[data-strength="strong"]{ color: #86efac; }

.pw-policy ul{
  margin: 8px 0 0 0;
  padding: 0;
  list-style: none;
}

.pw-strength-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.pw-strength-label{
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(148,163,184,0.18);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}

.pw-strength-label[data-strength="weak"]{
  background: rgba(239,68,68,0.12);
  color: #b91c1c;
}

.pw-strength-label[data-strength="medium"]{
  background: rgba(245,158,11,0.16);
  color: #92400e;
}

.pw-strength-label[data-strength="good"]{
  background: rgba(59,130,246,0.13);
  color: #1d4ed8;
}

.pw-strength-label[data-strength="strong"]{
  background: rgba(22,163,74,0.14);
  color: #15803d;
}

.pw-strength-meter{
  height: 9px;
  border-radius: 999px;
  background: rgba(148,163,184,0.20);
  overflow:hidden;
  margin-top: 10px;
}

.pw-strength-meter span{
  display:block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: rgba(148,163,184,0.55);
  transition: width .18s ease, background .18s ease;
}

.pw-strength-meter span[data-strength="weak"]{ background: linear-gradient(90deg, #ef4444, #f97316); }
.pw-strength-meter span[data-strength="medium"]{ background: linear-gradient(90deg, #f59e0b, #facc15); }
.pw-strength-meter span[data-strength="good"]{ background: linear-gradient(90deg, #3b82f6, #14b8a6); }
.pw-strength-meter span[data-strength="strong"]{ background: linear-gradient(90deg, #22c55e, #0f766e); }

.pw-policy-title{
  margin-top: 12px;
}

.pw-policy li{
  margin: 6px 0 0 0;
  line-height: 1.35;
}

.pw-input-wrap{
  position:relative;
  width:100%;
}

.pw-input-wrap input{
  padding-right: 86px;
}

.pw-copy{
  position:absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.65);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color: #4b5563;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}

body.theme-dark .pw-copy{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.78);
}

.pw-copy:hover{
  transform: translateY(-50%) translateY(-1px);
  background: rgba(91,33,255,0.08);
  border-color: rgba(91,33,255,0.22);
}

.pw-copy:focus{
  outline:none;
  box-shadow: var(--focus);
}

.pw-copy.is-copied{
  background: rgba(16,185,129,0.14);
  border-color: rgba(16,185,129,0.35);
  color: rgba(16,185,129,0.95);
}

.pw-toggle{
  position:absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.65);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color: #4b5563;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}

body.theme-dark .pw-toggle{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.78);
}

.pw-toggle:hover{
  transform: translateY(-50%) translateY(-1px);
  background: rgba(91,33,255,0.08);
  border-color: rgba(91,33,255,0.22);
}

.pw-toggle:focus{
  outline:none;
  box-shadow: var(--focus);
}

.pw-ico{
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.pw-ico-off{ display:none; }
.pw-toggle.is-visible .pw-ico-on{ display:none; }
.pw-toggle.is-visible .pw-ico-off{ display:block; }

.pw-policy li.pw-ok{
  color: #16a34a;
  font-weight: inherit;
}

.pw-live.pw-ok{
  color: #16a34a;
  font-weight: inherit;
}

.pw-live{
  margin-top: 10px;
  font-size: .9rem;
  color: var(--muted);
}

.auth-checks{
  display:flex;
  flex-direction:column;
  gap: 12px;
  margin-top: 14px;
}

.auth-checks .check-row{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  width:100%;
  margin: 0;
}

.auth-checks .check-row input[type="checkbox"]{
  margin-top: 4px;
}

.auth-checks .check-row span{
  display:block;
  line-height: 1.35;
}

.form-row{
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.plan-change-form{
  margin-top: 10px;
}

.plan-change-row{
  padding: 4px 0;
}

.plan-change-row + .plan-change-row{
  margin-top: 10px;
}

.plan-change-row label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.45;
}

.plan-change-row input[type="radio"]{
  margin: 0;
}

.plan-change-actions{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-links{
  margin-top: 12px;
  font-size: .9rem;
}

.auth-links a{
  color: var(--brand-1);
  text-decoration:none;
}

.auth-links a:hover{ text-decoration: underline; }

/* =========================================================
   7) BUTTONS
========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  text-decoration:none;
  color: var(--btn-secondary-text);
  font-size: 14px;
  font-weight: 650;
  cursor:pointer;
  background: var(--btn-secondary-bg);
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .12s ease, filter .12s ease;
  gap: 8px;
}

.btn:hover{
  background: rgba(91, 33, 255, 0.10);
  border-color: rgba(91, 33, 255, 0.18);
  transform: translateY(-1px);
}

.btn:active{ transform: translateY(0); }

.btn:focus-visible{
  outline: none;
  box-shadow: var(--shadow-sm), var(--focus);
}

.btn:disabled,
.btn[aria-disabled="true"]{
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  filter: none !important;
}

.btn.primary{
  background: var(--btn-primary-bg);
  border-color: transparent;
  color: #ffffff;
  box-shadow: var(--btn-primary-shadow);
}

.btn.primary:hover{
  filter: brightness(1.05);
  box-shadow: 0 14px 30px rgba(91, 33, 255, 0.28);
}

.btn.primary:focus-visible{
  box-shadow: var(--btn-primary-shadow), var(--focus);
}

.btn.secondary{
  background: var(--btn-secondary-bg);
  border-color: rgba(17, 24, 39, 0.10);
  color: var(--btn-secondary-text);
}

.btn.secondary:hover{
  background: rgba(91, 33, 255, 0.10);
  border-color: rgba(91, 33, 255, 0.18);
}

/* Phone prefix dropdown */
.phone-input{
  display:flex;
  gap: 8px;
  align-items:center;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
}
.flag-icon{
  width: 22px;
  height: 16px;
  border-radius: 4px;
  flex: 0 0 22px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.10);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.flag-icon--ch{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' fill='%23d52b1e'/%3E%3Crect x='9' y='3' width='4' height='10' fill='%23fff'/%3E%3Crect x='6' y='6' width='10' height='4' fill='%23fff'/%3E%3C/svg%3E");
}
.flag-icon--de{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' fill='%23000'/%3E%3Crect y='5.33' width='22' height='5.34' fill='%23dd0000'/%3E%3Crect y='10.66' width='22' height='5.34' fill='%23ffce00'/%3E%3C/svg%3E");
}
.flag-icon--at{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' fill='%23ed2939'/%3E%3Crect y='5.33' width='22' height='5.34' fill='%23fff'/%3E%3C/svg%3E");
}
.flag-icon--gb{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' fill='%23012169'/%3E%3Cpath d='M0 0L22 16M22 0L0 16' stroke='%23fff' stroke-width='4'/%3E%3Cpath d='M0 0L22 16M22 0L0 16' stroke='%23C8102E' stroke-width='2'/%3E%3Crect x='9' width='4' height='16' fill='%23fff'/%3E%3Crect y='6' width='22' height='4' fill='%23fff'/%3E%3Crect x='10' width='2' height='16' fill='%23C8102E'/%3E%3Crect y='7' width='22' height='2' fill='%23C8102E'/%3E%3C/svg%3E");
}
.flag-icon--us{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' fill='%23fff'/%3E%3Cg fill='%23b22234'%3E%3Crect y='0' width='22' height='1.23'/%3E%3Crect y='2.46' width='22' height='1.23'/%3E%3Crect y='4.92' width='22' height='1.23'/%3E%3Crect y='7.38' width='22' height='1.23'/%3E%3Crect y='9.84' width='22' height='1.23'/%3E%3Crect y='12.30' width='22' height='1.23'/%3E%3Crect y='14.76' width='22' height='1.24'/%3E%3C/g%3E%3Crect width='9.5' height='7' fill='%233c3b6e'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='2' cy='2' r='0.7'/%3E%3Ccircle cx='4.5' cy='2' r='0.7'/%3E%3Ccircle cx='7' cy='2' r='0.7'/%3E%3Ccircle cx='3.25' cy='4.2' r='0.7'/%3E%3Ccircle cx='5.75' cy='4.2' r='0.7'/%3E%3C/g%3E%3C/svg%3E");
}
.flag-icon--au{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Crect width='22' height='16' fill='%23012669'/%3E%3Cpath d='M11 4.2l0.8 2.1 2.2 0.1-1.7 1.3 0.6 2.2-1.9-1.2-1.9 1.2 0.6-2.2-1.7-1.3 2.2-0.1z' fill='%23fff'/%3E%3C/svg%3E");
}

.phone-prefix-ui{
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  flex: 0 0 120px;
  position: relative;
}
.phone-prefix-ui__btn{
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.phone-prefix-ui__btn:focus{
  border-color: var(--brand-1);
  box-shadow: var(--focus);
}
.phone-prefix-ui__text{
  flex: 1 1 auto;
  text-align:left;
  min-width: 0;
}
.phone-prefix-ui__caret{
  opacity: 0.75;
  flex: 0 0 auto;
}
.phone-prefix-ui__menu{
  position:absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 160px;
  z-index: 50;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 6px;
  display:none;
  max-height: 280px;
  overflow:auto;
}
.phone-prefix-ui.is-open .phone-prefix-ui__menu{ display:block; }
.phone-prefix-ui__item{
  width: 100%;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  text-align:left;
}
.phone-prefix-ui__item:hover{
  background: rgba(91, 33, 255, 0.08);
}
.phone-prefix-ui__item.is-selected{
  background: rgba(91, 33, 255, 0.12);
}
.phone-input .phone-prefix{
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  flex: 0 0 120px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-emoji: emoji;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.phone-input .phone-prefix option{
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-emoji: emoji;
}
.phone-prefix:focus{
  border-color: var(--brand-1);
  box-shadow: var(--focus);
}
.phone-input .phone-number{
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  width: auto;
}

/* Pill */
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f9fafb;
  color: #374151;
  font-weight: 650;
  font-size: 13px;
}

/* =========================================================
   8) FORMS (global)
========================================================= */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="tel"],
select,
textarea{
  width:100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  outline:none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

input:focus,
select:focus,
textarea:focus{
  border-color: var(--brand-1);
  box-shadow: var(--focus);
}

label{
  font-weight: 750;
  font-size: .95rem;
}

.settings-page label{
  display:block;
  margin-bottom: 6px;
}

.contacts-page label{
  display:block;
  margin-bottom: 6px;
}

.contact-qr-teaser,
.contact-qr-card,
.contact-qr-success{
  border: 1px solid rgba(124,58,237,0.16);
  background:
    radial-gradient(circle at 12% 10%, rgba(124,58,237,0.13), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(15,23,42,0.08);
}

.contact-qr-teaser{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 18px;
  padding: 20px;
  margin: 12px 0 24px;
}

.contact-qr-teaser h2,
.contact-qr-card h2{
  margin: 4px 0 8px;
}

.contact-qr-kicker{
  margin: 0 0 4px;
  color: var(--brand-1);
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.contact-qr-card{
  display:grid;
  grid-template-columns: minmax(220px, 310px) 1fr;
  align-items:center;
  gap: 26px;
  padding: 24px;
  margin-top: 22px;
}

.contact-qr-frame{
  display:grid;
  place-items:center;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 28px;
  padding: 18px;
  box-shadow: inset 0 0 0 8px rgba(124,58,237,0.05);
}

.contact-qr-frame img{
  width: min(100%, 270px);
  height: auto;
  display:block;
  image-rendering: pixelated;
}

.contact-qr-copy{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.contact-qr-copy input{
  font-size: .9rem;
}

.contact-qr-form{
  margin-top: 18px;
}

.contact-qr-public .review-box{
  margin-top: 16px;
}

@media (max-width: 860px){
  .contact-qr-card{
    grid-template-columns: 1fr;
  }

  .contact-qr-teaser{
    align-items:flex-start;
    flex-direction:column;
  }
}

.contact-page label{
  font-weight: 600;
}

.settings-page small.muted{
  display:block;
  margin-top: 6px;
}

input[readonly]{ opacity: 0.95; }

/* =========================================================
   9) LOGIN MODAL
========================================================= */
.modal-overlay{
  display:none;
  position:fixed;
  inset:0;
  background: rgba(17, 24, 39, 0.55);
  justify-content:center;
  align-items:center;
  z-index:1000;
}

.modal-content{
  background: var(--card);
  padding: 24px 28px;
  border-radius: 18px;
  max-width: 420px;
  width: 92%;
  box-shadow: var(--shadow-lg);
  position:relative;
  animation: modalFadeIn .18s ease-out;
}

.modal-content form p{
  margin: 0 0 12px 0;
}

.modal-content form label{
  display:block;
  margin-bottom: 8px;
}

.modal-logo{
  display:flex;
  justify-content:center;
  margin-bottom: 10px;
}

.modal-title{ font-size: 1.4rem; margin-bottom: 4px; }
.modal-subtitle{ font-size: .9rem; color: var(--muted); margin-bottom: 16px; }

.modal-close{
  position:absolute;
  top: 10px;
  right: 12px;
  border:none;
  background:transparent;
  font-size: 22px;
  cursor:pointer;
  color: var(--muted);
}

.modal-close:hover{ color: var(--text); }

.modal-links{
  margin-top: 10px;
  font-size: .9rem;
}

.modal-links a{
  color: var(--brand-1);
  text-decoration:none;
}

.modal-links a:hover{ text-decoration: underline; }

@keyframes modalFadeIn{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}

/* =========================================================
   10) FOOTER
========================================================= */
.site-footer{
  background: #f7f7f8;
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  margin-top:auto;
}

.footer-inner{
  max-width: 1200px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color: #2c2c2c;
  gap: 40px;
}

.footer-left{
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.footer-slogan{ font-size: .95rem; color:#555; }
.footer-copy{ font-size: .85rem; color:#777; }

.footer-center{
  display:flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-center a{
  color: #444;
  text-decoration:none;
  font-size: .95rem;
  padding: 6px 8px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}

.footer-center a:hover{
  background: rgba(91,33,255,0.08);
  color:#000;
}

.footer-legal-btn{
  border: 1px solid rgba(91,33,255,0.24);
  background: rgba(91,33,255,0.08);
}

.footer-right{
  display:flex;
  flex-direction:column;
  gap: 10px;
  align-items:flex-end;
}

.footer-icons{
  display:flex;
  gap: 10px;
  align-items:center;
}

.footer-icon{
  width: 36px;
  height: 36px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.65);
  color:#111827;
  text-decoration:none;
  font-size: .95rem;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, filter .15s ease;
}

.footer-icon::before{
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(91,33,255,0), rgba(14,165,233,0));
  opacity: 0;
  z-index: -1;
  transition: opacity .15s ease, filter .2s ease;
}

.footer-icon::after{
  content:"";
  position:absolute;
  top: -30%;
  left: -70%;
  width: 50%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  z-index: -1;
  transition: transform .55s ease, opacity .15s ease;
}

.footer-icon:focus-visible{
  outline: none;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06), var(--focus);
}

.footer-icon:hover{
  transform: translateY(-1px);
  border-color: rgba(91,33,255,0.35);
  color: #5b21ff;
  box-shadow: 0 14px 30px rgba(91, 33, 255, 0.18);
}

.footer-icon--share{ --accent: rgba(14,165,233,0.14); }
.footer-icon--facebook{ --accent: rgba(24,119,242,0.18); }
.footer-icon--instagram{ --accent: rgba(236,72,153,0.18); }
.footer-icon--x{ --accent: rgba(17,24,39,0.12); }

.footer-icon:hover::before{
  opacity: 1;
  filter: saturate(1.15);
  background: linear-gradient(135deg, rgba(91,33,255,0.22), var(--accent, rgba(14,165,233,0.14)));
}

.footer-icon:hover::after{
  opacity: 0.95;
  transform: translateX(330%) skewX(-18deg);
}

body .site-footer .lang-select{
  background: rgba(255,255,255,0.65);
}

.footer-lang{ margin-top: 2px; }
.footer-lang .lang-select{ min-width: 72px; }

.footer-controls{
  display:flex;
  align-items:center;
  gap: 8px;
}

.footer-theme-toggle{
  margin-top: 2px;
}

/* =========================================================
   11) DASHBOARD
========================================================= */
.dashboard-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.dashboard-subtitle{
  font-size: .95rem;
  color: var(--muted);
  margin-top: 4px;
}

.dashboard-layout{
  display:flex;
  flex-direction:column;
  gap: 24px;
}

.dash-plan-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91,33,255,0.18);
  background: rgba(91,33,255,0.08);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  white-space:nowrap;
}

.dash-plan-icon{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(91,33,255,0.12);
}

.dash-plan-label{
  font-size: .8rem;
  color: var(--muted);
  font-weight: 800;
}

.dash-plan-dot{
  color: rgba(91,33,255,0.55);
}

.dash-plan-name{
  font-size: .9rem;
  font-weight: 900;
  color: var(--brand-1);
}

.dashboard-section h2{
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.stats-group{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stats-item{
  --stats-accent: 91, 33, 255;
  position: relative;
  overflow: hidden;
  padding: 14px 16px;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  background:
    radial-gradient(110% 100% at 100% 0%, rgba(var(--stats-accent),0.10), rgba(255,255,255,0) 56%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 8px 20px rgba(15,23,42,0.05);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.stats-item::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: rgba(var(--stats-accent), 0.9);
}

.stats-item:hover{
  transform: translateY(-2px);
  border-color: rgba(var(--stats-accent),0.34);
  box-shadow: 0 16px 28px rgba(15,23,42,0.10);
}

.stats-item--total{ --stats-accent: 37, 99, 235; }
.stats-item--sent{ --stats-accent: 79, 70, 229; }
.stats-item--received{ --stats-accent: 8, 145, 178; }
.stats-item--open{ --stats-accent: 217, 119, 6; }
.stats-item--accepted{ --stats-accent: 22, 163, 74; }
.stats-item--declined{ --stats-accent: 220, 38, 38; }
.stats-item--week{ --stats-accent: 124, 58, 237; }
.stats-item--day{ --stats-accent: 14, 116, 144; }
.stats-item--rate{ --stats-accent: 190, 24, 93; }

.stats-title{
  color: #111827;
}

.stats-top{
  display:flex;
  align-items:center;
  gap: 8px;
  font-weight: 800;
  font-size: .95rem;
}

.stats-icon{
  width: 26px;
  height: 26px;
  border-radius: 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(var(--stats-accent),0.25);
  background: rgba(var(--stats-accent),0.13);
}

.stats-value{
  margin-top: 8px;
  font-size: 1.8rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.02;
}

.stats-sub{
  margin-top: 6px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.35;
}

@media (max-width: 860px){
  .stats-group{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px){
  .stats-group{
    grid-template-columns: 1fr;
  }
}

.quick-actions{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.quick-card{
  background: #f9fafb;
  border-radius: 18px;
  padding: 14px 16px;
  text-decoration:none;
  color: inherit;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: transform .08s ease-out, box-shadow .08s ease-out, border-color .08s ease-out;
}

.quick-card h3{ font-size: .98rem; margin-bottom: 6px; }
.quick-card p{ font-size: .9rem; color: var(--muted); }

/* ✅ Primary card gets its own hover so it never “misses” */
.quick-card.primary{
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(91,33,255,0.22);
}
.quick-card.primary p{ color: rgba(255,255,255,0.85); }

.quick-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border-color: #c7d2fe;
}
.quick-card.primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(91,33,255,0.26);
  filter: brightness(1.03);
}

/* =========================================================
   12) BACKOFFICE – TABELLEN
========================================================= */
.bo-table{
  width:100%;
  border-collapse:collapse;
  margin: 16px 0;
}

.bo-table th,
.bo-table td{
  border: 1px solid var(--border);
  padding: 8px 10px;
  font-size: .9rem;
}

.bo-table th{
  background: #f9fafb;
  font-weight: 750;
}

/* =========================================================
   13) WIZARD
========================================================= */
.wizard-container{
  max-width: 980px;
  margin: 0 auto;
}

.wizard-container--wide{
  max-width: 980px;
}

.wizard-container--wizard{
  max-width: 600px;
}

.wizard-step--spaced{ margin-top: 12px; }
.wizard-textarea{ resize: none; }

/* Step nav: Buttons nebeneinander */
.step-nav{
  margin-top: 18px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
}

.step-nav-left,
.step-nav-right{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Options list (wizard) */
.options-list{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-top: 12px;
}

.option-row{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 12px 12px;
  border: 1px solid var(--border);
  background: #f9fafb;
  border-radius: 14px;
  cursor:pointer;
  transition: transform .08s ease-out, border-color .12s ease, box-shadow .12s ease;
}

.option-row:hover{
  transform: translateY(-1px);
  border-color: rgba(91,33,255,0.22);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.option-row--disabled{
  opacity: .6;
  cursor: not-allowed;
}

.option-row--disabled:hover{
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}

.option-row input{
  width:auto;
  margin-top: 2px;
}

.option-row input[type="text"],
.option-row textarea{
  width: 100%;
  box-sizing: border-box;
}

#wizardLocationInput{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-emoji: text;
}

.option-name{
  font-weight: 700;
}

.option-row--stack{
  flex-direction: column;
  align-items: stretch;
}

.option-row-top{
  display:flex;
  align-items:flex-start;
  gap: 10px;
}

.option-icon{
  margin-right: 6px;
}

.option-image{
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.wizard-map-box{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f9fafb;
  padding: 10px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.wizard-map-frame{
  width: 100%;
  height: 220px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.wizard-map-picker{
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f9fafb;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wizard-map-picker-title{
  margin: 0;
  font-weight: 700;
}

.wizard-picker-map{
  width: 100%;
  height: 260px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

/* MapTiler autocomplete dropdown in wizard location */
.wizard-suggestions{
  margin: -2px 4px 4px 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,0.12);
  overflow: hidden;
}

.wizard-suggestion-btn{
  width: 100%;
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
}

.wizard-suggestion-btn:first-child{
  border-top: 0;
}

.wizard-suggestion-btn:hover{
  background: rgba(91,33,255,0.08);
}

/* =========================================================
   13.1) PROGRESS (Wizard)
========================================================= */
.progress-wrapper{
  margin: 6px 0 14px;
}

.progress-bar{
  width:100%;
  height: 12px;
  background: var(--progress-track);
  border-radius: 999px;
  overflow:hidden;
  border: 1px solid rgba(91,33,255,0.10);
}

.progress-fill{
  height: 100%;
  width: 0%;
  background: var(--progress-fill);
  border-radius: 999px;
  transition: width .2s ease;
}

.progress-text{
  margin-top: 8px;
  color: var(--progress-text);
  font-weight: 650;
  font-size: .92rem;
}

.progress-steps{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
  margin-top: 10px;
}

.step-pill{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f9fafb;
  color: #374151;
  font-weight: 650;
  font-size: 12px;
}

.step-pill.active{
  background: var(--brand-soft);
  border-color: rgba(91,33,255,0.22);
  color: var(--brand-1);
}

/* =========================================================
   14) REVIEW / ERROR BOXES
========================================================= */
.error-box{
  background: var(--danger-bg);
  color: var(--danger-text);
  padding: 12px 14px;
  border-radius: 14px;
  margin: 12px 0 14px;
  border: 1px solid rgba(153,27,27,0.18);
}

.review-box{
  background: #f9fafb;
  padding: 14px 16px;
  border-radius: 14px;
  margin: 12px 0 18px;
  border: 1px solid var(--border);
}

/* Divider */
.divider{
  margin: 18px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

/* =========================================================
   14.1) SHOW ANSWERS LAYOUT HELPERS
========================================================= */
.muted{ color: var(--muted); }

.page-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 14px;
  flex-wrap:wrap;
}

.page-title{ margin:0; }
.page-subtitle{ margin:6px 0 0 0; color: var(--muted); }

.page-actions{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
}

.share-row{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap:wrap;
}

.share-row input{
  flex:1;
  min-width: 260px;
}

.tabs-row{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 16px;
}

.tabs-toolbar{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 10px;
}

.tabs-toolbar .tabs-row{
  margin-top: 16px;
}

.tabs-filters{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 10px;
}

.tabs-btn{
  padding: 12px 16px;
  border-radius: 12px;
}

.stack{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.section-gap{
  margin-top: 16px;
}

.inv-head{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
  align-items:flex-start;
}

.inv-left{
  min-width: 260px;
}

.inv-title{
  margin:0;
  font-weight: 800;
  font-size: 1.02rem;
}

.inv-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

.inv-status{
  text-align:right;
  min-width: 240px;
}

.inv-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.inv-foot{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
}

.subsection-title{
  margin: 10px 0 8px 0;
  font-size: 1.05rem;
  font-weight: 900;
}

.pill-row{
  display:flex;
  gap: 10px;          /* ✅ mehr Abstand */
  flex-wrap:wrap;
  align-items:center;
}

.inline-form{ margin:0; }

/* Status colors */
.status-ok{ color:#16a34a; font-weight: 750; }
.status-bad{ color:#dc2626; font-weight: 750; }
.status-warn{ color:#f59e0b; font-weight: 750; }

/* =========================================================
   14.4) PRICING
========================================================= */
.pricing-hero{
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(91,33,255,0.12);
  background:
    radial-gradient(120% 140% at 85% -20%, rgba(91,33,255,0.22) 0%, rgba(91,33,255,0) 60%),
    linear-gradient(135deg, rgba(91,33,255,0.10), rgba(236,254,255,0.65));
}

.pricing-hero::after{
  content:"";
  position:absolute;
  right:-60px;
  top:-70px;
  width:220px;
  height:220px;
  border-radius:999px;
  border:1px solid rgba(91,33,255,0.12);
  background: rgba(255,255,255,0.34);
  pointer-events:none;
}

body.theme-dark .pricing-hero{
  background:
    radial-gradient(120% 140% at 85% -20%, rgba(124,58,237,0.28) 0%, rgba(124,58,237,0) 62%),
    linear-gradient(135deg, rgba(124,58,237,0.18), rgba(14,116,144,0.12));
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .pricing-hero::after{
  border-color: rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
}

.pricing-title{
  margin: 0 0 6px 0;
  font-size: 1.62rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.pricing-subtitle{ margin: 0; }

.pricing-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(var(--pricing-plan-count, 3), minmax(0, 1fr));
  gap: 16px;
}

.pricing-card{
  position:relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,255,255,0.86)),
    var(--card);
  border: 1px solid rgba(17,24,39,0.08);
  border-radius: 22px;
  padding: 18px 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  display:flex;
  flex-direction:column;
  text-align:left;
  gap: 13px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.pricing-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.11);
}

.pricing-card.active{
  border-color: rgba(91,33,255,0.38);
  box-shadow: 0 0 0 3px rgba(91,33,255,0.10), 0 20px 40px rgba(91,33,255,0.14);
}

.pricing-grid--billing .pricing-card--featured{
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 22px 48px rgba(146, 64, 14, 0.14);
}

.pricing-grid--billing .pricing-card--featured:hover{
  box-shadow: 0 24px 52px rgba(146, 64, 14, 0.18);
}

.plan-popular-ribbon{
  align-self:flex-start;
  min-height: 27px;
  margin: -2px 0 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.plan-popular-ribbon--ghost{
  visibility:hidden;
}

.pricing-card-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  text-align:center;
}

.plan-heading{
  min-width: 0;
  min-height: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.plan-kicker{
  margin: 0 0 4px 0;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(75, 85, 99, 0.95);
}

.plan-badges{
  display:flex;
  align-items:center;
  gap: 6px;
  position:absolute;
  right: 18px;
  top: 58px;
}

.plan-name{
  margin: 0;
  font-size: 2rem;
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1;
  text-align:center;
}

.plan-badge{
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(91,33,255,0.20);
  background: rgba(91,33,255,0.10);
  color: var(--brand-1);
  font-size: 12px;
  font-weight: 800;
  white-space:nowrap;
}

.plan-price{
  margin: 0;
  font-size: 1.62rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.15;
  min-height: 72px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 5px;
}

.plan-price small{
  font-size: .9rem;
  font-weight: 750;
  color: var(--muted);
}

.plan-price-period{
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
  padding-bottom: 2px;
}

.plan-price-matrix{
  display:flex;
  flex-direction:column;
  gap: 6px;
  width: 100%;
}

.plan-price-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(17,24,39,0.07);
  background: rgba(148, 163, 184, 0.08);
}

.plan-price-label{
  font-size: .82rem;
  font-weight: 760;
  color: var(--muted);
}

.plan-price-value{
  font-size: .9rem;
  font-weight: 880;
  color: var(--text);
  text-align:right;
}

.plan-price-value small{
  color: var(--muted);
  font-size: .76rem;
  font-weight: 760;
}

.plan-copy{
  min-height: 280px;
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  align-content: start;
  text-align: left;
}

.plan-desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  overflow: visible;
  display: block;
}

.plan-fit{
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  min-height: 0;
  overflow: visible;
  display: block;
}

.plan-fit strong{
  color: var(--text);
}

.plan-features{
  margin: 4px 0 0 0;
  padding: 0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.plan-features li{
  display:flex;
  gap: 9px;
  align-items:center;
  min-height: 1.5em;
  padding: 8px 10px;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 13px;
  background: rgba(255,255,255,0.62);
  color: rgba(15,23,42,0.82);
  font-size: .92rem;
  font-weight: 730;
  line-height: 1.25;
}

.plan-features li::before{
  content: "✓";
  display:inline-grid;
  place-items:center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(22,163,74,0.12);
  color: #15803d;
  font-weight: 950;
  font-size: .78rem;
}

.plan-features li.plan-feature-ad::before{
  content: "AD";
  background: rgba(245,158,11,0.15);
  color: #92400e;
  font-size: .58rem;
  letter-spacing: .02em;
}

.plan-features li.plan-feature-clean::before{
  content: "✓";
  background: rgba(20,184,166,0.14);
  color: #0f766e;
}

.plan-features li.plan-feature-clean{
  border-color: rgba(20,184,166,0.16);
  background: rgba(240,253,250,0.72);
}

.pricing-cta{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap: 10px;
}

.pricing-grid--billing .pricing-card{
  min-height: 760px;
}

.pricing-grid--billing .pricing-card-head{
  min-height: 54px;
}

.pricing-grid--billing .plan-price{
  min-height: 98px;
}

.pricing-grid--billing .plan-copy{
  min-height: 300px;
  grid-template-rows: 92px 1fr;
  gap: 12px;
}

.pricing-grid--billing .plan-desc{
  min-height: 92px;
}

.pricing-grid--billing .plan-fit{
  min-height: 178px;
}

.pricing-grid--billing .plan-features{
  min-height: 178px;
}

.pricing-grid--billing .pricing-cta{
  min-height: 78px;
}

.plan-interval-actions{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.plan-interval-btn{
  text-align:center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(91,33,255,0.26);
  background: rgba(91,33,255,0.08);
  color: var(--brand-1);
  font-weight: 850;
}

.plan-interval-btn:hover{
  background: rgba(91,33,255,0.14);
  border-color: rgba(91,33,255,0.45);
}

.pricing-note{
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}

body.theme-dark .pricing-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 14px 30px rgba(0,0,0,0.34);
}

body.theme-dark .pricing-card:hover{
  box-shadow: 0 18px 36px rgba(0,0,0,0.38);
}

body.theme-dark .pricing-card.active{
  border-color: rgba(167,139,250,0.45);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.20), 0 20px 40px rgba(0,0,0,0.42);
}

body.theme-dark .plan-kicker{
  color: rgba(229,231,235,0.72);
}

body.theme-dark .plan-price-line{
  background: rgba(148,163,184,0.10);
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .plan-price-value{
  color: rgba(255,255,255,0.92);
}

body.theme-dark .plan-interval-btn{
  background: rgba(124,58,237,0.20);
  border-color: rgba(167,139,250,0.44);
  color: rgba(245,243,255,0.96);
}

body.theme-dark .plan-interval-btn:hover{
  background: rgba(124,58,237,0.28);
}

/* =========================================================
   14.5) LANDING
========================================================= */
.landing-hero{
  padding: 38px;
  border-radius: 22px;
  border: 1px solid rgba(91,33,255,0.12);
  background: linear-gradient(135deg, rgba(91,33,255,0.10), rgba(236,254,255,0.55));
}

body.theme-dark .landing-hero{
  background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(14,116,144,0.10));
  border-color: rgba(255,255,255,0.10);
}

.landing-hero-inner{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items:center;
}

.landing-hero-inner--stack{
  grid-template-columns: 1fr;
}

.landing-hero-copy{
  max-width: 980px;
  margin: 0 auto;
  text-align:center;
}

.landing-hero-media{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(17,24,39,0.10);
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,0.55);
}

body.theme-dark .landing-hero-media{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

.hero-img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  display:block;
}

.landing-hero-media--standalone{
  margin-top: 16px;
  max-width: 920px;
  margin-left:auto;
  margin-right:auto;
}

.hero-img--standalone{
  height: 380px;
}

[data-reveal]{
  opacity: 1;
  transform: none;
}

html.reveal-ready [data-reveal]{
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1);
}

html.reveal-ready [data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.landing-title{
  margin: 0 0 12px 0;
  font-size: 2.75rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
  padding-bottom: .08em; /* avoids descender clipping on strong headlines */
}

.landing-subtitle{
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.52;
}

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  margin: 0 0 12px 0;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91,33,255,0.28);
  background: rgba(91,33,255,0.10);
  color: var(--brand-1);
  font-size: .82rem;
  font-weight: 820;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.landing-title-em{
  display:block;
  margin-top: 6px;
  line-height: 1.14;
  padding-bottom: .04em;
  background: linear-gradient(135deg, #4f46e5, #5b21ff 45%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-cta{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin-top: 18px;
  justify-content:center;
}

.landing-cta .btn{
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.landing-trust{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 18px;
  justify-content:center;
}

.hero-proof{
  margin-top: 16px;
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  justify-content:center;
}

.proof-item{
  display:inline-flex;
  align-items:center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.76);
  font-size: .82rem;
  font-weight: 680;
  color: #334155;
}

.proof-item::before{
  content: "✓";
  color: #16a34a;
  font-weight: 900;
}

.landing-preview .preview-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.preview-top{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  align-items:center;
  margin-bottom: 10px;
}

.preview-badge{
  font-weight: 850;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(91,33,255,0.10);
  border: 1px solid rgba(91,33,255,0.14);
}

.preview-step{
  color: var(--muted);
  font-weight: 650;
}

.preview-block{ margin-top: 12px; }
.preview-h{ font-weight: 800; margin-bottom: 6px; }
.preview-p{ color: var(--muted); }
.preview-pills, .preview-stats{ display:flex; gap: 8px; flex-wrap:wrap; }

.landing-section{
  margin-top: 52px;
}

.how-intro,
.why-intro{
  margin: 0 0 14px 0;
  max-width: 860px;
}

.how-cta{ margin: 16px 0 24px 0; }

.landing-section--center .how-intro,
.landing-section--center .why-intro{
  margin-left:auto;
  margin-right:auto;
}

.landing-section--center .cards-3{
  max-width: 980px;
  margin-left:auto;
  margin-right:auto;
}

.landing-section--center .feature-card{
  text-align:center;
}

.landing-section--center .cards-6{
  max-width: 980px;
  margin-left:auto;
  margin-right:auto;
}

.landing-section--center .mini-card{
  text-align:center;
}

.landing-split-inner{
  display:grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 420px);
  gap: 26px;
  align-items:center;
  max-width: 980px;
  margin: 0 auto;
}

.split-card{
  border-radius: 22px;
  border: 1px solid rgba(91,33,255,0.12);
  background: linear-gradient(135deg, rgba(91,33,255,0.06), rgba(236,254,255,0.40));
  padding: 24px;
}

.tension-strip{
  padding: 26px;
}

.tension-grid{
  max-width: 980px;
  margin: 0 auto;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tension-card{
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(239,68,68,0.18);
  background: linear-gradient(180deg, rgba(254,242,242,0.82), rgba(255,255,255,0.88));
  text-align:left;
}

.tension-card h3{
  margin: 0 0 8px 0;
  font-size: 1.02rem;
  color: #991b1b;
}

.tension-card ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.tension-card li{
  position: relative;
  padding-left: 16px;
  color: #7f1d1d;
}

.tension-card li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(220,38,38,0.72);
}

.tension-card--good{
  border-color: rgba(14,116,144,0.20);
  background: linear-gradient(180deg, rgba(240,253,250,0.90), rgba(255,255,255,0.90));
}

.tension-card--good h3{
  color: #0f766e;
}

.tension-card--good li{
  color: #0f766e;
}

.tension-card--good li::before{
  background: rgba(14,116,144,0.72);
}

body.theme-dark .split-card{
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(14,116,144,0.06));
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .help-hero{
  border-color: rgba(167,139,250,0.24);
  background:
    radial-gradient(120% 110% at 0% 0%, rgba(124,58,237,0.24), rgba(15,23,42,0) 56%),
    radial-gradient(140% 120% at 100% 100%, rgba(14,165,233,0.18), rgba(15,23,42,0) 60%),
    linear-gradient(180deg, rgba(15,23,42,0.8), rgba(15,23,42,0.7));
}

body.theme-dark .help-card{
  border-color: rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: 0 12px 26px rgba(0,0,0,0.28);
}

body.theme-dark .help-card:hover{
  border-color: rgba(167,139,250,0.34);
  box-shadow: 0 16px 30px rgba(0,0,0,0.36);
}

body.theme-dark .help-faq-box{
  border-color: rgba(167,139,250,0.24);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.03));
  box-shadow: 0 16px 34px rgba(0,0,0,0.3);
}

.split-card .section-title{
  text-align:center;
  margin: 0 0 18px 0;
}

/* Help page */
.help-page{
  max-width: 1120px;
  margin: 0 auto;
}

.help-hero{
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 30px 24px;
  border-radius: 24px;
  border: 1px solid rgba(91,33,255,0.16);
  background:
    radial-gradient(120% 110% at 0% 0%, rgba(91,33,255,0.14), rgba(255,255,255,0) 55%),
    radial-gradient(140% 120% at 100% 100%, rgba(14,165,233,0.12), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
}

.help-hero::after{
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  right: -86px;
  top: -96px;
  background: radial-gradient(circle at 35% 35%, rgba(91,33,255,0.18), rgba(91,33,255,0));
  pointer-events: none;
}

.help-lead{
  max-width: 860px;
  margin: 0 auto;
}

.help-proof{
  margin-top: 16px;
  margin-bottom: 14px;
}

.help-jump{
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.help-jump .btn{
  border-radius: 999px;
  padding: 10px 16px;
  font-size: .9rem;
}

.help-section{
  margin-top: 34px;
}

.help-panel{
  padding: 26px;
  box-shadow: 0 14px 36px rgba(15,23,42,0.07);
}

.help-panel .section-title{
  text-align: left;
  margin-bottom: 12px;
}

.landing-section--center .help-panel .section-title{
  text-align: center;
}

.help-card{
  height: 100%;
  border-color: rgba(15,23,42,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(249,250,251,0.96));
  box-shadow: 0 8px 22px rgba(15,23,42,0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.help-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,23,42,0.11);
  border-color: rgba(91,33,255,0.24);
}

.help-card h3{
  margin: 2px 0 8px 0;
}

.help-card .feature-ico{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .86rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #5b21ff, #0ea5e9);
  box-shadow: 0 8px 18px rgba(91,33,255,0.25);
  margin-bottom: 10px;
}

.help-steps .help-card{
  text-align: left;
}

.help-faq-box{
  border-radius: 22px;
  border: 1px solid rgba(91,33,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
  box-shadow: 0 14px 36px rgba(15,23,42,0.07);
}

.help-feedback{
  text-align: center;
}

.help-feedback-copy{
  max-width: 820px;
  margin: 0 auto;
}

.landing-split-copy{
  text-align:left;
}

.split-cta{ justify-content:center; }

.split-list{
  margin: 14px 0 0 0;
  padding: 0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.split-list li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}

.split-list li::before{
  content: "•";
  color: var(--brand-1);
  font-weight: 950;
  margin-top: 1px;
}

.landing-split-media{
  border-radius: 18px;
  overflow:hidden;
  border: none;
  box-shadow: none;
  background: transparent;
}

body.theme-dark .landing-split-media{
  background: transparent;
  border-color: rgba(255,255,255,0.10);
}

.grow-img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  display:block;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}

.landing-split-media--compact{
  max-width: 460px;
  width: min(100%, 460px);
  justify-self:center;
  padding: 0;
  border: 1px solid rgba(17,24,39,0.10);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow-md);
}

.grow-img--compact{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  padding: 0;
  background: transparent;
  border-radius: 0;
  filter: none;
}

.landing-split-media:hover .grow-img{
  transform: scale(1.03);
}

body.theme-dark .landing-split-media--compact{
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

body.theme-dark .grow-img--compact{
  filter: none;
}

.landing-map .map-wrap{
  margin-top: 16px;
  border-radius: 26px;
  overflow:hidden;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(255,255,255,0.55);
  box-shadow: var(--shadow-sm);
  min-height: 280px;
}

.momentum-real-map{
  position: relative;
  width: 100%;
  height: 460px;
  background: linear-gradient(180deg, rgba(236,254,255,0.55), rgba(255,255,255,0.70));
}

.momentum-real-map::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 250;
  background-image: radial-gradient(rgba(17,24,39,0.11) 0.8px, transparent 0.8px);
  background-size: 8px 8px;
  mix-blend-mode: multiply;
  opacity: .22;
}

.momentum-real-map .leaflet-tile-pane{
  filter: saturate(1.38) contrast(1.1) brightness(1.04) hue-rotate(-8deg);
}

.momentum-real-map .leaflet-control-zoom{
  border: 2px solid rgba(17,24,39,0.55) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(17,24,39,0.18);
}

.momentum-real-map .leaflet-control-zoom a{
  background: rgba(255,255,255,0.92) !important;
  color: #111827 !important;
  font-weight: 900;
}

.momentum-real-map .leaflet-tooltip{
  border: 2px solid rgba(17,24,39,0.72);
  border-radius: 10px;
  background: rgba(255,255,255,0.95);
  color: #111827;
  font-weight: 760;
  box-shadow: 0 8px 18px rgba(17,24,39,0.18);
}

.momentum-real-map .leaflet-tooltip-top:before{
  border-top-color: rgba(17,24,39,0.72);
}

.momentum-map-hint{
  margin: 12px 14px 0;
}

.momentum-country-count{
  background: transparent;
  border: 0;
}

.momentum-country-count span{
  display: inline-block;
  min-width: 22px;
  text-align: center;
  color: #fff;
  font-weight: 900;
  font-size: 11px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0,0,0,0.45);
}

.momentum-dot{
  filter: drop-shadow(0 3px 0 rgba(17,24,39,0.28)) drop-shadow(0 6px 10px rgba(17,24,39,0.12));
}

.momentum-dot--new{
  animation: momentumComicPulse 1.8s ease-in-out infinite;
}

.momentum-country-bubble-marker{
  filter: drop-shadow(0 4px 0 rgba(17,24,39,0.28)) drop-shadow(0 8px 14px rgba(17,24,39,0.22));
}

@keyframes momentumComicPulse{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.18); }
}

body.theme-dark .landing-map .map-wrap{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .momentum-real-map{
  background: linear-gradient(180deg, rgba(15,23,42,0.72), rgba(2,6,23,0.78));
}

body.theme-dark .momentum-real-map::after{
  background-image: radial-gradient(rgba(255,255,255,0.15) 0.8px, transparent 0.8px);
  mix-blend-mode: screen;
  opacity: .18;
}

body.theme-dark .momentum-real-map .leaflet-tile-pane{
  filter: brightness(0.72) contrast(1.08) saturate(0.72) grayscale(0.25);
}

body.theme-dark .momentum-real-map .leaflet-control-zoom{
  border-color: rgba(255,255,255,0.26) !important;
  box-shadow: 0 12px 22px rgba(0,0,0,0.36);
}

body.theme-dark .momentum-real-map .leaflet-control-zoom a{
  background: rgba(2,6,23,0.88) !important;
  color: #f1f5f9 !important;
}

body.theme-dark .momentum-real-map .leaflet-tooltip{
  background: rgba(2,6,23,0.92);
  color: #f1f5f9;
  border-color: rgba(167,139,250,0.54);
  box-shadow: 0 10px 22px rgba(0,0,0,0.42);
}

body.theme-dark .momentum-real-map .leaflet-tooltip-top:before{
  border-top-color: rgba(167,139,250,0.54);
}

body.theme-dark .map-country-bubble{
  fill: rgba(124,58,237,0.90);
  stroke: rgba(255,255,255,0.94);
}

body.theme-dark .map-pill{
  color: rgba(241,245,249,0.95);
}

body.theme-dark .map-pill strong{
  background: rgba(255,255,255,0.14);
}

body.theme-dark .momentum-countries-title{
  color: rgba(229,231,235,0.78);
}

body.theme-dark .momentum-country-pill{
  border-color: rgba(167,139,250,0.34);
  background: rgba(124,58,237,0.16);
}

body.theme-dark .momentum-country-pill strong{
  background: rgba(255,255,255,0.14);
}

.world-map{
  width: 100%;
  height: auto;
  display:block;
}

.map-dots .map-dot{
  fill: rgba(124,58,237,0.95);
  stroke: rgba(255,255,255,0.92);
  stroke-width: 3;
  filter: drop-shadow(0 10px 22px rgba(124,58,237,0.30));
  animation: dotPulse 1.9s ease-in-out infinite;
  transform-origin: center;
}

.map-dot.is-hidden{
  display: none;
}

.map-dot--recent{
  opacity: 0.82;
  animation-duration: 2.2s;
}

.map-dot--old{
  opacity: 0.62;
  animation-duration: 2.6s;
}

.map-country-bubble{
  fill: rgba(15,23,42,0.82);
  stroke: rgba(255,255,255,0.92);
  stroke-width: 2.4;
  filter: drop-shadow(0 8px 16px rgba(15,23,42,0.24));
}

.map-country-bubble-label{
  fill: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

@keyframes dotPulse{
  0%, 100%{ transform: scale(1); opacity: 0.95; }
  50%{ transform: scale(1.22); opacity: 1; }
}

.map-legend{
  padding: 12px 14px;
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.map-pill{
  appearance: none;
  border: 1px solid rgba(91,33,255,0.18);
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(91,33,255,0.08);
  font-weight: 750;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.map-pill--muted{
  border-color: rgba(91,33,255,0.14);
  background: rgba(91,33,255,0.06);
}

.map-pill--faint{
  border-color: rgba(91,33,255,0.12);
  background: rgba(91,33,255,0.04);
}

.map-pill .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(124,58,237,0.95);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.18);
}

.map-pill .dot--soft{
  opacity: 0.82;
  box-shadow: 0 0 0 4px rgba(124,58,237,0.12);
}

.map-pill .dot--faint{
  opacity: 0.62;
  box-shadow: 0 0 0 4px rgba(124,58,237,0.08);
}

.map-pill strong{
  font-size: .82rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(17,24,39,0.08);
}

.map-pill.is-active{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(91,33,255,0.20);
}

.momentum-countries{
  padding: 0 14px 14px;
}

.momentum-countries-title{
  margin: 2px 0 10px;
  font-weight: 760;
  color: var(--muted);
}

.momentum-country-list{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.momentum-country-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(91,33,255,0.16);
  background: rgba(91,33,255,0.06);
  font-size: .92rem;
}

.momentum-country-flag{
  font-size: 1rem;
  line-height: 1;
}

.momentum-country-pill strong{
  font-size: .86rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(17,24,39,0.08);
}

.section-title{
  margin: 0 0 14px 0;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.25;
}

.cards-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cards-6{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.mini-card{
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.feature-card p,
.mini-card p{
  margin: 0;
  line-height: 1.58;
}

.steps-aida .feature-card{
  text-align:left;
  border-color: rgba(17,24,39,0.08);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(91,33,255,0.10), rgba(255,255,255,0) 58%),
    #f9fafb;
}

.step-no{
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: .82rem;
  font-weight: 920;
  color: #fff;
  background: linear-gradient(135deg, #5b21ff, #0ea5e9);
  box-shadow: 0 8px 20px rgba(91,33,255,0.25);
  margin-bottom: 10px;
}

/* Warum Kendli? – etwas mehr Farbe */
.why-cards .mini-card{
  position: relative;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(91,33,255,0.14), rgba(255,255,255,0) 60%),
    #f9fafb;
  border-color: rgba(91,33,255,0.16);
  box-shadow: var(--shadow-sm);
}

.why-cards .mini-card::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height: 4px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: linear-gradient(90deg, rgba(91,33,255,0.95), rgba(14,116,144,0.55));
}

.why-cards .mini-card:nth-child(2)::before{
  background: linear-gradient(90deg, rgba(14,116,144,0.75), rgba(91,33,255,0.55));
}

.why-cards .mini-card:nth-child(3)::before{
  background: linear-gradient(90deg, rgba(91,33,255,0.85), rgba(236,72,153,0.55));
}

.why-cards .mini-card:nth-child(4)::before{
  background: linear-gradient(90deg, rgba(236,72,153,0.65), rgba(91,33,255,0.55));
}

.why-cards .mini-card:nth-child(5)::before{
  background: linear-gradient(90deg, rgba(16,185,129,0.65), rgba(91,33,255,0.55));
}

.why-cards .mini-card:nth-child(6)::before{
  background: linear-gradient(90deg, rgba(245,158,11,0.70), rgba(91,33,255,0.55));
}

body.theme-dark .feature-card,
body.theme-dark .mini-card{
  background: rgba(255,255,255,0.04);
}

body.theme-dark .hero-kicker{
  border-color: rgba(167,139,250,0.45);
  background: rgba(124,58,237,0.20);
  color: rgba(245,243,255,0.95);
}

body.theme-dark .proof-item{
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: rgba(229,231,235,0.88);
}

body.theme-dark .tension-card{
  border-color: rgba(248,113,113,0.30);
  background: rgba(127,29,29,0.22);
}

body.theme-dark .tension-card h3,
body.theme-dark .tension-card li{
  color: rgba(254,226,226,0.90);
}

body.theme-dark .tension-card li::before{
  background: rgba(252,165,165,0.80);
}

body.theme-dark .tension-card--good{
  border-color: rgba(45,212,191,0.28);
  background: rgba(15,118,110,0.20);
}

body.theme-dark .tension-card--good h3,
body.theme-dark .tension-card--good li{
  color: rgba(204,251,241,0.92);
}

body.theme-dark .steps-aida .feature-card{
  border-color: rgba(255,255,255,0.10);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(124,58,237,0.18), rgba(255,255,255,0) 58%),
    rgba(255,255,255,0.04);
}

body.theme-dark .landing-final-cta{
  border-color: rgba(167,139,250,0.30);
  background:
    radial-gradient(120% 140% at 100% -20%, rgba(124,58,237,0.34), rgba(124,58,237,0) 58%),
    linear-gradient(135deg, rgba(30,41,59,0.65), rgba(15,23,42,0.62));
}

body.theme-dark .newsletter-shell{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .why-cards .mini-card{
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(124,58,237,0.24), rgba(255,255,255,0) 60%),
    rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}

/* Features – dezente Farbe in den Karten */
.features-cards .mini-card{
  position: relative;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(14,116,144,0.10), rgba(255,255,255,0) 60%),
    #f9fafb;
  border-color: rgba(14,116,144,0.14);
  box-shadow: var(--shadow-sm);
}

.features-cards .mini-card::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height: 4px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: linear-gradient(90deg, rgba(14,116,144,0.85), rgba(91,33,255,0.55));
}

.features-cards .mini-card:nth-child(2)::before{
  background: linear-gradient(90deg, rgba(91,33,255,0.85), rgba(14,116,144,0.55));
}

.features-cards .mini-card:nth-child(3)::before{
  background: linear-gradient(90deg, rgba(91,33,255,0.85), rgba(245,158,11,0.55));
}

.features-cards .mini-card:nth-child(4)::before{
  background: linear-gradient(90deg, rgba(236,72,153,0.65), rgba(91,33,255,0.55));
}

.features-cards .mini-card:nth-child(5)::before{
  background: linear-gradient(90deg, rgba(16,185,129,0.65), rgba(14,116,144,0.55));
}

.features-cards .mini-card:nth-child(6)::before{
  background: linear-gradient(90deg, rgba(245,158,11,0.70), rgba(14,116,144,0.55));
}

body.theme-dark .features-cards .mini-card{
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(14,116,144,0.18), rgba(255,255,255,0) 60%),
    rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}

.feature-ico{
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.landing-cta-block .cta-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.landing-final-cta{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(91,33,255,0.14);
  background:
    radial-gradient(120% 140% at 100% -20%, rgba(91,33,255,0.20), rgba(91,33,255,0) 58%),
    linear-gradient(135deg, rgba(236,254,255,0.85), rgba(255,255,255,0.95));
  box-shadow: var(--shadow-md);
}

.landing-final-cta .section-title{
  font-size: clamp(1.3rem, 2vw, 1.68rem);
}

.newsletter-shell{
  max-width: 920px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,0.10);
  background: rgba(249,250,251,0.92);
}

.newsletter-form .newsletter-row{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
}

.newsletter-form input{
  flex: 1 1 360px;
  min-width: 240px;
  max-width: 420px;
}

.landing-section--center{
  text-align:center;
}

.pricing-grid--landing .plan-features{
  text-align: left;
}

.pricing-grid--landing .plan-features li{
  justify-content: flex-start;
}

.landing-pricing-showcase{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px) clamp(18px, 3vw, 42px);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 8% 12%, rgba(45, 212, 191, 0.18), transparent 27%),
    radial-gradient(circle at 92% 5%, rgba(251, 191, 36, 0.17), transparent 25%),
    linear-gradient(145deg, rgba(240, 253, 250, 0.96), rgba(255, 251, 235, 0.72) 56%, rgba(255, 255, 255, 0.98));
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.10);
}

.landing-pricing-showcase::before{
  content: "";
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  right: -90px;
  bottom: -110px;
  border: 34px solid rgba(15, 118, 110, 0.07);
  border-radius: 46% 54% 60% 40%;
  transform: rotate(18deg);
}

.landing-pricing-head{
  max-width: 780px;
  margin: 0 auto 28px;
}

.landing-pricing-eyebrow{
  display: inline-flex;
  margin: 0 0 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.10);
  color: #0f766e;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.landing-pricing-showcase .section-title{
  max-width: 720px;
  margin-inline: auto;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.landing-pricing-showcase .how-intro{
  max-width: 660px;
  margin: 14px auto 0;
  font-size: 1.04rem;
  line-height: 1.65;
}

.landing-pricing-trust{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}

.landing-pricing-trust span{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 118, 110, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #334155;
  font-size: .82rem;
  font-weight: 780;
}

.landing-pricing-trust span::before{
  content: "✓";
  color: #0f766e;
  font-weight: 950;
}

.pricing-grid--landing{
  align-items: stretch;
  gap: 14px;
}

.pricing-grid--landing .pricing-card{
  position: relative;
  overflow: hidden;
  padding: 22px 19px 20px;
  border-color: rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.pricing-grid--landing .pricing-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #94a3b8;
}

.pricing-grid--landing .pricing-card--basic::before{ background: #0f766e; }
.pricing-grid--landing .pricing-card--premium::before{ background: #f59e0b; }
.pricing-grid--landing .pricing-card--platin::before,
.pricing-grid--landing .pricing-card--platinum::before{ background: #0f172a; }

.pricing-grid--landing .pricing-card--featured{
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 22px 48px rgba(146, 64, 14, 0.16);
}

.pricing-grid--landing .pricing-card--featured:hover{
  transform: translateY(-2px);
}

.landing-plan-ribbon{
  align-self: flex-start;
  min-height: 27px;
  margin: -5px 0 2px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.landing-plan-ribbon--ghost{
  visibility: hidden;
}

.pricing-grid--landing .plan-heading{
  min-height: 34px;
}

.pricing-grid--landing .plan-name{
  font-size: 1.28rem;
  letter-spacing: -.02em;
}

.landing-plan-price{
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.09);
}

.landing-plan-price-value{
  color: #0f172a;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: 1;
}

.landing-plan-price-meta{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

.landing-plan-price-meta strong{
  color: #0f172a;
  font-size: .85rem;
  letter-spacing: .03em;
}

.landing-plan-price-meta small{
  color: var(--muted);
  font-size: .74rem;
  font-weight: 720;
  white-space: nowrap;
}

.pricing-grid--landing .plan-copy{
  min-height: 300px;
}

.pricing-grid--landing .pricing-cta .btn{
  width: 100%;
  justify-content: center;
}

.landing-pricing-footnote{
  margin: 24px auto 5px;
  color: var(--muted);
  font-size: .9rem;
}

.landing-pricing-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f766e;
  font-weight: 880;
  text-decoration: none;
}

.landing-pricing-link::after{
  content: "→";
  transition: transform .18s ease;
}

.landing-pricing-link:hover::after{
  transform: translateX(4px);
}

body.theme-dark .landing-pricing-showcase{
  border-color: rgba(45, 212, 191, 0.18);
  background:
    radial-gradient(circle at 8% 12%, rgba(13, 148, 136, 0.20), transparent 30%),
    radial-gradient(circle at 92% 4%, rgba(245, 158, 11, 0.13), transparent 26%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.98));
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.38);
}

body.theme-dark .landing-pricing-eyebrow,
body.theme-dark .landing-pricing-link{
  color: #5eead4;
}

body.theme-dark .landing-pricing-eyebrow{
  background: rgba(45, 212, 191, 0.11);
}

body.theme-dark .landing-pricing-trust span{
  border-color: rgba(94, 234, 212, 0.15);
  background: rgba(15, 23, 42, 0.58);
  color: #cbd5e1;
}

body.theme-dark .landing-pricing-trust span::before{ color: #5eead4; }

body.theme-dark .pricing-grid--landing .pricing-card{
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(15, 23, 42, 0.78);
}

body.theme-dark .landing-plan-price{
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

body.theme-dark .landing-plan-price-value,
body.theme-dark .landing-plan-price-meta strong{
  color: #f8fafc;
}

@media (max-width: 900px){
  .pricing-grid--landing .pricing-card--featured,
  .pricing-grid--landing .pricing-card--featured:hover{
    transform: none;
  }

  .pricing-grid--landing .plan-copy{
    min-height: 0;
  }
}

@media (max-width: 560px){
  .landing-pricing-showcase{
    padding: 30px 14px;
    border-radius: 24px;
  }

  .landing-pricing-trust{
    align-items: stretch;
    flex-direction: column;
  }

  .landing-pricing-trust span{
    justify-content: center;
  }
}

/* =========================================================
   15) RESPONSIVE
========================================================= */
@media (max-width: 900px){
  header{ padding: 14px 18px; }

  .logo-img{
    width: 82px;
    height: 82px;
    border-radius: 18px;
  }

  .header-inner{
    flex-direction:column;
    align-items:flex-start;
    gap: 12px;
  }

  .header-actions{
    margin-left:0;
    width:100%;
    align-items:flex-end;
  }

  .topnav{
    width:100%;
    justify-content:space-between;
  }

  .topnav ul{
    flex-wrap:wrap;
    gap: 10px;
  }

  main{
    margin: 20px auto;
    padding: 24px 20px;
    border-radius: 18px;
  }

  main.main-landing{
    padding: 24px 20px;
  }

  .footer-inner{
    flex-direction:column;
    text-align:center;
  }

  .footer-center{
    order: 3;
    flex-wrap:wrap;
    justify-content:center;
  }

  .footer-left{
    order: 1;
    align-items:center;
  }

  .footer-right{
    order: 2;
    justify-content:center;
  }

  .footer-controls{
    justify-content:center;
    flex-wrap: wrap;
  }

  .inv-status{
    text-align:left;
    min-width: auto;
  }

  .pricing-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-interval-actions{
    grid-template-columns: 1fr;
  }

  .legal-contact-grid{
    grid-template-columns: 1fr;
  }

  .landing-hero-inner{
    grid-template-columns: 1fr;
  }

  .landing-split-inner{
    grid-template-columns: 1fr;
  }

  .tension-grid{
    grid-template-columns: 1fr;
  }

  .landing-title{
    font-size: 2.1rem;
    line-height: 1.15;
  }

  .landing-cta .btn{
    padding: 10px 18px;
    font-size: 14px;
  }

  .hero-img,
  .grow-img{
    height: 260px;
  }

  .grow-img--compact{
    height: auto;
  }

  .cards-3{
    grid-template-columns: 1fr;
  }

  .cards-6{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-final-cta{
    padding: 22px;
  }

  .landing-section{
    margin-top: 38px;
  }

  .split-card{
    padding: 18px;
  }

  .help-hero{
    margin-top: 16px;
    padding: 22px 16px;
  }

  .help-panel{
    padding: 18px;
  }

  .help-jump{
    justify-content: stretch;
  }

  .help-jump .btn{
    flex: 1 1 100%;
    text-align: center;
  }

  .tension-strip{
    padding: 20px;
  }
}

/* Buttons im Wizard nebeneinander lassen; erst sehr klein stacken */
@media (max-width: 640px){
  .pricing-grid{
    grid-template-columns: 1fr;
  }

  .pricing-card{
    min-height: 0;
  }

  .pricing-grid--billing .pricing-card,
  .pricing-grid--billing .pricing-card-head,
  .pricing-grid--billing .plan-price,
  .pricing-grid--billing .plan-copy,
  .pricing-grid--billing .plan-desc,
  .pricing-grid--billing .plan-fit,
  .pricing-grid--billing .plan-features,
  .pricing-grid--billing .pricing-cta{
    min-height: 0;
  }

  .plan-heading,
  .plan-price,
  .plan-copy,
  .plan-desc,
  .plan-fit,
  .plan-features,
  .pricing-cta{
    min-height: 0;
  }

  .plan-copy{
    grid-template-rows: auto;
  }

  .plan-desc{
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }

  .plan-fit{
    min-height: 0;
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }
}

@media (max-width: 420px){
  .step-nav{
    flex-direction:column;
    align-items:stretch;
  }
  .step-nav-left,
  .step-nav-right{
    width:100%;
    justify-content:space-between;
  }
  .step-nav .btn{
    width:100%;
  }
}

/* =========================================================
   16) DARK MODE
========================================================= */
body.theme-dark{
  --bg: #0b1220;
  --card: #0f172a;
  --text: #e5e7eb;
  --muted: rgba(229,231,235,0.72);
  --border: rgba(255,255,255,0.10);
  color-scheme: dark;

  --brand-soft: rgba(124, 58, 237, 0.18);

  --shadow-sm: 0 4px 12px rgba(0,0,0,0.25);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.35);
  --shadow-lg: 0 18px 45px rgba(0,0,0,0.45);

  --focus: 0 0 0 4px rgba(124, 58, 237, 0.22);

  --progress-track: rgba(255,255,255,0.08);
  --progress-text: rgba(229,231,235,0.74);

  --btn-border: rgba(124, 58, 237, 0.55);
  --btn-hover-bg: rgba(124, 58, 237, 0.18);

  --btn-secondary-bg: rgba(255,255,255,0.08);
  --btn-secondary-text: rgba(229,231,235,0.92);

  --danger-bg: rgba(239, 68, 68, 0.16);
  --danger-text: rgba(254, 226, 226, 0.92);

  --flash-bg: rgba(239, 68, 68, 0.16);
  --flash-border: rgba(239, 68, 68, 0.55);
  --flash-text: rgba(254, 226, 226, 0.92);
}

body.theme-dark header{
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

body.theme-dark main{
  background: var(--card);
  color: var(--text);
}

body.theme-dark .site-footer{
  background: #0b1220;
  border-top: 1px solid var(--border);
}

body.theme-dark .topnav ul li a{
  color: rgba(229,231,235,0.90);
}

body.theme-dark .topnav ul li a:hover{
  background: rgba(124, 58, 237, 0.18);
}

body.theme-dark .theme-toggle-btn{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: rgba(229,231,235,0.92);
}

body.theme-dark .theme-toggle-btn:hover{
  border-color: rgba(124, 58, 237, 0.65);
}

/* Inputs in darkmode */
body.theme-dark input,
body.theme-dark select,
body.theme-dark textarea{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
}

body.theme-dark input[readonly]{
  background: rgba(255,255,255,0.08);
  color: rgba(229,231,235,0.92);
}

body.theme-dark input:focus,
body.theme-dark select:focus,
body.theme-dark textarea:focus{
  border-color: rgba(124, 58, 237, 0.95);
  box-shadow: var(--focus);
}

body.theme-dark .lang-select{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}

/* Phone prefix dropdown readability in dark mode (Windows select/option rendering) */
body.theme-dark .phone-input .phone-prefix{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}

body.theme-dark .phone-input .phone-prefix option{
  background: #0f172a;
  color: var(--text);
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-emoji: emoji;
}
body.theme-dark .flag-icon{
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
body.theme-dark .phone-prefix-ui__btn{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}
body.theme-dark .phone-prefix-ui__menu{
  background: #0f172a;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
body.theme-dark .phone-prefix-ui__item:hover{
  background: rgba(255,255,255,0.07);
}
body.theme-dark .phone-prefix-ui__item.is-selected{
  background: rgba(255,255,255,0.10);
}

/* Cards/Boxes in darkmode */
body.theme-dark .review-box,
body.theme-dark .quick-card{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .plan-features li{
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.10);
  color: rgba(229,231,235,0.86);
}

body.theme-dark .plan-features li.plan-feature-clean{
  background: rgba(20,184,166,0.08);
  border-color: rgba(20,184,166,0.18);
}

body.theme-dark .plan-features li.plan-feature-ad::before{
  background: rgba(245,158,11,0.20);
  color: #fbbf24;
}

body.theme-dark .contact-qr-teaser,
body.theme-dark .contact-qr-card,
body.theme-dark .contact-qr-success{
  background:
    radial-gradient(circle at 12% 10%, rgba(124,58,237,0.22), transparent 34%),
    linear-gradient(135deg, rgba(15,23,42,0.92), rgba(30,41,59,0.78));
  border-color: rgba(124,58,237,0.28);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
}

body.theme-dark .contact-qr-frame{
  background: #f8fafc;
  border-color: rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 8px rgba(124,58,237,0.10);
}

body.theme-dark .stats-group{
  background: transparent;
  border-color: transparent;
}

body.theme-dark .stats-item{
  border-color: rgba(255,255,255,0.12);
  background:
    radial-gradient(110% 100% at 100% 0%, rgba(var(--stats-accent),0.16), rgba(15,23,42,0) 56%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  box-shadow: 0 12px 26px rgba(0,0,0,0.28);
}

body.theme-dark .stats-item:hover{
  border-color: rgba(var(--stats-accent),0.45);
  box-shadow: 0 18px 34px rgba(0,0,0,0.34);
}

body.theme-dark .stats-title{
  color: rgba(255,255,255,0.94);
}

body.theme-dark .stats-icon{
  border-color: rgba(var(--stats-accent),0.38);
  background: rgba(var(--stats-accent),0.22);
}

/* Plan badge contrast in darkmode */
body.theme-dark .dash-plan-badge{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

body.theme-dark .dash-plan-label{ color: rgba(229,231,235,0.70); }
body.theme-dark .dash-plan-name{ color: rgba(255,255,255,0.95); }

/* Footer links/icons dark */
body.theme-dark .footer-center a{
  color: rgba(229,231,235,0.78);
}

body.theme-dark .footer-center a:hover{
  background: rgba(124, 58, 237, 0.16);
  color: rgba(255,255,255,0.95);
}

body.theme-dark .footer-legal-btn{
  border-color: rgba(167,139,250,0.34);
  background: rgba(167,139,250,0.14);
}

body.theme-dark .legal-lang-switch .btn.is-active{
  box-shadow: 0 10px 20px rgba(91, 33, 255, 0.36);
}

body.theme-dark .footer-right a{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(229,231,235,0.85);
}

body.theme-dark .footer-right a:hover{
  background: rgba(124, 58, 237, 0.16);
  border-color: rgba(124, 58, 237, 0.22);
  color: rgba(255,255,255,0.95);
}

/* Modal dark */
body.theme-dark .modal-content{
  background: var(--card);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.10);
}

/* Progress dark */
body.theme-dark .progress-bar{
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .step-pill{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(229,231,235,0.85);
}

body.theme-dark .step-pill.active{
  background: rgba(124,58,237,0.18);
  border-color: rgba(124,58,237,0.28);
  color: rgba(255,255,255,0.95);
}

body.theme-dark .option-row{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .option-row:hover{
  border-color: rgba(124,58,237,0.28);
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
}

body.theme-dark .option-row--disabled:hover{
  border-color: rgba(255,255,255,0.10);
  box-shadow: none;
}

body.theme-dark .wizard-map-box{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .wizard-map-frame{
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .wizard-map-picker{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .wizard-picker-map{
  border-color: rgba(255,255,255,0.10);
}

body.theme-dark .wizard-suggestions{
  background: #0b1220;
  border-color: rgba(148,163,184,.24);
  color: #e5e7eb;
}

body.theme-dark .wizard-suggestion-btn{
  border-top-color: rgba(148,163,184,.20);
}

body.theme-dark .wizard-suggestion-btn:hover{
  background: rgba(124,58,237,0.18);
}

body.theme-dark .plan-ads-box{
  background: rgba(15,23,42,0.92);
  border-color: rgba(124,58,237,0.44);
  box-shadow: 0 18px 40px rgba(0,0,0,0.42);
}

body.theme-dark .plan-ads-label,
body.theme-dark .plan-ads-copy,
body.theme-dark .plan-ads-close{
  color: rgba(229,231,235,0.72);
}

body.theme-dark .plan-ads-slot-wrap{
  border-color: rgba(124,58,237,0.30);
  background: rgba(124,58,237,0.10);
}
