@import url('./fa-brands-400.ttf');
/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.ohne_margin {margin-top: 0;margin-bottom: 0;}
html {
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
}
body {
    position: relative;
    font-family: 'Yomogi', sans-serif;
    font-size: 16pt;
    font-weight: 300;
    height: 100%;
    overflow: auto;
}
a {
    text-decoration: none;
    color: #9a3951;
    font-weight: 600;
}
p {margin-block-end: 1rem;}
h2 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}
.cta h2 {margin-bottom: 0}
h3 {
    margin-bottom: 1rem;
    margin-top: 1rem;
    font-size: 26px;
    font-weight: 600;
}
.heading_primary_color {
    color: #9a3951;
}
/* width */
::-webkit-scrollbar {
  width: 10px;
  left: 20px;
  position: relative;
}
/* Track */
::-webkit-scrollbar-track {
  background: #CCC5B8;
  border-radius: 30px;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #9A3951;
  border-radius: 30px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.hg {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(../IMG/INTERIOR/hg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.page {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    position: relative;
    padding-bottom: 50px;
    transition: bottom 0.8s ease;
}
.spinner_box {display: none;}
.invisible {opacity: 0;}

/*  ----------- STARTSEITE ----------- */
#beigebox_start, #beigebox_zeiten {
    align-items: center;
    display: flex;
    flex-direction: column;
}
#start_beigebox_header {
    display: flex;
    justify-content: center;
    column-gap: 20px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    width: 100%;
}
#start_beigebox_header + h2 {text-align: center;}
#start_beigebox_header h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 100;
}
a#telefon {
    color: #783d4b;
    text-decoration: none;
    text-align: center;
    margin-bottom: 1.75rem;
    display: block;
}
#telefon h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 0;
}
#telefon p {
  text-align: center;
  margin-bottom: 0;
}
#nachvereinbarung {
    margin-bottom: 2rem;
    margin-top: 1rem;
}

/* Make cells look like normal boxes, not merged into the gap */
.vertretungsplan th,
.vertretungsplan td {
  background: #fff;              /* so the gap shows as table bg */
  border-bottom: 1px solid #ddd;       /* cell border that doesn't collapse into the gap */
  padding: .5rem .75rem;
  text-align: left;
}
thead, tbody {border-color: transparent;}
#za_notfall_cta_wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
}
#za_notfall_cta {
    height: auto;
    color: white;
    border-radius: 32px;
    width: auto;
    padding: 1rem 1.5rem;
    text-align: center;
    margin-top: 2rem;
}
.date {font-weight: 600;}
main, .fullwidth_wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    overflow-y: auto;
}
.content_area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    padding: 50px 0;
    flex-direction: column;
}
.fullwidth_wrapper {
    background: #d0cabe;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    opacity: 0;
    transition: opacity 0.5s;
    padding-top: 5%;
    box-sizing: content-box;
}
.whitebg {background: #f1f1f1;}
#fullwidth_wrapper_anfahrt, #fullwidth_wrapper_team_einzel, #fullwidth_wrapper_kosten, #fullwidth_wrapper_philosophie, #fullwidth_wrapper_leistungen_einzel {
  justify-content: normal;
  padding-top: 0;
  display: inherit;
}
#fullwidth_wrapper_team_einzel {
  justify-content: flex-end;
  padding-top: 0;
  display: inherit;
}
.leftside, .rightside {
  height: auto;
  width: 50%;
  position: absolute;
}
.rightside {right: 0}
.infoside {padding: 124px 32px 64px 32px;}
#start_bewerbung {text-decoration:none;}

/* ------------ Leistungen, Team ----------------- */
.listpage_bg {
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    background: #d0cabe;
    pointer-events: none;
    right: 0;
}
.listpage_header {position:relative;margin-bottom: 2rem;font-size: 2rem;}

/* Base styles for the container and columns */
.column {
  display: grid;
  grid-template-rows: repeat(4, 135px); /* Four rows per column */
  gap: 16px; /* Adjust as needed */
}

/* Styles for rows */
.row {
    display: flex;
    justify-content: space-between;
    column-gap: 16px;
    cursor: pointer;
    height: 100%;
}
#team_container .row:hover .label {background: white;}
#team_container .row:hover h3 {color: #9A3951;}
#leistungen_container .row:hover .label {background: #9A3951;}
#leistungen_container .row:hover h3 {color: white;}
.label, .image {
    border-radius: 8px;
    background-color: #fff;
    height: 100%;
    background: linear-gradient(white, white) padding-box, linear-gradient(to right top, #63636369, #ffffffd1) border-box;
    border: 3px solid transparent;
    overflow: hidden;
}
.label {
    padding: 20px;
    width: calc(100% - 126px);
    transition: all 0.2s ease-in;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.label h3 {
    font-size: 21px;
    margin: 0;
    text-align: right;
    width: 100%;
    display: block;
}
#leistungen_container .label h3 {
    color: #9a3951;
}
.label p {
    text-align: right;
    display: block;
    width: 100%;
}
.label p:last-child {
    font-size: 18px;
    margin-bottom: 0;
}
.image {width: 200px;}
.image div {
  background-size:cover;
  background-position:center;
  height: 100%;
}
.column .row:first-child .label {border-top-left-radius: 24px;}
.column .row:first-child .image {border-top-right-radius: 24px;}
.column .row:last-child .label {border-bottom-left-radius: 24px;}
.column .row:last-child .image {border-bottom-right-radius: 24px;}
#team_container .row:hover .label {background: white;color: #9A3951;}
#team_container .label {
    background-color: #9A3951;
    height: 110px;
    background: linear-gradient(#9A3951, #9A3951) padding-box, linear-gradient(to right top, #5d2929, #cd7289) border-box;
    overflow: hidden;
}

/* ------------ Kosten / Philosophie ------------- */
#kosten_info h3 {
    margin-bottom: 2rem;
}

/* ------------ Kontakt ------------- */
input, textarea {
    padding: 0.5rem;
    border-radius: 6px;
    border: 0px;
    width: 100%;
    box-sizing: border-box;
}
#datenschutz_checkbox {
    width: auto;
}
label {
    display: block;
    margin-top: 1rem;
}
#kontakt_absenden {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* ------------ Anfahrt ------------- */
#fullwidth_wrapper_anfahrt .leftside {
    padding: 3rem;
    box-sizing: border-box;
    padding-top: 6rem;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    padding-right: 0;
}
.anfahrt_view {
    height: 370px;
    width: 100%;
    position: relative;
    border-radius: 32px;
    transition: 1s opacity ease;
    opacity: 0;
    overflow: hidden;
}
#anfahrt_view_img_wrapper {
  height: 100%;
  width: 100%;
}
.anfahrt_view_img {
  height: 100%;
  width: 100%;
  position: relative;
  transition: 2s opacity ease;
  opacity: 0;
}
#anfahrt_view_img1 {
  background: url(../IMG/anfahrt_streetview1.webp);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover
}
#anfahrt_view_img2 {
  background: url(../IMG/anfahrt_streetview2.webp);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
#anfahrt_view_img3 {
  background: url(../IMG/anfahrt_streetview3.webp);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
#anfahrt_view_img4 {
  background: url(../IMG/anfahrt_streetview4.webp);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
#anfahrt_arrows {
  height: 50px;
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}
.anfahrt_arrow {
  width: 50px;
  height: 50px;
  cursor: pointer;
  opacity: 0;
  transition: 0.2s opacity ease;
}
#anfahrt_leftarrow {
  transform: rotate(180deg);
}
.infobox_outer {
    height: auto;
    width: 100%;
    background: #ccc5b8;
    position: relative;
    border-radius: 30px;
    overflow: visible;
    box-shadow: 0 5px 10px rgba(0,0,0,0.5);
    transition: 0.5s opacity ease;
    opacity: 0;
    left: 5%;
    z-index: 2;
    /* padding: 1rem; */
    display: flex;
    justify-content: flex-start;
    margin-bottom: 4rem;
}
#anfahrt_infobox {
    left: 0;
    height: auto;
    box-sizing: border-box;
}
#map_datenschutz {cursor: pointer;}
.popup_wrapper a {color: #9A3951;}
.custom-confirm-btn {
    background: #9A3951 !important;
    box-shadow: none !important;
}
.custom-cancel-btn {
    background: #CCC5B8 !important;
    box-shadow: none !important;
    color: #4b4b4b !important;
}
.custom-confirm-btn:active {box-shadow: none !important;}
.custom-confirm-btn:focus {
    box-shadow: none !important;
    border: 3px solid #eab0bf !important;
}
.hoz_divider {
    background: url('../IMG/hoz-divider.svg');
    width: 80%;
    height: 8px;
    margin: 0 auto;
    margin-bottom: 3rem;
    margin-top: 3rem;
    background-repeat: repeat-x;
}
.infobox_inner {
    width: 100%;
    height: 100%;
    padding: 4rem;
    padding-top: 60px;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
}
#impressum_info.infobox_inner {align-items: flex-start;}
#team_infobox {width: 110%;right: 15%;left: auto;}
#header_logo, .header_firmenname {cursor: pointer;}

/*  TEAM EINZEL */
#team_einzel_infobox {
  height: 70%;
  width: 100%;
}
#team_infobox h3 {margin-top: 0;font-size: 1.35rem;}
#team_einzel_info h2, #philosophie_info h2, #leistungen_einzel_info h2, #kosten_info h2 {text-align: center;}
p {margin-bottom: 2em;text-align: justify;}
p:last-child {margin-bottom: 3rem;}
#team_einzel_info ul, #philosophie_info ul, #kosten_info ul, #leistungen_einzel_info ul {list-style: disc;margin-bottom: 2em;}
#team_einzel_info li, #philosophie_info li, #leistungen_einzel_info li {margin-bottom: 0.75em;}
.vita_wrapper {width: 100%;}
.vita_heading {
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    color: #9a3951;
    margin-top: 1rem;
}
.vita_container {
    display: flex;
    flex-direction: row;
    width: 100%;
    row-gap: 1rem;
}
.vita_row {
    display: flex;
    column-gap: 1rem;
    position: relative;
    width: 65%;
    left: 40px;
    justify-content: flex-end;
}
.vita_decoration {display: flex; flex-direction: column; flex-shrink:0; width: 80px;}
.vita_circle {height: 80px;background-image: url('../IMG/TEAM/line_circle.svg');background-position: center;}
.vita_line {
    height: auto;
    background-image: url('../IMG/TEAM/line_vertical.svg');
    min-height: 160px;
    background-repeat: no-repeat;
    background-position: center;
    /* das letztgeladene Vitaobjekt darf einfach keine .vita_line bekommen, fertig! */
}
.vita_title {font-size: 1.45rem;}
.vita_text {
    padding-top: 20px;
    width: auto;
}
.vita_text p, .vita_text h4 {
    margin-bottom: 12px;
    text-align: right;
    margin-right: 0rem;
}
.vita_text h4 {
    font-size: 1.2rem;
    font-weight: 600;
}
.mitglied {margin-top: 1rem;}
.infobox_inner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
#fullwidth_wrapper_leistungen .infobox_inner h2 {
  margin-bottom: 0.5rem;
}
#fullwidth_wrapper_leistungen .infobox_inner h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}
#anfahrt_info_dynamic {
  color: #B96E81;
  margin-top: 1em;
  display: block;
  font-weight: bold;
}
.rightside_full_img {
  position: fixed;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  opacity: 0;
  transition: 1s opacity ease;
}
.leftside_full_img {
  position: fixed;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  opacity: 0;
  transition: 1s opacity ease;
}
#previews_anfahrt {
    padding: 3rem;
    padding-top: 6rem;
    box-sizing: border-box;
    padding-left: 1rem;
}
#map_datenschutz {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 32px;
    background: url('../IMG/map2.webp');
    border: 2px solid white;
}
#image_team_einzel {
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
}
#previews_philosophie {
  background: url(../IMG/INTERIOR/praxis.webp);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}
#image_leistungen_einzel {
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}
#previews_kosten {
  background: url(../IMG/INTERIOR/geldfragen2.webp);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}
#previews_kontakt {
  background: url(../IMG/INTERIOR/geldfragen2.webp);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}
.beigebox {
    background: #ccc5b8;
    width: 60%;
    height: auto;
    position: relative;
    background-size: 100% 100%;
    padding: 64px;
    opacity: 0;
    transition: opacity 2s ease-in;
    max-width: none;
    border-radius: 48px;
    background: linear-gradient(#ccc5b8, #ccc5b8) padding-box, linear-gradient(to right top, #9b8d77, #afa087) border-box;
    border: 2px solid transparent;
    margin-bottom: 1rem;
}
.beigebox h1 {font-size: 1.2rem;}
.beigebox_multibuttons_wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    column-gap: 1rem;
}
.infobubble_wrapper {
    display: flex;
    justify-content: center;
    column-gap: 2rem;
    flex-direction: column;
    row-gap: 2rem;
    width: auto;
}
.infobubble {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    width: auto;
    box-shadow: 0 0 40px 10px #0000002e;
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 2rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    padding-left: 2rem;
}
.beigebox_multibuttons_wrapper_bottom {
    display: flex;
    column-gap: 20px;
    position: absolute;
    bottom: -28px;
    z-index: 2;
    width: 100%;
    justify-content: center;
}
.side_emoji {
    margin-bottom: 0;
    font-size: 1.25rem;
}
.zeiten_wrapper {
    border-left: 1px solid grey;
    padding-left: 2rem;
}
.zeiten {
    margin-bottom: 0 !important;
    text-align: left;
}
.with_margin_top {margin-top: 1rem;}
.zeiten_wrapper p:last-child {margin-bottom: 0;}
.unter_buttonwrapper {margin-top: 3rem;}
.three_buttons {
    display: flex;
    height: auto;
    column-gap: 32px;
    align-items: flex-start;
    width: auto;
    justify-content: center;
}

/* ------ CTAs ------------- */
#cta1_wrapper, #cta2_wrapper, #cta3_wrapper {
  transition: opacity 400ms ease-out;
  opacity: 0;
} 
.cta {
    position: relative;
    top: 0;
    margin-bottom: 15px; /*wegen :before 3D Effect, sonst bricht es das Padding-Gleichgewicht */
    box-sizing: border-box;
    background: #9A3951;
    width: 250px;
    height: 250px;
    break-inside: auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: center;
    align-items: center;
    border-radius: 48px;
    transform-style: flat;
    cursor: pointer;
    transition: all 250ms cubic-bezier(0, 0, 0.58, 1);
}
.cta_wrapper:hover .cta {top: 10px;}
.cta::before {
    position: absolute;
    z-index: -1;
    content: '';
    width: calc(100%);
    height: 100%;
    top: 0;
    left: -1px;
    right: 0;
    bottom: 0;
    border: 1px solid #b26276;
    box-sizing: content-box;
    background: #78293d;
    border-radius: inherit;
    box-shadow: 0 12px 0px #ECE3D4;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0px 8px 8px 2px rgba(0, 0, 0, 0.4);
    top: 15px;
    transition: all 250ms cubic-bezier(0, 0, 0.58, 1);
}
.cta_wrapper:hover .cta::before {
    top: 10px;
    box-shadow: 0 0.45em 0 0 #ECE3D4;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0px 6px 8px 2px rgba(0, 0, 0, 0.4);
}
#cta3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 12px;
}
h2.cta_text {
    color: white;
    text-align: center;
    font-size: 1.1rem; /*3vh ist wohl crazy*/ 
}
#account_icon {
    position: relative;
    height: calc(100% - 110px);
    opacity: 0.38;
}
#account_icon svg {
    width: 100%;
    top: 0;
    position: relative;
}
.cta:active {background: #c07085;}
.cta:active::before {background: #9A3951;}
#zurueck, #kontakt, #kosten1, #kosten2, #bewerbung, #kontakt_absenden {
    height: auto;
    width: 200px;
    color: white;
    border-radius: 18px;
    font-size: 1rem;
    border:none;
}
.beigebox_multibuttons_wrapper a {text-decoration: none;}

/*-------------FOOTER--------------------*/
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    padding-right: 32px;
    pointer-events: none;
}
.impressum {
    display: flex;
    flex-direction: row-reverse;
    align-content: center;
    flex-wrap: wrap;
    column-gap: 32px;
    height: 100%;
}
.impressum_link {
    text-decoration: none;
    color: #4b4b4b;
    display: inline-block;
    position: relative;
    bottom: 4px;
    cursor: pointer;
    pointer-events: all;
}

.emoji_mobile {display: none;}



/* Media query to handle screen widths above 1560px */
@media (min-width: 1561px) {
  .vita_row {width: 50%;}
  .vita_container:nth-of-type(even) {justify-content: flex-end;}
  .vita_container:nth-of-type(even) .vita_row {
     flex-direction: row-reverse; 
     left: -40px;
  }
  .vita_container:nth-of-type(even) .vita_text p, .vita_container:nth-of-type(even) .vita_text h4 {
    margin-bottom: 12px;
    text-align: left;
  }
}

/* Media query to handle screen widths below 756px */
@media (max-width: 1500px) {
    .infobubble_wrapper {column-gap: 1rem;}
    .three_buttons {column-gap: 1rem;}
    .cta {width: 230px;height:230px;margin-bottom: 0;}
    .fullwidth_wrapper {box-sizing: border-box;}
    #fullwidth_wrapper_philosophie, #fullwidth_wrapper_kosten {background: #ccc5b8 !important;}
    #fullwidth_wrapper_team_einzel .infobox_inner {padding: 1rem}
    .infobox_outer {left:0;}
    .infoside {padding: 0;overflow: auto;}
    .infoside h3 {margin-bottom: 2rem;}
    .infobox_outer {
        padding-top: 10%;
        border-radius: 0;
        height: auto;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
    }
    #image_team_einzel {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    #team_infobox {
        width: 100%;
        right: 0;
        padding-top: 20%;
    }
    #fullwidth_wrapper_anfahrt .infobox_outer {padding-top: 0;border-radius: 32px;}
    .beigebox_multibuttons_wrapper {
        position: relative;
        flex-wrap: wrap;
        row-gap: 32px;
        bottom: 0;
        text-align: center;
        width: min-content;
        margin-top: 1.5rem;
    }
    #zurueck, #kontakt, #kosten1, #kosten2 {width: 300px;}
    #map_datenschutz {background-position: 40% 30%;}
    .beigebox_multibuttons_wrapper_bottom {
        display: flex;
        column-gap: 20px;
        position: relative;
        bottom: auto;
        z-index: 2;
        width: 80%;
    }
    #fullwidth_wrapper_anfahrt .leftside {display: block;}
    #anfahrt_view {margin-bottom: 1rem;}
}

@media (max-width: 1300px) {
    .beigebox {width: 80%;}
}

@media (max-width: 1200px) {
    #fullwidth_wrapper_anfahrt .rightside_full_img, .header_rechts {width: 50%;}
    .header_wrapper.desktop {column-gap: 48px !important; padding: 16px !important;}
    .vita_row {
        width: auto;
        position: relative;
        flex-direction: row-reverse;
        left: 0;
        padding-left: 1rem;
    }
    .vita_text p, .vita_text h4 {text-align: left;}
}

@media (max-width: 1000px) {
    .beigebox {padding: 24px;}
    .infobubble_wrapper {
        flex-direction: column;
        row-gap: 1rem;
    }
    .three_buttons {
        flex-direction: column;
        row-gap: 1.75rem;
        align-items: stretch;
    }
    .cta {
        height: auto;
        width: 100%;
        border-radius: 32px;
        box-sizing: border-box;
        display: flex;
    }
    #cta1, #cta2, #cta3 {min-height: 150px;}
    #cta3 {
        flex-wrap: nowrap;
        flex-direction: row;
        column-gap: 12px;
        justify-content: center;
    }
    #account_icon {
        height: 60px;
        width: 110px;
    }
    .column {grid-template-rows: repeat(4, 180px);}
    #za_notfall_cta_wrapper {margin-bottom: 1rem;}
}

@media (max-width: 800px) {
    html,body {overflow: auto;}
    .hg {
        position: relative;
        height: 40dvh;
        top: 1rem;
        width: calc(100% - 2rem);
        left: 1rem;
        border-radius: 24px;
        margin-bottom: 2rem;
    }
    .desktop {display: none;}
    .header {
        position: sticky;
        top: 0;
        z-index: 1;
    }
    #burger:before {box-shadow: none;}
    .header_links.invisible {opacity: 1}
    #start_beigebox_header {display: none;}
    .page {
        height: auto;
        padding-bottom: 0;
        top: 0;
    }
    #startpage {
        width: calc(100% - 2rem);
        left: 1rem;
    }
    main {
        height: auto;
        top: 0;
    }
    .content_area {
        padding: 0;
        display: block;
        height: auto;
        top: 0;
        bottom: auto;
        position: relative;
    }
    .fullwidth_wrapper {
        position: relative;
        height: auto;
        display: flex !important;
        flex-direction: column-reverse;
        padding: 12px;
        row-gap: 12px;
        padding-top: 12px !important;
    }
    #fullwidth_wrapper_philosophie, #fullwidth_wrapper_kosten {background: #f1f1f1;}
    .rightside_full_img, .leftside_full_img {
        height: 33dvh !important;
        box-sizing: border-box;
        border-radius: 2rem;
    }
    .beigebox {width: 100%;}
    #beigebox_start {
        padding: 1rem;
        padding-top: 1rem;
        padding-bottom: 2rem;
        opacity: 1 !important;
        border: none;
        border-radius: 24px;
    }
    #start_beigebox_header + h2 {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    table {border-radius: 1rem;overflow: clip;}
    .vertretungsplan th, .vertretungsplan td {
        padding: 0.8rem 1rem;
    }
    .infobubble_wrapper {
        flex-direction: column;
        row-gap: 1rem;
        width: 100%;
    }
    .infobubble {
        padding: 1rem;
        column-gap: 16px;
        background: #ccc5b8;
        box-shadow: none;
    }
    .infoside {
        padding: 0;
        position: relative;
        display: block;
    }
    .infobox_outer {
        padding-top: 32px;
        position: relative;
        padding-right: 0;
        height: auto;
        flex-direction: column;
        border-radius: 2rem;
        box-shadow: none;
        padding-bottom: 4rem;
    }
    .infobox_inner {
        padding: 2rem;
        overflow: visible;
    }
    .beigebox_multibuttons_wrapper {
        position: relative;
        display: flex;
        column-gap: 20px;
        z-index: 2;
        flex-direction: column;
        row-gap: 32px;
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
        align-items: center;
        bottom: 0;
        overflow: visible;
    }
    .beigebox_multibuttons_wrapper a {width: 100%;}
    #kosten_info h3 {
        margin-bottom: 0rem;
        text-align: center;
    }
    #zurueck, #kontakt, #kosten1, #kosten2 {
        width: 100%;
        min-height: auto;
    }
    .column {
        grid-template-rows: repeat(auto-fit, minmax(100px, auto)); /* Adjust as needed */
    }
    .row {min-height: 30vh;}
    .container {width: 100%;gap: 8px !important;padding: 4px;grid-template-columns: 1fr !important;}
    .listpage_header {
        font-size: 1.5rem;
        padding-left: 1rem;
        padding-top: 1rem;
    }
    .label, .image {
        height: auto !important;
        min-height: 110px;
        align-items: flex-start;
        border-radius: 12px !important;
    }
    .label {width:60%}
    .image {width:40%}
    .column .row:first-child .label {border-top-left-radius:12px;}
    .column .row:last-child .label {border-bottom-left-radius: 12px;}
    .column .row:first-child .image {border-top-right-radius: 12px;}
    .column .row:last-child .image {border-bottom-right-radius: 12px;}
    .leftside, .rightside, .rightside_full_img, .leftside_full_img {
        width: 100% !important;
        height: auto;
        position: relative;
        z-index: 0;
        overflow: visible;
    }
    #team_infobox {width: 100%;}
    .vita_text {width: min-content;}
    #fullwidth_wrapper_anfahrt {flex-direction: column;}
    #fullwidth_wrapper_anfahrt .leftside {
        padding: 0;
        display: flex;
        flex-direction: column-reverse;
    }
    #anfahrt_view {margin-bottom: 0rem;}
    .anfahrt_view {height: 360px;}
    .anfahrt_view_img {background-size: cover !important;}
    #anfahrt_info {padding-top: 1.2rem;}
    #previews_anfahrt {padding: 0;}
    #fullwidth_wrapper_anfahrt .rightside_full_img, .header_rechts {width: 100%;}
    footer {
        position: relative;
        background: #f1f1f1;
    }
}

@media (max-width: 600px) {
    .infobubble {padding: 0;}
    .side_emoji {display: none;}
    .zeiten_wrapper {border: none; padding-left: 0;}
    .emoji_mobile {display: inline;}
}

@media (max-width: 450px) {
    .column {gap:8px;}
    .row {column-gap: 4px;}
    .label, .image {
        border: 1px solid transparent; width: 50%;
    }
}

@media screen and (pointer: coarse) and (max-width: 1500px) {
    .cta {transform-style: flat;} 
    .cta::before {
        transform: translate(0, 5px);
        opacity: 0 !important;
    } 
}