/* =========================================
   Solution.ch – Newsletter-System Marketing
   ========================================= */

:root {
  --sol-blue:       #4f569a;
  --sol-blue-dark:  #39375b;
  --sol-blue-light: #ebebf7;
  --sol-orange:     #f07800;
  --sol-gray:       #6c757d;
  --sol-bg:         #f7f8ff;
  --font-base:      'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius:         14px;
}

/* ---- Base ---- */
body {
  font-family: var(--font-base);
  background-color: #fff;
  color: #212529;
}

a { color: var(--sol-blue); }
a:hover { color: var(--sol-blue-dark); }

/* ---- Navbar ---- */
.navbar {
  transition: box-shadow 0.3s;
}
/* Desktop: Menü immer sichtbar */
@media (min-width: 992px) {
  #navMain {
    display: flex !important;
    align-items: center;
    flex-grow: 1;
  }
}
.navbar-brand img {
  height: 36px;
  width: auto;
}
.navbar .btn-login {
  border-color: #fff;
  color: #fff;
  font-size: .85rem;
  padding: .35rem .9rem;
}
.navbar .btn-login:hover {
  background: #fff;
  color: var(--sol-blue-dark);
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(to top right, #39375b 0%, #4f569a 100%);
  color: #fff;
  padding: 5rem 0 4rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
}
.hero .lead { opacity: .88; }

/* Pricing Widget */
.pricing-widget {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 2rem;
  color: #fff;
}
.pricing-widget .form-select {
  background-color: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  font-size: 1rem;
}
.pricing-widget .form-select option { color: #212529; background: #fff; }
.pricing-widget .form-label { font-weight: 600; font-size: .85rem; letter-spacing:.04em; text-transform: uppercase; opacity:.8; }
.price-display {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}
.price-currency { font-size: 1.4rem; font-weight: 700; vertical-align: top; margin-top: .6rem; display: inline-block; }
.price-period   { font-size: .85rem; opacity: .75; }

/* ---- Section defaults ---- */
.section-title { font-weight: 800; }
.section-subtitle { color: var(--sol-gray); }

/* ---- Feature Cards ---- */
.feature-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(26,95,168,.07);
  transition: transform .22s, box-shadow .22s;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(26,95,168,.14);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sol-blue-light);
  color: var(--sol-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

/* ---- Pricing Table ---- */
.pricing-table-section { background: var(--sol-bg); }

.price-card {
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
}
.price-card:hover,
.price-card.active {
  border-color: var(--sol-blue);
  box-shadow: 0 4px 20px rgba(26,95,168,.18);
}
.price-card .monthly-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--sol-blue);
}

/* ---- Steps / Setup ---- */
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sol-blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- Testimonials ---- */
.testimonial-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--sol-blue);
  line-height: 1;
  font-family: Georgia, serif;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--sol-orange) 0%, #d06000 100%);
  border-radius: var(--radius);
}

/* ---- Accordion (Vorteile) ---- */
.accordion-button:not(.collapsed) {
  background-color: var(--sol-blue-light);
  color: var(--sol-blue-dark);
  box-shadow: none;
}
.accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(26,95,168,.25); }

/* ---- Footer ---- */
footer {
  background: linear-gradient(to top right, #39375b, #4f569a);
  color: #c8cae8;
}
footer a { color: #c8cae8; text-decoration: none; }
footer a:hover { color: #fff; }
footer .footer-logo img { height: 30px; filter: brightness(0) invert(1); }
footer hr { border-color: rgba(255,255,255,.15); }

/* ---- Scroll-to-top ---- */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: none;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  background: var(--sol-blue);
  border-color: var(--sol-blue);
}

/* ---- Utilities ---- */
.bg-sol-light { background-color: var(--sol-bg); }
.text-sol-blue { color: var(--sol-blue) !important; }
.badge-sol { background: var(--sol-blue-light); color: var(--sol-blue); }

/* =========================================
   RESPONSIVE
   ========================================= */

/* --- Tablet (< 992px) --- */
@media (max-width: 991.98px) {
  .hero {
    padding: 3rem 0 2.5rem;
    text-align: center;
  }
  .hero .d-flex.flex-wrap {
    justify-content: center;
  }
  .pricing-widget {
    padding: 1.5rem;
  }
  .price-display {
    font-size: 2.8rem;
  }
  .navbar-brand img {
    height: 26px;
  }
  .navbar .vr { display: none !important; }
  .navbar span[style*="letter-spacing"] { font-size: .7rem; }
}

/* --- Handy (< 768px) --- */
@media (max-width: 767.98px) {
  .hero {
    padding: 2.5rem 0 2rem;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero .lead {
    font-size: 1rem;
  }
  .price-display {
    font-size: 2.4rem;
  }
  .price-currency {
    font-size: 1.1rem;
    margin-top: .5rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .feature-card {
    padding: 1.25rem !important;
  }
  .feature-icon {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }
  .price-card .monthly-price {
    font-size: 1.3rem;
  }
  .price-card {
    padding: .75rem !important;
  }
  .step-number {
    width: 36px;
    height: 36px;
    font-size: .95rem;
  }
  .cta-banner h2 {
    font-size: 1.4rem;
  }
  .cta-banner .lead {
    font-size: .95rem;
  }
  footer .col-6 {
    margin-bottom: .5rem;
  }
  #scrollTop {
    bottom: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
  }
  /* Stats-Zahlen kleiner */
  .fs-3 { font-size: 1.4rem !important; }
}

/* --- Kleines Handy (< 576px) --- */
@media (max-width: 575.98px) {
  .hero {
    padding: 2rem 0 1.75rem;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  .pricing-widget {
    padding: 1.25rem;
  }
  .pricing-widget .form-select {
    font-size: .9rem;
  }
  /* Sections etwas weniger padding */
  section.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  /* Accordion text */
  .accordion-button {
    font-size: .92rem;
    padding: .75rem 1rem;
  }
  /* Pricing grid: kleinere Schrift */
  #pricing-grid .price-card {
    font-size: .82rem;
  }
  #pricing-grid .monthly-price {
    font-size: 1.15rem;
  }
  /* Kontaktformular volle Breite */
  .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  /* Footer links nebeneinander */
  footer .row > div {
    margin-bottom: .75rem;
  }
}
