/* #### Generated By: http://font.download #### */

/* Poppins is self-hosted locally and treated as necessary (always active). */

/* System fallback stack used only if local font files are unavailable. */
:root {
  --font-sans:
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("../fonts/poppins-latin-200-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/poppins-latin-900-normal.woff2") format("woff2");
}

/* Cookie banner styles (responsive, customizable) */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 5px;
  z-index: 9999;
  display: none;
  justify-content: center;
}
.cookie-consent[aria-hidden="false"] {
  display: flex;
}
.cookie-consent-inner {
  background: #fff;
  color: #0c0c0c;
  width: 100%;
  padding: 28px 50px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(10, 10, 20, 0.12);
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-text {
  flex: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-family: var(--font-primary);
}
.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cookie-actions .cookies-btn {
  min-width: 100px;
}
.cookies-btn {
  cursor: pointer;
  font-weight: 700;
  transition: all 0.5s;
  padding: 10px 50px;
  position: relative;
  border-radius: 100px;
  background: #a9b1ca;
  color: var(--color-primary);
  border: 0px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: fit-content;
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7fb;
  color: #555;
  height: 100%;
  width: 100%;
  text-align: center;
  padding: 20px;
}
.map-placeholder .map-cta {
  margin-top: 10px;
}
@media (max-width: 720px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-actions {
    justify-content: center;
  }
  .cookies-btn {
    font-size: 14px;
  }
}

@font-face {
  font-family: "Visby Regular";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Regular"),
    url("../fonts/VisbyRegular.woff") format("woff");
}

@font-face {
  font-family: "Visby Bold Italic";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Bold Italic"),
    url("../fonts/VisbyBold Italic.woff") format("woff");
}

@font-face {
  font-family: "Visby Bold";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Bold"),
    url("../fonts/VisbyBold.woff") format("woff");
}

@font-face {
  font-family: "Visby Extrabold Italic";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Extrabold Italic"),
    url("../fonts/VisbyExtrabold Italic.woff") format("woff");
}

@font-face {
  font-family: "Visby Extrabold";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Extrabold"),
    url("../fonts/VisbyExtrabold.woff") format("woff");
}

@font-face {
  font-family: "Visby Heavy Italic";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Heavy Italic"),
    url("../fonts/VisbyHeavy Italic.woff") format("woff");
}

@font-face {
  font-family: "Visby Heavy";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Heavy"),
    url("../fonts/VisbyHeavy.woff") format("woff");
}

@font-face {
  font-family: "Visby Italic";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Italic"),
    url("../fonts/VisbyItalic.woff") format("woff");
}

@font-face {
  font-family: "Visby Light Italic";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Light Italic"),
    url("../fonts/VisbyLight Italic.woff") format("woff");
}

@font-face {
  font-family: "Visby Light";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Light"),
    url("../fonts/VisbyLight.woff") format("woff");
}

@font-face {
  font-family: "Visby Medium Italic";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Medium Italic"),
    url("../fonts/VisbyMedium Italic.woff") format("woff");
}

@font-face {
  font-family: "Visby Medium";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Medium"),
    url("../fonts/VisbyMedium.woff") format("woff");
}

@font-face {
  font-family: "Visby Semibold Italic";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Semibold Italic"),
    url("../fonts/VisbySemibold Italic.woff") format("woff");
}

@font-face {
  font-family: "Visby Semibold";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Semibold"),
    url("../fonts/VisbySemibold.woff") format("woff");
}

@font-face {
  font-family: "Visby Thin Italic";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Thin Italic"),
    url("../fonts/VisbyThin Italic.woff") format("woff");
}

@font-face {
  font-family: "Visby Thin";
  font-style: normal;
  font-weight: normal;
  src:
    local("Visby Thin"),
    url("../fonts/VisbyThin.woff") format("woff");
}

/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-white);
  color: var(--color-primary);
  line-height: 1.6;
}

/* CSS Variables */
:root {
  --color-primary: #31374f;
  --color-white: #ffffff;
  --color-secondary: #a9b1ca;
  --color-accent: #4ecdc4;
  --color-text: #555555;

  --font-primary: "Poppins", var(--font-sans);
  --font-numbers: "Visby", sans-serif; /* Placeholder */
}

/* General Styles */
.container {
  width: 90%;
  max-width: 1340px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

.page-title {
  padding: 120px 0 40px;
  background-color: #f4f5f7;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-primary);
  font-weight: 700;
}

h1 {
  font-size: clamp(60px, 5vw, 4rem);
  line-height: 1.2;
}
h1 span {
  background: -webkit-linear-gradient(
    45deg,
    var(--color-secondary),
    var(--color-white),
    var(--color-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
  color: var(--color-white);
}
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--color-primary);
}

/* Buttons for dark background */
.btn {
  cursor: pointer;
  font-weight: 700;
  transition: all 0.5s;
  padding: 10px 50px 10px 60px;
  position: relative;
  border-radius: 100px;
  background: linear-gradient(
    45deg,
    var(--color-accent),
    var(--color-white),
    var(--color-white)
  );
  color: var(--color-primary);
  border: 0px solid transparent;
  display: flex;
  align-items: center;
  font-size: 20px;
  width: fit-content;
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.btn::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.5s ease;
  width: 20px;
  height: 20px;
  background-image: url("../img/btnarrowdark.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.btn::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition:
    transform 0.5s ease,
    opacity 0.3s ease;
  width: 20px;
  height: 20px;
  background-image: url("../img/btnarrowaccent.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.btn:hover {
  background: linear-gradient(10deg, var(--color-white), var(--color-white));
  transform: translateY(3px);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.04);
}

.btn:hover::before {
  transform: translateY(-50%) translateX(10px);
}

.btn:hover::after {
  transform: translateY(-50%) translateX(10px);
  opacity: 1;
}

/* Click / press shrink effect */
.btn:active,
.btn.shrink {
  transform: translateY(3px) scale(0.97);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.03);
  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

/* Buttons for white background */
.btn-dark {
  cursor: pointer;
  font-weight: 700;
  transition: all 0.5s;
  padding: 10px 50px 10px 60px;
  position: relative;
  border-radius: 100px;
  background: linear-gradient(
    45deg,
    var(--color-secondary),
    var(--color-white),
    var(--color-secondary)
  );
  color: var(--color-primary);
  border: 0px solid transparent;
  display: flex;
  align-items: center;
  font-size: 20px;
  width: fit-content;
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.btn-dark::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.5s ease;
  width: 20px;
  height: 20px;
  background-image: url("../img/btnarrowdark.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.btn-dark::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition:
    transform 0.5s ease,
    opacity 0.3s ease;
  width: 20px;
  height: 20px;
  background-image: url("../img/btnarrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.btn-dark:hover {
  color: var(--color-secondary);
  transform: translateY(3px);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.04);
}

.btn-dark:hover::before {
  transform: translateY(-50%) translateX(10px);
}

.btn-dark:hover::after {
  transform: translateY(-50%) translateX(10px);
  opacity: 1;
}

/* Click / press shrink effect */
.btn-dark:active,
.btn-dark.shrink {
  transform: translateY(3px) scale(0.97);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.03);
  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}
/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  transition:
    box-shadow 0.3s,
    padding 0.3s;
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding-left: 30px;
  padding-right: 30px;
  transition: height 0.3s;
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.19);
}

#header.sticky {
}

#header.sticky .container {
  height: 60px;
  /* From https://css.glass */
  background: rgba(49, 55, 79, 0.43);
  border-radius: 50px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.5px);
  -webkit-backdrop-filter: blur(7.5px);
  border: 1px solid rgba(49, 55, 79, 0.19);
}

.logo {
  display: flex;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.logo-img {
  height: 40px;
  width: auto;
  margin-right: 40px;
}

.logo span {
  color: var(--color-white);
  font-weight: 200;
}

/* Header phone number styling */
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-phone .phone-number {
  display: inline-block;
  font-size: clamp(16px, 2vw, 20px);
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--color-white);
}
.header-phone a {
  font-size: 12px;
  color: var(--color-white);
  margin: 0;
}

.nav-main ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-main li {
  position: relative;
}

.nav-main .has-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-main .has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}

.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px;
  margin: 0;
  border-radius: 14px;
  background: rgba(49, 55, 79, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 1001;
}

.nav-dropdown li {
  width: 100%;
}

.nav-dropdown a {
  width: 100%;
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.has-dropdown:hover .nav-dropdown-toggle,
.has-dropdown:focus-within .nav-dropdown-toggle,
.has-dropdown.open .nav-dropdown-toggle {
  transform: rotate(180deg);
}

.service-page {
  background-color: #f4f5f7;
}

.service-page-container {
  max-width: 980px;
}

.service-page-container h1,
.service-page-container h2,
.service-page-container h3 {
  color: var(--color-primary);
}

.service-page-container h2 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.service-page-container p {
  margin-bottom: 16px;
}

.service-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.service-price-item {
  background: #ffffff;
  border: 1px solid #e4e6eb;
  border-radius: 14px;
  padding: 18px;
}

.service-price-item h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.service-price-item .price {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
}

.service-process {
  margin: 10px 0 25px;
  padding-left: 20px;
}

.service-process li {
  margin-bottom: 10px;
}

.service-cta-box {
  margin-top: 25px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #eef2fb);
  border: 1px solid #dfe5f0;
}

.service-cta-box .btn-dark {
  margin-top: 10px;
}

.nav-main a {
  color: var(--color-white);
  font-weight: 500;
  display: inline-block;
  position: relative;
  transition: color 0.6s ease;
}

.nav-main a::first-letter {
  color: var(--color-accent);
  font-weight: 700;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--color-accent);
  transition: width 0.6s ease;
}

.nav-main a:hover,
.nav-main a:focus {
  color: var(--color-accent);
}

.nav-main a:hover::after,
.nav-main a:focus::after {
  width: 100%;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  transition: all 0.3s;
}

/* Footer */
#footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 60px 0 20px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  margin-bottom: 20px;
  color: var(--color-white);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--color-secondary);
}

.footer-column a:hover {
  color: var(--color-white);
}

.social-icons a {
  margin-right: 15px;
  color: var(--color-secondary);
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--color-secondary);
  padding-top: 20px;
  color: var(--color-secondary);
}

/* Section Hero */
.section-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: url("../img/Herobg.webp") no-repeat center center/cover;
  text-align: center;
  padding: 150px 20px;
  position: relative; /* enable overlay */
  overflow: hidden;
}

.section-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(49, 55, 79, 0.6); /* primary color with 90% opacity */
  z-index: 1;
  pointer-events: none;
}

.section-hero > * {
  position: relative;
  z-index: 2;
}
.section-hero span {
  display: block;
}
.section-hero p {
  color: var(--color-white);
}
.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.logo-container p {
  border: 1px solid var(--color-white);
  padding: 5px 20px;
  border-radius: 50px;
  color: var(--color-white);
}
.logo-img-hero {
  height: 40px;
  width: auto;
  margin-bottom: 10px;
}
.heroTag {
  position: absolute;
  bottom: -0.375rem;
  left: 0;
  width: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  padding: 5px 1rem 5px 1rem;
  border-top-right-radius: 1rem;

  &::before {
    position: absolute;
    content: "";
    top: -1.188rem;
    left: 0;
    background: transparent;
    width: 1.2rem;
    height: 1.2rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0.313rem 0.313rem 0px 0.2rem var(--color-white);
    transform: rotate(90deg);
  }
  &::after {
    position: absolute;
    content: "";
    bottom: 5px;
    right: -1.188rem;
    background: transparent;
    width: 1.2rem;
    height: 1.2rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0.313rem 0.313rem 0px 0.2rem var(--color-white);
    transform: rotate(90deg);
  }
}

/* Social icons (hero + footer) */
.socialIcons,
.social-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
}

.social-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Clickable behavior and hover lift */
.socialIcons .social-link,
.social-icons a {
  display: inline-block;
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
  cursor: pointer;
}

.socialIcons .social-link:hover,
.socialIcons .social-link:focus,
.social-icons a:hover,
.social-icons a:focus {
  transform: translateY(-5px);
}

.socialIcons .social-link:focus-visible,
.social-icons a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}
/* Section2 About card styles */
#about {
  padding-bottom: 50px;
}
#about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

#about .about-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#about .about-left h2 {
  width: fit-content;
  font-size: clamp(40px, 3vw, 2rem);
  background: -webkit-linear-gradient(
    70deg,
    var(--color-primary),
    var(--color-secondary),
    var(--color-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#about-p {
  border: 1px solid var(--color-secondary);
  padding: 1px 15px;
  border-radius: 50px;
  color: var(--color-secondary);
  width: fit-content;
}

#about .about-right {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image inside about-right */
#about .about-right .about-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* section1 Services overview cards */

.services-overview-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.services-overview-top #services-p {
  border: 1px solid var(--color-secondary);
  padding: 1px 15px;
  border-radius: 50px;
  color: var(--color-secondary);
  width: fit-content;
}
.services-overview-top h2 {
  width: fit-content;
  font-size: clamp(40px, 3vw, 2rem);
  background: -webkit-linear-gradient(
    70deg,
    var(--color-primary),
    var(--color-secondary),
    var(--color-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.services-overview-bottom {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 2rem;
}
.service-card {
  flex: 1 1 calc(33.333% - 1rem);
  min-width: 220px;
  height: 400px;
  border-radius: 12px;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.service-card-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.service-card-link:hover,
.service-card-link:focus,
.service-card-link:focus-visible {
  color: inherit;
}
.service-card h3 {
  font-size: clamp(30px, 2.5vw, 1.5rem);
  color: var(--color-secondary);
  font-family: var(--font-primary);
}
.card-overlay-middle {
  margin-top: 40px;
  padding: 20px 10px 20px 10px;
  background: rgba(255, 255, 255, 0.37);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.7px);
  -webkit-backdrop-filter: blur(7.7px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.card-overlay-middle-2 {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  gap: 10px;
}
.card-overlay-middle-2 p {
  padding: 3px 15px;
  border-radius: 50px;
  color: var(--color-primary);
  width: fit-content;
  background: rgba(255, 255, 255, 0.37);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.7px);
  -webkit-backdrop-filter: blur(7.7px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* individual backgrounds */
.card-kontakt {
  background-image: url("../img/kontakt.webp");
}
.card-termin {
  background-image: url("../img/termin.webp");
}
.card-reparatur {
  background-image: url("../img/reparatur.webp");
}
.card-stadt {
  background-image: url("../img/stadtEssen.webp");
}
.card-stadt-duesseldorf {
  background-image: url("../img/stadtDuesseldorf.webp");
}
.card-stadt-dortmund {
  background-image: url("../img/stadtDortmund.webp");
}
.card-stadt-bottrop {
  background-image: url("../img/stadtBottrop.webp");
}

.service-card .card-overlay-top {
  position: absolute;
  top: -1px;
  left: -1px;
  width: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  padding: 5px 1rem 5px 1rem;
  border-bottom-right-radius: 1rem;
  color: var(--color-primary);
  z-index: 5;

  &::before {
    position: absolute;
    content: "";
    top: -1px;
    right: -1.2rem;
    background: transparent;
    width: 1.2rem;
    height: 1.2rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0.313rem 0.313rem 0px 0.2rem var(--color-white);
    transform: rotate(180deg);
  }
  &::after {
    position: absolute;
    content: "";
    bottom: -1.2rem;
    left: -1px;
    background: transparent;
    width: 1.2rem;
    height: 1.2rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0.313rem 0.313rem 0px 0.2rem var(--color-white);
    transform: rotate(180deg);
  }
}

.service-card .card-overlay-bottom {
  position: absolute;
  bottom: -1px;
  right: 0;
  width: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  padding: 5px 1rem 5px 1rem;
  border-top-left-radius: 1rem;

  &::before {
    position: absolute;
    content: "";
    top: -1.2rem;
    right: 0;
    background: transparent;
    width: 1.2rem;
    height: 1.2rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0.313rem 0.313rem 0px 0.2rem var(--color-white);
    transform: rotate(0deg);
  }
  &::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: -1.2rem;
    background: transparent;
    width: 1.2rem;
    height: 1.2rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0.313rem 0.313rem 0px 0.2rem var(--color-white);
    transform: rotate(0deg);
  }
}

.service-card .card-overlay-bottom h3 {
  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

.service-card:hover .card-overlay-bottom h3,
.service-card:focus-visible .card-overlay-bottom h3 {
  color: var(--color-accent);
  transform: translateX(4px);
}

/* Section3 why-us Reparatur Services */
#why-us {
  background-image: url("../img/sectionServices2.webp");
  background-size: cover;
  background-position: top 80% center;
  background-repeat: no-repeat;
  padding: 0;
  position: relative;
  margin-bottom: 50px;
}
#why-us::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(49, 55, 79, 0.5); /* primary color with 80% opacity */
  z-index: 1;
  pointer-events: none;
}
#why-us > .container {
  position: relative;
  z-index: 2;
}
.why-us-main {
  display: flex;
  gap: 20px;
}
.why-us-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 40%;
  padding-top: 30px;
  padding-bottom: 30px;
}
#why-p {
  border: 1px solid var(--color-secondary);
  padding: 1px 15px;
  border-radius: 50px;
  color: var(--color-secondary);
  width: fit-content;
}
.why-us-left p {
  color: var(--color-white);
}
.why-us-left h2 {
  width: fit-content;
  font-size: clamp(40px, 3vw, 2rem);
  background: -webkit-linear-gradient(
    45deg,
    var(--color-secondary),
    var(--color-white),
    var(--color-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.why-us-right {
  display: flex;
  justify-content: center;
  width: 60%;
  height: 400px;
  position: relative;
  overflow: hidden;
}
.why-us-card {
  background: royalblue;
  width: 20%;
  height: 440px;
  transform: rotate(10deg);
  position: absolute;
  top: -20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-kamera {
  left: 10%;
  background-image: url("../img/kamera.webp");
}
.card-display {
  left: 30%;
  background-image: url("../img/display.webp");
}
.card-akku {
  left: 50%;
  background-image: url("../img/akku.webp");
}
.card-daten {
  left: 70%;
  background-image: url("../img/daten.webp");
}
.why-us-right p {
  color: #ffffff8f;
  font-size: 50px;
  transform: rotate(-90deg);
  font-weight: 900;
  text-shadow: 0 0 10px rgba(117, 117, 117, 0.7);
}
/* Section4 Google Reviews */
#reviews {
  background-image: url("../img/sectionbg.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.reviews-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}
.reviews-top h2 {
  width: fit-content;
  font-size: clamp(40px, 3vw, 2rem);
  background: -webkit-linear-gradient(
    70deg,
    var(--color-primary),
    var(--color-secondary),
    var(--color-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* FAQ Section */
.faq-main {
  display: flex;
}
.faq-left {
  width: 50%;
}
.faq-right {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
}
.card-socialmedia {
  background-image: url("../img/socialmedia.webp");
}
#faq {
  padding: 80px 0;
}
#faq h2 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: clamp(40px, 4vw, 2rem);
  background: -webkit-linear-gradient(
    70deg,
    var(--color-primary),
    var(--color-secondary),
    var(--color-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}
.faq-questions {
  gap: 18px;
  margin: 0;
}
.faq-item {
  position: relative;
  z-index: 0;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(49, 55, 79, 0.06);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.faq-question {
  z-index: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(78, 205, 196, 0.06), transparent);
  border: 0;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--color-primary);
}
.faq-question:hover {
  background: linear-gradient(90deg, rgba(78, 205, 196, 0.09), transparent);
}
.faq-question::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--color-primary);
  transition:
    transform 0.3s ease,
    opacity 0.25s;
}
.faq-item.open .faq-question::after {
  content: "−";
  transform: rotate(0);
}
.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.36s ease,
    padding 0.36s ease,
    opacity 0.36s ease;
  opacity: 0;
}
.faq-item.open .faq-answer {
  padding: 12px 22px 20px;
  /* allow CSS-driven expansion to effectively 'auto' by using a very large cap */
  max-height: 9999px; /* high cap to let longer content fully show */
  opacity: 1;
  transition:
    max-height 0.45s cubic-bezier(0.2, 0.9, 0.2, 1),
    padding 0.36s ease,
    opacity 0.36s ease;
}
.faq-answer p {
  color: var(--color-primary);
  margin: 0;
}

/* Store section */
#store .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

#store .store-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#store .store-left h2 {
  margin-bottom: 15px;
  width: fit-content;
  font-size: clamp(40px, 3vw, 2rem);
  background: -webkit-linear-gradient(
    70deg,
    var(--color-primary),
    var(--color-secondary),
    var(--color-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#store-p {
  border: 1px solid var(--color-secondary);
  padding: 1px 15px;
  border-radius: 50px;
  color: var(--color-secondary);
  width: fit-content;
}
.store-phone {
  font-family: var(--font-primary);
  font-size: clamp(40px, 2vw, 24px);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
}
.store-phone::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url("../img/WhatsAppBlack.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.6rem;
  flex-shrink: 0;
}
.map {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.map-container {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
}

/* Contact Hero Section */
.contact-hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.contact-hero h1 {
  font-size: clamp(28px, 5vw, 3rem);
  background: -webkit-linear-gradient(
    45deg,
    var(--color-secondary),
    var(--color-white),
    var(--color-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}
.contact-area-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
.contact-right-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-modern {
  padding-top: 40px;
}

.contact-modern-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.contact-modern-info {
  background: linear-gradient(160deg, #ffffff, #f3f6fc);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #dfe5f0;
  box-shadow: 0 14px 40px rgba(49, 55, 79, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-kicker {
  width: fit-content;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
  border-radius: 999px;
  padding: 2px 14px;
}

.contact-modern-info h2 {
  color: var(--color-primary);
  font-size: clamp(30px, 3vw, 2.5rem);
  line-height: 1.2;
}

.contact-modern-card {
  background: #ffffff;
  border: 1px solid #e5e9f2;
  border-radius: 14px;
  padding: 14px 16px;
}

.contact-modern-card p {
  margin: 0;
}

.contact-modern-card p + p {
  margin-top: 6px;
}

.contact-modern-actions {
  margin-top: 4px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-modern-map-panel {
  background: linear-gradient(
    145deg,
    rgba(49, 55, 79, 0.95),
    rgba(64, 75, 110, 0.95)
  );
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 14px 40px rgba(49, 55, 79, 0.22);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-map-top h3 {
  color: var(--color-white);
  margin-bottom: 4px;
}

.contact-map-top p {
  color: #d6ddef;
  margin: 0;
}

.contact-modern-map {
  margin-top: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-modern-map .map-container {
  height: 320px;
}

.contact-modern-map .map-placeholder {
  background: #f2f5fc;
}
/* Datenschutz specific */
.datenschutz-title-container h3 {
  color: var(--color-primary);
}

.datenschutz-section {
  background-color: var(--color-primary);
  height: 80px;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Responsive Styles */

@media (max-width: 768px) {
  #header {
    display: none;
  }
  h1 {
    font-size: clamp(40px, 4vw, 3rem);
  }
  .services-overview-top h2 {
    line-height: 1;
    margin: 10px;
  }
  #about {
    padding-top: 0;
  }
  #about .container {
    grid-template-columns: 1fr;
  }

  #about .about-left {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .about-left h2 {
    font-size: clamp(30px, 4vw, 2rem);
    line-height: 1;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .about-left div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .why-us-main {
    flex-direction: column;
  }
  .why-us-left,
  .why-us-right {
    width: 100%;
  }
  .why-us-right {
    height: 300px;
  }
  .why-us-card {
    height: 350px;
  }
  .card-kamera {
    left: 10%;
  }
  .card-display {
    left: 30%;
  }
  .card-akku {
    left: 50%;
  }
  .card-daten {
    left: 70%;
  }
  .why-us-right p {
    font-size: 30px;
  }
  .reviews-top h2 {
    font-size: clamp(40px, 4vw, 2rem);
    line-height: 1;
    margin: 10px;
  }
  .faq-main {
    flex-direction: column;
  }
  .faq-left,
  .faq-right {
    width: 100%;
    justify-content: center;
  }
  .faq-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .contact-area > .container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .contact-modern-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-modern-info,
  .contact-modern-map-panel {
    padding: 18px;
    border-radius: 16px;
  }
  .contact-modern-map .map-container {
    height: 280px;
  }
  .contact-left,
  .contact-right {
    width: 100%;
  }
  .contact-left h2 {
    font-size: clamp(28px, 4vw, 2rem);
  }
  .contact-left label {
    display: block !important;
  }
  .contact-left input,
  .contact-left textarea {
    font-size: 16px !important;
  }
  .btn {
    padding: 10px 30px 10px 40px !important;
    font-size: 16px !important;
  }
  .btn::before {
    left: 12px !important;
    width: 16px !important;
    height: 16px !important;
  }
  .btn::after {
    left: 12px !important;
    width: 16px !important;
    height: 16px !important;
  }
}
@media (max-width: 1000px) {
  .services-overview-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    height: 1000px;
  }
}
