/* ============================================================
   Grenzenlos Solar - Custom Stylesheet
   Extends Bootstrap 5 | Production Build
   ============================================================ */

/* ----------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------- */
:root {
  --gs-primary: #0d7a5f;
  --gs-primary-rgb: 13, 122, 95;
  --gs-primary-dark: #1a3a34;
  --gs-primary-dark-rgb: 26, 58, 52;
  --gs-primary-light: #e8f5f0;
  --gs-accent: #d4a017;
  --gs-accent-rgb: 212, 160, 23;
  --gs-accent-light: #fef3cd;
  --gs-body-bg: #ffffff;
  --gs-section-alt: #f8faf9;
  --gs-text: #1a2e24;
  --gs-text-muted: #5a7d6e;
  --gs-footer-bg: #1a3a34;
  --gs-radius-sm: 0.5rem;
  --gs-radius-md: 1rem;
  --gs-radius-lg: 1.5rem;
  --gs-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --gs-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --gs-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --gs-transition: 0.3s ease;
}

/* ----------------------------------------------------------
   Base & Reset
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  color: var(--gs-text);
  background-color: var(--gs-body-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--gs-text);
}

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

a:hover {
  color: var(--gs-primary-dark);
}

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

/* ----------------------------------------------------------
   Navigation
   ---------------------------------------------------------- */
.navbar {
  background-color: #ffffff;
  box-shadow: var(--gs-shadow-sm);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: box-shadow var(--gs-transition), padding var(--gs-transition);
  z-index: 1030;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.navbar-brand img.logo-main {
  max-height: 100px;
  width: auto;
  transition: transform var(--gs-transition), max-height var(--gs-transition);
  transform-origin: left center;
}

.navbar.scrolled .navbar-brand img.logo-main {
  transform: scale(0.75);
}

.nav-link {
  color: var(--gs-text) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color var(--gs-transition);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--gs-primary) !important;
}

.nav-link.active {
  color: var(--gs-primary) !important;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--gs-primary);
  border-radius: 1px;
}

.btn-cta {
  background-color: var(--gs-accent);
  color: var(--gs-primary-dark);
  font-weight: 600;
  border: none;
  border-radius: 50rem;
  padding: 0.55rem 1.5rem;
  transition: background-color var(--gs-transition), transform var(--gs-transition),
    box-shadow var(--gs-transition);
}

.btn-cta:hover,
.btn-cta:focus {
  background-color: #c4920e;
  color: var(--gs-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.35);
}

.btn-cta:active {
  transform: translateY(0);
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ----------------------------------------------------------
   Hero Sections
   ---------------------------------------------------------- */
.hero-section {
  min-height: 75vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-home {
  min-height: 85vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 58, 52, 0.75) 0%,
      rgba(26, 58, 52, 0.55) 50%,
      rgba(26, 58, 52, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.9;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(212, 160, 23, 0.2);
  color: var(--gs-accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 1rem;
  border-radius: 50rem;
  border: 1px solid rgba(212, 160, 23, 0.3);
  margin-bottom: 1rem;
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.hero-features li {
  color: #ffffff;
  padding: 0.35rem 0;
  font-size: 1.05rem;
}

.hero-features li::before {
  content: '\f26b';
  font-family: 'bootstrap-icons';
  margin-right: 0.6rem;
  color: var(--gs-accent);
  font-weight: 700;
}

.product-hero {
  min-height: 60vh;
}

.product-hero .hero-overlay {
  background: linear-gradient(135deg,
      rgba(26, 58, 52, 0.85) 0%,
      rgba(13, 122, 95, 0.6) 100%);
}

/* ----------------------------------------------------------
   Section Styles
   ---------------------------------------------------------- */
.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gs-text-muted);
  font-size: 1.1rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gs-primary);
  margin-bottom: 0.5rem;
}

.bg-light-green {
  background-color: var(--gs-section-alt);
}

.bg-dark-green {
  background-color: var(--gs-primary-dark);
  color: #ffffff;
}

.bg-dark-green h1,
.bg-dark-green h2,
.bg-dark-green h3,
.bg-dark-green h4,
.bg-dark-green h5,
.bg-dark-green h6 {
  color: #ffffff;
}

.bg-primary-gradient {
  background: linear-gradient(135deg, var(--gs-primary), var(--gs-primary-dark));
}

/* ----------------------------------------------------------
   Cards & Components
   ---------------------------------------------------------- */

/* Feature Card */
.feature-card {
  border: 0;
  box-shadow: var(--gs-shadow-sm);
  border-radius: var(--gs-radius-md);
  transition: transform var(--gs-transition), box-shadow var(--gs-transition);
  height: 100%;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gs-shadow-lg);
}

.feature-card .card-body {
  padding: 2rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--gs-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.feature-icon i,
.feature-icon .bi {
  font-size: 1.5rem;
  color: var(--gs-primary);
}

/* Service Card */
.service-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--gs-radius-md);
  overflow: hidden;
  transition: transform var(--gs-transition), box-shadow var(--gs-transition);
  height: 100%;
  background: #ffffff;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gs-shadow-lg);
}

.service-card .card-img-top {
  height: 220px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 1.75rem;
}

.service-card .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Step Card */
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  height: 100%;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--gs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gs-primary);
  margin-bottom: 1.25rem;
  transition: background-color var(--gs-transition), color var(--gs-transition);
}

.step-card:hover .step-number {
  background-color: var(--gs-primary);
  color: #ffffff;
}

/* ----------------------------------------------------------
   CTA Sections
   ---------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--gs-primary), var(--gs-primary-dark));
  color: #ffffff;
  padding: 4rem 0;
}

.cta-section h2,
.cta-section h3 {
  color: #ffffff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
}

.cta-section .btn-warning,
.cta-section .btn-cta {
  background-color: var(--gs-accent);
  border-color: var(--gs-accent);
  color: var(--gs-primary-dark);
  font-weight: 600;
}

.cta-section .btn-warning:hover,
.cta-section .btn-cta:hover {
  background-color: #c4920e;
  border-color: #c4920e;
}

.cta-section .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* ----------------------------------------------------------
   FAQ Accordion
   ---------------------------------------------------------- */
.accordion-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--gs-radius-sm) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gs-text);
  padding: 1.1rem 1.5rem;
  background-color: #ffffff;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 122, 95, 0.2);
  border-color: transparent;
}

.accordion-button:not(.collapsed) {
  background-color: var(--gs-primary-light);
  color: var(--gs-primary);
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  filter: hue-rotate(120deg) brightness(0.6);
}

.accordion-body {
  padding: 1.25rem 1.5rem;
  color: var(--gs-text-muted);
  line-height: 1.8;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.site-footer {
  background-color: var(--gs-footer-bg);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--gs-transition);
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-title {
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  display: block;
  padding: 0.3rem 0;
  transition: color var(--gs-transition), padding-left var(--gs-transition);
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  margin-right: 0.5rem;
  transition: background-color var(--gs-transition), color var(--gs-transition),
    border-color var(--gs-transition);
}

.footer-social a:hover {
  background-color: var(--gs-primary);
  border-color: var(--gs-primary);
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.875rem;
}

/* ----------------------------------------------------------
   Cookie Consent Modal
   ---------------------------------------------------------- */
#cc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#cc-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

#cc-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#cc-modal.show {
  opacity: 1;
  pointer-events: auto;
}

#cc-card {
  background: #ffffff;
  border-radius: var(--gs-radius-md);
  box-shadow: var(--gs-shadow-lg);
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
}

#cc-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

#cc-card p {
  font-size: 0.92rem;
  color: var(--gs-text-muted);
  line-height: 1.7;
}

.cc-btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: var(--gs-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--gs-transition), color var(--gs-transition),
    border-color var(--gs-transition);
}

.cc-btn-primary {
  background-color: var(--gs-primary);
  color: #ffffff;
  border-color: var(--gs-primary);
}

.cc-btn-primary:hover {
  background-color: #0a6650;
  border-color: #0a6650;
}

.cc-btn-secondary {
  background-color: transparent;
  color: var(--gs-primary);
  border-color: var(--gs-primary);
}

.cc-btn-secondary:hover {
  background-color: var(--gs-primary-light);
}

.cc-btn-ghost {
  background: transparent;
  color: var(--gs-text-muted);
  border-color: transparent;
  text-decoration: underline;
}

.cc-btn-ghost:hover {
  color: var(--gs-text);
}

#cc-settings-panel {
  display: none;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1.25rem;
}

#cc-settings-panel.show {
  display: block;
}

.cc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cc-row:last-child {
  border-bottom: none;
}

.cc-row label {
  font-weight: 500;
  font-size: 0.92rem;
}

.cc-row small {
  display: block;
  color: var(--gs-text-muted);
  font-size: 0.8rem;
}

/* Cookie toggle switch */
.cc-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 1rem;
}

.cc-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cc-toggle .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  border-radius: 24px;
  transition: background-color 0.25s;
}

.cc-toggle .slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.25s;
}

.cc-toggle input:checked+.slider {
  background-color: var(--gs-primary);
}

.cc-toggle input:checked+.slider::before {
  transform: translateX(20px);
}

.cc-toggle input:disabled+.slider {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ----------------------------------------------------------
   Wizard / Anfrage Form
   ---------------------------------------------------------- */
.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-progress .progress {
  height: 6px;
  border-radius: 3px;
  background-color: #e9ecef;
}

.wizard-progress .progress-bar {
  background-color: var(--gs-primary);
  transition: width 0.4s ease;
}

.form-radio-card {
  border: 2px solid #e0e0e0;
  border-radius: var(--gs-radius-sm);
  padding: 1.25rem;
  cursor: pointer;
  transition: border-color var(--gs-transition), background-color var(--gs-transition),
    box-shadow var(--gs-transition);
  text-align: center;
  height: 100%;
}

.form-radio-card:hover {
  border-color: var(--gs-primary);
}

.form-radio-card input[type='radio'] {
  display: none;
}

.form-radio-card input[type='radio']:checked~.card-inner {
  /* handled via JS adding .selected */
}

.form-radio-card.selected {
  border-color: var(--gs-primary);
  background-color: var(--gs-primary-light);
  box-shadow: 0 0 0 3px rgba(var(--gs-primary-rgb), 0.15);
}

.form-radio-card .card-icon {
  font-size: 2rem;
  color: var(--gs-primary);
  margin-bottom: 0.5rem;
}

.form-radio-card .card-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-check-card {
  border: 2px solid #e0e0e0;
  border-radius: var(--gs-radius-sm);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: border-color var(--gs-transition), background-color var(--gs-transition),
    box-shadow var(--gs-transition);
  height: 100%;
}

.form-check-card:hover {
  border-color: var(--gs-primary);
}

.form-check-card input[type='checkbox'] {
  display: none;
}

.form-check-card.selected {
  border-color: var(--gs-primary);
  background-color: var(--gs-primary-light);
  box-shadow: 0 0 0 3px rgba(var(--gs-primary-rgb), 0.15);
}

/* ----------------------------------------------------------
   Fullscreen Wizard Modal
   ---------------------------------------------------------- */
.wizard-fullscreen-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.wizard-fullscreen-overlay.show {
  display: flex;
  opacity: 1;
}

.wizard-fullscreen-modal {
  background: #fff;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: wizardSlideUp 0.4s ease;
}

@keyframes wizardSlideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.wizard-fullscreen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
  flex-shrink: 0;
}

.wizard-fullscreen-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f1f3f5;
  color: #495057;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-fullscreen-close:hover {
  background: #e9ecef;
  color: #212529;
  transform: scale(1.1);
}

.wizard-fullscreen-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.wizard-fullscreen-body .wizard-embed-section {
  background: #fff;
  min-height: 100%;
}

/* Ersparnis berechnen Button (Desktop) */
.btn-ersparnis {
  background: linear-gradient(135deg, var(--gs-primary), #0a9e7a);
  color: #fff;
  border: none;
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(13, 122, 95, 0.3);
}

.btn-ersparnis:hover {
  background: linear-gradient(135deg, #0a6650, var(--gs-primary));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 122, 95, 0.4);
}

/* Ersparnis berechnen Button (Mobile) */
.btn-ersparnis-mobile {
  background: var(--gs-primary);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  white-space: nowrap;
  padding: 0.35rem 0.75rem;
  box-shadow: 0 2px 6px rgba(13, 122, 95, 0.25);
}

.btn-ersparnis-mobile:hover,
.btn-ersparnis-mobile:active {
  background: #0a6650;
  color: #fff;
}

/* Call / Anrufen Buttons */
.btn-call-mobile {
  background: var(--gs-primary);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(13, 122, 95, 0.25);
  transition: all 0.3s ease;
}

.btn-call-mobile:hover,
.btn-call-mobile:active {
  background: #0a6650;
  color: #fff;
  transform: scale(1.1);
}

.btn-call-footer {
  background: linear-gradient(135deg, #0d7a5f, #0a9e7a);
  color: #fff;
  border: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(13, 122, 95, 0.3);
}

.btn-call-footer:hover {
  background: linear-gradient(135deg, #0a6650, #0d7a5f);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 122, 95, 0.4);
}

/* Floating Call Button (bottom-right, like WhatsApp) */
.btn-call-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gs-primary), #0a9e7a);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(13, 122, 95, 0.4);
  transition: all 0.3s ease;
  animation: call-pulse 2s infinite;
}

.btn-call-floating:hover {
  background: linear-gradient(135deg, #0a6650, var(--gs-primary));
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(13, 122, 95, 0.5);
  animation: none;
}

@keyframes call-pulse {
  0%   { box-shadow: 0 4px 16px rgba(13, 122, 95, 0.4); }
  50%  { box-shadow: 0 4px 16px rgba(13, 122, 95, 0.4), 0 0 0 12px rgba(13, 122, 95, 0.15); }
  100% { box-shadow: 0 4px 16px rgba(13, 122, 95, 0.4); }
}

/* ----------------------------------------------------------
   Product Pages
   ---------------------------------------------------------- */
.key-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-points-list li {
  padding: 0.85rem 1.15rem;
  border-left: 3px solid var(--gs-primary);
  margin-bottom: 0.75rem;
  background-color: var(--gs-primary-light);
  border-radius: 0 var(--gs-radius-sm) var(--gs-radius-sm) 0;
  font-weight: 500;
}

.content-section-image {
  border-radius: var(--gs-radius-md);
  overflow: hidden;
  max-height: 400px;
}

.content-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------
   Scroll Animations
   ---------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

/* ----------------------------------------------------------
   Utility Classes
   ---------------------------------------------------------- */
.text-primary-green {
  color: var(--gs-primary) !important;
}

.bg-primary-green {
  background-color: var(--gs-primary) !important;
}

.text-accent {
  color: var(--gs-accent) !important;
}

.rounded-4 {
  border-radius: var(--gs-radius-md) !important;
}

.rounded-5 {
  border-radius: var(--gs-radius-lg) !important;
}

.shadow-hover {
  transition: box-shadow var(--gs-transition), transform var(--gs-transition);
}

.shadow-hover:hover {
  box-shadow: var(--gs-shadow-lg);
  transform: translateY(-2px);
}

.letter-spacing-wide {
  letter-spacing: 0.1em;
}

.fw-800 {
  font-weight: 800 !important;
}

/* Bootstrap override: primary color */
.btn-primary {
  background-color: var(--gs-primary);
  border-color: var(--gs-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #0a6650;
  border-color: #0a6650;
}

.btn-primary:active {
  background-color: #085543;
  border-color: #085543;
}

.btn-outline-primary {
  color: var(--gs-primary);
  border-color: var(--gs-primary);
}

.btn-outline-primary:hover {
  background-color: var(--gs-primary);
  border-color: var(--gs-primary);
  color: #ffffff;
}

.text-primary {
  color: var(--gs-primary) !important;
}

.bg-primary {
  background-color: var(--gs-primary) !important;
}

/* Form focus ring override */
.form-control:focus,
.form-select:focus {
  border-color: var(--gs-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--gs-primary-rgb), 0.2);
}

/* ----------------------------------------------------------
   Responsive Adjustments
   ---------------------------------------------------------- */

/* Large screens and below (< 1200px) */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* Tablets (< 992px) */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero-section {
    min-height: 65vh;
  }

  .hero-home {
    min-height: 75vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  /* Hide logo on mobile, show Ersparnis button instead */
  .navbar-brand {
    display: none !important;
  }

  .navbar-collapse {
    background: #ffffff;
    padding: 1rem;
    border-radius: var(--gs-radius-sm);
    margin-top: 0.5rem;
    box-shadow: var(--gs-shadow-md);
  }

  .nav-link.active::after {
    display: none;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  .cta-section {
    padding: 3rem 0;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 50px 0;
  }

  .hero-section {
    min-height: 60vh;
  }

  .hero-home {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.65rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .feature-card .card-body {
    padding: 1.5rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  #cc-card {
    padding: 1.5rem;
    margin: 0.5rem;
  }

  .site-footer {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .wizard-fullscreen-header {
    padding: 0.75rem 1rem;
  }
}

/* Small mobile (< 576px) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-badge {
    font-size: 0.72rem;
  }

  .btn-cta {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }

  .cc-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

/* ----------------------------------------------------------
   Print Styles
   ---------------------------------------------------------- */
@media print {

  .navbar,
  .site-footer,
  .cta-section,
  #cc-overlay,
  #cc-modal,
  .wizard-fullscreen-overlay {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    color: #000 !important;
  }

  .section-padding {
    padding: 2rem 0;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}