/* Default CSS */
html,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
span,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  background: transparent;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* 1. Makes the scroll smooth instead of jumping */
html {
  scroll-behavior: smooth;
}

/* 2. Create the offset for ALL your target IDs */
/* Adjust the 100px to match the height of your sticky header */
#patienten,
#aerzte,
#kontakt {
  scroll-margin-top: 100px;
}

#aerzte2,
#patienten2 {
  scroll-margin-top: 600px;
}
button {
  outline: none !important;
  padding: 0;
  border: none;
  background: transparent;
}

input {
  outline: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  line-height: 1;
}

input,
button,
textarea,
select {
  outline: none;
}

.btn.focus,
.btn:focus {
  outline: none;
  box-shadow: none !important;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  margin: 0;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

a:hover {
  text-decoration: none;
}

body {
  font-family: "Quicksand", sans-serif;
  background: var(--beige, #fdfdfd);
  margin: 0;
}

/* Custom Styles */
.ar-container {
  padding: 0 60px;
  width: calc(100% - 120px);
  max-width: 1324px;
  margin: 0 auto;
}
/* Root */
:root {
  --beige: #fdfdfd;
  --bordeaux: #912f28;
  --grn: #859080;
}

/* Common */
.pt-30 {
  padding-top: 30px;
}
.mt-50 {
  margin-top: 50px;
}
.gap-80 {
  gap: 80px;
}
.w-max {
  width: max-content;
}
.section-spacing {
  padding-top: 100px;
  padding-bottom: 100px;
}
img {
  width: 100%;
  height: auto;
}
/* Header Styles Start */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease-in-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out,
    padding 0.3s ease-in-out;
  opacity: 1;
  visibility: visible;
}

.header-area.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: 0;
  padding: 0 !important;
}

.header-area nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
header .logo img {
  width: 221px;
  height: auto;
}
.header-area nav .ar-nav-link {
  background-color: #ffffff;
}
.header-area nav .ar-nav-link:hover {
  background-color: var(--bordeaux, #912f28);
}
.mobile-main-logo {
  display: none;
}
.ar-nav-link {
  display: flex;
  padding: 5px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--bordeaux, #912f28);
  color: var(--bordeaux, #912f28);
  text-align: center;
  font-family: Quicksand;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
  transition: all 0.3s ease;
  text-decoration: none;
}

.ar-nav-link:hover {
  background-color: var(--bordeaux, #912f28);
  color: #fff;
}

.scrolled-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 53px;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scrolled-mobile-header:not(.hide) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hide mobile header on desktop */
@media (min-width: 992px) {
  .scrolled-mobile-header {
    display: none !important;
  }
}

.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease;
}

.hamburger-btn:hover {
  transform: scale(1.05);
}

.hamburger-btn:active {
  transform: scale(0.95);
}

/* Header Styles End */

/* Modal Styles Start */
.mobile-menu-modal-body {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  width: 100%;
  z-index: 1000;
  background: var(--bordeaux, #912f28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    right 0.3s ease-in-out,
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out,
    z-index 0s 0.3s;
}

.mobile-menu-modal-body.show {
  opacity: 1;
  visibility: visible;
  display: block;
  pointer-events: auto;
  z-index: 1000;
  right: 0;
  transition:
    right 0.3s ease-in-out,
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out,
    z-index 0s;
}
.mobile-menu-modal-header {
  width: calc(100% - 76px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 38px;
  padding-top: 53px;
}
.mobile-menu-modal-links {
  height: 100%;
  width: calc(100% - 140px);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 75px;
  padding: 0 70px;
  margin-top: 138px;
}
.mobile-menu-modal-links a {
  color: var(--beige, #fdfdfd);
  text-align: center;
  font-family: Quicksand;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 38.4px */
  position: relative;
  text-decoration: none;
}

/* Add decorative line after each link */
.mobile-menu-modal-links a::after {
  content: "";
  position: absolute;
  bottom: -39px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background-color: #ffffff;
}

/* Remove line from last link */
.mobile-menu-modal-links a:last-child::after {
  display: none;
}

/* Close button styles */
#closeModalBtn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease;
}

#closeModalBtn:hover {
  transform: rotate(90deg);
}

#closeModalBtn:active {
  transform: rotate(90deg) scale(0.9);
}
/* Modal Styles End */

/* Banner Styles Start */
.banner-section {
  background-image: url(/assets/img/banner-bg.png);
  background-size: cover;
  display: flex;
  background-repeat: no-repeat;
  background-position: top center;
  position: relative;
  z-index: 5;
}
.banner-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 43px;
  margin-top: 112px;
}
.banner-header-text {
  padding-top: 255px;
  padding-bottom: 125px;
  color: var(--bordeaux, #912f28);
  font-family: Quicksand;
  font-size: 100px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 120px */
  max-width: 628px;
}
/* Banner Styles End */

/* About Section Styles Start */
.about-section,
.about-section-2 {
  background: var(--beige, #fdfdfd);
  position: relative;
  overflow-x: hidden;
}
.about-contents-row {
  display: flex;
  justify-content: space-between;
}
.about-img-container {
  width: 540px;
  height: 800px;
  flex-shrink: 0;
}
.about-text-container {
  max-width: 647px;
}
.floating-shape {
  position: absolute;
  top: -331px;
  right: -180px;
  pointer-events: none;
}
.floating-shape svg {
  width: 1052px;
  height: 1104.5px;
}

.floating-shape-2 img {
  width: 100%;
  height: 100%;
}
.floating-shape-2 {
  position: absolute;
  top: 207px;
  left: -192px;
  pointer-events: none;
  width: 1096px;
  height: 1115.5px;
}
.about-contents {
  position: relative;
  z-index: 1;
}
.about-header {
  color: var(--grn, #859080);
  /* H3 */
  font-family: Quicksand;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 48px */
}
.about-sub-header {
  color: var(--grn, #859080);
  /* Copy bold */
  font-family: Quicksand;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}
.about-text {
  color: var(--grn, #859080);
  /* Copy */
  font-family: Quicksand;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}
.about-img-2 {
  margin-left: auto;
  display: block;
}
.about-text a {
  color: var(--grn, #859080);
  font-weight: bold;
}
.mobile-about-img-container {
  width: 100%;
  position: relative;
  z-index: 2;
  display: none;
}
/* About Section Styles End */

/* Testimonial Section Styles Start */
.testimonial-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background-image: url(/assets/img/testimonial-bg.png);
  background-size: cover;
  background-position: center;
  display: flex;
}
.testimony-contents {
  max-width: 1102px;
  margin: 0 auto;
  text-align: center;
}
.testimony-contents h4 {
  color: var(--bordeaux, #912f28);
  text-align: center;
  font-family: Quicksand;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 57.6px */
  text-transform: uppercase;
}
.testimony-contents h6 {
  color: var(--grn, #859080);
  /* H4 */
  font-family: Quicksand;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  margin-top: 60px;
}
.testimony-img-container {
  display: block;
  margin-left: auto;
  width: max-content;
}
/* Testimonial Section Styles End */

/* Doctor Profile Section Styles Start */
.doctor-profile-section {
  background: #ecdfdd;
}
.doctor-profile-section .ar-nav-link {
  background-color: #ffffff;
}
.doctor-profile-section .ar-nav-link:hover {
  background-color: var(--bordeaux, #912f28);
}
.doctor-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.doctor-profile-text {
  max-width: 540px;
}
.doctor-profile-img-container img {
  width: 540px;
  height: 625px;
  flex-shrink: 0;
  aspect-ratio: 108 / 125;
}
/* Doctor Profile Section Styles End */

/* Footer Styles Start */
.footer-header-text {
  color: var(--bordeaux, #912f28);
  font-family: Quicksand;
  font-size: 100px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 120px */
  text-transform: uppercase;
  padding-left: 120px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
}
.footer-texts-container {
  min-width: 422px;
}
.footer-bottom-shape {
  height: 35px;
  background: var(--grn, #859080);
  display: block;
}
.footer-texts {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.footer-info-text h6 {
  color: var(--grn, #859080);

  /* H6 */
  font-family: Quicksand;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 24px */
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-links a {
  width: max-content;
}
.footer-bottom-texts-links a {
  color: var(--grn, #859080);
  display: block;
  /* Copy bold */
  font-family: Quicksand;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 27px */
}
.footer-bottom-texts p {
  color: var(--grn, #859080);

  /* Copy */
  font-family: Quicksand;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-top: 35px;
}
.footer-bottom-texts-links {
  width: max-content;
}
/* Footer Styles End */

/* Responsive */
@media (max-width: 1399px) {
  .about-img-container {
    width: 380px;
  }
  .doctor-profile-img-container img {
    width: 460px;
    height: auto;
  }
  .footer-header-text {
    font-size: 84px;
    padding-left: 80px;
  }
}
@media (max-width: 1199px) {
  .header-area nav {
    gap: 15px;
  }
  .testimony-img-container {
    width: 100%;
  }
  .footer-header-text {
    font-size: 60px;
    padding-left: 60px;
  }
  .about-section img,
  .about-section-2 img {
    width: 90%;
  }
  .testimony-contents h4 {
    font-size: 42px;
  }
  .about-header {
    font-size: 32px;
  }
  .doctor-profile-img-container img {
    width: 280px;
  }
  .footer-texts-container {
    min-width: 370px;
  }
  .banner-header-text {
    font-size: 80px;
  }
  header .ar-nav-link {
    font-size: 14px;
  }
}
@media (min-width: 992px) {
  .header-area nav {
    display: flex !important;
  }
}
@media (max-width: 991px) {
  .header-area nav {
    display: none;
  }
  .footer-bottom-texts-links {
    margin: 0 auto;
  }
  header .logo img {
    display: none;
  }
  .mobile-main-logo {
    display: block;
  }
  .mobile-main-logo img {
    width: 263px;
    height: auto;
  }
  .logo-small img {
    width: 80px;
    height: auto;
  }
  .header-area {
    justify-content: center;
  }
  .banner-header-text {
    text-align: center;
  }
  .banner-mobile-nav {
    display: flex;
  }
  .about-contents {
    text-align: center;
  }

  .doctor-profile-section {
    text-align: center;
  }
  .doctor-profile-section .ar-nav-link {
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
  }
  .footer-section {
    text-align: center;
  }
  .footer-section .ar-nav-link {
    margin: 0 auto;
  }
  .banner-header-text {
    margin: 0 auto;
    padding-bottom: 0;
  }
  .about-section img,
  .about-section-2 img {
    width: 100%;
  }
  .ar-container {
    padding: 0 30px;
    width: calc(100% - 60px);
  }
  .about-contents-row {
    flex-direction: column;
    justify-content: center;
    gap: 60px;
  }
  .about-img-container {
    width: 540px;
    height: auto;
    margin: 0 auto;
  }
  .about-text-container {
    max-width: 100%;
  }
  .about-section-2 .about-contents-row {
    flex-direction: column-reverse;
  }
  .doctor-profile-row {
    flex-direction: column-reverse;
    gap: 80px;
    justify-content: center;
    align-items: center;
  }
  .doctor-profile-img-container img {
    width: 540px;
    height: auto;
  }
  .section-spacing {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .footer-row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 51px;
    text-align: center;
  }
  .footer-header-text {
    padding-left: 0;
  }
}
@media (max-width: 767px) {
  .banner-header-text {
    font-size: 80px;
  }
  .about-img-container {
    display: none;
  }
  .mobile-about-img-container {
    display: block;
    margin-bottom: 60px;
  }
  .about-section.section-spacing {
    padding-top: 0;
  }
  .floating-shape,
  .floating-shape-2 {
    display: none;
  }
  .testimonial-section {
    padding: 100px 0;
  }
  .banner-header-text {
    font-size: 66px;
  }
  .doctor-profile-img-container img {
    width: 100%;
  }
}
@media (max-width: 575px) {
  .banner-header-text,
  .footer-header-text {
    font-size: 56px;
  }

  .testimony-contents h4 {
    font-size: 32px;
    font-weight: 400;
  }
  .testimony-contents h6 {
    font-size: 18px;
  }
  .mobile-menu-modal-links a {
    font-size: 24px;
  }
  .ar-container {
    padding: 0 16px;
    width: calc(100% - 32px);
  }
  .section-spacing {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
@media (max-width: 480px) {
  .banner-header-text,
  .footer-header-text {
    font-size: 48px;
  }
  .ar-nav-link {
    font-size: 15px;
  }
  .banner-section {
    background: url(/assets/img/banner-bg-mobile.png) lightgray 50% / cover
      no-repeat;
    display: flex;
  }
}
