/* =========================================================
   GLOBAL VARIABLES
========================================================= */
@font-face {
  font-family: "Amazon Ember", sans-serif;
  src: url("/assets/fonts/amazon-ember/Amazon_Ember_V2.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* =========================================================
   GLOBAL VARIABLES
========================================================= */
:root {
  --color-navigation-bar: #000000;
  --color-footer-bar: #000000;
  --color-navigation-links: rgb(196, 95, 0);
  --color-navigation-links-hover: rgb(209, 106, 10);
  --color-primary: #bb5415;
  --color-secondary: #d15f18;
  --color-promo-card: black;
  --color-normal-card: black;
  --color-bg: #fff;
  --color-surface: #fff;
  --color-text: #222;
  --color-muted: #777;

  --font-main: "Amazon Ember", sans-serif;
  --font-color-primary: #222;
  --font-size-small: 0.9rem;
  --font-size-base: 18px;
  --font-size-md: 1.2rem;
  --font-size-lg: 2.5rem;
  --font-size-xxlg: 4rem;

  --container-width: 1400px;
  --section-padding: 5rem 2rem;
  --nav-height: 78px;

  --transition-fast: 0.25s ease;
  --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);

  --z-mobile-menu: 1001;
  --z-header: 1000;
  --z-footer: 900;
}

/* =========================================================
   RESET
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  background: var(--color-bg);
  color: var(--font-color-primary);
}

/* =========================================================
   LAYOUT
========================================================= */
.app {
  display: flex;
  flex-direction: column; /* stack header + main + footer */
  width: 100%;
}

.app-main {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.container {
  max-width: var(--container-width);
  margin: 0 20px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

hr {
  border: none;
  height: 2px;
  width: 90dvw;
  margin: 2rem auto;
  background: linear-gradient(to right, transparent, #454444, transparent);
}

/* =========================================================
   NAVIGATION
========================================================= */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  z-index: var(--z-header);
  background: var(--color-navigation-bar);
  backdrop-filter: blur(10px);
  box-shadow: #1f1303 0px 3px 20px 9px;
  transition:
    transform var(--transition-smooth),
    opacity var(--transition-smooth);
}

.app-header-distancer {
  position: relative;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  z-index: 0;
  background: var(--color-navigation-bar);
  backdrop-filter: blur(10px);
  transition:
    transform var(--transition-smooth),
    opacity var(--transition-smooth);
}

.app-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.nav {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgb(206, 101, 3);
  margin-left: 20px;
}

.nav__logo img {
  height: 90px;
  display: block;
}

.nav__logo h1 {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 0.5vw, 2rem);
  height: 100%;
}

.nav__links a,
.nav__dropdown-btn {
  text-decoration: none;
  color: var(--color-navigation-links);
  font-weight: 500;
  font-size: 1rem;
  background: none;
  min-width: 110px;
  text-align: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  height: 50%;
  transition: color var(--transition-fast);
}

.tel-btn-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.2rem;
  padding: 10px;
  background-color: rgb(0, 0, 0);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px #f7a253;
}
.tel-btn-nav a {
  justify-content: flex-start;
  align-items: end;
  padding: 0px;
  margin: 0px;
  border: none;
  min-width: 40px;
}
.tel-btn-nav a:hover {
  border: none !important;
}
.tel-btn-nav:hover {
  color: var(--color-secondary);
  box-shadow: inset 0 0 0 1px #f07502; /* inner border */
}

.nav__links a:hover,
.nav__dropdown-btn:hover {
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}

.nav__dropdown {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: start;
  align-items: start;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-navigation-bar);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 0;
  min-width: 200px;
  display: flex;
  flex-direction: column;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
  border-radius: 6px;
}

.nav__dropdown-menu a {
  padding: 0.7rem 1.5rem;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
}

.nav__dropdown-menu a:hover {
  color: #1e1e1e;
  background: var(--color-navigation-links-hover);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hide mobile menu by default */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.nav__hamburger span {
  display: block;
  height: 3px;
  width: 25px;
  background: white;
  border-radius: 2px;
}

.mobile-nav-section {
  position: absolute;
  top: 25px;
  right: 0px;
  z-index: var(--z-mobile-menu);
}

.nav__mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-height);
  right: 0;
  width: 100dvw;
  background: var(--color-navigation-bar);
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
  z-index: var(--z-mobile-menu);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 8px 8px;
}

/* Mobile dropdown */
.nav__mobile-dropdown .nav__dropdown-menu {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 0.5rem 0;
}

.nav__mobile-dropdown.active .nav__dropdown-menu {
  display: flex;
}

.nav__mobile-dropdown.active .nav__dropdown-menu {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding-left: 0.5rem;
}

/* =========================================================
   SECTIONS
========================================================= */
.app-section {
  position: relative;
  padding: var(--section-padding) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  scroll-margin-top: var(--nav-height);
  transition:
    opacity var(--transition-smooth),
    transform var(--transition-smooth);
}

.section-calculator {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  max-width: var(--container-width);
  width: 100%;
  align-self: center;
  margin: 0 auto;
}

.section-hero,
.section-services,
.section-pricing,
.section-contact {
  background: var(--color-surface);
}

.section-hero {
  padding-top: 10px !important;
  z-index: 1;
  padding-bottom: 20px;
}
.section-services {
  z-index: 2;
}
.section-pricing {
  z-index: 3;
}
.section-contact {
  z-index: 4;
}

.section-center {
  margin-bottom: 1rem;
}

#team {
  display: flex;
  justify-content: center;
  align-items: center;
}

#section-contact {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  width: 50%;
  gap: 1rem;
  margin-bottom: 1rem;
}

#section-contact h2 {
  margin-bottom: 5px;
}

.app-section.section-contact {
  padding: 2rem 1rem;
}

.app-section.section-services {
  padding-top: 10px !important;
  display: flex;
  flex-direction: column;
}

.container.hero-grid {
  padding: 20px;
  border: 1px solid var(--color-primary);
  border-radius: 24px;
}

.contact-option {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.contact-option img {
  width: 30px;
  height: 30px;
}

/* =========================================================
   HERO
========================================================= */
.hero-section-main {
  background-image: url("/assets/images/hero-bg.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 80dvh;
}

.hero-section-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 14, 13, 0.98);
  z-index: 1;
}

.hero-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  color: rgb(235, 235, 235);
  z-index: 2;
  width: 80dvw;
  max-width: 850px;
  height: 80dvh;

  margin: 0 auto;
}

.hero-new-content {
  background: rgba(13, 14, 13, 0.678);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-new-content h1 {
  font-size: var(--font-size-xxlg);
  line-height: 1.2;
}

.eyecatcher {
  color: var(--color-secondary);
}

.hero-main-cta {
  gap: 2rem;
  display: flex;
  justify-content: start;
  height: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-carousel {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  position: relative;
}

.hero-main {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.hero-img {
  border-radius: 10px;
}

.section-hero {
  grid-template-columns: 1fr;
}

.section-hero .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.hero-checkboard {
  max-width: var(--container-width);
  width: 100%;
  display: flex;
  justify-content: space-around;
  gap: 0.5rem;
  margin: 1rem auto 0 auto;
}

.check-item {
  display: flex;
  align-items: center;
}

.check-item span img {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
}

.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease-in-out;
}

.hero-thumbnails {
  padding: 15px;
  border-radius: 16px;
  background: rgb(221, 221, 221);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1rem;
}

.thumbnails-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 0.5rem;
  max-width: calc(4 * 80px + 3 * 8px);
}

.thumbnails-wrapper img {
  border-radius: 10px;
}

.thumbnails-wrapper::-webkit-scrollbar {
  display: none;
}

.thumbnail {
  width: 80px;
  height: 50px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition:
    opacity 0.3s,
    border 0.3s;
  flex-shrink: 0;
}

.thumbnail.active {
  opacity: 1;
  border-color: var(--color-secondary);
}

.hero-thumbnails .carousel-btn-prev,
.hero-thumbnails .carousel-btn-next {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 10px;
  flex-shrink: 0;
  transition: background 0.3s;
}

.hero-thumbnails .carousel-btn-prev:hover,
.hero-thumbnails .carousel-btn-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* =========================================================
   SECTION CONTENT
========================================================= */

.section-hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.96);
  z-index: -1;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-media {
  display: flex;
  flex-direction: column;
}

.section-center {
  grid-column: 1 / -1;
  text-align: center;
}

.heading-lg {
  font-size: var(--font-size-lg);
  margin-bottom: 1.5rem;
}

.heading-lg-sub {
  font-size: var(--font-size-lg);
}

.text-base {
  font-size: var(--font-size-md);
  color: #2d2d2d;
  line-height: 1.6;
  text-align: start;
}

.centered-text {
  text-align: center;
}

/* =========================================================
   COMPONENTS
========================================================= */
.benefits-list {
  margin-top: 2rem;
  list-style: none;
}

.benefits-list li {
  margin-bottom: 0.8rem;
}

.media-image {
  width: 100%;
}

.pricing-card {
  padding: 3rem;
  margin-bottom: 1rem;
}

/* =========================================================
   FORMS
========================================================= */
.alert.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alert.alert-success {
  background-color: #d4edda;
  color: #155724;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.hero-form {
  display: flex;
  max-width: 100vw;
  flex-direction: column;
  gap: 1rem;
  background-color: #fff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.hero-form label {
  font-size: 0.8rem;
  color: var(--font-color-primary);
}

.hero-form .form-input {
  padding: 0.55rem;
  font-size: 0.8rem;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 5px;
  background-color: #f5f5f5;
}

.form-group select {
  padding: 0.25rem;
  margin-bottom: 0.65rem;
}

.form-group.dsgvo {
  margin-top: 25px;
  margin-bottom: 15px;
}

.form-input:focus {
  outline: 2px solid var(--color-secondary);
}

.btn {
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-secondary);
}

.btn-primary.btn-full {
  width: 100%;
  border-radius: 10px;
}

.btn-info-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.button-undertext {
  padding-top: 0px;
  font-size: 0.9rem;
  color: var(--color-muted);
  text-align: center;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* =========================================================
   FOOTER
========================================================= */
.app-footer {
  position: relative;
  bottom: 0;
  width: 100%;
  background: var(--color-footer-bar);
  color: white;
  padding: 10px !important;
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
  z-index: var(--z-footer);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.footer-grid h3 {
  font-size: var(--font-size-small);
  margin-bottom: 0.5rem;
}

.footer-section.company-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links li {
  padding-top: 5px;
}

.footer-links a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: white;
  text-decoration: none;
  font-size: var(--font-size-small);
  margin-left: 15px;
  margin-right: 15px;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.app-footer.visible {
  transform: translateY(0);
}

.footer-credits {
  font-size: 0.7rem;
  color: #ccc;
  margin-top: 5px;
}

/* =========================================================
   TEAM SECTION
========================================================= */

.section-team {
  background: var(--color-surface);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
  transition: transform var(--transition-fast);
}

.team-member img:hover {
  transform: scale(1.05);
}

.team-member h4 {
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: var(--color-primary);
}

.team-member span {
  font-size: var(--font-size-small);
  color: var(--color-muted);
}

/* =========================================================
   MISSION SECTION
========================================================= */

.app-section.section-mission {
  display: flex;
  margin: 0px auto;
  padding-top: 0px;
}

.mission-text {
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
}

/* =========================================================
   REVIEWS SECTION – CLEAN VERSION
========================================================= */

.section-reviews {
  width: 100%;
  padding: 1rem 1rem;
  box-sizing: border-box;
  background: var(--color-surface);
}

.review-carousel {
  width: 90dvw;
  max-width: var(--container-width);
  margin: 0 auto;
  overflow: hidden; /* wichtig */
  position: relative;
}

.review-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 100%; /* Jede Karte exakt 100% */
  max-width: 100%;
  background: rgb(236, 236, 236);
  padding: 3rem;
  box-sizing: border-box;
  border-radius: 8px;
  text-align: center;
}

.review-card p {
  margin: 1rem 0;
  font-style: italic;
}

.review-card span {
  font-size: var(--font-size-small);
  color: var(--color-muted);
}

.stars {
  font-size: 1.5rem;
  color: var(--color-secondary);
}

/* Controls */

.review-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.review-controls button {
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.review-controls button:hover {
  background: var(--color-secondary);
}

/* =========================================================
   JOB SECTION
========================================================= */

.app-section.section-jobs {
  margin-top: var(--nav-height);
}

.section-jobs {
  display: flex;
  justify-content: center;
  background: var(--color-surface);
}

.section-jobs .container {
  display: block;
  max-width: 1000px;
  margin: 0 auto;
}

.job-posting {
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  border-radius: 12px;
  padding: 3rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  transition: transform var(--transition-fast);
}

.job-posting:hover {
  transform: translateY(-4px);
}

/* =========================================================
   HEADER
========================================================= */

.job-posting header {
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 1.5rem;
}

.job-posting h1 {
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.job-meta {
  font-size: var(--font-size-small);
  color: var(--color-muted);
  line-height: 1.6;
}

/* =========================================================
   JOB CONTENT BLOCKS
========================================================= */

.job-posting article {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.job-posting h2 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  position: relative;
}

.job-posting h2::after {
  content: "";
  width: 40px;
  height: 3px;
  background: var(--color-secondary);
  display: block;
  margin-top: 6px;
  border-radius: 2px;
}

.job-posting p {
  line-height: 1.7;
  font-size: 0.9rem;
  color: var(--color-text);
}

.job-posting ul {
  padding-left: 1.5rem;
}

.job-posting li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* =========================================================
   SALARY HIGHLIGHT
========================================================= */

.job-salary {
  background: rgba(193, 154, 107, 0.08);
  padding: 1.2rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-secondary);
}

/* =========================================================
   APPLICATION SECTION
========================================================= */

.application-info {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
}

.application-info a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.application-info a:hover {
  color: var(--color-secondary);
}

/* =========================================================
   CTA BUTTON
========================================================= */

.job-cta {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.job-cta .apply-button {
  background: var(--color-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.job-cta .apply-button:hover {
  background: var(--color-secondary);
}

/* =========================================================
   COOKIE SYSTEM
========================================================= */

.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: black;
  color: white;
  padding: 10px;
  z-index: 9999;
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.cookie-text h3 {
  margin-bottom: 10px;
}

.cookie-text p {
  font-size: 0.8rem;
  opacity: 0.9;
}

.cookie-text a {
  color: white;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20%;
  right: 1%;
  z-index: 1000;

  display: none; /* hidden by default */
  background-color: #000000d6;
  color: #fff;
  border: none;
  outline: none;

  padding: 12px 18px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition:
    opacity 0.3s,
    transform 0.2s;
}

#scrollTopBtn:hover {
  background-color: var(--color-secondary);
  transform: scale(1.05);
}

.cookie-banner button {
  padding: 0.8rem 1.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition-fast);
}

.btn-light {
  background: white;
  color: var(--color-primary);
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
}

/* ===================== MODAL ===================== */

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: white;
  width: 500px;
  max-width: 95%;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.cookie-option {
  margin-bottom: 1.5rem;
}

.cookie-option p {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.3rem;
}

.cookie-modal-actions {
  text-align: right;
}

.mobile-footer {
  display: none;
}

/* Responsive adjustments for mobile scaling */
/* =========================================================
   MOBILE RESPONSIVE STYLES
========================================================= */
@media (max-width: 1350px) {
  .container {
    grid-template-columns: repeat(4, 1fr);
  }

  .container.section-grid.section-services {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav__links {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .container.section-grid.section-services {
    grid-template-columns: repeat(1, 1fr);
  }

  /* GENERAL SECTION ADJUSTMENTS */
  .app-section {
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .text-base,
  .benefits-list {
    font-size: clamp(0.9rem, 2vw, var(--font-size-md));
  }

  .app-section.section-pricing {
    padding: 1rem 1rem;
  }

  .app-header-distancer {
    display: block;
  }

  .section-content,
  .section-media {
    width: 100%;
  }

  .container {
    grid-template-columns: 1fr; /* single column */
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .section-content.section-center {
    max-width: 100%;
  }

  .check-item span img {
    width: 30px;
    height: 30px;
  }

  /* NAVIGATION BAR */
  .nav {
    max-width: 100%;
    justify-content: space-between;
    padding: 0;
  }

  .nav__links {
    display: none; /* hide desktop links */
  }

  .nav__hamburger {
    display: flex;
    margin-right: 1rem;
  }

  .nav__mobile-menu {
    display: none; /* default hidden */
    flex-direction: column;
  }

  .nav__mobile-menu.show {
    display: flex; /* show on toggle */
    position: relative;
  }

  .nav__mobile-menu.show a {
    font-size: 1rem;
    padding: 1rem;
    color: var(--color-navigation-links);
    text-decoration: none;
    transition: background var(--transition-fast);
  }

  /* Remove desktop nav link min-width to avoid overflow */
  .nav__links a,
  .nav__dropdown-btn {
    min-width: 0;
  }

  .nav__logo img {
    height: 70px;
  }

  .nav__logo h1 {
    font-size: 1.5rem;
  }

  /* HERO CAROUSEL */
  .hero-carousel {
    display: flex;
  }

  .hero-checkboard {
    gap: 0.5rem;
    align-items: center;
  }

  /* REVIEW CAROUSEL */

  .review-card p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .app-section.section-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    align-items: center;
    gap: 1rem;
  }

  .review-carousel {
    overflow-x: hidden;
  }

  .review-track {
    display: flex;
    width: 100%;
  }

  .review-card {
    flex: 0 0 90%;
    margin-right: 1rem;
    box-sizing: border-box;
    padding: 2rem;
  }

  .review-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .review-controls {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
  }

  /* FOOTER */
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 1rem;
  }

  .footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* OTHER */
  .app-header {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    box-shadow: none;
  }

  .hero-form {
    margin-top: 20px;
    width: 100%;
    background-color: #2d2d2d;
  }

  .hero-form label,
  .hero-form a {
    color: rgb(255, 255, 255);
  }

  .hero-form a {
    color: rgb(202, 194, 158);
  }

  .section-hero .hero-grid {
    display: grid;
    min-width: 90dvw;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .app-section.section-contact {
    padding: 2rem 1rem;
  }

  #section-contact {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    width: 100%;
    gap: 5px;
    margin-bottom: 20px;
  }

  #section-contact p {
    font-size: 0.8rem;
    font-weight: 600;
  }

  #section-contact h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
  }

  .section-jobs ~ .app-header-distancer {
    display: block;
  }

  .section-jobs {
    padding: 2rem 0;
  }

  .job-posting {
    padding: 1.8rem 1.2rem;
    gap: 1.2rem;
    border-radius: 10px;
  }

  .job-posting h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .job-posting h2 {
    font-size: 1.1rem;
  }

  .job-meta {
    font-size: 1rem;
  }

  .job-cta {
    margin-top: 0.5rem;
  }

  .job-cta .apply-button {
    width: 100%;
    padding: 0.9rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* EXTRA SMALL SCREENS */
@media (max-width: 480px) {
  .app-main {
    width: 100dvw;
  }
  .heading-lg {
    font-size: 1.8rem;
  }
  .hero-new-content {
    padding: 0px;
  }
  .hero-main-cta {
    gap: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 100%;
  }
  .hero-section-main {
    position: relative;
    height: 100dvh;
    width: 100%;
  }

  .hero-new-content h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-text {
    font-size: 0.75rem;
  }

  .review-card {
    flex: 0 0 95%;
    padding: 1.5rem;
  }

  .hero-checkboard {
    margin: 0;
    padding: 0;
    flex-direction: row;
    align-items: start;
  }

  .hero-checkboard p {
    font-size: 0.8rem;
  }

  .hero-thumbnails {
    display: none;
    flex-wrap: wrap;
    overflow-x: auto;
  }

  .job-posting {
    padding: 1.5rem 1rem;
  }

  .job-posting h1 {
    font-size: 1.6rem;
  }
}

/* Mobile Footer */
@media (max-width: 768px) {
  .desktop-footer {
    display: none;
  }
  .mobile-footer {
    display: block;
  }

  .app-footer {
    position: relative;
    transform: translateY(0);
    padding: 2rem 1rem;
    width: 100%;
    background: var(--color-footer-bar);
    color: white;
  }

  .footer-mobile-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-mobile-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .footer-mobile-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-mobile-section li {
    margin-bottom: 0.5rem;
  }

  .footer-mobile-section a {
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
  }

  .footer-mobile-section a:hover {
    color: var(--color-secondary);
  }
  .footer-section.company-info {
    width: 100%;
    background-color: #181818;
    padding: 3px;
    border-radius: 4px;
  }

  .company-info p {
    font-size: 0.9rem;
    margin: 0;
  }
  .footer-credits {
    font-size: 0.7rem !important;
  }
  .btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
  }
  .cookie-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: start;
  }
  .coockie-buttons {
    width: 100dvw;
    justify-content: flex-start;
  }
  .cookie-banner button {
    font-size: 0.9rem !important;
    width: 100% !important;
  }
}
