/* ===========================
   OPTARO — main.css
=========================== */

/* ======================================
   01. Variables & Base Reset
======================================== */
/* inter-400 */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-regular.woff') format('woff'),
       url('../fonts/inter-v20-latin-regular.ttf') format('truetype');
}
/* inter-500 */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-500.woff') format('woff'),
       url('../fonts/inter-v20-latin-500.ttf') format('truetype');
}
/* inter-600 */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-600.woff') format('woff'),
       url('../fonts/inter-v20-latin-600.ttf') format('truetype');
}
/* inter-700 */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-700.woff') format('woff'),
       url('../fonts/inter-v20-latin-700.ttf') format('truetype');
}
/* inter-800 */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-800.woff') format('woff'),
       url('../fonts/inter-v20-latin-800.ttf') format('truetype');
}

:root {
  --primary: #e31019;
  --secondary: #2f4757;
}

html { scroll-behavior: smooth; }

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--secondary);
  overflow-x: hidden;
  font-size: 15px;
}

p {
  font-size: 15px;
  line-height: 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin: 0;
  color: var(--secondary);
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }

h1 { font-size: 48px; }
h2 { font-size: 40px; }
h3 { font-size: 30px; }
h4 { font-size: 25px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

ul, ol {
  margin: 0;
  padding: 0 15px;
}

li::marker {
  color: var(--primary);
}

img { max-width: 100%; vertical-align: middle; }

a, span {
  display: inline-block;
  text-decoration: none;
  transition: all 0.4s ease;
}

/* Focus styles — sichtbar für Tastaturnutzer (WCAG 2.1 AA) */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.btn:focus:not(:focus-visible),
.navbar-toggler:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 5px 5px;
  font-weight: 600;
  font-size: 14px;
  z-index: 100000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

/* Reduced motion — BFSG / WCAG 2.1 AA */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

@media only screen and (max-width: 767px) {
  .container, .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body { overflow-x: hidden; }
}

.section-dark { background: #f9f9f9; }

.section-pattern {
  position: relative;
  overflow: hidden;
}
.section-pattern .patern1 {
  width: 300px;
  position: absolute;
  left: -200px;
  bottom: -90px;
}
.section-pattern .patern2 {
  width: 300px;
  position: absolute;
  right: -200px;
  top: -90px;
}

/* ======================================
   02. Layout Utilities
======================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section.call-action {
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.section.call-action h2,
.section.call-action h3 {
  color: #fff;
}

@media (max-width: 991px) { .section { padding: 60px 16px; } }
@media (max-width: 767px) { .section { padding: 50px 16px; } }

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 300px;
  position: relative;
  z-index: 5;
}
.call-action .section-title { padding: 0; }

.section-title h3,
.section-title .section-label {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  text-transform: uppercase;
}
.section-title h2 {
  font-size: 34px;
  margin-bottom: 25px;
  line-height: 42px;
  font-weight: 800;
}
.section-title p { font-size: 15px; }

@media (max-width: 1199px) { .section-title { padding: 0 200px; } }
@media (max-width: 991px)  { .section-title { padding: 0 20px; margin-bottom: 70px; } .section-title h2 { font-size: 24px; line-height: 32px; } }
@media (max-width: 767px)  { .section-title { padding: 0 10px; margin-bottom: 30px; } .section-title h2 { font-size: 20px; line-height: 30px; } .section-title h3, .section-title .section-label, .section-title p { font-size: 14px; } }

/* Buttons */
.button .btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 30px;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 5px;
  margin-right: 7px;
  transition: 0.2s;
  overflow: hidden;
}
.button .btn:last-child { margin: 0; }
.button .btn i { display: inline-block; margin-right: 5px; }
.button .btn:hover { background-color: var(--secondary); color: #fff; }

.button .btn-alt {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff;
  padding: 11px 30px;
}
.button .btn-alt:hover { background-color: #fff !important; color: var(--primary) !important; }

.button .btn-secondary {
  background-color: var(--secondary);
  color: #fff;
  border: none;
  padding: 13px 30px;
}
.button .btn-secondary:hover {
  background-color: var(--primary);
  color: #fff;
}

@media (max-width: 991px) { .button .btn, .button .btn-alt { padding: 10px 25px; font-size: 14px; } }

/* Scroll-to-top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff !important;
  font-size: 14px;
  border-radius: 5px;
  z-index: 9;
  transition: all 0.3s ease;
}
.scroll-top:hover {
  background-color: var(--secondary);
  transform: translateY(-5px);
}

/* ======================================
   03. Preloader
======================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-icon {
  position: relative;
  width: 100px;
  height: 100px;
}
.preloader-icon span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary);
  animation: preloader-fx 1.6s linear infinite;
}
.preloader-icon span:last-child { animation-delay: -0.8s; }
@keyframes preloader-fx {
  0%   { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(1); opacity: 0; }
}

/* ======================================
   04. Header & Navbar
======================================== */
.header {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 99;
  transition: all 0.3s ease;
}

/* Sticky state */
.header.sticky {
  position: fixed;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

/* Logo */
.header .navbar-brand { margin-right: 3rem; }
.header .navbar-brand img { width: 160px; }

/* CTA Button in header */
.header .button .btn {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 30px;
}
.header .button .btn:hover { background: #fff; color: var(--primary); }
.header.sticky .button .btn { background: var(--primary); color: #fff; border-color: transparent; }
.header.sticky .button .btn:hover { background: var(--secondary); }

/* Nav links — default (transparent header) */
.navbar-nav .nav-item { position: relative; margin-right: 40px; z-index: 1; }
.navbar-nav .nav-item:last-child { margin-right: 0; }
.navbar-nav .nav-item a {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  padding: 35px 0;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}
.navbar-nav .nav-item a::after { opacity: 0; visibility: hidden; }
.navbar-nav .nav-item a.active,
.navbar-nav .nav-item:hover > a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* Nav links — sticky header */
.header.sticky .navbar-nav .nav-item a { color: var(--secondary); }
.header.sticky .navbar-nav .nav-item a.active,
.header.sticky .navbar-nav .nav-item:hover > a { color: var(--primary); }

/* Dropdown arrow */
.navbar-nav .nav-item a.dd-menu::after {
  content: "\f282";
  font-family: "bootstrap-icons";
  font-size: 10px;
  position: absolute;
  right: 17px;
  margin-left: 5px;
  transition: all 0.3s ease;
  height: 10px;
}
@media (max-width: 991px) {
  .navbar-nav .nav-item a.dd-menu::after { top: 18px; right: 0; transform: rotate(180deg); }
  .navbar-nav .nav-item a.collapsed::after { transform: rotate(0deg); }
}

/* Dropdown submenu */
.navbar-nav .nav-item .sub-menu {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 240px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-radius: 5px;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.navbar-nav .nav-item:hover > .sub-menu { top: 100%; opacity: 1; visibility: visible; }
.navbar-nav .nav-item .sub-menu .nav-item { width: 100%; margin-bottom: 15px; margin-right: 0; }
.navbar-nav .nav-item .sub-menu .nav-item:last-child { margin: 0; }
.navbar-nav .nav-item .sub-menu .nav-item a {
  padding: 0;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  display: block;
  width: 100%;
}
.navbar-nav .nav-item .sub-menu .nav-item a:hover,
.navbar-nav .nav-item .sub-menu .nav-item.active > a { color: var(--primary); }

/* Mobile menu toggle */
.mobile-menu-btn { padding: 0; }
.mobile-menu-btn .toggler-icon { display: block; width: 30px; height: 2px; background: #fff; margin: 5px 0; transition: all 0.3s ease; }
.header.sticky .mobile-menu-btn .toggler-icon { background: #333; }
.mobile-menu-btn.active .toggler-icon:nth-child(1) { transform: rotate(45deg); top: 7px; position: relative; }
.mobile-menu-btn.active .toggler-icon:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active .toggler-icon:nth-child(3) { transform: rotate(-45deg); top: -7px; position: relative; }

/* Mobile nav collapse */
@media (max-width: 991px) {
  .header { padding: 10px !important; }
  .header .navbar-brand { margin-right: 1rem; }
  .header .navbar-brand img { width: 127px; }
  .header .button { display: none; }
  .header .navbar-collapse {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9;
    box-shadow: 0 15px 20px rgba(0,0,0,0.1);
    padding: 10px 20px;
    max-height: 350px;
    overflow-y: auto;
    border-top: 1px solid #eee;
    border-radius: 6px;
  }
  .navbar-nav .nav-item { margin: 0; }
  .navbar-nav .nav-item a {
    color: #051441;
    padding: 12px 0;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
  }
  .navbar-nav .nav-item a:hover,
  .navbar-nav .nav-item a.active { color: var(--primary) !important; }
  .navbar-nav .nav-item .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0 0 0 15px;
    width: 100%;
  }
  .navbar-nav .nav-item .sub-menu.collapse:not(.show) { display: none; }
  .navbar-nav .nav-item .sub-menu .nav-item a { padding: 10px 12px; }
}

/* Mobile right wrapper (lang + hamburger) */
.mobile-right {
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Mobile CTA Nav Button */
.nav-item.nav-cta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}
.nav-cta-btn {
  display: inline-block !important;
  background: var(--primary) !important;
  color: #fff !important;
  padding: 11px 25px !important;
  border-radius: 5px;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center;
  width: 100%;
  justify-content: center !important;
}
.nav-cta-btn:hover,
.navbar-nav .nav-item a.nav-cta-btn:hover {
  background: var(--secondary) !important;
  color: #fff !important;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  margin: 0 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 3px;
}
.lang-switch a {
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: 16px;
  transition: all 0.25s ease;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { background: #fff; color: var(--secondary); pointer-events: none; }

.header.sticky .lang-switch { background: rgba(0,0,0,0.06); }
.header.sticky .lang-switch a { color: rgba(0,0,0,0.65); }
.header.sticky .lang-switch a:hover { color: var(--secondary); }
.header.sticky .lang-switch a.active { background: var(--primary); color: #fff; }

@media (max-width: 991px) {
  .lang-switch { margin: 0; }
}

/* ======================================
   05. Hero
======================================== */
.hero-area {
  padding: 250px 0 200px;
}

.bg-gardient {
  background: linear-gradient(125deg, #ab0c14 0%, #e31019 100%);
}

@media (max-width: 991px) { .hero-area { padding: 150px 0 60px; } }
@media (max-width: 767px) { .hero-area { padding: 120px 0 50px; } }

.hero-area .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-area .hero-content h1 {
  font-size: 58px;
  font-weight: 800;
  line-height: 56px;
  color: #fff;
}
.hero-area .hero-content p {
  margin-top: 30px;
  font-size: 18px;
  color: #fff;
}
.hero-area .hero-content .button { margin-top: 40px; }
.hero-area .hero-content .button .btn { background: #fff; color: var(--primary); margin-right: 12px; }
.hero-area .hero-content .button .btn:hover { background: var(--secondary); color: #fff; }
.hero-area .hero-content .button .btn-alt { background: transparent !important; color: #fff !important; border-color: #fff; }
.hero-area .hero-content .button .btn-alt:hover { background: #fff !important; color: var(--primary) !important; }

@media (max-width: 991px) { .hero-area .hero-content h1 { font-size: 30px; line-height: 38px; } }
@media (max-width: 767px) {
  .hero-area .hero-content h1 { font-size: 31px; line-height: 38px; }
  .hero-area .hero-content p { font-size: 14px; }
  .hero-area .hero-content .button .btn { width: 60%; margin: 0 0 7px; }
  .hero-area .hero-content .button .btn:last-child { margin: 0; }
}

/* ======================================
   06. App Info (Über uns)
======================================== */
.app-info .info-one .info-text .main-icon {
  height: 60px; width: 60px; line-height: 60px;
  text-align: center; display: block;
  border-radius: 8px; color: #fff; font-size: 20px;
  background: var(--primary); margin-bottom: 30px;
}
.app-info .info-one .info-text h2 {
  font-size: 27px; font-weight: 700;
  margin-bottom: 20px; line-height: 42px;
}
.app-info .info-one .info-text p { margin-bottom: 15px; }

@media (max-width: 991px) { .app-info .info-one .info-text h2 { font-size: 25px; line-height: 38px; } }
@media (max-width: 767px) { .app-info .info-one .info-text h2 { font-size: 20px; line-height: 32px; } }

/* ======================================
   07. Feature Card
======================================== */
.single-feature {
  padding: 35px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #eee;
  margin-top: 30px;
  transition: all 0.4s ease;
  height: calc(100% - 30px);
}

/* Gleiche Höhe aller Feature-Karten pro Reihe */
.suppliers .container.section > .row > [class*="col-"],
.features-area .container > .row > [class*="col-"] {
  display: flex;
}
.single-feature:hover { box-shadow: 0 3px 5px rgba(0,0,0,0.09); transform: translateY(-5px); }
.single-feature i {
  height: 60px; width: 60px; line-height: 60px;
  text-align: center; display: inline-block;
  background: var(--primary); color: #fff;
  font-size: 20px; border-radius: 7px;
  margin-bottom: 30px;
}
.single-feature h3 { font-size: 18px; font-weight: 500; margin-bottom: 20px; }
.single-feature p { line-height: 22px; margin: 0; }

/* ======================================
   08. Process / Step Card
======================================== */
.row-cols-lg-5 .col,
.row-cols-md-2 .col {
  display: flex;
}

.single-table {
  border: 1px solid #eee;
  border-radius: 10px;
  margin-top: 10px;
  z-index: 1;
  background: #fff;
  transition: all 0.4s ease;
  width: 100%;
}
.single-table:hover { box-shadow: 0 3px 5px rgba(0,0,0,0.09); transform: translateY(-5px); }

.single-table .table-head { padding: 25px; border-bottom: 1px solid #eee; }
.single-table .table-head .title { font-size: 16px; font-weight: 600; }
.single-table .table-head p { font-size: 14px; line-height: 22px; margin: 0; }
.single-table .table-head .price { padding-bottom: 15px; }
.single-table .table-head .price .amount { font-size: 30px; font-weight: 700; color: var(--primary); display: block; }
.single-table .table-head .price .amount .duration { font-size: 14px; color: #666; font-weight: 400; margin-left: 3px; }
.single-table .table-head .button .btn { width: 100%; padding: 12px 30px; font-size: 13px; background: var(--secondary); }
.single-table .table-head .button .btn:hover { background: var(--primary); }

.single-table .table-content { padding: 25px; }
.single-table .table-content .table-list li { position: relative; padding-left: 5px; font-size: 14px; margin-bottom: 8px; }
.single-table .table-content .table-list li:last-child { margin: 0; }
.single-table .table-content .table-list li { padding-left: 0; }

/* ======================================
   09. Contact
======================================== */
.contact-us { background: #fff; }

.contact-us .contact-info .single-info {
  margin-top: 30px;
  position: relative;
  padding: 40px 40px 40px 100px;
  border-radius: 8px;
  box-shadow: 0 1px 20px rgba(32,32,32,0.11);
  transition: all 0.3s ease;
}
.contact-us .contact-info .single-info:hover { background: var(--primary); }
.contact-us .contact-info .single-info:hover i,
.contact-us .contact-info .single-info:hover h3,
.contact-us .contact-info .single-info:hover ul li,
.contact-us .contact-info .single-info:hover ul li a,
.contact-us .contact-info .single-info:hover ul li small { color: #fff !important; }

.contact-us .contact-info .single-info i { font-size: 30px; color: var(--primary); position: absolute; left: 40px; top: 40px; transition: all 0.3s ease; }
.contact-us .contact-info .single-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 15px; transition: all 0.3s ease; }
.contact-us .contact-info .single-info ul { padding: 0; }
.contact-us .contact-info .single-info ul li small { transition: all 0.3s ease; }
.contact-us .contact-info .single-info ul li { display: block; margin-bottom: 2px; font-weight: 500; transition: all 0.3s ease; }
.contact-us .contact-info .single-info ul li:last-child { margin: 0; }
.contact-us .contact-info .single-info ul li a { color: var(--secondary); font-weight: 500; }
.contact-us .contact-info .single-info ul li a:hover { color: #fff; text-decoration: underline; }

/* Contact form area */
.contact-form-head {
  background: url("../images/contact-bg.jpg") center center / cover no-repeat;
  position: relative;
  z-index: 2;
}
.contact-form-head::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 100%; width: 60%;
  background: linear-gradient(125deg, #ab0c14 0%, #e31019 100%);
  z-index: -1;
}
@media (max-width: 991px) { .contact-form-head::before { width: 100%; } }

.contact-form-head .contact-inner-title h2 { font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.contact-form-head .contact-inner-title p { color: #fff; }
.contact-form-head .contact-inner-title .benefit-list { margin-top: 30px; padding: 0; list-style: none; }
.contact-form-head .contact-inner-title .benefit-list li { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 18px; font-size: 15px; line-height: 1.5; }
.contact-form-head .contact-inner-title .benefit-list li:last-child { margin-bottom: 0; }
.contact-form-head .contact-inner-title .benefit-list li i { font-size: 18px; color: #fff; flex-shrink: 0; line-height: 1.5; }
.contact-form-head .contact-inner-title .benefit-list li span { color: #fff; }
.contact-form-head .contact-inner-title .benefit-list li strong { color: #fff; }

.contact-form-head .form-main {
  padding: 50px;
  background: #fff;
  box-shadow: 0 1px 30px rgba(32,32,32,0.11);
  border-radius: 8px;
}
@media (max-width: 991px) { .contact-form-head .form-main { padding: 35px; margin-top: 40px; } }

.contact-form-head .form-main .form .form-group { margin-bottom: 15px; }
.contact-form-head .form-main .form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0;
}
.contact-form-head .form-main .form .form-group input,
.contact-form-head .form-main .form .form-group select,
.contact-form-head .form-main .form .form-group textarea {
  width: 100%;
  border: 1px solid #888;
  padding: 0 20px;
  color: #333;
  font-weight: 400;
  border-radius: 5px;
  background: #f9f9f9;
}
.contact-form-head .form-main .form .form-group input,
.contact-form-head .form-main .form .form-group select { height: 52px; cursor: pointer; }
.contact-form-head .form-main .form .form-group textarea { height: 180px; padding: 15px 20px; resize: vertical; }
.contact-form-head .form-main .form .form-group.button { margin-bottom: 0; }
.contact-form-head .form-main .form .form-group.button .btn { height: 50px; border: none; width: 100%; }

.contact-form-head .form-main .form .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 0;
}
.contact-form-head .form-main .form .form-check-input {
  flex-shrink: 0;
  margin: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.contact-form-head .form-main .form .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.contact-form-head .form-main .form .form-check-label {
  font-size: 13px;
  color: #555;
  cursor: pointer;
  margin: 0;
  line-height: 1.4;
}
.contact-form-head .form-main .form .form-check-label a { color: var(--primary); text-decoration: underline; }
.contact-form-head .form-main .form .form-check-label a:hover { color: var(--secondary); }

/* ======================================
   10. Footer
======================================== */
.footer { background: var(--secondary); }
.footer .footer-top { padding: 100px 0; }
@media (max-width: 991px) { .footer .footer-top { padding: 40px 0 80px; } }
@media (max-width: 767px) { .footer .footer-top { padding: 20px 0 60px; } }

.footer .single-footer { margin-top: 40px; }
.footer .single-footer.f-about { padding-right: 30px; }
@media (max-width: 767px) { .footer .single-footer { text-align: center; } .footer .single-footer.f-about { padding: 0; } }

.footer .single-footer h3 { font-size: 18px; font-weight: 600; color: #c0c8d0; margin-bottom: 35px; }
@media (max-width: 991px) { .footer .single-footer h3 { margin-bottom: 25px; } }

.footer .single-footer.f-about .logo img { width: 180px; }
.footer .single-footer.f-about p { color: #c0c8d0; margin-top: 20px; font-size: 14px; }
.footer .single-footer.f-about .copyright-text { color: #c0c8d0; font-size: 14px; margin-top: 40px; }
.footer .single-footer.f-about .copyright-text a { color: #c0c8d0; }
.footer .single-footer.f-about .copyright-text a:hover { color: var(--primary); }

.footer .single-footer.f-about .social { margin-top: 30px; }
.footer .single-footer.f-about .social li { display: inline-block; margin-right: 17px; }
.footer .single-footer.f-about .social li:last-child { margin: 0; }
.footer .single-footer.f-about .social li a { color: #c0c8d0; font-size: 15px; }
.footer .single-footer.f-about .social li a:hover { color: var(--primary); }

.footer .single-footer.f-link ul { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; }
.footer .single-footer.f-link li { display: inline-block; margin: 0; }
.footer .single-footer.f-link li a { font-size: 15px; color: #c0c8d0; }
.footer .single-footer.f-link li a:hover { color: var(--primary); }
@media (max-width: 767px) { .footer .single-footer.f-link ul { justify-content: center; } }

.footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 25px;
}
.footer .footer-bottom .copyright-text {
  color: #c0c8d0;
  font-size: 14px;
  margin: 0;
}

/* ======================================
   11a. Altcha Widget
======================================== */

/* ======================================
   11. Form Success Overlay
======================================== */
.form-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.form-success-overlay.active {
  opacity: 1;
  visibility: visible;
}
.form-success-overlay .success-card {
  background: #fff;
  border-radius: 12px;
  padding: 60px 50px;
  text-align: center;
  max-width: 480px;
  width: 90%;
  transform: translateY(24px);
  transition: transform 0.3s ease;
}
.form-success-overlay.active .success-card {
  transform: translateY(0);
}
.form-success-overlay .success-icon {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}
.form-success-overlay .success-icon i {
  font-size: 30px;
  color: #fff;
  display: block;
}
.form-success-overlay .success-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--secondary);
}
.form-success-overlay .success-card p {
  color: #666;
  margin-bottom: 30px;
}
.btn-close-overlay {
  display: inline-block;
  padding: 12px 35px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 5px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-close-overlay:hover { background: var(--secondary); }

/* Form error message */
.form-error-msg {
  color: var(--primary);
  font-size: 14px;
  margin-top: 10px;
  display: none;
}
.form-error-msg.visible { display: block; }

@media (max-width: 767px) {
  .form-success-overlay .success-card { padding: 40px 25px; }
  .form-success-overlay .success-card h3 { font-size: 20px; }
}

/* ======================================
   12. Legal Modals (Impressum / Datenschutz)
======================================== */
.legal-modal .modal-header {
  background: transparent;
  border-bottom: 1px solid #eee;
  padding: 20px 30px;
}
.legal-modal .modal-header .modal-title {
  color: var(--secondary);
  font-size: 18px;
  font-weight: 700;
}
.legal-modal .modal-header .btn-close {
  opacity: 0.5;
}
.legal-modal .modal-header .btn-close:hover { opacity: 1; }

.legal-modal .modal-body {
  padding: 30px;
  color: var(--secondary);
}
.legal-modal .modal-body h6 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 25px 0 8px;
  letter-spacing: 0.5px;
}
.legal-modal .modal-body h6:first-child { margin-top: 0; }
.legal-modal .modal-body p {
  font-size: 14px;
  line-height: 24px;
  color: #555;
  margin: 0;
}
.legal-modal .modal-body a { color: var(--primary); }
.legal-modal .modal-body a:hover { color: var(--secondary); }

.legal-modal .modal-footer {
  border-top: 1px solid #eee;
  padding: 15px 30px;
}
.legal-modal .modal-footer .btn-secondary {
  background: var(--secondary);
  border: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 5px;
  color: #fff;
  transition: background 0.2s;
}
.legal-modal .modal-footer .btn-secondary:hover { background: var(--primary); }

/* Altcha Widget */
altcha-widget {
  --altcha-border-width: 1px;
  --altcha-border-radius: 5px;
  --altcha-color-border: #dee2e6;
  --altcha-color-border-focus: var(--primary);
  --altcha-max-width: 100%;
  width: 100%;
  display: block;
}
.altcha-checkbox input[type="checkbox"] {
  width: 1em !important;
  height: 1em !important;
  min-width: unset !important;
  min-height: unset !important;
  margin: 0 !important;
  cursor: pointer;
}
