/* ============================================
   VapeSecure Versicherung — Stylesheet
   Brand: Vape Shop / E-Zigarettenhandel Insurance
   Palette: "Electric Night" — Dark Anthracite + Cyan + Purple
   Fonts: Poppins (Headings) + Lato (Body)
   ============================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Colors */
  --primary: #00F6FF;
  --primary-hover: #00D4DD;
  --secondary-accent: #9D00FF;
  --bg-dark: #1A1A1D;
  --bg-dark-alt: #2C2C34;
  --bg-footer: #141417;
  --bg-white: #ffffff;
  --bg-light: #F5F5F5;
  --text: #F5F5F5;
  --text-heading: #F5F5F5;
  --text-dark: #333333;
  --text-dark-heading: #1A1A1D;
  --text-light: #6F6F7B;
  --text-muted: #6F6F7B;
  --border: rgba(255,255,255,0.1);
  --border-light: #e5e5e0;
  --success: #22c55e;
  --error: #ef4444;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* Layout */
  --content-width: 1200px;
  --section-padding: 64px;
  --radius: 6px;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

p {
  margin-bottom: 1rem;
}

/* === LAYOUT === */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
  color: var(--text);
}

.section h2,
.section h3 {
  color: var(--text-heading);
}

.section--alt {
  background: var(--bg-dark-alt);
  color: var(--text);
}

.section--alt h2,
.section--alt h3 {
  color: var(--text-heading);
}

.section--light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section--light h2,
.section--light h3,
.section--light h4 {
  color: var(--text-dark-heading);
}

.section--light p,
.section--light li {
  color: var(--text-dark);
}

.section--light a {
  color: var(--secondary-accent);
}

.section--light a:hover {
  color: #7B00CC;
}

/* === HEADER / NAVIGATION === */
.header {
  background: var(--bg-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 246, 255, 0.15);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

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

.nav__list {
  display: flex;
  list-style: none;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.nav__link {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav__link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--primary);
  text-decoration: none;
}

.nav__link--active {
  color: var(--primary);
}

.nav__cta {
  background: var(--primary);
  color: var(--bg-dark) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-body);
  margin-left: 8px;
  transition: background 0.2s;
}

.nav__cta:hover {
  background: var(--primary-hover);
  text-decoration: none;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(135deg, #1A1A1D 0%, #2C2C34 40%, #1A1A1D 100%);
  color: #ffffff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('../assets/Header-VapeSecure.png') center/cover no-repeat;
  opacity: 0.06;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 246, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Hero 2-column grid layout */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4), 0 0 40px rgba(0, 246, 255, 0.1);
}

.hero h1 {
  color: #ffffff;
  font-size: 2.4rem;
  max-width: 700px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.85);
  text-transform: none;
  letter-spacing: 0;
}

.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.hero__bullets li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding-left: 1.6em;
  position: relative;
  color: rgba(255,255,255,0.9);
}

.hero__bullets li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.hero__trust {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.hero__trust strong {
  color: var(--primary);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-body);
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: var(--bg-dark);
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(0, 246, 255, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--bg-dark);
}

/* Outline button on light backgrounds */
.section--light .btn--outline {
  color: var(--secondary-accent);
  border-color: var(--secondary-accent);
}

.section--light .btn--outline:hover {
  background: var(--secondary-accent);
  color: #ffffff;
}

.btn--white {
  background: #ffffff;
  color: var(--bg-dark);
}

.btn--white:hover {
  background: #f0f0f0;
  color: var(--bg-dark);
}

.btn--large {
  padding: 16px 40px;
  font-size: 18px;
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-dark-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0, 246, 255, 0.08);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
}

.card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

/* Cards on light section */
.section--light .card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.section--light .card p {
  color: var(--text-dark);
}

.section--light .card h3 {
  color: var(--text-dark-heading);
}

/* Product card variant */
.product-card {
  border-left: 4px solid var(--primary);
}

.product-card__price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 1rem 0;
}

.product-card ul {
  margin-bottom: 1.5rem;
}

.product-card li {
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.85);
}

.section--light .product-card li {
  color: var(--text-dark);
}

/* === TABLES === */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  background: var(--bg-dark-alt);
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

td {
  color: rgba(255,255,255,0.85);
}

tbody tr:hover {
  background: rgba(0, 246, 255, 0.04);
}

/* Tables on light sections */
.section--light table thead {
  background: var(--bg-light);
}

.section--light th {
  color: var(--text-dark-heading);
}

.section--light td {
  color: var(--text-dark);
  border-bottom-color: var(--border-light);
}

.section--light tbody tr:hover {
  background: rgba(0, 246, 255, 0.04);
}

/* === STEPS / PROCESS === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--bg-dark);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
}

.step p {
  color: rgba(255,255,255,0.8);
}

/* === FAQ / ACCORDION === */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* FAQ on light sections */
.section--light .faq-item {
  border-bottom-color: var(--border-light);
}

.section--light .faq-question {
  color: var(--text-dark-heading);
}

.section--light .faq-answer p {
  color: var(--text-dark);
}

/* === TESTIMONIALS === */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--bg-dark-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  position: relative;
}

.testimonial__stars {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.testimonial blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.testimonial__author {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, #2C2C34 0%, #1A1A1D 50%, #2C2C34 100%);
  color: #ffffff;
  text-align: center;
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 246, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 6px;
  opacity: 0.5;
}

/* Breadcrumb on light pages */
.section--light .breadcrumb {
  color: var(--text-dark);
  padding: 0 0 16px;
}

.section--light .breadcrumb a {
  color: var(--text-dark);
}

.section--light .breadcrumb a:hover {
  color: var(--secondary-accent);
}

/* === ARTICLE CONTENT === */
.article {
  max-width: 780px;
  margin: 0 auto;
}

.article h2 {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-transform: none;
  letter-spacing: 0;
}

.article h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.article h3 {
  margin-top: 1.5rem;
  text-transform: none;
  letter-spacing: 0;
}

.article ul, .article ol {
  margin-bottom: 1rem;
}

.article li {
  margin-bottom: 0.4rem;
}

.article blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 1.5rem 0;
  background: rgba(0, 246, 255, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Light section article overrides */
.section--light .article h2 {
  border-top-color: var(--border-light);
  color: var(--text-dark-heading);
}

.section--light .article h3 {
  color: var(--text-dark-heading);
}

/* Key facts box */
.key-facts {
  background: var(--bg-dark-alt);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.key-facts h3 {
  margin-top: 0;
}

.key-facts ul {
  margin-bottom: 0;
}

.section--light .key-facts {
  background: var(--bg-light);
}

/* Tip box */
.tip-box {
  background: rgba(34, 197, 94, 0.08);
  border-left: 4px solid var(--success);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.tip-box strong {
  color: var(--text-heading);
}

.section--light .tip-box strong {
  color: var(--text-dark-heading);
}

/* Warning box */
.warning-box {
  background: rgba(157, 0, 255, 0.08);
  border-left: 4px solid var(--secondary-accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

/* Table of Contents */
.toc {
  background: var(--bg-dark-alt);
  padding: 24px 28px;
  border-radius: 8px;
  margin: 1.5rem 0 2rem;
}

.toc h3 {
  margin-top: 0;
  font-size: 1rem;
}

.toc ol {
  margin-bottom: 0;
}

.toc li {
  margin-bottom: 0.3rem;
}

.toc a {
  color: var(--text);
  font-size: 0.95rem;
}

.toc a:hover {
  color: var(--primary);
}

.section--light .toc {
  background: var(--bg-light);
}

.section--light .toc a {
  color: var(--text-dark);
}

/* === FOOTER === */
.footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand img {
  height: 36px;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer__contact a {
  color: var(--primary);
}

.footer__contact .btn {
  color: var(--bg-dark);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.8rem;
  text-align: center;
}

/* === TRUST BAR === */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 24px 0;
}

.trust-bar__item {
  text-align: center;
}

.trust-bar__stars {
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
  color: var(--primary);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  :root {
    --section-padding: 40px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero__image {
    display: none;
  }

  /* Mobile navigation */
  .nav__list {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(0, 246, 255, 0.1);
  }

  .nav__list.active {
    display: flex;
  }

  .nav__link {
    padding: 12px 0;
    display: block;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 8px;
    display: inline-block;
  }

  .nav__toggle {
    display: block;
  }

  /* Grid adjustments */
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  th, td {
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .btn--large {
    padding: 14px 28px;
    font-size: 16px;
  }

  .trust-bar {
    flex-direction: column;
    gap: 16px;
  }
}

/* === DESKTOP HERO GRID === */
@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 55fr 45fr;
    gap: 3rem;
  }
}
