/* ============================================
   GEHALTS PLUS CARD
   Design nach Vorlage Designpool 26-010
   Marineblau (#294062) + Weiß
   ============================================ */
:root {
  --navy: #294062;
  --navy-dark: #1d2f48;
  --navy-deep: #16243a;
  --blue: #237fa9;
  --blue-light: #e9f1f7;
  --blue-pale: #f4f8fb;
  --gold: #d8b24a;
  --text: #4a5568;
  --text-dark: #1a2540;
  --grey-bg: #f4f6f9;
  --grey-line: #e3e8ef;
  --white: #fff;
  --danger: #d9534f;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 6px 28px rgba(26, 37, 64, .09);
  --shadow-lg: 0 22px 55px rgba(22, 36, 58, .28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

h1, h2, h3, h4 { color: var(--text-dark); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.18rem; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.alt { background: var(--grey-bg); }

/* Dunkle Bänder (Vorlagen-Stil) */
.section.dark { background: var(--navy); color: #cdd6e4; }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark .section-head p { color: #aebbcf; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 54px; }
.section-head .eyebrow {
  display: inline-block; color: var(--blue); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: 12px;
}
.section.dark .section-head .eyebrow { color: var(--gold); }
.section-head p { margin-top: 14px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-line);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--text-dark); font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.btn-primary, .main-nav a.btn-primary:hover, .main-nav a.btn-primary.active { color: #fff; }
.main-nav a.btn-outline:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 8px;
  font-weight: 600; font-size: .95rem; cursor: pointer; border: none;
  transition: all .2s ease; font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-accent { background: var(--blue); color: #fff; }
.btn-accent:hover { background: #1c6788; color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); padding: 12.5px 28px; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blue-light); color: var(--navy); }
.btn-ghost { background: var(--blue-light); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 19px; font-size: .85rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--blue-pale), #fff); padding: 76px 0 88px; overflow: hidden; }
.hero .inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--navy);
  padding: 7px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 22px;
}
.hero p.lead { font-size: 1.16rem; margin: 22px 0 32px; max-width: 530px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .hero-trust { margin-top: 34px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero .avatars { display: flex; }
.hero .avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 600; box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.hero .avatars span:first-child { margin-left: 0; }
.hero .hero-trust .rate b { color: var(--text-dark); font-size: 1.05rem; }
.hero .hero-trust .stars { color: var(--gold); letter-spacing: 1px; }
.hero .hero-trust small { display: block; font-size: .82rem; }

/* ---------- Karte (CSS-Visual, Originaldesign) ---------- */
.card-visual {
  width: 100%; max-width: 430px; aspect-ratio: 1.586;
  border-radius: 16px; position: relative; color: #fff;
  background: linear-gradient(150deg, #14213a 0%, #1b2b48 55%, #243a5e 100%);
  box-shadow: var(--shadow-lg); padding: 22px 26px;
  display: flex; flex-direction: column; overflow: hidden;
  margin: 0 auto; transform: rotate(-3deg); transition: transform .3s ease;
}
.card-visual:hover { transform: rotate(0deg) scale(1.02); }

/* Kopfzeile: Logo links, Firmenlogo/-name rechts */
.card-visual .card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-visual .card-brand { font-weight: 700; font-size: .92rem; letter-spacing: .05em; line-height: 1.15; }
.card-visual .card-brand b { font-weight: 800; }
.card-visual .card-brand small { display: block; font-weight: 400; opacity: .85; font-size: .52rem; letter-spacing: .42em; margin-top: 3px; }
.card-visual .card-company { font-size: 1.05rem; font-weight: 700; font-style: italic; text-align: right; max-width: 48%; line-height: 1.1; overflow: hidden; }
.card-visual .card-company img { max-height: 32px; max-width: 130px; display: inline-block; }

/* Chip */
.card-visual .chip {
  width: 44px; height: 33px; border-radius: 6px; margin: 16px 0 14px; position: relative;
  background: linear-gradient(135deg, #e3e6ea 0%, #b6bbc2 45%, #d7dade 60%, #a7acb3 100%);
}
.card-visual .chip::after {
  content: ''; position: absolute; inset: 0; border-radius: 6px;
  background:
    linear-gradient(to right, transparent 31%, rgba(0,0,0,.22) 31%, rgba(0,0,0,.22) 33%, transparent 33%),
    linear-gradient(to bottom, transparent 47%, rgba(0,0,0,.22) 47%, rgba(0,0,0,.22) 50%, transparent 50%);
}

/* Kartennummer */
.card-visual .card-number {
  font-family: 'Courier New', ui-monospace, monospace; font-size: 1.5rem; font-weight: 700;
  letter-spacing: .04em; margin-bottom: 14px;
}

/* CVC / Gültig-Zeile */
.card-visual .card-meta { display: flex; align-items: flex-end; gap: 34px; margin-bottom: 12px; font-family: 'Courier New', ui-monospace, monospace; }
.card-visual .card-meta .lbl { font-size: .9rem; font-weight: 700; letter-spacing: .04em; }
.card-visual .card-meta .vt { display: flex; align-items: center; gap: 7px; }
.card-visual .card-meta .vt em { font-style: normal; font-size: .46rem; line-height: .95; letter-spacing: .03em; opacity: .85; font-family: Arial, sans-serif; }

/* Name */
.card-visual .card-name { font-family: 'Courier New', ui-monospace, monospace; font-size: 1.05rem; font-weight: 700; letter-spacing: .12em; }

/* Mastercard auf weißem Eck-Patch unten rechts */
.card-visual .card-mc {
  position: absolute; right: 0; bottom: 0; background: #fff;
  border-radius: 16px 0 16px 0; padding: 11px 15px 11px 17px; display: flex; align-items: center;
}
.card-visual .card-mc i { width: 29px; height: 29px; border-radius: 50%; display: block; }
.card-visual .card-mc i:first-child { background: #eb001b; }
.card-visual .card-mc i:last-child { background: #f79e1b; margin-left: -11px; }

/* ---------- Stats-Band (dunkel, Vorlagen-Stil) ---------- */
.stats-band { background: var(--navy); padding: 52px 0; }
.stats-band .head { text-align: center; color: #aebbcf; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 30px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: 2.5rem; color: #fff; font-weight: 800; line-height: 1; }
.stat span { font-size: .9rem; color: #aebbcf; margin-top: 8px; display: block; }
.stats .stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }

/* ---------- Feature-Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.feature-card {
  background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 32px 28px; transition: all .25s ease;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue-light); }
.feature-card .icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: .95rem; }

/* Feature-Card auf dunklem Band */
.section.dark .feature-card {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1);
}
.section.dark .feature-card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); box-shadow: none; }
.section.dark .feature-card p { color: #aebbcf; }
.section.dark .feature-card .icon { background: rgba(255,255,255,.08); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 0 8px; }
.step .num {
  width: 58px; height: 58px; border-radius: 14px; background: var(--navy); color: #fff;
  font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .9rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.testi {
  background: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column;
}
.testi h4 { font-size: 1rem; margin-bottom: 6px; }
.testi .stars { color: var(--gold); letter-spacing: 1px; margin-bottom: 12px; font-size: .95rem; }
.testi p { font-size: .92rem; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.testi .who .ava { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: .85rem; }
.testi .who b { display: block; color: var(--text-dark); font-size: .9rem; }
.testi .who span { font-size: .8rem; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--grey-line); border-radius: var(--radius); margin-bottom: 14px; background: var(--white); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--text-dark);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--blue); flex-shrink: 0; transition: transform .2s; font-weight: 400; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--blue-light); }
.faq-item .faq-body { padding: 18px 24px 22px; font-size: .95rem; }

/* ---------- CTA-Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 70%, var(--blue));
  border-radius: var(--radius-lg); color: #fff; text-align: center; padding: 66px 40px; position: relative; overflow: hidden;
}
.cta-banner::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.05); }
.cta-banner h2 { color: #fff; margin-bottom: 14px; position: relative; }
.cta-banner p { color: #cdd6e4; max-width: 580px; margin: 0 auto 30px; position: relative; }
.cta-banner .btn-light { position: relative; }

/* ---------- Formulare ---------- */
.form-card { background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; color: var(--text-dark); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--grey-line); border-radius: 8px;
  font-family: inherit; font-size: .95rem; color: var(--text-dark); background: var(--white); transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-hint { font-size: .8rem; color: #8a94a6; margin-top: 5px; }
.form-error { color: var(--danger); font-size: .85rem; margin-top: 6px; display: none; }

/* ---------- Bestell-Stepper ---------- */
.stepper { display: flex; justify-content: center; gap: 0; margin-bottom: 48px; }
.stepper .s { display: flex; align-items: center; gap: 10px; padding: 0 22px; font-size: .88rem; font-weight: 600; color: #aab2c0; }
.stepper .s .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--grey-line); color: #8a94a6; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.stepper .s.active { color: var(--navy); }
.stepper .s.active .dot { background: var(--navy); color: #fff; }
.stepper .s.done .dot { background: var(--blue-light); color: var(--navy); }
.wizard-step { display: none; }
.wizard-step.visible { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; }

/* ---------- Karten-Designer ---------- */
.designer { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; transition: all .15s; }
.swatch.selected { border-color: var(--text-dark); transform: scale(1.12); }

/* ---------- Login / Portal ---------- */
.auth-wrap { min-height: calc(100vh - 76px); display: flex; align-items: center; justify-content: center; padding: 60px 24px; background: var(--navy); position: relative; overflow: hidden; }
.auth-wrap::before { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: rgba(255,255,255,.04); top: -160px; left: -120px; }
.auth-wrap::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(35,127,169,.18); bottom: -140px; right: -80px; }
.auth-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 44px; width: 100%; max-width: 440px; position: relative; z-index: 1; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 8px; }
.auth-card .sub { margin-bottom: 28px; font-size: .95rem; }
.demo-note { background: var(--blue-light); border-radius: 10px; padding: 14px 16px; font-size: .85rem; color: var(--navy); margin-top: 22px; }
.demo-note code { background: rgba(255,255,255,.7); padding: 2px 7px; border-radius: 5px; font-size: .82rem; }

/* Rollen-Tabs im Login */
.role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.role-tab {
  border: 1.5px solid var(--grey-line); background: #fff; border-radius: var(--radius);
  padding: 16px 12px; text-align: center; cursor: pointer; font-family: inherit; transition: all .18s;
}
.role-tab .role-ico { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.role-tab b { display: block; color: var(--text-dark); font-size: .95rem; }
.role-tab small { display: block; font-size: .76rem; color: #8a94a6; margin-top: 2px; }
.role-tab:hover { border-color: var(--blue); }
.role-tab.active { border-color: var(--navy); background: var(--blue-light); box-shadow: 0 0 0 3px rgba(35,127,169,.12); }

/* Mitarbeiter-Status / Online-Indikator */
.dot-online { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.dot-online.on { background: #2bb673; box-shadow: 0 0 0 3px rgba(43,182,115,.18); }
.dot-online.off { background: #c2cad6; }

/* Portal-Kartendesigner */
.designer-portal { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: start; }
.upload-drop {
  border: 2px dashed var(--grey-line); border-radius: 10px; padding: 22px; text-align: center;
  cursor: pointer; transition: all .18s; background: var(--grey-bg);
}
.upload-drop:hover { border-color: var(--blue); background: var(--blue-light); }
.upload-drop small { color: #8a94a6; font-size: .8rem; }
.card-logo-overlay { max-height: 30px; max-width: 120px; }

.portal { display: grid; grid-template-columns: 250px 1fr; min-height: calc(100vh - 76px); }
.portal-nav { background: var(--navy-deep); padding: 28px 0; }
.portal-nav a { display: flex; align-items: center; gap: 12px; color: #aebbcf; padding: 13px 26px; font-size: .92rem; font-weight: 500; border-left: 3px solid transparent; }
.portal-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.portal-nav a.active { color: #fff; border-left-color: var(--blue); background: rgba(35,127,169,.18); }
.portal-main { background: var(--grey-bg); padding: 44px; }
.portal-main h1 { font-size: 1.7rem; margin-bottom: 6px; }
.portal-main .sub { margin-bottom: 32px; }
.panel { background: var(--white); border-radius: var(--radius); border: 1px solid var(--grey-line); padding: 28px; margin-bottom: 24px; }
.panel h3 { margin-bottom: 16px; }
.portal-section { display: none; }
.portal-section.visible { display: block; animation: fadeIn .25s ease; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.kpi { background: var(--white); border-radius: var(--radius); border: 1px solid var(--grey-line); padding: 22px; border-top: 3px solid var(--blue); }
.kpi b { display: block; font-size: 1.7rem; color: var(--navy); }
.kpi span { font-size: .85rem; }

.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600; }
.badge.ok { background: var(--blue-light); color: var(--navy); }
.badge.warn { background: #fff3cd; color: #856404; }
.badge.info { background: #e7f1ff; color: #1e5799; }

table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th { text-align: left; padding: 11px 14px; color: var(--text-dark); border-bottom: 2px solid var(--grey-line); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
table.data td { padding: 13px 14px; border-bottom: 1px solid var(--grey-line); }

.chat-box { display: flex; flex-direction: column; height: 420px; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; background: var(--grey-bg); border-radius: 10px; margin-bottom: 14px; }
.msg { max-width: 75%; padding: 11px 16px; border-radius: 14px; margin-bottom: 10px; font-size: .92rem; }
.msg.them { background: var(--white); border: 1px solid var(--grey-line); border-bottom-left-radius: 4px; }
.msg.me { background: var(--navy); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.chat-input { display: flex; gap: 10px; }
.chat-input input { flex: 1; padding: 12px 15px; border: 1.5px solid var(--grey-line); border-radius: 8px; font-family: inherit; }
.chat-input input:focus { outline: none; border-color: var(--blue); }

.integration-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--grey-line); }
.integration-row:last-child { border-bottom: none; }
.integration-row .meta b { display: block; color: var(--text-dark); }
.integration-row .meta span { font-size: .85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9fb0c8; padding: 58px 0 30px; font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: #9fb0c8; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .foot-brand img { height: 30px; margin-bottom: 16px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #74859d; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--text-dark); color: #fff; padding: 14px 26px; border-radius: 999px; font-size: .92rem; opacity: 0; transition: all .35s ease; z-index: 999; pointer-events: none; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--text-dark); }
@media (max-width: 940px) {
  .hero .inner, .designer, .designer-portal, .grid-3, .grid-2, .steps, .stats, .kpi-row, .testi-grid { grid-template-columns: 1fr; }
  .hero .inner { gap: 44px; }
  .stats .stat + .stat { border-left: none; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
  .portal { grid-template-columns: 1fr; }
  .portal-nav { display: flex; overflow-x: auto; padding: 0; }
  .portal-nav a { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  .portal-nav a.active { border-bottom-color: var(--blue); }
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 20px 24px; border-bottom: 1px solid var(--grey-line); gap: 16px; }
  .nav-toggle { display: block; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .stepper .s span.lbl { display: none; }
}
@media (max-width: 560px) { .testi-grid { grid-template-columns: 1fr; } }

/* ============================================
   Bonusprogramm (Mitarbeiter werben Kunden)
   ============================================ */

/* Promo-Banner im Mitarbeiter-Portal */
.bonus-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 28px;
  border: 1px solid rgba(216,178,74,.4); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.bonus-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.bonus-banner-text { display: flex; flex-direction: column; gap: 4px; }
.bonus-banner-text b { font-size: 1.18rem; color: #fff; }
.bonus-banner-text > span:last-child { font-size: .9rem; color: #c6d2e4; max-width: 520px; }
.badge-gold { align-self: flex-start; background: var(--gold); color: var(--navy-deep); font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; }
.bonus-banner-cta { flex-shrink: 0; background: var(--gold); color: var(--navy-deep); font-weight: 700; padding: 12px 22px; border-radius: 999px; white-space: nowrap; font-size: .92rem; }

/* Gold-Buttons / helle Ghost-Buttons */
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #c79f37; color: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; }

/* Hero */
.bonus-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #cdd6e4; padding: 72px 0 80px; text-align: center; }
.bonus-hero .eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.bonus-hero h1 { color: #fff; margin: 18px 0 20px; }
.bonus-hero .lead { font-size: 1.14rem; max-width: 680px; margin: 0 auto 34px; color: #c6d2e4; }
.bonus-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Vorschau-Hinweis */
.bonus-note { background: #fff7e3; border: 1px solid #ecd9a3; color: #6b5418; border-radius: var(--radius); padding: 14px 20px; font-size: .9rem; margin: 28px auto 0; }

/* Schritte */
.step-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step-card { background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius-lg); padding: 32px 28px; position: relative; }
.step-card .step-num { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-light); color: var(--navy); font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: .95rem; }

/* Prämien-Karten */
.reward-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reward-card { background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius-lg); padding: 30px 26px; position: relative; transition: transform .2s ease, box-shadow .2s ease; border-top: 3px solid var(--gold); }
.reward-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.reward-ico { width: 58px; height: 58px; border-radius: 14px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 18px; }
.reward-card h3 { margin-bottom: 8px; }
.reward-card p { font-size: .95rem; }
.reward-tag { position: absolute; top: 22px; right: 22px; background: var(--gold); color: var(--navy-deep); font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: 4px 11px; border-radius: 999px; }

/* Stufen */
.tier-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.tier-card { background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius-lg); padding: 34px 28px; text-align: center; position: relative; }
.tier-card.featured { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-8px); }
.tier-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy-deep); font-size: .72rem; font-weight: 800; letter-spacing: .06em; padding: 5px 16px; border-radius: 999px; }
.tier-medal { font-size: 2.4rem; display: block; margin-bottom: 8px; }
.tier-card h3 { font-size: 1.4rem; }
.tier-req { color: var(--blue); font-weight: 700; font-size: .9rem; margin: 6px 0 18px; }
.tier-list { list-style: none; text-align: left; display: inline-block; }
.tier-list li { padding: 8px 0 8px 26px; position: relative; font-size: .94rem; border-bottom: 1px solid var(--grey-line); }
.tier-list li:last-child { border-bottom: none; }
.tier-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

/* Abschluss-CTA */
.bonus-cta { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); color: #cdd6e4; border-radius: var(--radius-lg); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.bonus-cta h2 { color: #fff; margin-bottom: 10px; }
.bonus-cta p { max-width: 520px; color: #c6d2e4; }
.bonus-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 940px) {
  .step-flow, .reward-grid, .tier-row { grid-template-columns: 1fr; }
  .tier-card.featured { transform: none; }
  .bonus-banner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bonus-cta { flex-direction: column; align-items: flex-start; }
}
