/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
/*https://clamp.font-size.app/*/
/* min 300px, max 2400px */


a:hover {
    text-decoration: none;
}

*, *::before, *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

* {
    border-width: 0;
    border: 0;
    margin: 0;
    padding: 0;
    /*outline: 1px solid red;*/
}

*:focus {
    outline: none;
}

a {
  text-decoration: none !important;
  color: #003869;
}

strong {
  font-family: 'Barlow Bold', sans-serif;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

body {
  background-color: #bfe2e0;
  color: #003869;
  font-family: 'Barlow Light', sans-serif;
  font-size: 1.0em;
  min-height: 100vh;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

.Logo {
  width: clamp(12rem, 10.2857rem + 9.1429vw, 24rem);
  height: auto;
  margin: 0 auto;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

nav {
  position: absolute;
  width: 100%;
  height: 15vh;
  min-height: 40px;
  max-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul, .footernav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* horizontale Zentrierung */
  padding: 0;
  margin: 0;
  gap: 10px;
  list-style: none; /* Aufzählungszeichen entfernen */
}

.footernav {
  font-size: 0.9em;
  padding: 20px 0 30px 0;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

.Icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 300px;
  margin: 30px auto;
}

.Icons div {
  display: grid;
  justify-items: center;
}

.Icons img {
  display: inline;
  width: auto;
  height: 45px;
}

.Icons div.txt {
  font-size: 0.8em;
  line-height: 1.0em;
  margin-top: -3px;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

.Contactbox {
  font-family: 'Barlow Bold', sans-serif;
  position: fixed;
  width: 100vh;
  display: grid;
  justify-items: center;
  left: 0;
  top: 100vh;
  transform: rotate(-90deg);   /* dreht den Text um 90 Grad im Uhrzeigersinn */
  transform-origin: left top; /* optional, Ursprung der Drehung anpassen */
}

.Contactbox a {
  position: relative;
  display: inline-block;
  height: 28px !important;
  font-size: 0.9em;
  line-height: 1.0em;;
  color: white;
  padding: 8px 12px 6px 12px;
  margin-right: 10px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  background: #003869;
  transition: 0.5s ease;
}

.Contactbox a:hover {
  color: #003869;
  background: #8fc8c5;
  letter-spacing: 0.05em;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

.coverimg {
  display: grid;
  align-items: center;
  justify-items: center;
  width: 100vw;
  height: 70vh;
  padding: 80px 0 0 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.Contentwrapper {
  width: 100%;
  overflow: hidden;
  /*max-width: 2000px;*/
  margin: 0 auto;
}

.Textwrapper {
  width: 100%;
  margin: 0 auto;
  padding: 100px 75px 75px 75px;
  text-align: center;
  display: grid;
  justify-items: center;
  /*background: #8fc8c5;*/
}

@media (max-width: 599px) {
  .Textwrapper { padding: 50px 40px 30px 40px; }
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

h1, h2 {
  font-family: 'Barlow Light', sans-serif;
  font-style: normal;
  text-transform: none;
  color: #003869 !important;
  letter-spacing: 0.01em;
  width: 100%;
  max-width: 750px;
  margin-bottom: 20px;
}

h1, h2.big {
  font-size: clamp(1.6rem, 1.4857rem + 0.6095vw, 2.4rem) !important;
  line-height: 1.3em !important;
  text-align: center !important;
}

h2 {
  font-size: clamp(1.3rem, 1.2571rem + 0.2286vw, 1.6rem) !important;
  line-height: 1.4em;
  text-align: left;
}

p {
  position: relative;
  font-size: clamp(1rem, 0.9857rem + 0.0762vw, 1.1rem);
  line-height: 1.4em;
  width: 100%;
  max-width: 750px;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

.Datenschutz p, .Datenschutz ul {
  text-align: left;
  font-size: 1.0em;
  overflow-wrap: anywhere; /* umbricht lange Links, wenn notwendig */
}

.Datenschutz h2, .Datenschutz h3 {
  width: 100%;
  max-width: 750px;
  text-align: left;
  margin: 10px 0;
  overflow-wrap: anywhere; /* umbricht lange Links, wenn notwendig */
}

.Datenschutz ul {
  width: 100%;
  max-width: 750px;
  list-style-position: inside;
  margin: 15px 0;
}

.Datenschutz li {
  padding: 5px 0;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

a.cta {
  display: inline-block;
  text-align: center;
  font-family: 'Barlow Bold', sans-serif;
  padding: 3px 15px;
  margin: 20px 0 0 0;
  color: #003869;
  border: 2px solid rgba(0,56,105,0.4);
  border-radius: 25px;
  transition: 0.5s ease-out;
}

a.cta:hover {
  display: inline-block;
  padding: 3px 25px;
  margin: 20px 0 0 0;
  color: white;
  letter-spacing: 0.025em;
  background-color: rgba(0,56,105,0.8);
  border: 2px solid rgba(0,56,105,0.8);
  border-radius: 25px;
}

.footer a {
  color: #003869;
}

.branche {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 0;
}

.branche .cta, .branche .cta:hover {
  width: 100%;
  margin-top: auto; /*richtet die Links unten aus */
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

.team {
  width: 100%;
  min-height: 30vw; 
  margin: 0 auto;
  background-image: url(../images/Jonas-Waescherei-Team.jpg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.Zweiergrid {
  width: 70%;
  margin: 0 auto;
  display: grid;
  gap: 0px;
  grid-template-columns: 3fr 2fr;
}

@media (max-width: 1999px) {
  .Zweiergrid { width: 80%; grid-template-columns: 3fr 2fr }
  .team { min-height: 500px; }
}

@media (max-width: 1599px) {
  .Zweiergrid { width: 85%; grid-template-columns: 1fr 500px; }
  .team { min-height: 450px; }
}

@media (max-width: 1199px) {
  .Zweiergrid { width: 90%; grid-template-columns: 1fr 300px; }
  .team { min-height: 250px; }
}

@media (max-width: 899px) {
  .Zweiergrid { grid-template-columns: 1fr; }
  .team { height: 500px; background-image: url(../images/Jonas-Waescherei-Team-mobile.jpg); }
  .Zweiergrid h2 { text-align: center; }
  .Zweiergrid p { text-align: center; }
}

@media (max-width: 599px) {
  .Zweiergrid { grid-template-columns: 1fr; }
  .team { height: 400px; background-image: url(../images/Jonas-Waescherei-Team-mobile.jpg); }
  .Zweiergrid h2 { text-align: center; }
  .Zweiergrid p { text-align: center; }
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

.Sechsergrid {
  width: 80%;
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.Sechsergrid img {
  width: 100%;
  height: auto;
}

.Sechsergrid p {
  padding: 15px 0 10px 0;
}

@media (max-width: 1999px) {
  .Sechsergrid { width: 50%; gap: 40px; grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 1199px) {
  .Sechsergrid { width: 70%; gap: 20px; grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 899px) {
  .Sechsergrid { width: 60%; gap: 20px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 599px) {
  .Sechsergrid { width: 60%; gap: 20px; grid-template-columns: 1fr; }
}


/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

.Achtergrid {
  width: 100%;
  display: grid;
  gap: 0px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
  "img1 txt1 img2 img3"
  "img4 img5 txt2 img6";
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.img1 { grid-area: img1; background-image: url(../images/Jonas-Waescherei-06.jpg); background-position: center center; }
.txt1 { grid-area: txt1;  }
.img2 { grid-area: img2; background-image: url(../images/Jonas-Waescherei-01.jpg); background-position: left center; }
.img3 { grid-area: img3; background-image: url(../images/Jonas-Waescherei-03.jpg); background-position: right center; }
.img4 { grid-area: img4; background-image: url(../images/Jonas-Waescherei-04.jpg); background-position: center center; }
.img5 { grid-area: img5; background-image: url(../images/Jonas-Waescherei-07.jpg); background-position: right center; }
.txt2 { grid-area: txt2; }
.img6 { grid-area: img6; background-image: url(../images/Jonas-Waescherei-05.jpg); background-position: center center; }

.gridimg {
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 400px;
}

.gridbox {
  display: grid;
  align-items: center;
  padding: 50px;
  background: linear-gradient(to bottom,#8fc8c5, #bfe2e0);
  text-align: left;
}

/* ....................................................................*/

@media (max-width: 1199px) {
  .Achtergrid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
    "img1 txt1 img2"
    "img3 img4 img5"
    "img6 txt2 txt2";
  }
}

@media (max-width: 899px) {
  .Achtergrid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
    "img1 txt1"
    "img2 img3"
    "img4 img5"
    "img6 txt2";
  }
}

@media (max-width: 599px) {
  .Achtergrid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
    "img1 img1"
    "txt1 txt1"
    "img2 img3"
    "img4 img5"
    "txt2 txt2"
    "img6 img6";
    grid-template-rows: 
      0.5fr   /* img1 */
      1fr   /* txt1 */
      0.5fr /* img2 + img3 */
      0.5fr /* img4 + img5 */
      1fr   /* txt2 */
      0.5fr;  /* img6 */
    grid-auto-rows: auto;
    align-items: start;
  }
}



/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/


.nummerierte-liste {
  counter-reset: listenzaehler;    /* Startet den Zähler */
  list-style: none;               /* entfernt Standardzahlen */
  padding: 0;
  margin: 0;
}

.nummerierte-liste li {
  counter-increment: listenzaehler; /* Zähler +1 pro Eintrag */
  margin: 0.5em 0;
  padding: 5px 10px 5px 40px;
  position: relative;
  background-color: rgba(255,255,255,0.25);
  border-radius: 20px;;
}

.nummerierte-liste li::before {
  content: counter(listenzaehler) ".";
  position: absolute;
  left: 15px;
  top: 5px;
  font-family: 'Barlow Bold', sans-serif;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/
