/* ==========================================================================
   KLAMANN TIEFBAU - MODULARE CSS LIVE-BASIS
   ==========================================================================
   Diese Datei ist bewusst NICHT hart umsortiert worden.
   Die Kaskade bleibt intakt, damit live nichts kaputtgeht.

   INHALT
   01. Root / Farben / Basis
   02. Utilities / kleine Helfer
   03. Back-to-top
   04. Buttons / Icons / Animationen
   05. Navigation / Header / Navbar
   06. Hero / Startbereich
   07. Sektionen / Cards / Content
   08. About / Services / Qualifikation / Jobs / Footer-Module
   09. Zertifikate / Galerie / Referenzen
   10. Kontakt
   11. Modals / Job-Modal / Close-Button
   12. Footer
   13. Responsive Hardening Patch
   14. Finale Responsive Overrides
   15. Reduced Motion / Accessibility
   ========================================================================== */

/* ======================================================================
   01. ROOT / FARBEN / BASIS
   ====================================================================== */

:root {
  --primary: #f99200;
  --primary-dark: #db7f00;
  --secondary: #f3f6ff;
  --dark: #101f36;
  --dark-2: #152945;
  --text: #475569;
  --muted: #64748b;
  --bg-soft: #f6f8fb;
  --white: #ffffff;
  --border: #e8edf5;
  --success-bg: #edf9f0;
  --success: #2f855a;
  --shadow-lg: 0 20px 60px rgba(16, 31, 54, 0.15);
  --shadow-md: 0 12px 30px rgba(16, 31, 54, 0.08);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --nav-offset: 96px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-weight: 700 !important;
}

h4,
h5,
h6 {
  font-weight: 500 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-secondary {
  font-family: "Manrope", sans-serif;
  color: var(--dark);
}

p {
  color: var(--text);
  line-height: 1.75;
}

section {
  scroll-margin-top: var(--nav-offset);
}

#home,
#about,
#service,
#urkunden,
#project,
#winterdienst,
#jobs,
#partner,
#contact {
  scroll-margin-top: var(--nav-offset);
}

[lang="ar"] {
  direction: rtl;
  text-align: right;
}

/* Utilities */
.text-white {
  color: #ffffff !important;
}

.text-dark {
  color: #101f36 !important;
}

.bg-dark {
  background-color: #0b172a !important;
}

.badge {
  border: 2px solid #000;
}

.btn,
.form-control,
.custom-select,
.custom-file-label,
.input-group-text {
  border-radius: 12px;
}

/* ======================================================================
   04. BUTTONS / LINKS / INTERAKTIONEN
   ====================================================================== */

.btn {
  font-weight: 700;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-dark-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-outline-dark-modern:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.btn-square {
  width: 40px;
  height: 40px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 50px;
  height: 50px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

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

/* Scroll / misc buttons */
.btn-scroll-top-modal {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: #f99200;
  color: #ffffff;
  border: 2px solid #f99200;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  transition: all 0.3s ease;
  z-index: 1060;
}

.btn-scroll-top-modal:hover {
  background-color: #010f36;
  border-color: #010f36;
  color: #ffffff;
}

.scroll-to-bottom {
  display: none !important;
}

/* ======================================================================
   03. BACK-TO-TOP
   ====================================================================== */

.back-to-top {
  position: fixed;
  display: none;
  text-align: center;
  right: 30px;
  bottom: 30px;
  z-index: 11;
  animation: action 1s infinite alternate;
  box-shadow: 0 10px 26px rgba(16, 31, 54, 0.18);
}

@keyframes action {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

#snow-canvas {
  display: none;
}

/* Tables */
.table {
  border-collapse: collapse !important;
}

.table td,
.table th {
  background-color: #fff !important;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #dee2e6 !important;
}

.table-dark {
  color: inherit;
}

.table-dark th,
.table-dark td,
.table-dark thead th,
.table-dark tbody + tbody {
  border-color: #dee2e6;
}

.table .thead-dark th {
  color: inherit;
  border-color: #dee2e6;
}

/* Sections */
.section-shell {
  padding: 110px 0;
  scroll-margin-top: var(--nav-offset);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(249, 146, 0, 0.12);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.section-title::before {
  position: absolute;
  content: "";
  width: 150px;
  height: 2px;
  bottom: 12px;
  left: calc(50% - 75px);
  background: #f99200;
}

.section-title::after {
  position: absolute;
  content: "";
  width: 120px;
  height: 2px;
  bottom: 8px;
  left: calc(50% - 60px);
  background: #f99200;
}

.section-title h6,
.section-title .h6 {
  color: #f99200;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 3px;
}

.bg-dark .section-title h1 {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.section-title-modern {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-title-modern h2 {
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
}

.section-title-modern p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
}

/* Background sections */
.bg-service {
  background: linear-gradient(135deg, #010f36 0%, #0c1c4a 40%, #f99200 100%);
  background-size: 200% 200%;
  animation: backgroundShift 20s ease infinite;
  color: white;
  padding: 120px 0;
  margin: 90px 0;
  position: relative;
  z-index: 1;
}

.bg-service h1,
.bg-service h3,
.bg-service h4,
.bg-service p {
  color: white;
}

.bg-service .bg-secondary {
  background-color: rgba(0, 0, 0, 0.3) !important;
}

.bg-gallery-animated {
  background: linear-gradient(135deg, #010f36 0%, #0c1c4a 40%, #f99200 100%);
  background-size: 200% 200%;
  animation: backgroundShift 14s ease infinite;
  color: white;
  padding: 120px 0;
  margin: 90px 0;
  position: relative;
  z-index: 1;
}

.bg-gallery-animated h1,
.bg-gallery-animated h6,
.bg-gallery-animated p {
  color: white;
}

@keyframes backgroundShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Navbar compatibility + current navbar */
.navbar.navbar-dark {
  display: flex !important;
}

/* ======================================================================
   05. NAVIGATION / HEADER / NAVBAR
   ====================================================================== */

.navbar {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  background: rgba(16, 31, 54, 0.55) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: 0.25s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  color: #fff !important;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, #ffbf5f 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 18px;
  box-shadow: 0 12px 24px rgba(249, 146, 0, 0.25);
}

.brand-premium {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.brand-icon {
  background: #f99200;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-right: 8px;
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-text span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  white-space: nowrap;
  font-size: 15px;
  padding: 12px 14px;
  font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  transition: 0.2s ease;
  text-transform: none !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-contact-btn {
  background: #f99200;
  padding: 8px 16px !important;
  border-radius: 30px;
  margin-left: 20px;
  color: #fff !important;
  font-weight: 800;
}

.nav-contact-btn:hover {
  background: #ffffff;
  color: #101f36 !important;
}

#mainNavbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #101f36;
  padding: 15px 0;
  transition: all 0.35s ease;
}

#mainNavbar.navbar-scrolled {
  background: #101f36;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}

#mainNavbar .navbar-brand:hover {
  color: #f99200;
}

.logo-brand img {
  height: 45px;
  width: auto;
  transition: all 0.3s ease;
}

#mainNavbar .navbar-nav {
  gap: 18px;
}

#mainNavbar .nav-link {
  color: #ffffff;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

#mainNavbar .nav-link:hover {
  color: #f99200;
}

#mainNavbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f99200;
  transition: 0.3s;
}

#mainNavbar .nav-link:hover::after {
  width: 100%;
}

.navbar-modern {
  background: rgba(44, 62, 85, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 22px 0;
  transition: all 0.35s ease;
  z-index: 1030;
}

.navbar-modern.navbar-scrolled {
  padding: 10px 0;
  background: #2f3f55;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.navbar-logo {
  height: 34px;
  width: auto;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.navbar-scrolled .navbar-logo {
  height: 24px;
}

.navbar-modern .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin-left: 20px;
  position: relative;
}

.navbar-modern .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #f4b400;
  transition: 0.3s;
}

.navbar-modern .nav-link:hover::after,
.navbar-modern .nav-link.active::after {
  width: 100%;
}

.navbar-modern .nav-link.active {
  color: #f4b400 !important;
}

.navbar-toggler {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid #f99200;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-left: auto;
}

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

.navbar-toggler-icon {
  width: 18px;
  height: 18px;
  background-size: 18px 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 767.98px) {
  .navbar .container,
  .navbar .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .navbar-toggler {
    margin-right: 6px;
  }
}

/* Hero */
/* ======================================================================
   06. HERO / STARTBEREICH
   ====================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  z-index: 1;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(16, 31, 54, 0.88) 12%,
    rgba(16, 31, 54, 0.65) 48%,
    rgba(16, 31, 54, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 90px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  color: #fff;
  font-weight: 800;
  margin-bottom: 24px;
  max-width: 840px;
}

.hero-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  margin-bottom: 34px;
}

.hero-actions {
  margin-top: 30px;
  margin-bottom: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
}

.hero-stat {
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-stat strong {
  display: block;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 6px;
  font-size: 14px;
}

/* About */
.about-modern {
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

/* ======================================================================
   07. SEKTIONEN / CONTENT-BLÖCKE
   ====================================================================== */

/* ----- About / Company ----- */
.about-card {
  margin-top: -60px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.about-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
}

.about-logo {
  width: 80px;
  height: auto;
}

.lead-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 15px;
}

.about-image {
  border-radius: 22px;
  overflow: hidden;
  min-height: 100%;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-copy {
  padding-left: 18px;
}

.about-copy h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.info-card {
  background: #ffffff;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.info-card i {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e7f0ff;
  border-radius: 50%;
  color: #f28c00;
  font-size: 20px;
  margin-bottom: 12px;
}

.about-grid .info-card i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f99200, #ffb347);
  color: #010f36;
  font-size: 20px;
}

.info-card h5 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Shared card styles */
.qualification-card,
.job-preview-card,
.contact-card,
.footer-card,
.winter-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Services */
.service-section {
  background: var(--bg-soft);
}

.service-link {
  display: flex;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.service-card-modern {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.35s;
  height: 100%;
}

.service-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ----- Services ----- */
.service-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e6e8ef;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.qualification-card:hover,
.job-preview-card:hover,
.contact-card:hover,
.winter-card:hover {
  transform: scale(1.02);
  box-shadow: 0 22px 40px rgba(16, 31, 54, 0.12);
}

.service-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.35)
  );
  opacity: 0.6;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img,
.service-card-modern:hover .service-image img {
  transform: scale(1.08);
}

.service-card img,
.qualification-card img,
.job-image-wrap img,
.winter-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.service-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-content {
  padding: 25px;
}

.service-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-meta i {
  font-size: 14px;
}

.service-card h3,
.service-content h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: #5a6472;
  flex-grow: 1;
}

.service-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #010f36;
  position: relative;
  transition: 0.25s ease;
}

.service-card-modern:hover .service-more {
  gap: 14px;
}

.service-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #f99200;
  transition: 0.25s;
}

.service-card:hover .service-more::after {
  width: 100%;
}

.floating-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease;
  will-change: transform;
}
.service-section .row {
  align-items: stretch;
}

.service-section .col-lg-4,
.service-section .col-md-6 {
  display: flex;
}

.service-section .service-card {
  width: 100%;
}

.service-section .service-card-body p {
  margin-bottom: 0;
}
/* Qualification */
/* ----- Qualifikation / Services / Jobs / Contact / Footer Cards ----- */
.qualification-card {
  overflow: hidden;
}

.qualification-card img {
  height: 340px;
  object-fit: contain;
  background: #fafcff;
  padding: 20px;
}

.qualification-card-body {
  padding: 22px;
  text-align: center;
}

/* Certificates */
.certificate-section {
  overflow: hidden;
}

/* ======================================================================
   09. ZERTIFIKATE / GALERIE / REFERENZEN
   ====================================================================== */

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.certificate-item {
  text-align: center;
  display: block;
  transition: 0.3s;
}

.certificate-item img {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: auto;
  display: block;
  transition: 0.3s;
}

.certificate-item:hover img {
  transform: scale(1.05);
}

.certificate-item h3 {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #101f36;
}

/* =========================
   Gallery Section
========================= */

.gallery-shell {
  background: linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 96px;
}

.gallery-container {
  max-width: 1380px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.gallery-shell .section-title-modern {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

.gallery-shell .section-title-modern h2 {
  margin-bottom: 14px;
}

.gallery-shell .section-title-modern p {
  max-width: 760px;
  margin: 0 auto;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

/* Item */
.gallery-item {
  display: block;
  text-decoration: none;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 31, 54, 0.08);
  box-shadow: 0 14px 34px rgba(16, 31, 54, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(16, 31, 54, 0.14);
  border-color: rgba(249, 146, 0, 0.3);
}

.gallery-item:focus-visible {
  outline: 3px solid rgba(249, 146, 0, 0.35);
  outline-offset: 4px;
}

/* Image area */
.gallery-image-wrap {
  position: relative;
  overflow: hidden;
  background: #0b172a;
}

.gallery-image-wrap img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  display: block;
  object-fit: cover;
  transition:
    transform 0.7s ease,
    filter 0.35s ease;
  will-change: transform;
}

.gallery-item:hover .gallery-image-wrap img,
.gallery-item:focus-visible .gallery-image-wrap img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 20, 44, 0.08);
  opacity: 0;
  transition:
    opacity 0.35s ease,
    background 0.35s ease;
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at center,
    rgba(249, 146, 0, 0.1) 0%,
    rgba(249, 146, 0, 0.04) 22%,
    rgba(8, 20, 44, 0.18) 100%
  );
  opacity: 0;
  transition:
    opacity 0.45s ease,
    background 0.45s ease;
}

.gallery-overlay i {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #10213a;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.35s ease,
    transform 0.45s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i,
.gallery-item:focus-visible .gallery-overlay i {
  opacity: 1;
  transform: translateY(0) scale(1);
  background: #f99200;
  border-color: rgba(249, 146, 0, 0.95);
  color: #10213a;
  box-shadow: 0 12px 26px rgba(249, 146, 0, 0.28);
}

/* Caption below image */
.gallery-caption {
  padding: 18px 18px 20px;
  background: #fff;
}

.gallery-caption span {
  display: block;
  color: #10213a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Large screens */

/* Desktop */
@media (max-width: 1399.98px) {
  .gallery-container {
    max-width: 1480px;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Small desktop / tablet landscape */
@media (max-width: 1199.98px) {
  .gallery-shell {
    padding-top: 64px;
    padding-bottom: 84px;
  }

  .gallery-container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .gallery-caption {
    padding: 16px 16px 18px;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .gallery-shell .section-title-modern {
    margin-bottom: 34px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item {
    border-radius: 20px;
  }

  .gallery-caption span {
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .gallery-shell {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .gallery-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-item {
    border-radius: 18px;
  }

  .gallery-caption {
    padding: 14px 14px 16px;
  }

  .gallery-caption span {
    font-size: 15px;
  }

  .gallery-overlay i {
    width: 54px;
    height: 54px;
    font-size: 1rem;
  }
}

/* Winterdienst + winter section */
.winterdienst-section {
  background: #f7f9fc;
}

.winterdienst-wrapper {
  margin-top: 50px;
}

.winterdienst-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.winterdienst-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.winterdienst-image:hover img {
  transform: scale(1.05);
}

.winterdienst-title {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
}

.winterdienst-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.winterdienst-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 16px;
}

.winterdienst-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #f99200;
  font-weight: 700;
}

.winterdienst-btn {
  margin-top: 10px;
}

.winter-section {
  background: linear-gradient(180deg, #f7fafe 0%, #eef3f9 100%);
}

.winter-card {
  overflow: hidden;
}

.winter-image {
  position: relative;
  height: 100%;
  min-height: 340px;
}

.winter-image img {
  height: 100%;
}

.winter-body {
  padding: 34px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff3e3;
  color: #b86b00;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Jobs */
.jobs-section {
  background: #fff;
}

/* ----- Jobs / Karriere ----- */
.job-preview-card {
  padding: 28px;
  height: 100%;
}

.job-preview-card h3 {
  color: #101f36;
  font-weight: 700;
  font-size: 22px;
  position: relative;
  padding-bottom: 8px;
}

.job-preview-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #f99200;
  border-radius: 2px;
}

.job-list-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-list-modern li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  line-height: 1.55;
}

.job-list-modern li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--success);
  font-size: 14px;
}

.job-cta-box {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: 24px;
  padding: 34px;
  color: #fff;
  margin-top: 28px;
  box-shadow: var(--shadow-lg);
}

.job-cta-box h3,
.job-cta-box p {
  color: #fff;
}

.job-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(16, 31, 54, 0.1);
}

.job-description-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eef3f8 100%);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 24px;
}

.job-description-box p {
  margin: 0;
  color: #334155;
  line-height: 1.75;
  font-size: 16px;
}

.job-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.job-card {
  background: #ffffff;
  border: 1px solid #e9eef5;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 10px 24px rgba(16, 31, 54, 0.06);
  height: 100%;
}

.job-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
}

.job-card.offer h3 {
  color: var(--primary);
}

.job-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: #334155;
  line-height: 1.6;
  font-size: 15.5px;
}

.job-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef7ee;
  color: #2e7d32;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.is-hidden {
  display: none;
}

/* Responsive */
@media (max-width: 991.98px) {
}
.job-modal-title {
  text-align: center;
  width: 100%;
  margin: 0;
  color: var(--dark);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}

.job-modal-title span {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

.job-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.job-badge {
  background: #fff3e3;
  color: #c97200;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
}

.back-to-language {
  border: none;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  cursor: pointer;
  transition: 0.25s ease;
}

.back-to-language:hover {
  background: var(--primary);
  color: var(--dark);
}

/* Nur die Hauptbox im Job-Modal aufwerten */
#jobContent,
.job-content {
  display: none;
  position: relative;
  margin-top: 14px;
  padding: 28px 30px 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(16, 31, 54, 0.08);
  box-shadow: 0 18px 40px rgba(16, 31, 54, 0.08);
  overflow: hidden;
  animation: fadeInJob 0.35s ease;
}

/* dezenter Akzent oben */
#jobContent::before,
.job-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #f99200, #ffb84d);
}

/* optional etwas mehr Luft im Inhalt */
#jobContent p,
.job-content p {
  color: #334155;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 767.98px) {
  #jobContent,
  .job-content {
    padding: 22px 18px 24px;
    border-radius: 18px;
  }
}

/* Language selector */
.language-selector {
  text-align: center;
  padding: 8px 0 10px 0;
}

.language-selector h4 {
  color: var(--dark);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.language-selector p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

#languageSelector {
  border: 2px solid #ff7a00;
  border-radius: 10px;
  padding: 25px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 650px;
  margin: 30px auto;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 60px;
  background: #010f36;
  color: white;
  border: 2px solid #f99200;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
}

.lang-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(249, 146, 0, 0.35);
}

.lang-flag {
  width: 42px;
  height: 42px;
  font-size: 22px;
}

.lang-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.lang-sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

/* References */
.reference-section {
  background: #f8fafc;
  padding: 100px 0;
}

.reference-title {
  max-width: 720px;
  margin: auto auto 60px;
  text-align: center;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

/* ----- Referenzen / Partner ----- */
.reference-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #e6e8ef;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: 0.25s;
  text-decoration: none;
  color: inherit;
}

.reference-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.reference-logo {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.reference-logo img,
.reference-card img {
  height: 120px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 14px;
}

.reference-logo img {
  max-width: 210px;
  max-height: 80px;
  margin-bottom: 0;
}

.reference-card:hover img {
  filter: none;
  opacity: 1;
}

.reference-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

/* Contact */
/* ======================================================================
   10. KONTAKT
   ====================================================================== */

.contact-section {
  background: var(--bg-soft);
}

.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--dark);
  font-weight: 700;
}

/* ----- Contact Cards ----- */
.contact-card {
  padding: 28px;
  height: 100%;
}

.contact-card i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(249, 146, 0, 0.12);
  color: var(--primary-dark);
  font-size: 20px;
  margin-bottom: 18px;
}

.contact-card a {
  color: var(--dark);
  font-weight: 700;
}

.contact-cta {
  margin-top: 36px;
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

/* =========================================================
   Kontakt kompakter – CTA integriert
   ========================================================= */

.contact-section-wide {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  overflow: hidden;
  padding-top: 52px;
  padding-bottom: 56px;
}

.contact-container {
  max-width: 1500px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.contact-section-wide .section-title-modern {
  max-width: 860px;
  margin: 0 auto 24px;
}

.contact-section-wide .section-title-modern h2 {
  margin-bottom: 8px;
}

.contact-section-wide .section-title-modern p {
  max-width: 700px;
  margin: 0 auto;
  color: #5d6b82;
}

.contact-wide-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(520px, 1.28fr);
  gap: 20px;
  align-items: stretch;
}

.contact-info-panel,
.contact-map-panel {
  min-width: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(16, 31, 54, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(16, 31, 54, 0.07);
}

.contact-info-panel {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-head h3,
.contact-map-head h3 {
  margin: 10px 0 8px;
  font-size: 1.48rem;
  color: #10213a;
}

.contact-info-head p,
.contact-map-head p {
  margin: 0;
  color: #5d6b82;
  font-size: 0.96rem;
  line-height: 1.55;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(249, 146, 0, 0.12);
  color: #d98100;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-info-list {
  display: grid;
  gap: 12px;
}

.contact-info-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(16, 31, 54, 0.07);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 146, 0, 0.28);
  box-shadow: 0 12px 24px rgba(16, 31, 54, 0.08);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(249, 146, 0, 0.14) 0%,
    rgba(249, 146, 0, 0.06) 100%
  );
  color: #f99200;
  font-size: 1rem;
  box-shadow: inset 0 0 0 1px rgba(249, 146, 0, 0.12);
}

.contact-text,
.contact-text a,
.contact-text p {
  overflow-wrap: anywhere;
}

.contact-text span {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7a879b;
}

.contact-text h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #10213a;
}

.contact-text p {
  margin: 0;
  color: #5d6b82;
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-text a,
.contact-mail-link {
  color: #10213a;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-text a:hover,
.contact-mail-link:hover {
  color: #f99200;
}

.contact-inline-cta {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #10213a 0%, #1b2f4f 100%);
  box-shadow: 0 14px 30px rgba(16, 31, 54, 0.12);
}

.contact-inline-cta-text h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.05rem;
}

.contact-inline-cta-text p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.contact-info-actions .btn,
.contact-info-actions .contact-mail-link,
.contact-map-actions .btn,
.contact-map-actions .contact-mail-link {
  max-width: 100%;
}

.contact-map-panel {
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
}

.contact-map-wrapper {
  position: relative;
  width: 100%;
  min-height: 300px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(16, 31, 54, 0.08);
  box-shadow: 0 14px 30px rgba(16, 31, 54, 0.08);
  background: #e9eef5;
}

.contact-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.contact-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.contact-submit-btn,
.contact-cta-btn {
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.96rem;
  box-shadow: none;
}

/* Breite Laptops */
@media (max-width: 1399.98px) {
  .contact-container {
    max-width: 1420px;
  }

  .contact-wide-grid {
    grid-template-columns: minmax(300px, 0.95fr) minmax(460px, 1.1fr);
  }
}

/* Unter 1200px untereinander */
@media (max-width: 1199.98px) {
  .contact-section-wide {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .contact-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-wide-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-wrapper,
  .contact-map-wrapper iframe {
    min-height: 360px;
    height: 360px;
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .contact-info-head h3,
  .contact-map-head h3 {
    font-size: 1.35rem;
  }

  .contact-info-panel,
  .contact-map-panel {
    padding: 20px;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .contact-info-panel,
  .contact-map-panel {
    border-radius: 22px;
    padding: 18px 16px;
  }

  .contact-info-actions,
  .contact-map-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-submit-btn,
  .contact-info-actions .btn,
  .contact-info-actions .contact-mail-link,
  .contact-map-actions .btn,
  .contact-map-actions .contact-mail-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-map-wrapper,
  .contact-map-wrapper iframe {
    min-height: 320px;
    height: 320px;
  }
}

@media (max-width: 575.98px) {
  .contact-section-wide {
    padding-top: 52px;
    padding-bottom: 60px;
  }

  .contact-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-section-wide .section-title-modern {
    margin-bottom: 22px;
  }

  .contact-map-wrapper,
  .contact-map-wrapper iframe {
    min-height: 280px;
    height: 280px;
  }
}

/* Modern modals */
/* ======================================================================
   11. MODALS / JOB-MODAL / CLOSE-BUTTON
   ====================================================================== */

.modern-modal .modal-dialog {
  max-width: 920px;
  transform: translateY(40px) scale(0.98);
  opacity: 0;
  transition: all 0.35s ease;
}

.modern-modal.show .modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modern-modal .modal-content {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 31, 54, 0.18);
  background: #ffffff;
}

.modern-modal .modal-header {
  position: relative;
  padding: 30px 32px 14px 32px;
  border-bottom: none;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9fd 100%);
}

.modern-modal .modal-body {
  padding: 8px 32px 34px 32px;
}

.modern-header {
  background: linear-gradient(135deg, #010f36, #1a2555);
  color: #fff;
  padding: 30px 40px;
  border: none;
}

.modern-modal-title {
  width: 100%;
  text-align: center;
  margin: 0;
  color: var(--dark);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.18;
}

.modern-modal-title span {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

.modal-subtitle {
  font-size: 14px;
  opacity: 0.8;
}

.modal-hero-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 14px 34px rgba(16, 31, 54, 0.1);
}

.modal-hero-image img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.modal-hero-image:hover img {
  transform: scale(1.05);
}

.modal-intro-box {
  background: #f6f8fc;
  padding: 20px 24px;
  border-left: 4px solid #f99200;
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 15px;
}

.modal-intro-box p:last-child {
  margin-bottom: 0;
}

.modal-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 25px;
}

.modal-info-card {
  background: #ffffff;
  padding: 22px;
  border-radius: 10px;
  border: 1px solid #e9ecf2;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: 0.25s;
}

.modal-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.modal-info-card.accent {
  border-left: 4px solid #f99200;
}

.modal-info-card h3,
.modal-info-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #101f36;
}

.modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: #334155;
  line-height: 1.6;
  font-size: 14px;
}

.modal-list li:last-child {
  margin-bottom: 0;
}

.modal-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef7ee;
  color: #2e7d32;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.modal-highlight-box {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  padding: 24px;
  border-radius: 12px;
}

.modal-highlight-box h4,
.modal-highlight-box p {
  color: #fff;
  margin-bottom: 0;
}

/* ----- Close Button Finetuning ----- */
.custom-close {
  background: none;
  border: none;
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 0;
  cursor: pointer;
  z-index: 5;
  opacity: 1;
  outline: none !important;
  box-shadow: none !important;
}

.close-icon-frame {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f4f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.custom-close:hover .close-icon-frame {
  background: var(--primary);
  transform: rotate(90deg);
}

.custom-close:hover svg line {
  stroke: #fff;
}

.modal-backdrop.show {
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 1;
}

.certificate-modal .modal-dialog {
  max-width: 760px;
}

.certificate-stage {
  background: linear-gradient(180deg, #fbfcff 0%, #f2f6fb 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

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

#exampleModalLong_stellenanzeige .modal-content {
  border: none;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(16, 31, 54, 0.18);
  background: #ffffff;
}

#exampleModalLong_stellenanzeige .modal-header {
  border-bottom: none;
  padding: 28px 30px 10px 30px;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
}

#exampleModalLong_stellenanzeige .modal-body {
  padding: 20px 30px 35px 30px;
}

/* History */
.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.history-item {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e6e8ef;
  transition: all 0.25s ease;
}

.history-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.history-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #010f36;
  margin-bottom: 8px;
}

.history-item p {
  font-size: 14px;
  color: #555;
}

.history-timeline {
  position: relative;
  max-width: 900px;
  margin: 50px auto;
  padding: 20px 0;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 3px;
  height: 100%;
  background: linear-gradient(#f99200, #ffb347);
  transform: translateX(-50%);
}

.timeline-block {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}

.timeline-block:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-block:nth-child(even) {
  left: 50%;
}

.timeline-year {
  display: inline-block;
  background: #010f36;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 30px;
  margin-bottom: 10px;
}

.timeline-card {
  background: #fff;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid #e6e8ef;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.timeline-icon {
  position: absolute;
  top: 20px;
  width: 36px;
  height: 36px;
  background: #f99200;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.timeline-block:nth-child(odd) .timeline-icon {
  right: -58px;
}

.timeline-block:nth-child(even) .timeline-icon {
  left: -58px;
}

.timeline-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #010f36;
}

.timeline-card p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* Forms */
.contact-form .help-block ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/* Animations */
@keyframes fadeInJob {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fly-in {
  opacity: 0;
  transform: translateY(40px);
  animation: flyInUp 0.9s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.5s;
}

.delay-3 {
  animation-delay: 0.8s;
}

.delay-4 {
  animation-delay: 1.1s;
}

@keyframes flyInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-modern,
.service-section {
  overflow: hidden;
}

.about-fly-left,
.about-fly-right,
.service-title-reveal,
.service-reveal {
  opacity: 1;
  transform: translate(0, 0);
}

.js-enabled .about-fly-left,
.js-enabled .about-fly-right,
.js-enabled .service-title-reveal,
.js-enabled .service-reveal {
  opacity: 0;
  transition:
    transform 0.8s ease,
    opacity 0.8s ease;
  will-change: transform, opacity;
}

.js-enabled .about-fly-left {
  transform: translateX(-80px);
}

.js-enabled .about-fly-right {
  transform: translateX(80px);
  transition-delay: 0.2s;
}

.js-enabled .about-fly-left.show,
.js-enabled .about-fly-right.show {
  opacity: 1;
  transform: translateX(0);
}

.js-enabled .service-title-reveal,
.js-enabled .service-reveal {
  transform: translateY(60px);
}

.js-enabled .service-title-reveal.show,
.js-enabled .service-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .service-reveal.delay-1 {
  transition-delay: 0.1s;
}

.js-enabled .service-reveal.delay-2 {
  transition-delay: 0.2s;
}

.js-enabled .service-reveal.delay-3 {
  transition-delay: 0.3s;
}

.js-enabled .service-reveal.delay-4 {
  transition-delay: 0.4s;
}

.js-enabled .service-reveal.delay-5 {
  transition-delay: 0.5s;
}

.js-enabled .service-reveal.delay-6 {
  transition-delay: 0.6s;
}

.certificate-title-reveal,
.certificate-reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .certificate-title-reveal,
.js-enabled .certificate-reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    transform 0.8s ease,
    opacity 0.8s ease;
  will-change: transform, opacity;
}

.js-enabled .certificate-title-reveal.show,
.js-enabled .certificate-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .certificate-reveal.delay-1 {
  transition-delay: 0.1s;
}

.js-enabled .certificate-reveal.delay-2 {
  transition-delay: 0.2s;
}

.js-enabled .certificate-reveal.delay-3 {
  transition-delay: 0.3s;
}

/* ======================================================================
   15. REDUCED MOTION / ACCESSIBILITY
   ====================================================================== */

@media (prefers-reduced-motion: reduce) {
  .js-enabled .about-fly-left,
  .js-enabled .about-fly-right,
  .js-enabled .service-title-reveal,
  .js-enabled .service-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 1199.98px) {
  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .section-shell {
    padding: 90px 0;
  }

  .gallery-item img {
    height: 360px;
  }
}

/* ======================================================================
   14. FINALE RESPONSIVE OVERRIDES
   ====================================================================== */

@media (max-width: 991.98px) {
  .section-shell {
    padding: 84px 0;
  }

  .about-copy {
    padding-left: 0;
    margin-top: 30px;
  }

  .about-card {
    margin-top: 0;
  }

  .about-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-logo {
    width: 65px;
  }

  .about-grid,
  .job-sections,
  .modal-grid-2,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .certificate-grid,
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navbar-collapse {
    margin-top: 16px;
    background: rgba(9, 18, 32, 0.92);
    border-radius: 18px;
    padding: 12px;
  }

  .nav-contact-btn {
    margin-left: 0;
    margin-top: 8px;
    display: inline-flex;
    justify-content: center;
  }

  #mainNavbar .navbar-nav {
    gap: 8px;
  }

  #mainNavbar .nav-link,
  .navbar-modern .nav-link,
  .navbar-dark .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 12px;
  }

  .brand-text {
    white-space: normal;
  }

  .hero {
    min-height: 0;
  }
  .hero-content {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(34px, 6vw, 56px);
  }

  .contact-info-panel,
  .contact-form-panel,
  .contact-map-panel,
  .contact-bottom-cta,
  .contact-cta {
    padding: 28px;
  }

  .contact-map-wrapper,
  .contact-map-wrapper iframe {
    min-height: 340px;
    height: 340px;
  }

  .modern-modal .modal-dialog,
  .certificate-modal .modal-dialog {
    max-width: calc(100% - 24px);
    margin: 0.75rem auto;
  }

  .modern-modal .modal-header,
  #exampleModalLong_stellenanzeige .modal-header {
    padding: 24px 24px 10px;
  }

  .modern-modal .modal-body,
  #exampleModalLong_stellenanzeige .modal-body {
    padding: 16px 24px 24px;
  }

  .modern-modal-title,
  .job-modal-title {
    font-size: 28px;
  }

  .js-enabled .about-fly-left {
    transform: translateX(-40px);
  }

  .js-enabled .about-fly-right {
    transform: translateX(40px);
  }

  .js-enabled .service-title-reveal,
  .js-enabled .service-reveal {
    transform: translateY(40px);
  }

  .js-enabled .certificate-title-reveal,
  .js-enabled .certificate-reveal {
    transform: translateY(40px);
  }
}

@media (max-width: 767.98px) {
  .btn-scroll-top-modal {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .section-shell {
    padding: 72px 0;
  }

  .section-title-modern {
    margin-bottom: 36px;
  }

  .section-title-modern h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .section-title-modern p,
  .hero-lead,
  .job-description-box p,
  p {
    font-size: 15px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero img {
    height: 100%;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(30px, 9vw, 40px);
    margin-bottom: 18px;
  }

  .hero-kicker {
    font-size: 12px;
    padding: 9px 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 28px;
  }

  .hero-stat {
    padding: 18px 16px;
  }

  .hero-stat strong {
    font-size: 24px;
  }

  .gallery-grid,
  .certificate-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 280px;
  }

  .gallery-hover-text {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .qualification-card img {
    height: 280px;
  }

  .service-image,
  .service-image img {
    height: 220px;
  }

  .winterdienst-title {
    font-size: 22px;
  }

  .winter-image {
    min-height: 260px;
  }

  .winter-body,
  .contact-card,
  .contact-cta,
  .job-cta-box,
  .job-preview-card,
  .footer-card {
    padding: 20px;
  }

  .contact-inline,
  .contact-map-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-pill,
  .contact-map-actions .btn,
  .contact-map-actions .contact-mail-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-info-card {
    flex-direction: column;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .modern-modal .modal-header,
  #exampleModalLong_stellenanzeige .modal-header {
    padding: 22px 18px 10px;
  }

  .modern-modal .modal-body,
  #exampleModalLong_stellenanzeige .modal-body {
    padding: 14px 18px 22px;
  }

  .modern-modal-title,
  .job-modal-title {
    font-size: 24px;
  }

  .modern-modal-title span,
  .job-modal-title span {
    font-size: 15px;
  }

  .modal-intro-box,
  .modal-info-card,
  .certificate-stage,
  .history-item,
  .job-card,
  .job-description-box,
  .modal-highlight-box {
    padding: 18px;
  }

  .modal-hero-image {
    margin-bottom: 18px;
  }

  .modal-hero-image img {
    height: 200px;
  }

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

  .about-logo {
    width: 55px;
  }

  .history-timeline::before {
    left: 20px;
  }

  .timeline-block {
    width: 100%;
    padding-left: 52px;
    padding-right: 12px;
    margin-bottom: 30px;
  }

  .timeline-block:nth-child(even),
  .timeline-block:nth-child(odd) {
    left: 0;
    text-align: left;
  }

  .timeline-icon {
    width: 30px;
    height: 30px;
    font-size: 12px;
    left: -33px !important;
    right: auto;
  }

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

  .lang-btn {
    height: auto;
    min-height: 56px;
    padding: 12px;
  }

  .js-enabled .about-fly-left,
  .js-enabled .about-fly-right,
  .js-enabled .service-title-reveal,
  .js-enabled .service-reveal {
    transition-duration: 0.6s;
  }

  .js-enabled .about-fly-left {
    transform: translateX(-25px);
  }

  .js-enabled .about-fly-right {
    transform: translateX(25px);
  }

  .js-enabled .service-title-reveal,
  .js-enabled .service-reveal {
    transform: translateY(30px);
  }

  .js-enabled .service-reveal.delay-1,
  .js-enabled .service-reveal.delay-2,
  .js-enabled .service-reveal.delay-3,
  .js-enabled .service-reveal.delay-4,
  .js-enabled .service-reveal.delay-5,
  .js-enabled .service-reveal.delay-6,
  .js-enabled .certificate-reveal.delay-1,
  .js-enabled .certificate-reveal.delay-2,
  .js-enabled .certificate-reveal.delay-3 {
    transition-delay: 0.1s;
  }

  .js-enabled .certificate-title-reveal,
  .js-enabled .certificate-reveal {
    transform: translateY(30px);
    transition-duration: 0.6s;
  }

  .gallery-item img {
    transition:
      transform 0.6s ease,
      filter 0.6s ease,
      opacity 0.4s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.02);
  }
}

@media (max-width: 700px) {
  .lang-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand,
  .brand-premium {
    gap: 8px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .brand-text {
    font-size: 16px;
  }

  .brand-text span {
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  .navbar-logo {
    height: 28px;
  }

  .navbar-scrolled .navbar-logo {
    height: 22px;
  }

  .section-label {
    font-size: 12px;
    padding: 8px 12px;
  }

  .hero-content {
    padding-top: 110px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 15px;
    margin-bottom: 24px;
  }

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

  .lang-btn {
    font-size: 14px;
  }

  #languageSelector {
    padding: 18px;
  }

  .reference-card {
    padding: 22px;
  }

  .reference-card img {
    height: 70px;
    max-width: 130px;
  }

  .contact-submit-btn,
  .contact-cta-btn,
  .nav-contact-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-map-wrapper,
  .contact-map-wrapper iframe {
    min-height: 280px;
    height: 280px;
  }

  .gallery-item img {
    height: 240px;
  }
}
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #101f36 0%, #0c1728 100%);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0;
  overflow: hidden;
}

.footer-top-line {
  height: 4px;
  background: linear-gradient(90deg, #f59e0b 0%, #f97316 50%, #f59e0b 100%);
}

.footer-main {
  padding: 80px 0 55px;
}

.footer-brand-block {
  padding-right: 20px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-logo-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.25);
}

.footer-logo-text {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.footer-logo-sub {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 420px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 12px;
  position: relative;
  letter-spacing: 0.2px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  border-radius: 999px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 13px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
  text-decoration: none;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.74);
}

.footer-contact-item i {
  width: 18px;
  text-align: center;
  color: #f59e0b;
  font-size: 15px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contact-item a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-socials a:hover {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border-color: transparent;
  transform: translateY(-2px);
  color: #ffffff;
}

.footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.22);
}

.footer-button:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.28);
}

.footer-bottom {
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .footer-main {
    padding: 65px 0 45px;
  }

  .footer-brand-block {
    padding-right: 0;
  }
}

@media (max-width: 767.98px) {
  .footer-main {
    padding: 55px 0 35px;
  }

  .footer-logo-wrap {
    align-items: flex-start;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .footer-copy {
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  .site-footer {
    text-align: left;
  }

  .footer-main {
    padding: 50px 0 30px;
  }

  .footer-logo-wrap {
    gap: 12px;
    margin-bottom: 18px;
  }

  .footer-logo-icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .footer-logo-text {
    font-size: 1.15rem;
  }

  .footer-logo-sub {
    font-size: 0.88rem;
  }

  .footer-description {
    max-width: 100%;
    margin-bottom: 22px;
    line-height: 1.7;
  }

  .footer-heading {
    margin-bottom: 18px;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-socials {
    gap: 10px;
  }

  .footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .footer-button {
    width: 100%;
    margin-top: 14px;
    padding: 12px 18px;
  }

  .footer-bottom {
    padding: 20px 0 24px;
  }

  .footer-bottom-links {
    justify-content: flex-start;
    gap: 14px;
    margin-top: 8px;
  }

  .footer-copy {
    text-align: left;
  }
}

/* ----- Hero CTA Animation ----- */
.hero-btn-special {
  position: relative;
  z-index: 5;
  opacity: 0;
  transform: translateX(60px) translateY(20px) scale(0.92);
  animation:
    heroButtonFlyIn 1s ease-out 0.9s forwards,
    heroButtonGlow 2.8s ease-in-out 2s infinite;
}

@keyframes heroButtonFlyIn {
  0% {
    opacity: 0;
    transform: translateX(60px) translateY(20px) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translateX(-6px) translateY(0) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
}

@keyframes heroButtonGlow {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
  }
  50% {
    box-shadow: 0 14px 34px rgba(249, 115, 22, 0.38);
  }
}

.hero-btn-special.btn-outline-dark-modern {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border: 1px solid transparent;
  color: #000;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.24);
}

.hero-btn-special.btn-outline-dark-modern:hover {
  background: rgba(16, 31, 54, 0.32);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
/* ======================================================================
   13. RESPONSIVE HARDENING PATCH
   ====================================================================== */

/* ========= Responsive Hardening Patch ========= */

html,
body {
  overflow-x: hidden;
}

img,
svg,
iframe,
video {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
span,
button {
  overflow-wrap: anywhere;
}

/* Lange Buttons / Links dürfen nicht aus dem Viewport laufen */
.btn,
.contact-mail-link,
.footer-links a,
.footer-bottom-links a {
  white-space: normal;
}

/* Hero CTA sicher auf kleinen Screens */
.hero-actions .btn,
.hero-actions a {
  max-width: 100%;
}

/* Neuer Job-Modal-Header */
.modal-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-right: 64px;
  flex-wrap: wrap;
}

#jobLanguageModalTitle {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1.15;
}

#jobLanguageModalTitle span {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.35;
}

.current-lang-flag {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  line-height: 1;
  flex-shrink: 0;
}

/* Close-Button bleibt sauber */
.custom-close {
  top: 18px;
  right: 18px;
}

.close-icon-frame {
  flex-shrink: 0;
}

/* Partnerlogos robuster */
.reference-card img,
.reference-logo img {
  max-width: 100%;
  height: auto;
}

/* Kontaktbereich */
.contact-info-panel,
.contact-form-panel,
.contact-map-panel,
.contact-bottom-cta {
  min-width: 0;
}

.contact-text,
.contact-text a,
.contact-text p {
  overflow-wrap: anywhere;
}

.contact-map-actions .btn,
.contact-map-actions .contact-mail-link {
  max-width: 100%;
}

/* Footer */
.footer-logo-wrap,
.footer-bottom-links {
  flex-wrap: wrap;
}

@media (max-width: 991.98px) {
  .modal-title-wrap {
    padding-right: 56px;
  }

  .contact-info-head h3,
  .contact-form-head h3,
  .contact-bottom-cta h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  .modern-modal .modal-header {
    padding: 20px 16px 10px;
  }

  .modern-modal .modal-body {
    padding: 14px 16px 22px;
  }

  .modal-title-wrap {
    gap: 10px;
    padding-right: 52px;
  }

  .custom-close {
    top: 14px;
    right: 14px;
  }

  .close-icon-frame {
    width: 38px;
    height: 38px;
  }

  .lang-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #languageSelector {
    padding: 16px;
  }

  .lang-btn {
    min-height: 54px;
    height: auto;
    justify-content: flex-start;
    text-align: left;
    padding: 12px 14px;
  }

  .hero-actions .btn,
  .hero-actions a,
  .contact-submit-btn,
  .contact-cta-btn,
  .contact-map-actions .btn,
  .contact-map-actions .contact-mail-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-info-panel,
  .contact-form-panel,
  .contact-map-panel,
  .contact-bottom-cta,
  .contact-cta {
    padding: 20px 16px;
  }

  .gallery-item span {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 14px;
    line-height: 1.35;
  }

  .footer-bottom-links {
    justify-content: flex-start;
    gap: 12px 18px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    max-width: calc(100% - 64px);
  }

  .brand-text {
    font-size: 15px;
    line-height: 1.1;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .contact-info-head h3,
  .contact-form-head h3,
  .contact-bottom-cta h3 {
    font-size: 1.35rem;
  }

  .footer-logo-text {
    font-size: 1.05rem;
  }

  .footer-logo-sub {
    font-size: 0.82rem;
  }
}
/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #010f36;
  border: 2px solid #010f36;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(1, 15, 54, 0.22);
  transition: all 0.3s ease;
}

.back-to-top i {
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  transition: color 0.3s ease;
}

.back-to-top:hover {
  background: #f99200;
  border-color: #f99200;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(249, 146, 0, 0.3);
}

.back-to-top:hover i {
  color: #ffffff;
}

.back-to-top:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(249, 146, 0, 0.22);
}

/* Tablet */
@media (max-width: 991.98px) {
  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .back-to-top i {
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .back-to-top i {
    font-size: 16px;
  }
}
/* =========================
   Fancybox komplett
   ========================= */

/* =========================
   Fancybox komplett final
   ========================= */

/* Toolbar unter feste Navbar schieben */
.fancybox__toolbar {
  top: 78px !important;
}

/* Overlay */
.fancybox__backdrop {
  background: rgba(1, 15, 54, 0.88);
}

/* Inhalt sauber zentrieren */
.fancybox__content {
  display: grid;
  place-items: center;
}

/* Bilder sauber einpassen */
.fancybox__image {
  width: auto !important;
  height: auto !important;
  max-width: min(92vw, 1000px) !important;
  max-height: calc(100vh - 170px) !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

/* Allgemeine Fancybox-Buttons */
.fancybox__toolbar .f-button,
.fancybox__nav .f-button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #010f36 !important;
  color: #ffffff !important;
  transition: all 0.25s ease;
}

/* Hover */
.fancybox__toolbar .f-button:hover,
.fancybox__nav .f-button:hover {
  background: #f99200 !important;
  color: #ffffff !important;
}

/* Icons */
.fancybox__toolbar .f-button svg,
.fancybox__nav .f-button svg {
  stroke: currentColor !important;
}

/* Close-Button gezielt */
.fancybox__toolbar .is-close-btn {
  background: #010f36 !important;
  color: #ffffff !important;
  border-radius: 12px;
}

.fancybox__toolbar .is-close-btn:hover {
  background: #f99200 !important;
  color: #ffffff !important;
}

.fancybox__toolbar .is-close-btn svg {
  stroke: currentColor !important;
}

/* Counter */
.fancybox__counter {
  color: #ffffff;
  font-weight: 700;
}

/* Thumbnails */
.f-thumbs__slide__button {
  border-radius: 10px;
  overflow: hidden;
}

.f-thumbs__slide.is-current .f-thumbs__slide__button {
  box-shadow: 0 0 0 2px #f99200;
}

/* Tablet */
@media (max-width: 991.98px) {
  .fancybox__toolbar {
    top: 72px !important;
  }

  .fancybox__image {
    max-width: 94vw !important;
    max-height: calc(100vh - 155px) !important;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .fancybox__toolbar {
    top: 64px !important;
  }

  .fancybox__toolbar .f-button,
  .fancybox__nav .f-button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .fancybox__image {
    max-width: 96vw !important;
    max-height: calc(100vh - 135px) !important;
  }
}

/* =========================================================
   FINAL MOBILE / MODAL FIXES
   - Close button stays visible while scrolling inside modal
   - Fixed navbar no longer covers modal header on mobile
   - Navbar brand wraps cleaner on small screens
   ========================================================= */

.modern-modal .modal-dialog,
#exampleModalLong_stellenanzeige .modal-dialog {
  margin-top: 96px !important;
  margin-bottom: 16px !important;
}

.modern-modal .modal-content,
#exampleModalLong_stellenanzeige .modal-content {
  max-height: calc(100vh - 112px) !important;
  overflow: hidden !important;
}

.modern-modal .modal-header,
#exampleModalLong_stellenanzeige .modal-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1055 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9fd 100%) !important;
  padding-right: 78px !important;
}

.modern-modal .modal-body,
#exampleModalLong_stellenanzeige .modal-body {
  max-height: calc(100vh - 220px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

.custom-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 1060 !important;
  opacity: 1 !important;
}

.close-icon-frame {
  width: 46px !important;
  height: 46px !important;
}

@media (max-width: 991.98px) {
  .navbar-brand {
    max-width: calc(100% - 60px);
    align-items: center;
  }

  .brand-text {
    white-space: normal !important;
    font-size: 14px;
    line-height: 1.1;
  }

  .navbar-collapse {
    margin-top: 12px !important;
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .modern-modal .modal-dialog,
  #exampleModalLong_stellenanzeige .modal-dialog {
    margin-top: 88px !important;
    max-width: calc(100% - 16px) !important;
  }

  .modern-modal .modal-content,
  #exampleModalLong_stellenanzeige .modal-content {
    max-height: calc(100vh - 100px) !important;
    border-radius: 20px !important;
  }

  .modern-modal .modal-header,
  #exampleModalLong_stellenanzeige .modal-header {
    padding: 18px 68px 10px 18px !important;
  }

  .modern-modal .modal-body,
  #exampleModalLong_stellenanzeige .modal-body {
    padding: 12px 18px 20px !important;
    max-height: calc(100vh - 170px) !important;
  }

  .modern-modal-title,
  .job-modal-title {
    font-size: 2rem !important;
    line-height: 1.1;
  }

  .modern-modal-title span,
  .job-modal-title span {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    max-width: calc(100% - 52px);
  }

  .brand-text {
    font-size: 13px !important;
  }

  .navbar-logo {
    height: 24px !important;
  }

  .modern-modal .modal-dialog,
  #exampleModalLong_stellenanzeige .modal-dialog {
    margin-top: 78px !important;
    margin-bottom: 10px !important;
    max-width: calc(100% - 10px) !important;
  }

  .modern-modal .modal-content,
  #exampleModalLong_stellenanzeige .modal-content {
    max-height: calc(100vh - 88px) !important;
    border-radius: 18px !important;
  }

  .modern-modal .modal-header,
  #exampleModalLong_stellenanzeige .modal-header {
    padding: 16px 62px 8px 16px !important;
  }

  .modern-modal .modal-body,
  #exampleModalLong_stellenanzeige .modal-body {
    padding: 10px 16px 18px !important;
    max-height: calc(100vh - 150px) !important;
  }

  .custom-close {
    top: 12px !important;
    right: 12px !important;
  }

  .close-icon-frame {
    width: 40px !important;
    height: 40px !important;
  }

  .modern-modal-title,
  .job-modal-title {
    font-size: 1.65rem !important;
  }

  .modern-modal-title span,
  .job-modal-title span {
    font-size: 0.9rem !important;
  }
}

/* ======================================================================
   NAVIGATION OFFSET FINAL FIX
   ====================================================================== */
:root {
  --nav-offset: 96px;
}

@media (max-width: 991.98px) {
  :root {
    --nav-offset: 84px;
  }
}

html {
  scroll-padding-top: var(--nav-offset);
}

section,
.section-shell,
#home,
#about,
#service,
#urkunden,
#project,
#winterdienst,
#jobs,
#partner,
#contact {
  scroll-margin-top: var(--nav-offset) !important;
}
@media (min-width: 992px) {
  html {
    scroll-padding-top: 78px !important;
  }

  #urkunden,
  section#urkunden.section-shell {
    scroll-margin-top: 12px !important;
  }

  .certificate-section,
  section#urkunden.section-shell.certificate-section {
    padding-top: 12px !important;
  }
}
.gallery-item.service-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.gallery-item.service-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
