/* ═══════════════════════════════════════════════
   NOVIS AGENT SYSTEM — Public CSS
   Design inspiriert von novissa.com
   Farben: Rot #E30613, Schwarz #1A1A1A, Weiss #FFFFFF
═══════════════════════════════════════════════ */

/* ── VARIABLEN ── */
:root {
  --nv-red:    #E30613;
  --nv-red-dk: #B8000F;
  /* Button-Primärfarbe = Novis-Markenrot. Die .novis-btn-primary Buttons nutzen
     diese Variable mit !important und überschreiben damit die violette
     OceanWP-Theme-Button-Farbe. Für Theme-Violett stattdessen auf #A64193 setzen. */
  --nv-primary:    var(--nv-red);
  --nv-primary-dk: var(--nv-red-dk);
  --nv-black:  #1A1A1A;
  /* Sekundärfarbe = OceanWP-Grau der Seiten-Titelleiste (#333). Weicher als #1A1A1A. */
  --nv-secondary: #333333;
  --nv-gray:   #6B6B6B;
  --nv-light:  #F5F5F5;
  --nv-border: #E0E0E0;
  --nv-white:  #FFFFFF;
  --nv-radius: 0px;        /* Novissa nutzt kaum Rundungen */
  --nv-font:   'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ── RESET für Novis-Bereich ── */
#novis-landing, #novis-apply-wrap, #novis-offer-wrap, #novis-order-wrap {
  font-family: var(--nv-font);
  color: var(--nv-black);
  line-height: 1.6;
}
#novis-landing *, #novis-apply-wrap *, #novis-offer-wrap *, #novis-order-wrap * {
  box-sizing: border-box;
}
#novis-landing h1, #novis-landing h2, #novis-landing h3,
#novis-apply-wrap h1, #novis-apply-wrap h2, #novis-apply-wrap h3,
#novis-offer-wrap h1, #novis-offer-wrap h2, #novis-offer-wrap h3,
#novis-order-wrap h1, #novis-order-wrap h2, #novis-order-wrap h3 {
  font-family: var(--nv-font);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--nv-black);
}

/* ── BUTTONS ── */
.novis-btn-primary {
  display: inline-block;
  background: var(--nv-primary) !important;
  color: white !important;
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 2px solid var(--nv-primary) !important;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--nv-font);
}
.novis-btn-primary:hover {
  background: var(--nv-primary-dk) !important;
  border-color: var(--nv-primary-dk) !important;
  color: white !important;
}
.novis-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--nv-black) !important;
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 2px solid var(--nv-black);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--nv-font);
}
.novis-btn-outline:hover {
  background: var(--nv-black);
  color: white !important;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.novis-hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 0;
  min-height: 80vh;
  align-items: stretch;
  margin: 0 -20px; /* breite über container */
}
.novis-hero-content {
  padding: 80px 60px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.novis-hero-badge {
  display: inline-block;
  background: var(--nv-red);
  color: white;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.novis-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.1;
}
.novis-hero h1 em {
  font-style: italic;
  color: var(--nv-red);
}
.novis-hero h1 strong {
  font-weight: 600;
}
.novis-hero-sub {
  font-size: 16px;
  color: var(--nv-gray);
  margin-bottom: 32px;
  max-width: 460px;
  line-height: 1.7;
}
.novis-hero-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--nv-border);
  border-bottom: 1px solid var(--nv-border);
}
.novis-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 600;
  color: var(--nv-black);
  line-height: 1;
}
.novis-stat span {
  font-size: 11px;
  color: var(--nv-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}
.novis-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero Bild */
.novis-hero-image {
  position: relative;
  background: var(--nv-light);
  overflow: hidden;
}
.novis-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.novis-product-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: white;
  color: var(--nv-black);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ═══════════════════════════════════════════════
   TOP BAR (wie Novissa: Versand, Garantie etc.)
═══════════════════════════════════════════════ */
.novis-topbar {
  background: var(--nv-black);
  color: white;
  padding: 10px 0;
  margin: 0 -20px 0;
}
.novis-topbar-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.novis-topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
}
.novis-topbar-item::before {
  content: '✓';
  color: var(--nv-red);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   STEPS
═══════════════════════════════════════════════ */
.novis-steps {
  padding: 80px 0;
  background: white;
}
.novis-section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nv-red);
  margin-bottom: 14px;
}
.novis-steps h2 {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 48px;
}
.novis-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--nv-border);
}
.novis-step {
  padding: 40px 32px;
  border-right: 1px solid var(--nv-border);
  position: relative;
}
.novis-step:last-child { border-right: none; }
.novis-step-num {
  font-size: 48px;
  font-weight: 200;
  color: var(--nv-red);
  line-height: 1;
  margin-bottom: 20px;
}
.novis-step h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}
.novis-step p {
  font-size: 14px;
  color: var(--nv-gray);
  line-height: 1.7;
}
.novis-step-badge {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nv-red);
  border-bottom: 1px solid var(--nv-red);
  padding-bottom: 1px;
}

/* ═══════════════════════════════════════════════
   PROVISIONEN / TIERS
═══════════════════════════════════════════════ */
.novis-provisions {
  padding: 80px 0;
  background: var(--nv-black);
}
.novis-provisions .novis-section-tag { color: var(--nv-red); }
.novis-provisions h2 {
  font-size: 36px;
  font-weight: 300;
  color: white;
  margin-bottom: 12px;
}
.novis-provisions > p {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  margin-bottom: 48px;
}
.novis-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.1);
}
.novis-tier-card {
  background: var(--nv-black);
  padding: 40px 28px;
  transition: background 0.2s;
}
.novis-tier-card:hover { background: #222; }
.novis-tier-card.featured {
  background: var(--nv-red);
}
.novis-tier-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.novis-tier-card.featured .novis-tier-name { color: rgba(255,255,255,0.7); }
.novis-tier-comm {
  font-size: 42px;
  font-weight: 200;
  color: white;
  line-height: 1;
}
.novis-tier-unit {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin: 6px 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.novis-tier-target {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.novis-tier-earn {
  font-size: 14px;
  font-weight: 500;
  color: white;
  margin-top: 8px;
}
.novis-tier-card.featured .novis-tier-earn { color: rgba(255,255,255,0.9); }

/* ═══════════════════════════════════════════════
   BRANCHEN
═══════════════════════════════════════════════ */
.novis-branchen { padding: 80px 0; background: var(--nv-light); }
.novis-branchen h2 { font-size: 36px; font-weight: 300; margin-bottom: 48px; }
.novis-branchen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--nv-border);
}
.novis-branche {
  background: white;
  padding: 36px 28px;
  transition: all 0.2s;
}
.novis-branche:hover { background: var(--nv-light); }
.novis-branche-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.novis-branche h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--nv-black);
}
.novis-branche p { font-size: 14px; color: var(--nv-gray); line-height: 1.65; }

/* ═══════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════ */
.novis-cta {
  padding: 80px 0;
  text-align: center;
  background: white;
  border-top: 1px solid var(--nv-border);
}
.novis-cta h2 { font-size: 40px; font-weight: 300; margin-bottom: 14px; }
.novis-cta p { font-size: 16px; color: var(--nv-gray); margin-bottom: 32px; }

/* ═══════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════ */
.novis-apply-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 24px;
}
.novis-apply-sidebar {
  background: var(--nv-secondary);
  color: white;
  padding: 36px 28px;
  position: sticky;
  top: 24px;
}
.novis-apply-sidebar h2 {
  font-size: 22px;
  font-weight: 300;
  color: white;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
/* Theme (OceanWP) überschreibt Heading-Farben — hier erzwingen wir hellen Text */
#novis-apply-wrap .novis-apply-sidebar h2,
#novis-offer-wrap .novis-apply-sidebar h2 { color: #ffffff !important; }
#novis-apply-wrap .novis-apply-benefits li { color: rgba(255,255,255,0.85) !important; }
.novis-apply-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}
.novis-apply-benefits li {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.novis-apply-benefits li::before {
  content: '✓';
  color: var(--nv-red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.novis-apply-form-wrap h2 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--nv-red);
  display: inline-block;
}

/* Form Felder */
.novis-fg { margin-bottom: 18px; }
.novis-fg label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nv-gray);
  margin-bottom: 7px;
}
.novis-fg input,
.novis-fg select,
.novis-fg textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--nv-border);
  border-radius: 0;
  font-size: 14px;
  font-family: var(--nv-font);
  color: var(--nv-black);
  background: white;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.novis-fg select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A1A1A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.novis-fg input:focus,
.novis-fg select:focus,
.novis-fg textarea:focus {
  outline: none;
  border-color: var(--nv-red);
}
.novis-fg input[type=checkbox] {
  width: auto !important;
  padding: 0 !important;
  margin-right: 8px;
  accent-color: var(--nv-red);
  -webkit-appearance: checkbox;
  appearance: checkbox;
}
.novis-fg textarea { min-height: 90px; resize: vertical; }
.novis-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.novis-checkboxes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2px; }
.novis-fg .novis-check-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--nv-black);
  cursor: pointer;
}

/* ═══════════════════════════════════════════════
   SUCCESS + INFO + LOADING
═══════════════════════════════════════════════ */
.novis-success-box {
  border-left: 3px solid var(--nv-red);
  background: #FFF5F5;
  padding: 24px 28px;
}
.novis-info-box {
  background: var(--nv-light);
  border-left: 3px solid var(--nv-black);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--nv-gray);
  margin: 16px 0;
}
.novis-loading {
  color: var(--nv-gray);
  padding: 48px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════
   ANGEBOT (OFFER)
═══════════════════════════════════════════════ */
.novis-offer-header {
  background: var(--nv-black);
  padding: 36px 40px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.novis-offer-header h2 {
  color: white;
  font-weight: 300;
  font-size: 28px;
  margin: 0;
}
.novis-offer-tier {
  background: var(--nv-red);
  color: white;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.novis-offer-konditions {
  background: var(--nv-light);
  padding: 32px 40px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.novis-offer-main {
  font-size: 52px;
  font-weight: 200;
  color: var(--nv-black);
  line-height: 1;
}
.novis-offer-main span {
  font-size: 14px;
  color: var(--nv-gray);
  display: block;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.novis-offer-detail {
  font-size: 14px;
  color: var(--nv-gray);
  border-left: 1px solid var(--nv-border);
  padding-left: 36px;
}
.novis-contract-box {
  background: var(--nv-light);
  padding: 28px 36px;
  max-height: 360px;
  overflow-y: auto;
  margin-bottom: 2px;
  border-left: 3px solid var(--nv-border);
}
.novis-contract-text {
  font-size: 12px;
  line-height: 1.85;
  white-space: pre-wrap;
  margin: 0;
  font-family: var(--nv-font);
  color: var(--nv-gray);
}
.novis-accept-box {
  background: white;
  border: 1px solid var(--nv-border);
  padding: 32px 36px;
}
.novis-accept-box h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
}
.novis-accept-box label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  cursor: pointer;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   BESTELLUNG (ORDER)
═══════════════════════════════════════════════ */
.novis-order-header {
  background: var(--nv-light);
  padding: 28px 36px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--nv-red);
}
.novis-order-header h2 {
  font-size: 26px;
  font-weight: 300;
  margin: 0;
}
.novis-order-agent-badge {
  background: var(--nv-black);
  color: white;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* Sektions-Trennlinie im Formular */
.novis-form-section {
  margin: 28px 0 18px;
  padding-top: 24px;
  border-top: 1px solid var(--nv-border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nv-red);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .novis-hero { grid-template-columns: 1fr; }
  .novis-hero-image { height: 300px; }
  .novis-hero-content { padding: 48px 0 32px; }
  .novis-steps-grid { grid-template-columns: 1fr; }
  .novis-step { border-right: none; border-bottom: 1px solid var(--nv-border); }
  .novis-branchen-grid { grid-template-columns: 1fr 1fr; }
  .novis-apply-container { grid-template-columns: 1fr; }
  .novis-apply-sidebar { position: static; }
  .novis-form-row { grid-template-columns: 1fr; }
  .novis-offer-header, .novis-offer-konditions { flex-direction: column; gap: 16px; align-items: flex-start; }
  .novis-topbar-inner { gap: 20px; padding: 0 16px; }
}
@media (max-width: 600px) {
  .novis-branchen-grid { grid-template-columns: 1fr; }
  .novis-tiers-grid { grid-template-columns: 1fr 1fr; }
  .novis-hero-stats { gap: 20px; flex-wrap: wrap; }
}
