@charset "UTF-8";
/*
Most general styling. Needs to be at the top, so that other styles may overwrite it. */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope/Manrope-VariableFont_wght.ttf");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --rv-green: oklch(0.3586 0.0763 123.36);
  --rv-orange: oklch(0.6671 0.1763 48.28);
  --color-text-light: oklch(0.8268 0.022 112.66);
  --color-text-dark: oklch(0.3061 0.0735 123.62);
  --copper: oklch(0.5706 0.1496 48.4);
  /* === TYPOGRAPHY === */
  --font-family: 'Manrope', sans-serif;
  /* === SHADOWS === */
  --shadow-1: 0 4px 12px rgba(0 0 0 / 0.3);
  /* === BORDER === */
  --border-1: 1px solid rgba(0, 0, 0, 0.3);
  /* === BORDER RADIUS === */
  /* === SPACING === */
  --space-4: 0.25rem; /* 4px  */
  --space-8: 0.5rem; /* 8px  */
  --space-10: 0.625rem; /* 10px */
  --space-12: 0.75rem; /* 12px */
  --space-14: 0.875rem; /* 14px */
  --space-16: 1; /* 16px */
  --space-16: 1rem; /* 16px */
  --space-18: 1.125rem; /* 18px */
  --space-20: 1.25rem; /* 20px */
  --space-22: 1.375rem; /* 22px */
  --space-24: 1.5rem; /* 24px */
  --space-32: 2rem; /* 32px */
  --space-40: 2.5rem; /* 40px */
  --space-48: 3rem; /* 48px */
  --space-64: 4rem; /* 60px */
  --space-80: 5rem; /* 80px */
  --space-96: 6rem; /* 96px */
}

/* === RESETS ===*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* === GLOBAL STYLES === */
html {
  scrollbar-gutter: stable;
}

body {
  background-color: transparent;
  color: #35430f;
  font-family: var(--font-family);
}
body.no-scroll {
  height: 100vh;
  overflow: hidden;
  touch-action: none;
}

.max-width {
  max-width: 1280px;
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: auto;
  height: 40px;
  height: 4rem;
  color: var(--rv-orange);
}

.brand__text {
  height: 3.25rem;
  color: var(--rv-orange);
}

.section-padding {
  padding: 4rem 4rem;
}
@media (max-width: 768px) {
  .section-padding {
    padding: 2.5rem 1.5rem;
  }
}

.section-title {
  margin-bottom: 5rem;
  font-weight: 700;
  hyphens: auto;
  overflow-wrap: break-word;
  font-size: clamp(2rem, 8vw, 4rem);
  text-align: left;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .section-title {
    margin-bottom: 4rem;
    text-align: center;
  }
}

.section-divider {
  height: var(--space-80, 80px);
  background-color: #35430f;
}

.resize-animation-stopper * {
  animation: none !important;
  transition: none !important;
}

.cta-button {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  border: 2px solid black;
  border-radius: 0.125rem;
  background-color: #e76b10;
  box-shadow: var(--shadow-1);
  color: var(--color-text-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cta-button:hover {
  background-color: #ffa05c;
}
.cta-button:active {
  box-shadow: none;
}

/* === HEADER ===*/
.nav-hero-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

@media (max-width: 768px) {
  .nav-hero-container {
    height: auto;
    max-height: none;
    overflow: visible;
  }
}
/* === NAVBAR === */
.header {
  z-index: 10;
  flex-shrink: 0;
  background-color: var(--rv-green);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  gap: 1.5rem;
}

.header__links-list {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  list-style: none;
  white-space: nowrap;
}

.header__link {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 300ms ease;
}
.header__link:hover {
  color: oklch(from currentColor calc(l + 0.3) c h);
}

.header__hamburger {
  display: none;
  z-index: 1001;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}

.hamburger__bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 950px) {
  .header__nav {
    position: relative;
    padding: 1rem 1.5rem;
  }
  .header__links-list {
    display: flex;
    visibility: hidden;
    z-index: 1000;
    position: fixed;
    top: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    width: 60%;
    height: 100vh;
    gap: 1.5rem;
    transform: translateY(-10px);
    border-left: 1px solid rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    background: rgba(229, 226, 219, 0.9);
    opacity: 0;
  }
  .js-ready .header__links-list {
    transition: all 0.4s ease;
  }
  .header__links-list.is-open {
    visibility: visible;
    overflow-y: auto;
    transform: translateY(0);
    opacity: 1;
  }
  .header__link {
    color: var(--rv-green);
  }
  .header__logo {
    height: 50px;
  }
  .header__brand-text {
    height: 2.5rem;
  }
  .header__cta-button {
    display: none;
  }
  .header__hamburger {
    display: flex;
  }
  .header__hamburger.is-active .hamburger__bar {
    background-color: black;
  }
  .header__hamburger.is-active .hamburger__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .header__hamburger.is-active .hamburger__bar:nth-child(2) {
    opacity: 0;
  }
  .header__hamburger.is-active .hamburger__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
/* === HERO SECTION === */
.hero__section {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  min-height: 0;
  background-color: #cdd1c2;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 100%;
  padding: 4rem 3rem;
  gap: 4vw;
}

.hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero__h1 {
  margin-bottom: 2rem;
  font-weight: 500;
  font-size: clamp(2rem, 4vw + 1rem, 4rem);
  line-height: 1.15;
  letter-spacing: -2px;
  white-space: nowrap;
}

.hero__text {
  max-width: 48ch;
  margin-bottom: 3rem;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  line-height: 1.5;
  hyphens: auto;
}

.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
}

.hero__image {
  display: block;
  aspect-ratio: 4/5;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border: var(--border-1);
  border-radius: 4px;
  box-shadow: var(--shadow-1);
}

@media (max-width: 768px) {
  .hero__grid {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    height: auto;
    padding: 2rem 1.5rem 4rem 1.5rem;
    gap: 2.5rem;
  }
  .hero__left {
    align-items: center;
    text-align: center;
  }
  .hero__h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 8vw, 2.75rem);
    white-space: normal;
  }
  .hero__text {
    margin-bottom: 1.75rem;
  }
  .hero__right {
    height: auto;
  }
  .hero__image {
    aspect-ratio: 1/1;
    width: 100%;
    max-height: 350px;
  }
}
.partners {
  padding-bottom: 6rem;
  background-color: #e5e2db;
}

.partners__title {
  color: rgb(from currentColor r g b/0.8);
  font-weight: 900;
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.75rem);
  text-align: center;
  word-spacing: 0.5rem;
}

.partners__container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  row-gap: 4rem;
  flex-wrap: wrap;
}

/* === PROJECTS SECTION === */
.projects {
  padding: 4rem 4rem;
  background-color: #cdd1c2;
}
@media (max-width: 768px) {
  .projects {
    padding: 2.5rem 0.75rem;
  }
}

.slideshow-title {
  font-size: clamp(1.5rem, 6vw, 3rem);
  text-align: center;
}

.slideshow-divider {
  height: 1px;
  margin: 4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.embla {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  height: 80vh;
  --slide-padding: 2rem;
}

.embla__viewport {
  height: 100%;
  overflow: hidden;
}

.embla__container {
  display: flex;
  height: 100%;
  touch-action: pan-y pinch-zoom;
}

.embla__slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 content;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  padding: var(--slide-padding);
  filter: grayscale(30%) blur(2px);
  transition: filter 500ms ease;
  will-change: filter;
}
.embla__slide--active {
  filter: none;
}

.embla__slide-title {
  opacity: 0;
  transition: opacity 300ms ease;
}
.embla__slide--active > .embla__slide-title {
  opacity: 100%;
}

.embla__img {
  display: block;
  width: auto;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border: var(--border-1);
  border-radius: 8px;
  box-shadow: var(--shadow-1);
}

.slideshow__nav {
  display: flex;
  z-index: 100;
  position: absolute;
  bottom: calc(2% + var(--slide-padding));
  gap: 1rem;
}

.embla__prev,
.embla__next {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 2.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  background-color: rgba(255, 255, 255, 0.6);
  color: black;
  cursor: pointer;
}
.embla__prev > svg,
.embla__next > svg {
  width: 80%;
  height: 80%;
}
@media (max-width: 768px) {
  .embla__prev,
  .embla__next {
    inline-size: 1.5rem;
    padding: 0.25rem;
  }
}

.embla__prev > svg {
  transform: translateX(-10%);
}

.embla__next > svg {
  transform: translateX(10%);
}

.concept {
  background-color: #e5e2db;
}

.concept__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10rem;
  gap: 3rem;
}
.concept__row:last-child {
  margin-bottom: 7rem;
}
.concept__row:nth-child(odd) {
  flex-direction: row-reverse;
}
.concept__row:nth-child(odd) .concept__text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.concept__text,
.concept__image {
  flex: 1;
}

.concept__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  -o-object-fit: cover;
     object-fit: cover;
  border: var(--border-1);
  border-radius: 4px;
  box-shadow: var(--shadow-1);
}

.concept__row-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}
.concept__row-header .concept__row-title {
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.concept__row-header .concept__row-subtitle {
  font-weight: 600;
  font-size: 1.85rem;
  line-height: 1.3;
}

.concept__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.concept__list .concept__list-item {
  max-width: 45ch;
  hyphens: auto;
}
.concept__list .concept__list-title {
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 1.15rem;
}
.concept__list .concept__list-desc {
  font-size: 1rem;
  line-height: 1.6;
}

.louisen-logo {
  display: inline;
  width: 15ch;
  margin: 1rem 0.75rem;
  height: auto;
  vertical-align: middle;
}
@media (max-width: 950px) {
  .louisen-logo {
    width: 12ch;
    margin-left: 0.5rem;
  }
}

@media (max-width: 767px) {
  .concept__row {
    flex-direction: column;
    margin-bottom: 8rem;
  }
  .concept__row:last-child {
    margin-bottom: 5rem;
  }
  .concept__row:nth-child(odd) {
    flex-direction: column;
  }
  .concept__row:nth-child(odd) .concept__text {
    display: block;
    align-items: initial;
    text-align: left;
  }
  .concept__text,
  .concept__image {
    flex: initial;
    width: 100%;
  }
}
.services {
  width: 100%;
  background-color: #cdd1c2;
}

.services__content {
  margin: 0 auto;
}

.services__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  --flex-gap: 2.5rem;
  gap: var(--flex-gap);
  perspective: 1000px;
}

.card {
  display: flex;
  position: relative;
  /*
  Formula: (100% / columns) - (gap * (columns - 1) / columns)
  This ensures the gap is exactly 2rem both horizontally and vertically.*/
  flex: 0 0 calc(33.3333333333% - var(--flex-gap) * 2 / 3);
  flex-direction: column;
  min-height: 37.5rem;
  border: var(--border-1);
  border-radius: 4px;
  background-color: #f0eee7;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  --mx: 50%;
  --my: 50%;
}
@media (max-width: 1024px) {
  .card {
    flex: 0 0 calc(50% - var(--flex-gap) / 2);
  }
}
@media (max-width: 768px) {
  .card {
    flex: 0 0 100%;
    max-width: 450px;
    margin-right: auto;
    margin-left: auto;
  }
}

/*
The card hover effect is only actived on devices with a pointer.
Contrary to popular belief, hover-states CAN be triggered on mobile,
but that depends on the browser and device.
On mobile the styling of the hover-effect is activated by adding
the class 'in-view' to the card, when it enters the middle 30%
of the viewport.

Because hover states are sometimes activatable on mobile, they
must be enabled ONLY on devices with pointers, otherwise on mobile
there could be multiple cards with the hovered/in-view styling at
on time, which is not intended.
Because of that, they have to be separately re-enabled on devices
without pointers and hover states, but under the condition of the 
class "in-view", which gets added or removed based on the
javascript in js/services.js.
 */
@media (hover: hover) and (pointer: fine) {
  .services__cards {
    /* IF the container HAS a card that is HOVERED,
    target the cards that are NOT HOVERED */
  }
  .services__cards:has(.card:hover) .card:not(:hover) {
    filter: grayscale(100%);
    opacity: 0.6;
  }
  .card:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    filter: grayscale(0%) !important;
    opacity: 1 !important;
  }
}
@media (max-width: 768px) {
  /* On mobile, when the card is in view, activate the hover styling */
  .services__cards:has(.in-view) .card:not(.in-view) {
    filter: grayscale(100%);
    opacity: 0.6;
  }
  .card.in-view {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    filter: grayscale(0%);
    opacity: 1;
  }
}
.card__image-wrapper {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.card__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.card__text-content {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  padding: var(--space-32);
}

.card__title {
  margin-bottom: var(--space-12);
  font-weight: bold;
  font-size: 1.5rem;
  font-family: var(--font-family);
}

.card__list-header {
  margin-bottom: var(--space-8);
  font: var(--font-family);
  font-size: 1rem;
  opacity: 60%;
}

.card__list {
  margin-bottom: var(--space-24);
  list-style: none;
}

.service-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  --line-height: 1.8em;
  line-height: var(--line-height);
}
.service-list__item.negative {
  opacity: 0.7;
}
.service-list__item.negative > .service-list__icon {
  color: oklch(from var(--copper) 0.2 c h);
}

.service-list__icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  --icon-size: 1.2em;
  transform: translateY(calc((var(--line-height) - var(--icon-size)) / 2));
  color: var(--copper);
  font-size: var(--icon-size);
}

.service-list__text {
  font-size: 1em;
  line-height: var(--line-height);
}

.card__divider {
  height: var(--space-20);
  margin-top: auto;
  margin-bottom: var(--space-24);
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.card__price {
  display: flex;
  flex-direction: column;
  color: oklch(34.94% 0.0945 48.4deg);
}
.card__price .card__price-main {
  font-weight: 700;
  font-size: var(--space-18);
}
.card__price .card__price-main:empty::before {
  content: " ";
}
.card__price .card__price-extra {
  color: oklch(57.06% 0.1496 48.4deg);
  font-weight: 700;
  font-size: var(--space-10);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card__price .card__price-extra:empty::before {
  content: " ";
}

.about {
  background-color: #E5E2DB;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.person {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  align-items: flex-start;
}
.person:nth-child(even) {
  flex-direction: row-reverse;
}
@media (max-width: 950px) {
  .person {
    flex-direction: column !important;
    align-items: center;
    gap: 2.5rem;
  }
}

.person__image-wrapper {
  flex: 0 0 320px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.person__image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 900px) {
  .person__image-wrapper {
    flex: 0 0 240px;
  }
}

.person__text {
  flex: 2;
}
.person:nth-child(even) .person__text {
  text-align: right;
}
@media (max-width: 950px) {
  .person__text {
    text-align: center !important;
  }
}

.person__header {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}
.person__header .person__title {
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.person__header .person__name {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.person__desc {
  -moz-column-count: 2;
       column-count: 2;
  -moz-column-gap: 2.5rem;
       column-gap: 2.5rem;
  text-align: justify;
  hyphens: auto;
  font-size: 1.05rem;
  line-height: 1.6;
}
@media (max-width: 750px) {
  .person__desc {
    -moz-column-count: 1;
         column-count: 1;
    text-align: justify;
  }
}
.person__desc p {
  margin-bottom: 1rem;
}
.person__desc p:last-child {
  margin-bottom: 0;
}

.contact {
  position: relative;
  padding: 4rem 4rem;
  overflow: hidden;
}

.contact__background-logo {
  z-index: -1;
  position: absolute;
  top: -20%;
  left: -15%;
  aspect-ratio: 1/1;
  width: auto;
  height: 140%;
  opacity: 0.06;
  pointer-events: none;
}
.contact__background-logo svg {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__mail-tel {
  width: auto;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}
.contact__mail-tel a {
  color: inherit;
}

.info__row {
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-template-areas: "icon title" "icon data";
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  row-gap: 0.25rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.5rem;
  padding-right: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.info__row > svg {
  grid-area: icon;
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
  /* Because the icon's size is directly affected by padding in a border-box
  make the padding relative */
  padding: 27%;
  border-radius: 4px;
  background: oklch(95% 0.0208 118.99deg);
}

.info__title {
  grid-area: title;
  font-weight: 700;
}

.info__data {
  grid-area: data;
  color: inherit;
  word-break: break-all;
}

.contact__socials > .socials__title {
  margin-bottom: 1rem;
  color: rgb(from currentcolor r g b/0.7);
  font-weight: 700;
  font-size: 1.125rem;
}

.socials__links-list {
  display: flex;
  gap: 1rem;
}

.socials__link {
  padding: 0.5rem;
  border-radius: 8px;
  outline: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: transform 0.3s ease;
  /*
  For some reason that fixes the slight shifting of the svg
  within this tag.*/
  will-change: transform;
}
.socials__link:hover {
  transform: scale(1.08);
}

.socials__link svg {
  width: 2em;
  height: auto;
  color: black;
}

.contact__form-container {
  padding: 3rem 3rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-title {
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.cf7-container .field-row {
  position: relative;
  margin-bottom: 2rem;
}

.cf7-container .wpcf7-not-valid-tip {
  position: absolute;
  left: 0;
  margin: 0;
  color: rgb(223, 0, 0);
  font-weight: 700;
  font-size: 0.85rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}
@starting-style {
  .cf7-container .wpcf7-not-valid-tip {
    opacity: 0;
  }
}
.cf7-container .wpcf7 form .wpcf7-response-output.wpcf7-mail-sent-ok {
  border-color: #46b450;
}
.cf7-container .wpcf7 form .wpcf7-response-output.wpcf7-validation-errors {
  border-color: #ffb900;
}
.cf7-container .wpcf7 form .wpcf7-response-output.wpcf7-mail-sent-ng {
  border-color: #dc3232;
}

.wpcf7-list-item:has(.data-usage-acceptance) {
  margin: 1rem 0;
}
.wpcf7-list-item:has(.data-usage-acceptance) .wpcf7-list-item-label {
  font-weight: 500;
}

.contact-form-dialog-open {
  border: none;
  background: none;
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

/*
Prevent the spinner from taking up space inside the
submit-wrapper.*/
.wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: calc(100% + 0.5rem);
  translate: 0 -50%;
}

.submit-wrapper {
  display: inline-block;
  position: relative;
  align-items: center;
  gap: 0.5rem;
}
.submit-wrapper::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 1rem;
  height: 1rem;
  translate: 0 -50%;
  color: #283502;
  background: #283502;
  content: "";
  -webkit-mask: url("../icons/send.svg") center/contain no-repeat;
          mask: url("../icons/send.svg") center/contain no-repeat;
  -webkit-msask: url("../icons/send.svg") center/contain no-repeat;
}
.submit-wrapper .wpcf7-submit {
  padding-right: 2.5rem;
}

.wpcf7-response-output {
  margin-right: 0 !important;
  margin-left: 0 !important;
  border-radius: 0.25rem;
  border-color: black;
}

.cf7-container label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.cf7-container input[type=text],
.cf7-container input[type=email],
.cf7-container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

.form-helper {
  display: none;
}

.wpcf7-submit {
  padding: 12px 25px;
  border: 2px solid black;
  border-radius: 0.25rem;
  background-color: #e76b10;
  color: #283502;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.wpcf7-submit:hover {
  background-color: #ffa05c;
}

@media (max-width: 1050px) {
  .contact {
    padding: 3rem 1rem;
  }
  .contact__content {
    grid-template-rows: auto auto;
    grid-template-columns: auto;
  }
  .contact__info-container {
    display: flex;
    gap: 3rem;
  }
}
@media (max-width: 768px) {
  .info__row,
  .info__data {
    font-size: 1rem;
  }
  .contact__info-container {
    display: block;
  }
  .info__row {
    grid-template-columns: 50px 1fr;
    -moz-column-gap: 1rem;
         column-gap: 1rem;
    row-gap: 0;
  }
  .contact__form-container {
    padding: 1.5rem;
  }
}
.footer {
  padding: 40px 20px 20px;
  background-color: oklch(28% 0.0763 123.36deg);
  color: #ffffff;
  font-family: var(--font-family);
}

.footer__container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  gap: 30px;
}

/* === ROW 1 ===*/
.footer__grid {
  display: grid;
  grid-template-columns: max-content auto auto;
  grid-template-areas: "logo ..... ....." ".... col-1 col-2";
  gap: 2rem;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.column__title {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 800;
  font-size: 1rem;
}

.column__item {
  border: none;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.5);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}
.column__item:hover {
  color: rgb(255, 255, 255);
}

.footer__brand {
  grid-area: logo;
  align-self: flex-start;
}

.footer__logo {
  height: 4rem;
}

.footer__middle {
  display: flex;
  grid-area: col-1;
  justify-self: center;
  gap: 4rem;
}

.footer__credits {
  grid-area: col-2;
  align-items: flex-end;
  text-align: right;
}

.footer__bottom {
  display: flex;
  align-self: stretch;
  justify-content: center;
  padding-top: 1.25rem;
  border-top: 1px solid #333;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 950px) {
  .footer__grid {
    grid-template-areas: "logo ...... ....." "col-1 ..... col-2";
    row-gap: 4rem;
  }
}
@media (max-width: 768px) {
  .footer__container {
    align-items: center;
  }
  .footer__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer__credits {
    text-align: left;
  }
}
/* === DIALOG === */
.dialog {
  min-width: 50vw;
  min-height: 50vh;
  margin: auto;
  padding: 0;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease, display 0.3s ease allow-discrete, overlay 0.3s ease allow-discrete;
}
.dialog[open] {
  display: flex;
  opacity: 1;
}
.dialog::backdrop {
  backdrop-filter: blur(0);
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, display 0.3s allow-discrete;
  will-change: backdrop-filter;
}
.dialog[open]::backdrop {
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.5);
}
@starting-style {
  .dialog[open] {
    opacity: 0;
  }
  .dialog[open]::backdrop {
    backdrop-filter: blur(0px);
    background-color: rgba(0, 0, 0, 0);
  }
}

/* === DATENSCHUTZ / IMPRESSUM === */
.data-protection-dialog,
.impressum-dialog {
  flex-direction: column;
  margin: auto;
  hyphens: auto;
  text-align: justify;
}
.data-protection-dialog h2,
.impressum-dialog h2 {
  margin-bottom: 2rem;
}
.data-protection-dialog h3,
.impressum-dialog h3 {
  margin-bottom: 1.5rem;
}
.data-protection-dialog p + h3,
.impressum-dialog p + h3 {
  margin-top: 3rem;
}
.data-protection-dialog h4,
.impressum-dialog h4 {
  margin-bottom: 1rem;
}
.data-protection-dialog p + h4,
.impressum-dialog p + h4 {
  margin-top: 2rem;
}
.data-protection-dialog h5,
.impressum-dialog h5 {
  margin-bottom: 0.5rem;
}
.data-protection-dialog p + h5,
.impressum-dialog p + h5 {
  margin-top: 1.5rem;
}
.data-protection-dialog p,
.impressum-dialog p {
  margin-bottom: 0.5rem;
}
.data-protection-dialog ul,
.impressum-dialog ul {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}
.data-protection-dialog li,
.impressum-dialog li {
  display: flex;
  gap: 0.5rem;
}
.data-protection-dialog li::before,
.impressum-dialog li::before {
  flex-shrink: 0; /* Prevents bullet from shrinking on small screens */
  content: "•"; /* Custom bullet character */
}

.data-protection-dialog__content,
.impressum-dialog__content {
  display: flex;
  flex-direction: column;
  padding: 4rem;
  overflow-y: auto;
}
@media (max-width: 768px) {
  .data-protection-dialog__content,
  .impressum-dialog__content {
    padding: 1rem;
  }
}

/* === CREDITS === */
.credits__text {
  text-align: right;
}

.credits__icon {
  display: inline;
  width: auto;
  height: 0.8rem;
  margin-left: 0.25rem;
  vertical-align: middle;
}

.credits__author-name,
.credits__icon {
  line-height: 1;
}

.credits__dialog-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 3rem;
}
.credits__dialog-content h2 {
  margin-bottom: 2rem;
}
.credits__dialog-content .credits__links {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}
.credits__dialog-content .credits__links .credits__row {
  display: flex;
  align-items: center;
}
.credits__dialog-content .credits__links .icon {
  flex-shrink: 0;
  height: 1.2em;
  width: 1.2em;
  margin-right: 0.5rem;
}
.credits__dialog-content .credits__links .link {
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  color: rgb(73, 73, 253);
  font-weight: 700;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.dialog-close {
  bottom: 0;
  align-self: flex-end;
  justify-self: flex-end;
  margin-top: auto;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 4px;
  background-color: lightblue;
  cursor: pointer;
}/*# sourceMappingURL=main.css.map */