@import url('reset.css');
@import url('font.css');
@import url('accordion.css');
@import url('magnific-popup.css');
@import url('simple-slider.css');
@import url('simple-popup-gallery.css');
:root {
  --text: #272727;
  --primary: #d01944;
  --primary-transparent: rgba(211, 30, 60, 0.9);
  --secondary: #ebcec6;
  --button: #272727;
  --contrast: #971030;
  --grey: #fafafa;
  /*=============================*/
  --border-radius: 50px;
  --heading-weight: 600;
  --heading-font-family: 'Libertinus Serif', serif;
  --regular-font-family: 'Libertinus Serif', serif;
  --regular-font-weight: 400;
}

/* libertinus-serif-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libertinus Serif';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/libertinus-serif-v1-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libertinus-serif-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libertinus Serif';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/libertinus-serif-v1-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libertinus-serif-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libertinus Serif';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/libertinus-serif-v1-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libertinus-serif-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libertinus Serif';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/libertinus-serif-v1-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libertinus-serif-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libertinus Serif';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/libertinus-serif-v1-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* libertinus-serif-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Libertinus Serif';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/libertinus-serif-v1-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  width: 100%;
  overflow-x: hidden;
  font: var(--regular-font-weight) 18px/160% var(--regular-font-family), sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font: var(--heading-weight) 300%/100% var(--heading-font-family);
  margin-bottom: 20px;
  color: var(--primary);
}

h1 small {
  font-size: 50%;
  color: var(--text);
}

h2 {
  font: var(--heading-weight) 250%/100% var(--heading-font-family);
  margin-bottom: 20px;
  color: var(--primary);
}

h2 small {
  color: var(--text);
}

h3 {
  font: var(--heading-weight) 200%/100% var(--heading-font-family);
  margin-bottom: 10px;
  color: var(--primary);
}

h4 {
  font: var(--heading-weight) 150%/100% var(--heading-font-family);
  margin-bottom: 10px;
}

h5 {
  font: var(--heading-weight) 120%/100% var(--heading-font-family);
  margin-bottom: 10px;
}

h6 {
  font: var(--heading-weight) 110%/100% var(--heading-font-family);
  margin-bottom: 10px;
}

small {
  font-size: 50%;
  font-family: var(--regular-font-family);
  font-weight: var(--regular-font-weight);
  display: inline-block;
  line-height: 120%;
}

p {
  margin-bottom: 20px;
}

.strong {
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  opacity: 0.5;
}

.dsa-secure-plugin a:hover {
  opacity: 1;
}

nav {
  z-index: 999;
  position: fixed;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
}

nav .logo-position {
  position: relative;
  left: 5%;
}

nav img.logo {
  max-width: 350px;
  position: absolute;
  top: -90px;
}

nav .span {
  flex-direction: column;
  justify-content: space-between;
  display: none;
  height: 55px;
  width: 55px;
  background-color: #fff;
  border-radius: 50px;
  padding: 17px 15px;
  position: fixed;
  top: 10px;
  right: 5%;
}

nav .span div {
  width: 100%;
  border-bottom: 3px solid var(--primary);
}

button,
.btn,
.simple-popup .popup .btn {
  border: none;
  background-color: var(--button);
  color: #fff;
  padding: 8px 20px;
  margin-top: 15px;
  text-decoration: none;
  display: inline-block;
  border-radius: var(--border-radius);
  font-size: 100%;
}

.btn.secondary {
  background-color: var(--primary);
}

button:hover {
  cursor: pointer;
}

.desktop-nav {
  width: 100%;
  padding: 30px 5%;
  text-align: right;
}

.desktop-nav a {
  padding: 0 10px;
  color: var(--primary);
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  background-color: var(--primary);
  background-color: var(--primary-transparent);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 12px;
  text-decoration: none;
  font-size: 150%;
  color: #fff;
  display: block;
}

.overlay .closebtn {
  position: absolute;
  font-size: 60px;
}

.overlay .closebtn,
nav .span {
  top: 20px;
  right: 5%;
}

.overlay a.closebtn {
  font-weight: 300;
}

.dse {
  font-size: 80%;
  text-align: center;
  position: fixed;
  bottom: 5px;
  right: 5%;
  background-color: var(--contrast);
  border-radius: var(--border-radius);
  color: #fff;
  width: 290px;
  padding: 5px;
}

.dsa-cookie-notice {
  border-radius: var(--border-radius);
}

.dse a {
  color: #fff;
}

.dsa-cookie-notice-close {
  text-transform: none;
  color: #fff !important;
  background-color: var(--button);
  padding: 7px 20px;
  font-weight: 400 !important;
  border-radius: var(--border-radius);
}

article {
  width: 100%;
}

.container {
  padding: 100px 10%;
}

.flexbox {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.with-icons {
  text-align: center;
}

.with-icons .col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.with-icons img.icon {
  width: 100%;
  max-width: 40px;
  margin-top: 30px;
}

.col-1 {
  width: 100%;
}

.col-2 {
  width: 48%;
}

.col-3 {
  width: 33%;
}

.col-4 {
  width: 24%;
}

.col-5 {
  width: 19%;
}

.text-col {
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

header {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  background: url('../images/header.jpg') no-repeat center/cover;
}

@media screen and (orientation: portrait) {
  header {
    height: 62vh;
  }

  .arrow.fade-in-top {
    display: none;
  }
}

header .container {
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.arrow img {
  width: 70px;
  object-fit: cover;
}

.fade-in-top {
  -webkit-animation: fade-in-top 2s cubic-bezier(0.39, 0.575, 0.565, 1) 1s infinite both;
  animation: fade-in-top 2s cubic-bezier(0.39, 0.575, 0.565, 1) 1s infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2026-2-25 14:55:12
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation fade-in-top
 * ----------------------------------------
 */
@-webkit-keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

article:nth-of-type(odd) {
  background-color: var(--grey);
}

article:nth-of-type(even) {
  background-color: #fff;
}

.section-intro {
  text-align: center;
  max-width: 1024px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pic-boxes .col {
  background-color: var(--secondary);
  color: #fff;
  border-radius: var(--border-radius);
}

.pic-boxes h3 {
  text-align: center;
  flex-basis: 100%;
  margin-bottom: 20px;
}

.picture-box {
  aspect-ratio: 7/4;
}

.text-box {
  padding: 20px;
}

.picture-box img {
  width: 100%;
  border-radius: var(--border-radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.parallax {
  background: url('../images/platzhalter.png') no-repeat center/cover;
  background-attachment: fixed;
  min-height: 300px;
}

.parallax.parallax-1 {
  background-image: url('../images/zellstruktur.jpeg');
}

.zitat {
  background-color: var(--secondary);
  text-align: center;
}

.zitat h3 {
  color: var(--text);
  margin: auto;
  max-width: 1000px;
}

.zitat2 {
  background-color: var(--primary);
  text-align: center;
}

.zitat2 h3 {
  color: #fff;
  margin: auto;
  max-width: 1000px;
}

p ~ h3 {
  margin-top: 10px;
}

article ul {
  margin-left: 15px;
  margin-bottom: 16px;
}

article ul li {
  list-style: disc;
  margin-bottom: 5px;
}

article ul li::marker {
  color: var(--primary);
}

b {
  font-weight: 700;
  color: var(--primary);
}

.highlight {
  font-style: italic;
  color: var(--primary);
  font-size: 115%;
  line-height: 160%;
  margin-bottom: 20px;
}

/*-------- KONTAKT -------*/

.kontakt .flexbox {
  flex-wrap: nowrap;
}

.kontakt .col-1-3 {
  background-color: var(--primary);
  color: #fff;
  width: 34%;
  padding: 100px 5% 100px 10%;
}

.kontakt .col-1-3 a,
.kontakt .col-1-3 b {
  color: #fff;
}

.kontakt .col-2-3 {
  width: 66%;
  padding: 100px 10% 100px 5%;
}

.kontakt .contactblock {
  margin-top: 100px;
}

.kontakt h3 {
  color: #fff;
}

.kontakt hr {
  margin: 20px 0;
  color: #fff;
  opacity: 0.4;
}

.kontakt ul li::marker {
  color: #fff;
}

.kontakt2 {
  color: var(--text);
}

.kontakt2 .container {
  background-color: #fff;
}

.kontakt2 iframe {
  width: 100%;
  height: 1200px;
  border: none;
}

/*------ FOOTER ------*/

footer {
  background-color: var(--primary);
  color: #fff;
}

footer h3 {
  color: #fff;
}

footer ul {
  list-style: disc;
  margin-left: 15px;
}

footer p a,
footer ul li a {
  color: #fff;
  text-decoration: underline;
}

footer b {
  color: #fff;
}

.sidenav {
  position: fixed;
  right: 0;
  top: 30%;
  z-index: 9999;
}

.sidenav a,
.sidenav button {
  display: block;
  height: 60px;
  width: 60px;
  background-color: var(--primary);
  border-radius: 50px 0 0 50px;
  margin-bottom: 10px;
  padding: 15px;
  margin-top: 0;
}

.sidenav img {
  height: 100%;
}

.sidenav .preis {
  z-index: 9999;
  padding: 13px 20px 16px;
  color: #fff;
  font-size: 40px;
  padding: 13px 20px 16px;
  font-family: 'Libertinus Serif';
}

.sidenav a.preis {
  display: block;
  height: 60px;
  width: 60px;
  background-color: var(--contrast);
  border-radius: 50px 0 0 50px;
  margin-bottom: 10px;
  padding: 15px;
  margin-top: 0;
}

.sidenav .preis:nth-of-type(4) {
  position: fixed;
  top: 400px;
  z-index: 999;
  left: 0px;
  border-radius: 0px 40px 40px 0px;
}

.preis {
  display: flex; /* oder inline-flex */
  align-items: center;
  justify-content: center;

  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

.infosite h1 {
  flex-basis: 100%;
}

.infosite .container {
  align-items: flex-start;
}

article p a,
article ul li a {
  color: var(--primary);
  text-decoration: underline;
}

.kontaktformular h4 {
  text-align: center;
  margin-top: 20px;
}

.kontaktformular h5 {
  text-align: center;
  margin-top: 20px;
}

.fehlerseite ul li {
  list-style: none;
}

.services-slider,
.popup-gallery {
  padding: 0 20px;
  margin-top: 20px;
}

.services-slider img,
.popup-gallery img {
  width: 100%;
  border-radius: var(--border-radius);
}

.popup-gallery .gallery-item {
  padding: 0 5px;
}

.services-slider .col-4 {
  margin: 0 5px;
  height: 100%;
}

.popup-gallery .gallery-item:hover {
  cursor: pointer;
}

.services-slider .slick-prev,
.popup-gallery .slick-prev {
  left: 0;
  z-index: 999;
}

.services-slider .slick-prev::before,
.popup-gallery .slick-prev::before,
.services-slider .slick-next::before,
.popup-gallery .slick-next::before {
  opacity: 1;
  color: var(--text);
}

.services-slider .slick-next,
.popup-gallery .slick-next {
  right: 0;
}

/*GALLERY SLIDER NO!*/
.section-6 {
  background: url('../images/hintergrund-links.webp') no-repeat center / cover;
  /* padding: 0 10% 0 10%; */
}

.section-6 .container {
  padding: 0 10% 0;
}

.section-6 .slider-wrap {
  max-width: 1000px;
}

.section-6 h2 {
  position: relative;
  top: 100px;
}

.gallery-slider .slider-item {
  overflow: hidden;
}

.gallery-slider .slider-item {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.gallery-slider img {
  width: 90%;
}

.gallery-slider img:hover {
  cursor: pointer;
}

.slider-item {
  padding: 5px;
}

/*GALLERY SLICK-SLIDER*/

.slider-wrap {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  left: 0;
  right: 0;
  text-align: center;
  width: 90%;
  max-width: 1200px;
  bottom: -100px;
  display: flex;
  justify-content: center;
}

.slider-fotos {
  width: 100%;
  display: flex;
  justify-content: center !important;
  position: relative;
}

.slider-fotos img {
  /* max-width: 350px;
  height: 500px; */
  object-fit: cover;
  /* margin-right: 0; */
  border-radius: 150px 150px 0 0;
  /* margin: 0 auto; */
  height: 100%;
  width: 100%;
  aspect-ratio: 2/3;
}

.slick-slide {
  padding: 10px;
}
/*----------------*/

.icon-slides {
  padding: 0 20px;
  margin-top: 20px;
}

.icon-slides a {
  padding: 0 5px;
}

.icon-slides .slick-prev {
  left: 0;
  z-index: 999;
}

.icon-slides .slick-prev::before,
.icon-slides .slick-next::before {
  opacity: 1;
  color: var(--text);
}

.icon-slides .slick-next {
  right: 0;
}

/*-------UEBER UNS---------*/

article.section-1 {
  background: url('../images/hintergrund-links.webp') no-repeat center / cover;
}

/*-------GESCHICHTE WAXING---------*/

.section-2 .flexbox {
  position: relative;
}

.section-2 .col-2.img-col {
  position: absolute;
  inset: 0 10% -100px auto;
  width: 30vw;
}

.section-2 .col-2.img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 500px;
  border-bottom-right-radius: 500px;
}

/*-------KOSMETIK---------*/

article.section-3 {
  background: url('../images/hintergrund-rechts.webp') no-repeat center / cover;
}

.section-3 h2 {
  text-align: center;
}

.section-3 .col-2 {
  width: 50%;
  max-width: 500px;
}

.section-3 .flexbox {
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(20px, 15%, 100px);
}

.section-3 img {
  display: block;
  aspect-ratio: 4/4;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 500px;
  border-top-right-radius: 500px;
}

.section-3 .text-feld {
  background-color: var(--primary);
  padding: clamp(20px, 5%, 50px);
  text-align: center;
}

.section-3 .text-feld h3 {
  color: #fff;
}

/*-------BEAUTY---------*/

.section-4 .col-2.img-col {
  position: absolute;
  inset: 0 auto -100px 10%;
  width: 30vw;
}

.slider-container {
  margin-top: clamp(20px, 5%, 50px);
}

.pic-boxes {
  margin-top: clamp(20px, 5%, 40px);
}

.slider-container .pic-boxes {
  margin-top: 0;
}

/*-------- READ MORE --------*/

.more-text {
  display: none;
}

.readmore .text-box h3 {
  background-color: var(--primary);
  color: #fff;
  padding: 20px;
  text-align: center;
}

.readmore .pic-boxes .col {
  color: var(--text);
}

article:nth-of-type(odd).readmore .pic-boxes .col {
  background-color: #fff;
  color: var(--text);
}

article:nth-of-type(even).readmore .pic-boxes .col {
  background-color: var(--grey);
}

.readmore .text-box {
  padding: 0;
}

.readmore .picture-box {
  aspect-ratio: 7/4;
}

.readmore .text-box .content {
  padding: 20px;
}

.readmore .picture-box img {
  width: 100%;
  border-radius: var(--border-radius);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: block;
}

button.read-more-btn {
  background-color: transparent;
  color: var(--primary);
  border: none;
  display: inline;
  padding: 0;
  text-decoration: underline;
}

.section-1 .container {
  padding: 0 10% 0 10%;
}

.section-1 .col-2.img-col {
  width: 40%;
}

.section-1 .col-2.img-col img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  position: relative;
  bottom: -100px;
  object-fit: cover;
  border-top-left-radius: 500px;
  border-top-right-radius: 500px;
}

/*-------- KONTAKT --------*/

.section-7 .container {
  flex-wrap: nowrap;
}

.section-7 p {
  color: var(--text);
  font-size: 25px;
  line-height: 40px;
  text-decoration: none;
}

.section-7 a {
  color: var(--primary);
  text-decoration: none;
}

/*-------- PARTNERLOGOS --------*/

.partnerlogos {
  display: flex;
  background-color: #fff;
  align-items: center;
  justify-content: center;
  padding: 0 10% 0 10%;
}

.partnerlogos img {
  width: 35vw;
  max-width: calc(35vw - 10%);
  padding: 20px;
}

/*-------- WAXINGPREISE --------*/

/* Container für alle Tabellen */
/* .table-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 400px));
  gap: 40px;
  justify-content: center;
  margin-top: 20px;
} */

.table-container > div {
  text-align: center;
}

/* Jede einzelne Tabelle */
.table-container div {
  text-align: center; /* zentriert den Text in der Tabelle */
}

/* Tabellen Styling */
table {
  border-collapse: collapse; /* für saubere Rahmen */
  margin-bottom: 20px;
}

/* Tabellen Kopf */
th,
td {
  padding: 8px 12px;
}

/* Tabellen Kopf hervorheben */
th {
  background-color: #f2f2f2;
}

/* ===============================
   PREISLISTEN – TABELLENSTIL
   =============================== */

.table-container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

/* Grundtabelle */
.table-container table {
  width: 48%;
  min-width: auto;
  border-collapse: collapse;
  font-family: 'Libertinus Serif', serif;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.table-container table:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Titel der Tabelle (erste Zeile) */
.table-container table tr:first-child th {
  color: #d01944;
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  padding: 30px 20px;
  border-bottom: none;
}

/* Kopfzeile */
.table-container table tr:nth-child(2) th {
  background: #272727;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  padding: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Zellen */
.table-container table td {
  padding: 14px 18px;
  font-size: 17px;
  color: #272727;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Erste Spalte (Bereich) */
.table-container table td:first-child {
  font-weight: 500;
}

/* Preis-Spalten */
.table-container table td:nth-child(2),
.table-container table td:nth-child(3) {
  text-align: center;
  font-weight: 600;
  color: #d01944;
}

/* Alternierende Zeilen */
.table-container table tr:nth-child(even) td {
  background: #fafafa;
}

/* Letzte Zeile ohne Border */
.table-container table tr:last-child td {
  border-bottom: none;
}

/* Bindestrich dezenter */
.table-container table td:contains('-') {
  color: #999;
}

.slick-loading .slick-list {
  background: #fff url('../images/ajax-loader.gif') center center no-repeat;
}

.kontakt2 iframe {
  width: 100%;
  height: 900px;
  border: none;
}

@media screen and (max-width: 1800px) {
  .col-4 {
    width: 49%;
    margin-bottom: 2%;
  }

  .col-5 {
    width: 32%;
    margin-bottom: 2%;
  }

  .section-7 .flexbox {
    justify-content: center;
    gap: 2%;
  }
}

@media screen and (max-width: 1650px) {
  nav img.logo {
    max-width: 280px;
    top: -70px;
  }
}

@media screen and (max-width: 1450px) {
  .col-1-3 {
    width: 40%;
  }

  .col-2-3 {
    width: 60%;
  }
  .section-1 .col-2.text-col {
    padding-top: 100px;
  }
}

.kontakt2 iframe {
  width: 100%;
  height: 1000px;
  border: none;
}

@media screen and (max-width: 1024px) {
  * {
    hyphens: auto;
  }

  .table-container table td {
    font-size: 14px;
  }

  nav .span {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .col-2 {
    width: 100%;
    margin-bottom: 20px;
  }

  .col-3 {
    width: 100%;
    margin-bottom: 20px;
  }

  .container {
    padding: 50px 10%;
  }

  .text-col {
    padding: 20px 0 0 0;
  }

  .sidenav {
    top: auto;
    bottom: 50px;
  }

  .sidenav a,
  .sidenav button {
    height: 45px;
    width: 45px;
    padding: 11px;
  }

  .sidenav .preis:nth-of-type(4) {
    position: static;
    height: 45px;
    width: 45px;
    padding: 11px 11px 11px 16px;
    border-radius: 50px 0 0 50px;
    font-size: 26px;
    line-height: 23px;
  }

  .col-5 {
    width: 49%;
  }

  nav img.logo {
    max-width: 220px;
    top: -59px;
  }

  h1 {
    font-size: 250%;
  }

  .section-1 .col-2.img-col {
    width: 100%;
  }

  .section-1 .col-2.img-col img {
    width: 100%;
    aspect-ratio: 7/3;
    position: static;
    border-radius: 20px;
  }

  .section-1 .container {
    padding: 100px 10%;
  }

  .section-1 .col-2.text-col {
    padding: 0;
  }

  .section-2 .col-2.img-col {
    position: static;
    width: 100%;
  }

  .section-2 .col-2.img-col img {
    aspect-ratio: 7/3;
    border-radius: 20px;
  }

  .section-2 .flexbox {
    flex-direction: column-reverse;
  }

  .table-container {
    display: block;
  }
  .table-container table {
    width: 100%;
  }
}
@media screen and (max-width: 830px) {
  .kontakt .flexbox {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }

  .kontakt .col-1-3,
  .kontakt .col-2-3 {
    width: 100%;
  }

  .kontakt .contactblock {
    margin-top: 50px;
  }

  .kontakt .contactblock:first-of-type {
    margin-top: 0;
  }

  h1 {
    font-size: 200%;
  }
}

@media screen and (max-width: 760px) {
  .col-4 {
    width: 100%;
    margin-bottom: 20px;
  }

  h1,
  h2 {
    font: var(--heading-weight) 190%/100% var(--heading-font-family);
    margin-bottom: 10px;
  }

  h3 {
    font-size: 150%;
  }

  h4 {
    font-size: 120%;
  }

  .kontakt .col-1-3,
  .kontakt .col-2-3 {
    width: 100%;
  }

  /* Animation für das Logo */
  nav img.logo {
    transition: transform 0.4s ease, opacity 0.3s ease;
  }

  /* Zustand wenn Logo ausgeblendet ist */
  nav img.logo.logo-hidden {
    transform: translateY(-150%);
    opacity: 0;
  }
}

.kontakt2 iframe {
  width: 100%;
  height: 800px;
  border: none;
}

@media screen and (max-width: 600px) {
  .col-5 {
    width: 100%;
  }

  header {
    background: url('../images/header.jpg') no-repeat right center/cover;
  }

  .section-3 .flexbox {
    display: block;
  }

  .section-3 .col-2 {
    width: 100%;
    max-width: none;
  }

  .table-container table tr:nth-child(2) th {
    font-size: 12px;
    padding: 1px;
  }
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

.kontakt2 iframe {
  width: 100%;
  height: 1100px;
  border: none;
}
