/* ============================================================
   VESTT – PREMIUM B2B DESIGN SYSTEM
   Apple-level aesthetics × SAP-level enterprise credibility
   For 100k–10M+ project decisions
   ============================================================ */

/* ── DESIGN TOKENS ────────────────────────────────────────── */

* {
  --vestt-navy: #0A1628;
  --vestt-navy-light: #0E1A2E;
  --vestt-navy-mid: #162340;
  --vestt-gold: #C4A44A;
  --vestt-gold-light: #D4BC6E;
  --vestt-gold-dark: #A68B3C;
  --vestt-slate: #3A4255;
  --vestt-slate-light: #6B7280;
  --vestt-bg: #F7F8FA;
  --vestt-white: #FFFFFF;
  --vestt-border: rgba(10, 22, 40, 0.06);

  /* Override template tokens */
  --body-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font-weight: 800;
  --heading-font-color: var(--vestt-navy);
  --body-font-color: var(--vestt-slate);

  --h1-font-size: 72px;
  --h1-font-weight: 800;
  --h1-letter-spacing: -0.04em;
  --h1-line-height: 1.05em;

  --h2-font-size: 52px;
  --h2-font-weight: 800;
  --h2-letter-spacing: -0.035em;
  --h2-line-height: 1.1em;
  --h2-margin-bottom: 24px;

  --h3-font-size: 28px;
  --h3-font-weight: 700;
  --h3-letter-spacing: -0.02em;
  --h3-line-height: 1.3em;

  --h4-font-size: 20px;
  --h4-font-weight: 700;
  --h4-letter-spacing: -0.01em;

  --rounded-1: 12px;
  --bg-light: var(--vestt-bg);
  --bg-dark-1: var(--vestt-navy);
  --bg-dark-2: #060E1A;
  --bg-dark-3: var(--vestt-navy-light);
  --bg-dark-1-rgb: 10, 22, 40;

  --btn-rounded: 60px;
  --btn-padding: 14px 36px;
  --btn-font-weight: 700;
  --btn-font-size: 14px;
  --btn-letter-spacing: 0.04em;
  --btn-text-transform: none;

  --primary-color: var(--vestt-gold);
  --primary-color-rgb: 196, 164, 74;

  --container-max-width: 1200px;
}

/* ── BASE ─────────────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
}

body {
  color: var(--vestt-slate);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.75;
}

::selection {
  background: rgba(196, 164, 74, 0.2);
  color: var(--vestt-navy);
}

/* ── PRELOADER ────────────────────────────────────────────── */

#de-loader {
  background: var(--vestt-navy) !important;
}

/* ── COLOR OVERRIDES ──────────────────────────────────────── */

.bg-color { background: var(--vestt-gold) !important; }
.bg-light { background: var(--vestt-bg) !important; }
.bg-dark, .bg-dark-1 { background: var(--vestt-navy) !important; }
.bg-dark-2 { background: #060E1A !important; }
.id-color { color: var(--vestt-gold) !important; }

/* ── HEADER ───────────────────────────────────────────────── */

#topbar {
  background: rgba(10, 22, 40, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 164, 74, 0.08);
  padding: 8px 0 !important;
}

#topbar .topbar-widget a {
  color: rgba(255,255,255,0.5) !important;
  font-size: 12px !important;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

#topbar .topbar-widget a:hover {
  color: var(--vestt-gold) !important;
}

header.transparent.scrolled,
header.scrolled {
  background: rgba(10, 22, 40, 0.97) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

#mainmenu > li > a {
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
}

/* ── BUTTONS – pill shape, Apple-style ────────────────────── */

.btn-main {
  background: var(--vestt-gold) !important;
  color: var(--vestt-navy) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  padding: 16px 40px !important;
  border-radius: 60px !important;
  border: none !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
}

.btn-main:hover {
  background: var(--vestt-gold-light) !important;
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(196, 164, 74, 0.3) !important;
}

.btn-main.btn-line {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.25) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-main.btn-line:hover {
  border-color: rgba(255,255,255,0.6) !important;
  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: scale(1.03);
}

/* Dark-bg button variant */
.btn-main.btn-dark {
  background: var(--vestt-navy) !important;
  color: #fff !important;
}

.btn-main.btn-dark:hover {
  background: var(--vestt-navy-light) !important;
}

/* ── HERO – Cinematic fullscreen ──────────────────────────── */

#section-intro {
  min-height: 100vh !important;
  display: flex;
  align-items: center;
}

#section-intro .relative.z-4 {
  width: 100%;
}

#section-intro h1 {
  font-size: clamp(36px, 6vw, 76px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  line-height: 1.02 !important;
  margin-bottom: 28px !important;
}

#section-intro .hero-subtitle {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 400;
}

#section-intro .hero-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.45;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 20px;
  border-radius: 60px;
}

/* Hero overlay – cinematic */
.sw-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(10, 22, 40, 0.45) 40%,
    rgba(10, 22, 40, 0.55) 70%,
    rgba(10, 22, 40, 0.9) 100%
  ) !important;
  opacity: 1 !important;
}

.gradient-edge-top {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, transparent 100%) !important;
  opacity: 1 !important;
}

/* Hero KPI bar */
.hero-kpi-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 48px;
  margin-top: 80px;
}

.hero-kpi {
  text-align: center;
}

.hero-kpi-number {
  font-family: var(--heading-font);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--vestt-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-kpi-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.45;
  font-weight: 600;
}

/* ── TRUST BAR ────────────────────────────────────────────── */

.trust-bar {
  background: var(--vestt-navy-light);
  border-top: 1px solid rgba(196, 164, 74, 0.06);
  border-bottom: 1px solid rgba(196, 164, 74, 0.06);
  padding: 20px 0;
}

.trust-bar p {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 700;
  margin: 0;
}

.trust-bar .company-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.trust-bar .company-name.active {
  color: var(--vestt-gold);
  font-weight: 800;
}

.trust-bar .divider {
  color: rgba(255,255,255,0.1);
}

/* ── SECTION SYSTEM ───────────────────────────────────────── */

section {
  padding: 120px 0 !important;
  position: relative;
}

section.p-0 { padding: 0 !important; }
section.py-4, section.py-5 { padding: 32px 0 !important; }

/* Statement sections – Apple-style big text */
.section-statement {
  padding: 160px 0 !important;
  text-align: center;
}

.section-statement h2 {
  font-size: clamp(32px, 4.5vw, 56px) !important;
  max-width: 900px;
  margin: 0 auto 24px;
  line-height: 1.1 !important;
}

.section-statement p {
  font-size: clamp(17px, 1.8vw, 20px);
  max-width: 640px;
  margin: 0 auto;
  color: var(--vestt-slate-light);
  line-height: 1.7;
}

/* Dark statement */
.section-statement.section-dark h2,
.section-statement.bg-dark h2 {
  color: #fff;
}

.section-statement.section-dark p,
.section-statement.bg-dark p {
  color: rgba(255,255,255,0.55);
}

/* ── LABEL / SUBTITLE ─────────────────────────────────────── */

.subtitle {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--vestt-gold) !important;
  margin-bottom: 16px !important;
}

/* ── LEAD TEXT ─────────────────────────────────────────────── */

.lead, section .lead {
  font-size: 19px;
  color: var(--vestt-slate-light);
  line-height: 1.75;
}

/* ── LARGE NUMBERS – Apple-style impact ───────────────────── */

.impact-number {
  font-family: var(--heading-font);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--vestt-navy);
}

.impact-number.gold {
  color: var(--vestt-gold);
}

.impact-number.white {
  color: #fff;
}

.impact-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--vestt-slate-light);
  margin-top: 8px;
  letter-spacing: 0.01em;
}

.impact-label.light {
  color: rgba(255,255,255,0.5);
}

/* ── PREMIUM CARDS ────────────────────────────────────────── */

.card-premium {
  background: #fff;
  border: 1px solid var(--vestt-border);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.card-premium:hover {
  border-color: rgba(196, 164, 74, 0.2);
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.08);
  transform: translateY(-4px);
}

.card-premium .card-icon {
  width: 48px;
  height: 48px;
  background: var(--vestt-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
  color: var(--vestt-gold);
}

.card-premium h4 {
  color: var(--vestt-navy);
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 19px;
}

.card-premium p {
  color: var(--vestt-slate-light);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* Dark card variant */
.card-premium.card-dark {
  background: var(--vestt-navy-mid);
  border-color: rgba(255,255,255,0.06);
}

.card-premium.card-dark:hover {
  border-color: rgba(196, 164, 74, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-premium.card-dark h4 { color: #fff; }
.card-premium.card-dark p { color: rgba(255,255,255,0.55); }
.card-premium.card-dark .card-icon {
  background: rgba(196, 164, 74, 0.1);
}

/* ── PROCESS TIMELINE ─────────────────────────────────────── */

.process-step {
  position: relative;
  padding-left: 80px;
  padding-bottom: 48px;
  border-left: 2px solid var(--vestt-border);
  margin-left: 24px;
}

.process-step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.process-step-number {
  position: absolute;
  left: -21px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--vestt-gold);
  color: var(--vestt-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--heading-font);
}

.process-step h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--vestt-navy);
  margin-bottom: 8px;
}

.process-step p {
  color: var(--vestt-slate-light);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ── TESTIMONIAL – cinematic ──────────────────────────────── */

.testimonial-cinematic {
  padding: 140px 0;
  background: var(--vestt-navy);
  position: relative;
  overflow: hidden;
}

.testimonial-cinematic::before {
  content: "\201C";
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 200px;
  font-family: Georgia, serif;
  color: rgba(196, 164, 74, 0.06);
  line-height: 1;
}

.testimonial-cinematic blockquote {
  font-family: var(--heading-font);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
}

.testimonial-cinematic .attribution {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.03em;
}

.testimonial-cinematic .attribution strong {
  color: var(--vestt-gold);
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

/* ── FULL-WIDTH IMAGE SECTION ─────────────────────────────── */

.section-image-full {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-image-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.7) 0%,
    rgba(10, 22, 40, 0.5) 50%,
    rgba(10, 22, 40, 0.8) 100%
  );
}

.section-image-full .content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

/* ── SPLIT SECTION ────────────────────────────────────────── */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.split-section .split-content {
  display: flex;
  align-items: center;
  padding: 80px;
}

.split-section .split-image {
  background-size: cover;
  background-position: center;
}

@media (max-width: 991px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-section .split-content {
    padding: 60px 20px;
  }
  .split-section .split-image {
    min-height: 50vh;
  }
}

/* ── CTA SECTION ──────────────────────────────────────────── */

.section-cta {
  background: var(--vestt-navy);
  padding: 120px 0;
  text-align: center;
}

.section-cta h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  max-width: 700px;
  margin: 0 auto 20px;
}

.section-cta p {
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 40px;
}

/* ── KB CARDS (Kernbereiche) ──────────────────────────────── */

.kb-card {
  border: 1px solid var(--vestt-border) !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.kb-card:hover {
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.1) !important;
  transform: translateY(-6px) !important;
  border-color: rgba(196, 164, 74, 0.15) !important;
}

.kb-card-media { height: 280px !important; }

.kb-chip {
  background: var(--vestt-navy) !important;
  font-size: 10px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  padding: 8px 16px !important;
  border-radius: 60px !important;
  font-weight: 700 !important;
}

.kb-title {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: var(--vestt-navy) !important;
  letter-spacing: -0.02em !important;
}

.kb-text {
  font-size: 15px !important;
  color: var(--vestt-slate-light) !important;
  line-height: 1.7 !important;
}

.kb-link {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--vestt-navy) !important;
  letter-spacing: 0.02em !important;
}

.kb-link:after {
  background: var(--vestt-gold) !important;
  height: 2px !important;
  width: 100px !important;
}

/* ── WHITE CARDS (template override) ──────────────────────── */

.p-30.bg-white.rounded-1 {
  border: 1px solid var(--vestt-border) !important;
  box-shadow: none !important;
  border-radius: 16px !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.p-30.bg-white.rounded-1:hover {
  box-shadow: 0 16px 48px rgba(10, 22, 40, 0.06) !important;
  transform: translateY(-3px);
  border-color: rgba(196, 164, 74, 0.12) !important;
}

.p-30.bg-white.rounded-1 h4 {
  color: var(--vestt-navy);
}

/* ── CHECK LISTS ──────────────────────────────────────────── */

.ul-check li {
  color: var(--vestt-slate);
  font-size: 15px;
}

.ul-check li:before {
  color: var(--vestt-gold) !important;
}

/* ── ACCORDION / FAQ ──────────────────────────────────────── */

.accordion.s2 .accordion-section-title {
  font-weight: 700;
  color: var(--vestt-navy);
  font-size: 17px;
  border-color: var(--vestt-border);
  padding: 24px 0;
}

/* ── DARK SECTIONS ────────────────────────────────────────── */

.section-dark, footer.section-dark {
  background: var(--vestt-navy) !important;
}

section.bg-dark h2,
section.bg-dark-1 h2,
.bg-dark h2 {
  color: #fff;
}

section.bg-dark h4,
section.bg-dark-1 h4,
.bg-dark h4 {
  color: #fff;
}

section.bg-dark p,
section.bg-dark-1 p,
.bg-dark p {
  color: rgba(255,255,255,0.6);
}

section.bg-dark .subtitle,
section.bg-dark-1 .subtitle {
  color: var(--vestt-gold) !important;
}

/* ── FOOTER ───────────────────────────────────────────────── */

footer.section-dark {
  border-top: 1px solid rgba(196, 164, 74, 0.08);
  background: #060E1A !important;
}

footer h5 {
  color: var(--vestt-gold) !important;
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  margin-bottom: 20px !important;
}

footer p, footer div {
  font-size: 14px;
}

.subfooter {
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  background: transparent !important;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

footer .social-icons a {
  border-color: rgba(255,255,255,0.1) !important;
  transition: all 0.3s;
}

footer .social-icons a:hover {
  border-color: var(--vestt-gold) !important;
  color: var(--vestt-gold) !important;
  background: rgba(196, 164, 74, 0.06) !important;
}

/* ── MARQUEE ──────────────────────────────────────────────── */

.de-marquee-list-2 span.fs-40 {
  font-weight: 700 !important;
  font-size: 32px !important;
}

/* ── VIDEO SECTION ────────────────────────────────────────── */

section.p-0 video {
  filter: brightness(0.8) contrast(1.05);
}

/* ── CTA / CONTACT SECTION ────────────────────────────────── */

section.bg-color.py-5,
section.bg-color {
  background: var(--vestt-gold) !important;
}

section.bg-color h4 { color: var(--vestt-navy) !important; }
section.bg-color p { color: rgba(10, 22, 40, 0.7) !important; }

section.bg-color .btn-main {
  background: var(--vestt-navy) !important;
  color: #fff !important;
}

section.bg-color .btn-main:hover {
  background: var(--vestt-navy-light) !important;
  box-shadow: 0 8px 30px rgba(10, 22, 40, 0.3) !important;
}

/* ── TESTIMONIAL SECTION (template) ───────────────────────── */

.bg-color.no-top.no-bottom {
  background: var(--vestt-gold) !important;
}

.bg-color h3,
section.bg-color h3 {
  color: var(--vestt-navy);
}

/* ── SOFT SHADOWS ─────────────────────────────────────────── */

.soft-shadow, .shadow-soft {
  box-shadow: 0 24px 64px rgba(10, 22, 40, 0.12) !important;
}

/* ── ARROWS / CIRCLES ─────────────────────────────────────── */

.circle.bg-color {
  background: var(--vestt-gold) !important;
}

/* ── BACK TO TOP ──────────────────────────────────────────── */

#back-to-top {
  background: var(--vestt-navy) !important;
  border-radius: 50% !important;
  width: 48px;
  height: 48px;
}

/* ── SCROLLBAR ────────────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--vestt-bg); }
::-webkit-scrollbar-thumb { background: rgba(196, 164, 74, 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--vestt-gold); }

/* ── BG-BLUR (hero cards) ─────────────────────────────────── */

.bg-blur {
  background: rgba(10, 22, 40, 0.5) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 991px) {
  section {
    padding: 80px 0 !important;
  }

  .section-statement {
    padding: 100px 0 !important;
  }

  * {
    --h2-font-size: 36px;
  }

  .process-step {
    padding-left: 56px;
    margin-left: 16px;
  }
}

@media (max-width: 575px) {
  section {
    padding: 60px 0 !important;
  }

  * {
    --h1-font-size: 36px;
    --h2-font-size: 30px;
  }

  .impact-number {
    font-size: 48px;
  }

  .hero-kpi-number {
    font-size: 28px !important;
  }
}

/* ============================================================
   DASHBOARD PAGE PROTECTION
   Prevent premium overrides from breaking the PV-Rechner
   ============================================================ */

/* Reset section padding inside dashboard */
#pv-dashboard section {
  padding: unset !important;
}

#pv-dashboard section.hero {
  padding: 80px 0 100px !important;
}

/* Registration gate section – override global section padding */
section#reg-gate {
  padding: 120px 24px 80px !important;
}

/* Protect dashboard typography from premium overrides */
#pv-dashboard h1,
#pv-dashboard h2,
#pv-dashboard h3,
#pv-dashboard h4,
#pv-dashboard h5,
#pv-dashboard p,
#pv-dashboard span,
#pv-dashboard div {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Ensure dashboard form inputs are visible and usable */
#pv-dashboard .field-wrap {
  background: #f5f5f7 !important;
  border: 1.5px solid transparent !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
}

#pv-dashboard .field-wrap:focus-within {
  background: #ffffff !important;
  border-color: #00C853 !important;
  box-shadow: 0 0 0 4px rgba(0,200,83,0.08) !important;
}

#pv-dashboard .field-wrap input {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
  outline: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  line-height: normal !important;
}

#pv-dashboard .field-wrap input::placeholder {
  color: #aeaeb2 !important;
  font-weight: 400 !important;
}

#pv-dashboard .field-select {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
  outline: none !important;
  width: 100% !important;
  height: 100% !important;
  cursor: pointer !important;
  padding: 0 !important;
  padding-right: 24px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Protect dashboard buttons */
#pv-dashboard .btn-main,
#pv-dashboard button {
  border-radius: 12px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Protect dashboard card backgrounds */
#pv-dashboard .card,
#pv-dashboard [class*="card"] {
  border-radius: 20px;
}

/* Registration gate – protect inline form from premium overrides */
#reg-gate .gate-input {
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
  border: 1px solid #e5e5e7 !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  padding: 14px 18px !important;
  height: auto !important;
  box-shadow: none !important;
}
#reg-gate .gate-submit {
  background: #00C853 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Dashboard subtitle/label protection */
#pv-dashboard .subtitle,
#pv-dashboard [class*="subtitle"] {
  font-size: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  color: inherit !important;
  margin-bottom: inherit !important;
}

/* Protect dashboard .bg-light sections */
#pv-dashboard .bg-light,
#pv-dashboard.bg-light {
  background: #f5f5f7 !important;
}

/* Protect accordion/cards inside dashboard */
#pv-dashboard .accordion-section-title {
  font-weight: inherit;
  color: inherit;
  border-color: inherit;
  padding: inherit;
}

/* Protect float bar */
#pv-dashboard ~ .float-bar,
.float-bar {
  z-index: 9998;
}

/* ══════════════════════════════════════════════════════
   MOBILE RESPONSIVE OPTIMIZATIONS
   ══════════════════════════════════════════════════════ */

/* --- Global Mobile Fixes --- */
@media (max-width: 767px) {
  /* Prevent horizontal overflow */
  body, html { overflow-x: hidden; }

  /* Better font sizing on mobile */
  h1 { font-size: 32px !important; line-height: 1.2 !important; }
  h2 { font-size: 24px !important; line-height: 1.3 !important; }
  h3 { font-size: 20px !important; }

  /* Fix container padding on small screens */
  .container { padding-left: 20px !important; padding-right: 20px !important; }

  /* Stack buttons on mobile */
  .btn-gold, .btn-outline-light-custom {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-bottom: 12px !important;
  }

  /* Fix section padding */
  section { padding: 60px 0 !important; }

  /* Make images responsive */
  img { max-width: 100%; height: auto; }

  /* Fix topbar on mobile */
  #topbar { display: none; }

  /* Hero section mobile */
  .slider-text h1 { font-size: 28px !important; }
  .slider-text p { font-size: 15px !important; }

  /* Better tap targets */
  a, button, input, select, textarea {
    min-height: 44px;
  }

  /* KPI summary bar mobile */
  .kpi-summary .row > div {
    margin-bottom: 24px;
  }
  .kpi-summary-value { font-size: 28px !important; }

  /* Case study images */
  .case-study-img img { height: 220px !important; }

  /* Service blocks mobile */
  .svc-block { padding: 40px 0 !important; }
  .svc-block-num { font-size: 50px !important; }
  .svc-block-img img { height: 240px !important; }

  /* Contact form */
  .contact-form-card { padding: 24px !important; }

  /* Fix grid gaps */
  .kpi-grid { gap: 10px !important; }
  .kpi-card { padding: 14px !important; }
  .kpi-value { font-size: 18px !important; }

  /* International cards */
  .intl-card img { height: 180px !important; }

  /* Kernbereiche cards */
  .kb-card-media { height: 200px !important; }
  .kb-card-body { padding: 20px 24px 20px !important; }
  .kb-title { font-size: 22px !important; }

  /* Footer mobile spacing */
  footer .col-lg-3, footer .col-lg-4 {
    margin-bottom: 32px;
  }

  /* Aluminium page stat boxes */
  .alu-stat h3 { font-size: 1.8rem !important; }
  .partner-banner { padding: 28px 20px !important; }

  /* Premium hero text */
  .premium-hero h1, [class*="hero"] h1 {
    font-size: 30px !important;
    word-break: break-word;
  }

  /* Process steps mobile */
  .svc-process .col-lg-2 {
    margin-bottom: 20px;
  }

  /* Reference grid */
  .ref-grid .hover::before { padding-top: 65% !important; }

  /* Map section */
  .map-section iframe { height: 250px !important; }

  /* USP bar mobile */
  .contact-usp-bar .row > div {
    margin-bottom: 16px;
  }
}

/* --- Tablet specific (768-991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
  h1 { font-size: 38px !important; }
  h2 { font-size: 28px !important; }

  .case-study-img img { height: 280px !important; }
  .svc-block-img img { height: 300px !important; }
  .kb-card-media { height: 240px !important; }

  .kpi-summary-value { font-size: 34px !important; }
}

/* --- Small phone (< 375px) --- */
@media (max-width: 374px) {
  h1 { font-size: 26px !important; }
  .container { padding-left: 15px !important; padding-right: 15px !important; }
  .kpi-grid { grid-template-columns: 1fr !important; }
  .btn-gold, .btn-outline-light-custom {
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
}

/* --- Touch-friendly improvements --- */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects that don't work on touch */
  .kb-card:hover { transform: none; }
  .intl-card:hover { transform: none; }
  .kpi-card:hover { border-color: #e5e7eb; box-shadow: none; }

  /* Ensure active states instead */
  .kb-card:active { transform: translateY(-2px); }
  .btn-gold:active { transform: scale(0.98); }
}
