/* Allegemein für alle sections */

#section1, #section2, #section3, #section4, #section5, #section6, #section7, #section8 {
width: 100vw;color: #ffffff;position: relative;

overflow: hidden;}

/*
     Overflow Hidden war dafür da um in  section 2 das Bild unten nicht zu na an MarkusBild kommen zu lassen
     Allerdings wurde stattdessen das Bild unschön abgechnitten
*/

/* ====== SECTION 1 Grundlayout ====== */
#section1 {
position: relative;
min-height: 100vh;
overflow: hidden;
}

/* videohintergrund */
#section1 .at-bg-video {
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}


#section1 .content {
position: relative;
z-index: 1;
color: white;
text-align: center;
padding: 3rem;mix-blend-mode: difference;
}


/* Logo‑Markus */
#section1 .logo {
position: absolute;
top: 5vh;
left: 50%;
transform: translateX(-50%);
z-index: 3;
width: 50px;
pointer-events: none;mix-blend-mode:difference
}

#section1 .logo svg {
width: 100%;
height: auto;
display: block;
}


/* Pfleil nach unten */
#section1 .scroll-down {
position: absolute;
bottom: 5vh;
left: 50%;
transform: translateX(-50%);
animation: bounce 2s infinite;
z-index: 3;
width: 30px;
pointer-events: none;mix-blend-mode:difference
}
#section1 .scroll-down svg {
width: 100%;
height: auto;
display: block;
}
@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}




/*
 # #*##############################################################################################################
 */


/* ====== SECTION 2 Grundlayout ====== */

/*#section2 .fade-container table, .fade-container table tr td {border: 1px solid white;}*/

/* Tabelle */
#section2 .table1_section2,
#section2 .table2_section2,
#section2 .table3_section2,
#section2 .table4_section2 {
    border-collapse: collapse;
}

#section2 .table1_section2 td,
#section2 .table2_section2 td,
#section2 .table3_section2 td {height: 400px;}

#section2 .table4_section2 td {height: 100px;}
#section2 .table4_section2 tr:nth-child(odd) td {height: 266px;}

/* Styles für einzelne Tabellen */
#section2 .table1_section2 {width: 970px;}
#section2 .table1_section2_col1 {width: 45%;}
#section2 .table1_section2_col2 {width: 55%;padding-bottom: 14px;padding-left: 15px;}
#section2 .table2_section2 {width: 1075px;}
#section2 .table2_section2_col1 {width: 49%;padding-top: 14px;}
#section2 .table2_section2_col2 {width: 51%;}
#section2 .table3_section2 {width: 1000px;}
#section2 .table3_section2_col1 {width: 48%;}
#section2 .table3_section2_col2 {width: 52%;padding-bottom: 14px;}
#section2 .table4_section2 {width: 1280px;}
#section2 .table4_section2_col1 {width: 35%;padding-right: 10px;}
#section2 .table4_section2_col2 {width: 65%;padding-left: 20px;}


/* ====== Zeilen-Ausrichtung für alle Fades ====== */

/* Fade 1–3: zwei Zeilen */
#section2 #fade1 table tr:nth-child(1) td,
#section2 #fade2 table tr:nth-child(1) td,
#section2 #fade3 table tr:nth-child(1) td {vertical-align: bottom !important;}

#section2 #fade1 table tr:nth-child(2) td,
#section2 #fade2 table tr:nth-child(2) td,
#section2 #fade3 table tr:nth-child(2) td {vertical-align: top !important;}

/* Fade 4: drei Zeilen */
#section2 #fade4 table tr:nth-child(1) td {vertical-align: bottom !important;}
#section2 #fade4 table tr:nth-child(2) td {vertical-align: middle !important;}
#section2 #fade4 table tr:nth-child(3) td {vertical-align: top !important;}

/* Doppelschrift */
.text-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-start; /* linksbündig */
    align-items: center;         /* Standard: mittig */
}

/* Standard-Stil für Schriftlagen */
.filled, .outline {
    position: absolute; /* war absolute → muss weg */
    top: auto;
    left: auto;
    transform: none; /* war translateY(-50%) */
    margin: 0;
    font-family: Montserratbold, arial, Helvetica, Sans-Serif !important;
    text-transform: uppercase;
    line-height: 1.1;
    white-space: nowrap;
    font-size: clamp(2.5rem, 7vw, 6.5rem);
    mix-blend-mode: normal;
}

.filled {color: #ffffff;z-index: -30;}
.outline {color: transparent;-webkit-text-stroke: 1px #fff;text-stroke: 1px #fff;z-index: 30;
  font-size: clamp(2.5rem, 7vw, 6.5rem);}


/* Erste Zeile: unten */
#section2 #fade1 table tr:nth-child(1) .text-wrapper,
#section2 #fade2 table tr:nth-child(1) .text-wrapper,
#section2 #fade3 table tr:nth-child(1) .text-wrapper,
#section2 #fade4 table tr:nth-child(1) .text-wrapper {align-items: flex-end;}

/* Zweite Zeile: oben */
#section2 #fade1 table tr:nth-child(2) .text-wrapper,
#section2 #fade2 table tr:nth-child(2) .text-wrapper,
#section2 #fade3 table tr:nth-child(2) .text-wrapper,
#section2 #fade4 table tr:nth-child(3) .text-wrapper {align-items: flex-start;}

#section2 #fade4 table tr:nth-child(2) .text-wrapper {align-items: center;}


/* Ausnahme NUR für fade1 und fade3, zweite Tabellenzeile */
#section2 .fade-container#fade1 table tr:nth-child(2) .filled,
#section2 .fade-container#fade1 table tr:nth-child(2) .outline,
#section2 .fade-container#fade3 table tr:nth-child(2) .filled,
#section2 .fade-container#fade3 table tr:nth-child(2) .outline {right: 0;left: auto;text-align: right;}

/* Center in fade 4 */
#section2 .fade-container#fade4 table tr:nth-child(3) .text-wrapper {justify-content: left !important;padding-left:120px;}


/* kleine Texte */
.fade-container .jahreszahl {
    position: relative;
    white-space: nowrap;
    font-family: Montserratthin, arial, Helvetica, Sans-Serif;
    font-size: 26px;
    line-height: normal;
    font-weight: normal;
    text-transform: none;
}

.table1_section2 .jahreszahl,
.table3_section2 .jahreszahl {vertical-align: top;top: 20px;}

.fade-container .beschreibungstext {
    font-size: 18px;
    font-family: Montserratlight, arial, Helvetica, Sans-Serif;
    margin: 0;
    line-height: normal;
    font-weight: normal;
    z-index: 300 !important;
    position: relative;
}

.fade-container .beschreibungstext .red {white-space: nowrap;color: #F26161;}


/* Section 2 - Parallax
####################### */
#section2 .fade-container .paralaximg {
    z-index: 2;
    pointer-events: none;
    user-select: none;
    position: relative;
    display: block;
}

#section2 .fade-container .paralaximg {
    border-radius: 20px;
    position: absolute;
    margin-top: 60px;
    margin-bottom: 60px;
}


#section2 .fade-container .bild-oben.paralaximg.ausbilder {height: 265px;width: 410px;}
#section2 .fade-container .bild-unten.paralaximg.ausbilder {height: 265px;width: 410px;}
#section2 .fade-container .bild-oben.paralaximg.studium {height: 265px;width: 410px;}
#section2 .fade-container .bild-unten.paralaximg.studium {height: 300px;width: 265px;}
#section2 .fade-container .bild-oben.paralaximg.ausbildung {height: 265px;width: 410px;}
#section2 .fade-container .bild-unten.paralaximg.ausbildung {height: 265px;width: 410px;}
#section2 .fade-container .bild-oben.paralaximg.gtassi {height: 265px;width: 410px;}
#section2 .fade-container .bild-unten.paralaximg.gtassi {height: 300px;width: 265px;}


/* ACHTUNG - Bei Größen oder Positionsänderung muss data-speed angepasst werden */
#fade1 .bild-oben.paralaximg {margin-left: -40px;}
#fade1 .bild-unten.paralaximg {margin-left: 600px;}
#fade2 .bild-oben.paralaximg {margin-left: 0px;}
#fade2 .bild-unten.paralaximg {margin-left: 160px;}
#fade3 .bild-oben.paralaximg {margin-left: 0px;}
#fade3 .bild-unten.paralaximg {margin-left: 600px;}
#fade4 .bild-oben.paralaximg {margin-left: 150px;}
#fade4 .bild-unten.paralaximg {margin-left: 265px;margin-top: 350px;}




/*
 * # #*##############################################################################################################
 */



/* #section3 */

/*#section3 table, #section3 td {border: 1px solid white;}*/


/* Tabelle nimmt den gesamten Viewport ein */
.table_section3 {
  width: 1680px;
  height: 100vh;
  border-collapse: collapse;
}

/* Erste Spalte */
.table_section3_col1 {width: 50%;}

/* Zweite Spalte (Text) */
.table_section3_col2 {width: 10%;}
.table_section3_col2 {
  font-size: 18px;white-space: nowrap;
  color: #fff;line-height: 1.3;
  font-family: Montserratlight, Arial, Helvetica, Sans-Serif;
}
.table_section3_col2 .red {font-family: Montserratbold, Arial, Helvetica, Sans-Serif !important;color: #F26161;}
.table_section3_col2_absatz {display: block;margin-bottom: 10px; }

/* Dritte Spalte (Überschrift) */
.table_section3_col3 {width: 30%;}
.table_section3_col3 .text-wrapper .filled, .table_section3_col3 h1  {
        font-size: 128px!important;padding-left:30px;text-align: left;line-height: 0.98;}

.table_section3_row3.desktop {
  display: block;
}
.table_section3_row3.mobile {
  display: none;
}




/*#section3 .markustallenbild {
  position: absolute;
  bottom: 0;
  left: 150px;
  height: 100vh;
  width: auto;
  z-index: 100;
}*/


#section3 .markustallenbild {
position: absolute;
bottom: 0;
left: calc(min(150px, 20px + (100vw - 1680px) * 0.4));
height: 100vh;
width: auto;
z-index: 100;
transition: left 0.5s ease;
}



/*Parallax*/
#section3 .paralaximg {
  width: 21vh;
  height: 38vh;
  top: 105vh;
  left: 230px;
  border-radius: 20px;position: absolute;
}





/*
  * # #*##############################################################################################################
  */





/* #section4 */

/*#section4 table, #section4 td {border: 1px solid white;}*/
/* ---------- Section 4 Tabelle ---------- */




#section4 .table_section4 {
position: absolute;
right: max(200px, calc(50px + (800px - 100vw) * 0.4));
max-width: 800px;
transition: right 0.5s ease; /* optional für sanftes Verschieben */
}

/* Spaltenbreiten */
.table_section4 #respalte { width: 0vw; }
.table_section4 #title, .table_section4 #desc { width: 5vw; max-width: 320px; }


                /*#section4 .table_section4 {
                  position: absolute;
                  right: calc(0% + 50px);
                  max-width: 800px;
                }*/

                /* Spaltenbreiten */
                /*.table_section4 #respalte {width: 0vw;}
                .table_section4 #title, .table_section4 #desc {width: 5vw;max-width: 320px;}*/

                /* Chrome und Firefox */
                /*@supports not (-webkit-touch-callout: none) {
                  #section4 .table_section4 {
                  right: calc(0% + 250px);
                  }
                }*/




/* --- MacBooks / mittlere Displays (≈1280–1440px) --- */
@media (max-width: 1500px) {
  #section4 .table_section4 {
  position: absolute;
  right: max(10px, calc(50px + (800px - 100vw) * 0.4));
  max-width: 640px;
  transition: right 0.5s ease;
  }
  /* Titel & Beschreibung */
  .table_section4 #title h1 { font-size: clamp(2.3rem, 6.2vw, 6.5rem); }
  .table_section4 td#desc   { font-size: clamp(0.75rem, 2vw, 1.1rem); }
  .portfolio-table a {font-size: clamp(0.75rem, 2vw, 1.1rem);}



  #section3 .markustallenbild {
    position: absolute!important;
    bottom: 0!important;
    left: calc(max(20px, 20px + (100vw - 1680px) * 0.4))!important;
    height: 90vh!important;
    width: auto!important;
    z-index: 100!important;
    transition: left 0.5s ease!important;
  }



  /*Parallax*/
  #section3 .paralaximg {
  width: 21vh;!important
  height: 38vh!important;
  top: 105vh!important;
  left: 90px!important;
  border-radius: 20px!important;position: absolute!important;
  }

}

/* Portfolio-Tabelle */
.portfolio-table {
  mix-blend-mode: normal !important;
  table-layout: fixed;
  border-collapse: collapse;
  width: 80%;
  position: absolute; /* absolute, damit es über der Section platziert wird */
  font-family: Montserratlight, Arial, Helvetica, Sans-Serif;
}



/* Tabelle und Zellen */
.portfolio-table,
.portfolio-table td {
  vertical-align: top;
  height: 40px;
}

.portfolio-table td:first-child { width: 45%; }
.portfolio-table td:not(:first-child) { width: 55%; }

/* Links */
.portfolio-table a {
  cursor: pointer;
  text-decoration: none;
  font-size: clamp(0.875rem, 2.5vw, 1.25rem);
}
.portfolio-table a:hover { color: #F26161; }
.portfolio-table .active-link { color: #F26161; }

/* Titel & Beschreibung */
.table_section4 #title { font-size: clamp(2.5rem, 7vw, 6.5rem); }
.table_section4 #desc  { font-size: clamp(0.875rem, 2.5vw, 1.25rem); height: 130px; }

/* Portfolio-Bilder */
.portfolio-gallery {
  display: flex;
  margin-left: 50px;
  position: absolute;
  top: 0;
  left: 0;
}

.portfolio-gallery img,
.portfolio-gallery video {
  width: 21vh;
  height: 38vh;
  object-fit: cover;
  border-radius: 25px;
}

/* Spalten innerhalb der Galerie */
.portfolio-gallery .section4_gruppe1,
.portfolio-gallery .section4_gruppe2,
.portfolio-gallery .section4_gruppe3 {
  display: flex;
  flex-direction: column;
  gap: 20px;       /* Abstand zwischen Bildern */
  margin-left: 25px; /* Abstand zwischen Gruppen */
}

/* Gruppen nach oben/unten verschieben */
.portfolio-gallery .section4_gruppe1 { margin-top: -1850px; }
.portfolio-gallery .section4_gruppe2 { margin-top: 600px; }
.portfolio-gallery .section4_gruppe3 { margin-top: -2150px; }




/* === Video Overlay Styles === */
.video-wrapper {
  position: relative;
  display: inline-block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Overlay blockiert keine Maus-Events */
  transition: opacity 0.5s ease;
}

.video-overlay .play-icon {
  font-size: 3rem;
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.video-wrapper.playing .video-overlay {
  opacity: 0; /* Overlay ausblenden wenn Video läuft */
}

.video-overlay svg {
  width: 3vh;
  height: 3vh;
  pointer-events: none;
}
.video-overlay {
mix-blend-mode: difference;
}










/*
 * # #*##############################################################################################################
 */





/* #section5 */
#section5 {
  position: relative;
}

/* Texte als Hintergrund, zentriert */
.casestudywrapper_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  z-index: 1;
  pointer-events: none;
}

#section5 .case-study-text {
  color: #ffffff;
  font-size: clamp(38px, 14vw, 206px);
  letter-spacing: 10px;
  font-family: Montserratbold, Arial, Helvetica, Sans-Serif!important;
  text-transform: uppercase;
  margin: 0;
  line-height: 90%;
  white-space: nowrap;
  opacity: 0.5;
}

#section5 .case-study-text:nth-of-type(-n+3) {
  color: transparent;
  -webkit-text-stroke: 1.8px #fff;
  text-stroke: 1.8px #fff;
}

#section5 .case-study-text:nth-of-type(4) {
  opacity: 1;
}

/* Bilder im Vordergrund */
.casestudywrapper_image {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  width: 90%;
  max-width: 1400px;
  transform: translateY(-90px);
}

.casestudywrapper_image img {
  width: clamp(120px, 20vw, 305px);
  height: auto;
  object-fit: cover;
  border-radius: 25px;
  cursor: pointer;
  transition: transform 0.6s ease;
}

#section5 .casestudywrapper_image img:hover {
  transform: translateY(-20px);
}


/* Overlay Basis */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  pointer-events: none;
  background: rgba(0,0,0,0.5);
  transition: opacity 0.4s ease;
  z-index: 999;
}

/* Overlay aktiv */
#overlay.show {
  opacity: 1;
  pointer-events: auto;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.5) 10%,
    rgba(0,0,0,0.5) 90%,
    rgba(0,0,0,0.0) 100%
  );
}

/* Overlay Wrapper */
#overlay-wrapper {
position: absolute;
top: 50%;
left: 50%;
width: 90%;
max-width: 1350px;
max-height: 650px;
transform: translate(-50%, -50%) scale(0.95);
transition: transform 0.4s ease, opacity 0.4s ease;
border-radius: 12px;
opacity: 0;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}

/* Inneres Bild */
#overlay-inner img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
display: block;
border-radius: 12px;
background-color: transparent!important;
}


#overlay.show #overlay-wrapper {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Innerer Container */
#overlay-inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1350px;
  max-height: 650px;
  overflow-y: auto;
  border-radius: 12px;
  background-color: transparent!important;
  -ms-overflow-style: none;
  scrollbar-width: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
#overlay-inner::-webkit-scrollbar {display: none;}
#overlay.show #overlay-inner { opacity: 1; }

/* Bild im Overlay */
#overlay-inner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#overlay.show #overlay-inner img {opacity: 1;transform: scale(1);}

/* Close-Button (X) */
#section5 #overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 30;
  width: 30px;
  cursor: pointer;
  mix-blend-mode: difference;
  transition: transform 0.3s ease;
}
#section5 #overlay-close:hover {transform:  scale(1.2);}



/* Scroll Down Button */
#section5 .scroll-down-wrapper {
position: absolute;
bottom: 5vh;
left: 50%;
transform: translateX(-50%);
width: 50px; /* feste Klickfläche */
height: 50px; /* feste Klickfläche */
z-index: 30;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
border-radius:100%;
padding: 2px 2px 5px 2px;
mix-blend-mode: difference;
}

/* Scroll-Down Pfeil bewegt sich innerhalb des Wrappers */
#section5 .scroll-down {
width: 30px;
animation: bounce 2s infinite;
transition: transform 0.3s ease;
}

#section5 .scroll-down:hover {
transform: scale(1.2);
}

#section5 .scroll-down svg {
width: 100%;
height: auto;
display: block;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}





/*
 * # #*##############################################################################################################
 */



/* SECTION 6 Kontakt */

/* Tabelle */
#section6 table.textsection6 {
border-collapse: collapse;
width: 60vw;height: 100%;
margin: 0 auto;
table-layout: fixed;
max-height: 100%;
overflow-y: auto;
}

/* Zellen */
#section6 table.textsection6 td {height: 100%;}

#section6 table.textsection6 td.links {width: 45%;}
#section6 table.textsection6 td.rechts {width: 55%;vertical-align: middle!important;padding-top:60px;}

/* Weitere Überschriften in der Tabelle */
#section6 .roteschrift {color:#F26161;font-size: clamp(1rem, 3vw, 1.5rem);}
#section6 .kontaktueberschrift {color:#ffffff;font-size: clamp(1.5rem, 5vw, 3rem);}
#section6 .kontakttext {color:#ffffff;font-size: clamp(0.875rem, 2.5vw, 1.25rem);line-height: 1.3;
font-family: Montserratlight, Arial, Helvetica, Sans-Serif;
}


#section6 .roteschrift,
#section6 .kontaktueberschrift,
#section6 .kontakttext {padding:0;margin-bottom: 30px;}

/* Wenn du z.B. nur unten einen kleinen Abstand möchtest: */
#section6 .roteschrift {margin: 0;font-family: Montserratbold, arial, Helvetica, Sans-Serif!important;}
#section6 .kontaktueberschrift {margin-bottom: 12px;font-family: Montserratbold, arial, Helvetica, Sans-Serif!important;text-transform: uppercase;}

/*background*/
#section6 .kontakt {
background-image: url('/wp-content/uploads/2025/10/kontakt_hintergrund.avif');
background-position: left center;background-repeat: no-repeat;background-size: contain;}



#section6 .pdf_button {
position: relative; /* für ::before */
display: inline-flex;
align-items: center;
padding: 0 55px;
height: 45px;
background-image: url("/wp-content/themes/blankslate-child/icons/download.svg");
background-size: 45px 45px;
background-repeat: no-repeat;
background-position: left center;
white-space: nowrap;
text-decoration: none;
color: #000;
}

#section6 .pdf_button::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 45px;
height: 45px;
background-image: url("/wp-content/themes/blankslate-child/icons/download_hover.svg");
background-size: 45px 45px;
background-repeat: no-repeat;
background-position: left center;
opacity: 0;
transition: opacity 0.6s ease; /* fade in/out */
pointer-events: none;
}

#section6 .pdf_button:hover::before {
opacity: 1;
}


/* Footer-Links angleichen an deine Textfarbe/-schrift */
#section6 .rechts a  {
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
color:white;margin-left: -10px;  font-size: clamp(0.875rem, 2.5vw, 1.25rem);
font-family: Montserratlight, Arial, Helvetica, Sans-Serif;
margin-bottom: 52px;
}


/* SECTION 6 Footer */
/* ####################### */
#section6 .footer {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}


#section6 .footer table {
width: 60vw;
table-layout: fixed;
border-collapse: collapse;
text-align: left;
}

#section6 .footer td {}

/* Spaltenausrichtung */
#section6 .footer td:first-child {text-align: left;}
#section6 .footer td:nth-child(2) {text-align: center;}
#section6 .footer td:last-child {text-align: right;}

/* Inhalt der Divs */
#section6 .footer .footer_kontakt,
#section6 .footer .footer_social,
#section6 .footer .footer_rechtliches {
display: inline-block;
font-family: Montserratbold, arial, Helvetica, Sans-Serif!important;
text-transform: uppercase;
font-size: clamp(1rem, 3vw, 1.5rem);
color: #F26161;text-align:left;vertical-align: top;
}

/* Links mit Icon nebeneinander */
.footer_kontakt_text a,
.footer_social_text a,
.footer_rechtlich_text a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}


#section6 .footer .footer_kontakt_text,
#section6 .footer .footer_social_text,
#section6 .footer .footer_rechtlich_text {
  color: #ffffff!important;
  font-family: Montserratlight, arial, Helvetica, Sans-Serif!important;
  text-transform: none;
  vertical-align: middle;
  font-size: clamp(0.875rem, 2.5vw, 1.25rem);
  line-height: 1.3;

}



/* Einheitliche Icon-Größe */
#section6 .footer a .icon {
width: 20px;
height: 20px;
flex-shrink: 0;
}
/* Footer-Links angleichen an deine Textfarbe/-schrift */
#section6 .footer a {
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
color:white;
}


/* Kopie in den Arbeitsspeicher InfoFlag */
.copy-tooltip {
  margin-left: 8px;
  font-size: 0.9em;
  color: #F26161;
  opacity: 0;
  transition: opacity 0.3s ease;
}





/* SECTION 7 und 8 Impressum und Datenschutz     */
/* ################################################################################ */

#section7, #section8 {overflow:scroll!important;height:100%}


.impressum_wrapper, .daschu_wrapper {
  font-family: Montserratlight, Arial, Helvetica, Sans-Serif;
  line-height: 1.6;
  margin-top: 50px;
  display: flex;
  justify-content: center;

}


.impressum, .daschu {
  padding: 20px;
  width: 60vw;
  max-width: 1000px;
padding-bottom: 230px;
}


#section7 .impr_daschu_ueberschrift, #section8 .impr_daschu_ueberschrift {
  font-size: clamp(1.5rem, 5vw, 3rem)!important;
  font-family: Montserratbold, Arial, Helvetica, Sans-Serif !important;}

#section7 .impr_daschu_kleine_ueberschrift, #section8 .impr_daschu_kleine_ueberschrift {
    font-size: clamp(1rem, 3vw, 1.5rem)!important;
    font-family: Montserratbold, Arial, Helvetica, Sans-Serif !important;}


#section7 a, #section8 a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px dashed #ffffff;
}

#section8 a:hover, #section7 a:hover {color: #F26161!important;border-bottom: 1px dashed #F26161;
}


#section7 .button,
#section8 .button {
    display: inline-block;       /* damit width/height wirken */
    width: 45px;
    height: 45px;
    background-image: url("/wp-content/themes/blankslate-child/icons/close.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    float: right;               /* falls gewünscht */
    position: relative;
    top: 20px;
    border-bottom: 0px dashed transparent;

}

#section7 .button:hover,
#section8 .button:hover {
background-image: url("/wp-content/themes/blankslate-child/icons/close_hover.svg");
border-bottom: 0px dashed transparent;
}




