/* -----------------------------
   FONTS
----------------------------- */

@font-face { font-family: 'Cavolini'; src: url('../fonts/cavolini.woff2') format('woff2'), url('../fonts/cavolini.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cavolini'; src: url('../fonts/cavolini-bold.woff2') format('woff2'), url('../fonts/Cavolini-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cera Pro'; src: url('../fonts/cerapro-regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cera Pro'; src: url('../fonts/cerapro-medium.woff') format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cera Pro'; src: url('../fonts/cerapro-bold.woff') format('woff'); font-weight: 700; font-display: swap; }


/* -----------------------------
   RESET & BASICS
----------------------------- */

#header {
  display: none;
}

html {
  background: #f9f5ee;
}

.container {
  max-width: 100%;
  --bs-gutter-x: 0 
}
.node__content {
  margin: 0px;
}

.site-footer {
  display: none;
}

#main-wrapper {
  background: #f9f5ee !important;
}

.dp-registration-form :is(input, select, textarea, button):focus-visible {
  outline: none !important;
}


/* -----------------------------
   IMPRESSUM / DATENSCHUTZ
----------------------------- */

#logo-claim  {
  text-align: center;
}

#logo-claim img {
  max-width: 300px;
  height: auto;
}

.page-node-2, .page-node-3 {
font-family: 'Cera Pro';
}
.page-node-2 h1, .page-node-3 h1 {
  color: #97413c;
  margin-bottom: 36px;
  text-align: center;
}
.page-node-3 h2 {
  font-size: 24px;
}

.page-node-2 .text-formatted {
  column-count: 2;
  column-gap: 30px; 
}

.page-node-2 .text-formatted > * {
  break-inside: avoid;
  -webkit-column-break-inside: avoid; 
}

/* -----------------------------
   MAP
----------------------------- */

.dp-map-distances td, .dp-map-distances tr{
  border: none;
  background: none;
  text-align: left !important;
  color: #ae891d;
  width: auto !important;

}

.dp-map-distances .text-formatted strong {
  font-weight: normal;
}

#beispiele h2 {
  padding-left: 36px;
  padding-right: 36px;
  text-align: center;
  color: #97413c;
  font-family: "Cera Pro";
}

/* -----------------------------
   KONTAKT
----------------------------- */
.dp-contact a {
  text-decoration: none;
  color: #349d86 !important;
  margin: 2px 0px;
  display: inline-flex;
  padding-left: 36px;
  position: relative;
}
.dp-contact a:before {
  content: "";
  width: 36px;
  height: 23px;
  background-image: url(/sites/default/files/telefon.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0px;
  top: 3px;
}

.dp-contact a.mail:before {
  content: "";
  width: 36px;
  height: 18px;
  display: inline-block;
  background-image: url(/sites/default/files/email.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 9px;
  left: 1px;
}

.dp-confirmation__tagline {
  font-family: Cavolini;
  font-style: normal;
  margin-top: 5px;
}

.dp-footer-layout a {
  text-decoration: none;
  color: #fff !important;
}

/* -----------------------------
   VIDEO 
----------------------------- */

.field--name-field-media-video-file video {
  width: 100% !important;
  height: auto !important;
  display: block;
  cursor: pointer;
}
.field--name-field-media-video-file .field__item {
  position: relative;
  width: 100%;
}
.video-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  pointer-events: none; 
  transition: opacity 0.3s ease, background 0.3s ease;
  z-index: 2;
}
.field--name-field-media-video-file.is-playing .video-overlay-btn {
  opacity: 0;
}

@media (min-width: 1801px) {
  
  #main-wrapper {
  background: #f9f5ee;
  }
  .container {
    max-width: 1600px;
  }
}


@media (max-width: 990px) {

  html {
    overflow-x: hidden;
  }
  
.layout__region--project,
.layout__region--links {
  text-align: center;
  width: 100% !important;
}

.layout__region--project {
  margin-bottom: -10px;
  font-weight: bold;
}
}

@media (max-width: 640px) {
  
.page-node-2 .text-formatted {
  column-count: 1;
}
}