
:root {
  --white-bg: #f3f6ff; 
  --dsmt-red: #931751; /* Für sekundäre Elemente */
  --dsmt-blue: #07A3FA; /* Für den Haupt-Hintergrund */
  --dsmt-hybrid-blue: #06a3f9; /* Für den Haupt-Hintergrund */
    --dsmt-main-Blue: #101c37;
}
* { margin: 0; padding: 0; }

    /* Overpass-Schriftarten einbinden */
        @font-face {
            font-family: 'Overpass';
            src: url('https://weloverecruiting.de/DSMT-Event/public/fonts/Overpass-Regular.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }

        @font-face {
            font-family: 'Overpass';
            src: url('https://weloverecruiting.de/DSMT-Event/public/fonts/Overpass-Bold.ttf') format('truetype');
            font-weight: bold;
            font-style: normal;
        }

        @font-face {
            font-family: 'Overpass';
            src: url('https://weloverecruiting.de/DSMT-Event/public/fonts/Overpass-Light.ttf') format('truetype');
            font-weight: lighter;
            font-style: normal;
        }
body{   font-family: 'Overpass', Arial, sans-serif;
    font-weight: normal;
}
/* --- Kontaktformular Desktop --- */
#contactPanel {
    position: fixed;
    top:20px;
    right:20px;
    width:90%;
    max-width:300px;
    background: rgba(243,246,255,0.95);
    padding:20px;
    border-radius:10px;
    color:var(--dsmt-blue);
    z-index:200; /* hoch genug für PDF */
}

/* Mobile Button oben */
#contactToggle {
    display:none;
    position: fixed;
    top:10px;
    left:10%;
    transform:translateX(-50%);
    z-index:30;
    padding:10px 18px;
    background:var(--dsmt-blue);
    color:var(--white-bg);
    border:none;
    border-radius:6px;
    cursor:pointer;
    font-size:1em;
}

/* Formular Inputs */
#contactForm label { margin-top:10px; display:block; font-weight:bold; }
#contactForm input, #contactForm textarea {
    width:100%;
    padding:10px;
    margin-top:5px;
    border:1px solid #aaa;
    border-radius:5px;
    box-sizing:border-box;
}
#contactForm textarea { height:120px; resize:vertical; }
#contactForm button {
    margin-top:15px;
    width:100%;
    padding:12px;
    background:var(--dsmt-blue);
    color:var(--white-bg);
    border:none;
    border-radius:6px;
    cursor:pointer;
}

#formMessage {
    margin-top:10px;
    font-size:14px;
    font-weight:bold;
    color:green;
}

/* Wrapper PHP content */
#wrapper {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    color: var(--dsmt-main-Blue);
    padding-right: 9%;
}

#main {
padding: 3% 4%;
  font-size: 16px;
}
#footer{
    margin-top: 30px;
}
#footerTextBox{
font-size: 1.4em;
  background-color: var(--dsmt-red);
  padding: 2% 3%;
  margin-top: 30px;
  color: var(--white-bg);
}
#footerTextBox h3{
    font-size: 1.4em;
    color: var(--white-bg);
    margin: 0;
}
#footerHeaderBox{
  background: var(--white-bg);
  padding: 3% 3% 1%;
  background-image: url(img/Weihnachten-DLRG_k.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: left;
}
#footerBoxWrapper{
  display: flex; /* Aktiviert Flexbox */
  justify-content: space-between; /* Verteilt die Elemente mit Abstand */
  align-items: end;
}
#footerHeaderBox h3{
 color: var(--dsmt-blue);
font-size: 1.8em;
        padding-bottom: 10px;
}
#footerHeaderBox p{
font-size: 1.4em;
    font-weight: bold;
}
#footerBoxRight{
    position: relative;
    bottom: 0;
}
#footerBoxLeft{width: 40%;text-align: right;}
#footerBoxRight{
      width: 60%;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
          padding: 11% 0 2%;
}
.footerBoxRightBox:first-child{
    padding-bottom: 15px;
}
h4 a{
    font-size: 1.8em;
    color: var(--white-bg);
}

.box-wrapper {
    display: flex;
}

.box-left,
.box-right {
    width: 50%;
}

/* UL komplett linksbündig */
.box-wrapper ul {
    list-style: none;
    padding: 0;        /* entfernt Einrückung */
    margin: 0;         /* entfernt zusätzlichen Abstand */
}

/* Listenpunkte als Gedankenstrich */
.box-wrapper li {
    position: relative;
    padding-left: 15px; /* Platz für den Strich */
}

.box-wrapper li::before {
    content: "-";
    position: absolute;
    left: 0;
    bottom: 2px;
}

.trennstrich{
    height: 1px;
    background-color: var(--dsmt-blue);
    width: 90%;
    margin: 50px auto;
      box-shadow: 0px 0px 11px 0px rgba(16, 28, 55, 0.3);
}

/* --- Header --- */
 .event-header {
            position: relative;
            width: 100%; /* Breite auf 100% setzen */
            height: auto; /* Höhe auf 300px setzen */
            background: var(--white-bg);
            overflow: hidden;
            border-radius: 10px;
            border: 4px solid var(--dsmt-red);
        }

        .header-content {
            position: relative;
            z-index: 2; /* Sicherstellen, dass der Inhalt immer oben ist */
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100%;
            padding: 0 20px;
        }

        /* Titelblock */
        .title-block {
position: relative;
  left: 4%;
  color: var(--dsmt-red);
  font-size: 1.4em;
  margin: 19% 0 3%;
        }
.title-block h1,   .title-block h2{
     margin: 0;
}
        /* Logo-Block */
.logo-block{
    position: absolute;
  right: 6%;
  top: 11%;
}
        .logo-block img {
          width: 100px; /* Größe des Logos */
            height: auto;
        }

        /* Diagonaler Text (von links unten bis Mitte oben) */
        .diagonal-text {
position: absolute;
  top: 34%;
  left: 0;
  transform: rotate(-11deg);
  transform-origin: bottom left;
  font-size: 1.4em;
  color: var(--white-bg);
  font-weight: bold;
  width: 100%;
  line-height: normal;
  z-index: 1;
        }
        .diagonal-text p, .diagonal-text span{
 background-color: var(--dsmt-blue);
  padding-left: 53px;
  margin: 0;
  padding-right: 9px;
}
.diagonal-text p, .diagonal-text span{
 background-color: var(--dsmt-blue);
  padding-left: 53px;
  margin: 0;
  padding-right: 9px;
}
.iconHeader{
width: 50px;
  position: absolute;
  padding: 0px 0 0px 10px;
  transform: rotate(-29deg);
  margin-top: -7px;
}
/* Absatz */
.absatz {
    margin-bottom: 15px;
}

/* --- Paket Box --- */
.paketBox {
    position: relative;
    background-color: var(--white-bg);
    padding: 110px 20px 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-radius: 12px;
    text-align: center;
    margin-top: 330px;
    background: var(--white-bg);
     background: linear-gradient(180deg, rgb(243, 246, 255) 8%, rgb(146, 21, 81) 165%);
}

/* Paket-Bild */
.imgPaketHeader {
    position: relative;
    width: 580px;
    height: auto;
    border-radius: 12px;
    margin-top: -435px;
}

/* Headline Font */
.h-font{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.h-font h2{
    display: flex;
    align-items: center;
    font-size: 2.5em;
    color: var(--dsmt-blue);
    margin: 15px 0 0;
}

/* Subline */
.h-font .h2_subline {
    display: block;
    font-size: .8em;
    color: var(--dsmt-blue);
    margin-top: 5px;
    font-weight: normal;
}
.h-font .p_subline{
        font-size: 1.8em;
      color: var(--dsmt-blue);
    margin: 5px 0 0;
    font-weight: normal;
}

/* Zusatztext */
.h-form-text, .h-form-text2{
    margin: 10px 0 20px 0; 
    font-weight: bold;
}
.h-form-text {
    font-size: 1.2em;
}
.h-form-text2{
    font-size: 1.1em;
}


/* PRICE BOX AREA */
.price-box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dsmt-main-Blue);
    font-weight: normal;
}

.price-left,
.price-right,.price {
    background: var(--dsmt-blue);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.price{
    width: 310px;
}

.price-left {
    width: 245px;
    text-align: left;
    z-index: 50;
}

.price-right {
    width: 220px;
    margin: 8px 0 0 -8px;
    position: relative;
    text-align: left;
}

.big-price {
    display: block;
    margin-top: 6px;
    font-size: 22px;
}

.table-wrapper {
  width: 90%;                    /* volle Breite */
  overflow: hidden;               /* verhindert Überlappen */
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.25); /* äußerer Schatten */
  margin: 0 auto 20px;
  background-color: transparent;
  border: 1px solid var(--white-bg);
  border-radius: 25px;
}

/* TABELLE */
table {
  width: 100%;                    /* Tabelle auch 100% breit */
  border-collapse: collapse;
  text-align: left;               /* Tabelleninhalt linksbündig */
}

/* TABELLENKOPF */
th {
  padding: 12px;
  text-align: left;               /* explizit linksbündig */
  font-weight: bold;
}

/* TABELLENZELLEN */
td {
  padding: 12px;
  text-align: left;               /* explizit linksbündig */
    font-weight: lighter;
}

/* Zell-Umrandung */
th, td {
  border: 1px solid var(--white-bg);
  box-shadow: inset 0px 0px 3px 0px rgba(192, 192, 192, 0.3);
}

/* Untere Randlinie entfernen */
tbody tr:last-child td {
  border-bottom: none;
}
.iconFooter{
     width: 70px;
}
.logoDLRG{width: 150px;position: relative;top: -15px;left: 15px;}
 .nobr{
        display: block;
    }
/* --- Mobile Styles --- */
@media (max-width:820px) {
.logoDLRG {
    width: 140px;}
}
@media (max-width:785px) {
    h4 a {
  font-size: 1.6em;
}
    #wrapper {
  padding-right: 0;
}
}
@media (max-width:768px) {
  #main {
    font-size: 15px;
}
    #contactPanel {
        display:none; /* zunächst ausgeblendet */
        width:90%;
        left:50%;
        transform:translateX(-50%);
    }
    #contactToggle { display:block; }
    body { overflow-x:hidden; } /* kein horizontales Scrollen */
    .nobr{
        display: none;
    }
    .iconFooter {
  width: 52px;
}
        h4 a {
  font-size: 1.4em;
}

    #footerBoxLeft {
  width: 40%;
}
    #footerHeaderBox h3 {
  font-size: 1.4em;
}
#footerHeaderBox p {
    font-size: 1em;
}
    #footerTextBox h3 {
  font-size: 1em;
}
}
@media (max-width:651px) {
    .table-wrapper {
  width: 100%;
}
    .title-block {
  font-size: 1.2em;
}
.logo-block img {
  width: 115px;
}
    .trennstrich {
  margin: 35px auto 10px;
}
    .imgPaketHeader {
  width: 450px;
}
    .paketBox {
      margin-top: 290px;
  margin-bottom: 40px;
          padding: 18px 20px 40px;
}
#footerHeaderBox {
    padding: 3% 0% 6% 3%;
}
#footerBoxRight {
    padding: 7% 0 2%;
}
.logoDLRG {
    width: 116px;
    top: 8px;
    left: 0px;
}
     .iconFooter {
    width: 40px;
  }
}
@media (max-width:630px) {
#main {
  padding: 3% 4%;
  font-size: 15px;
}
table {
  font-size: .8em;
}
.iconHeader {
    width: 40px;
}
      .title-block {
    font-size: 1em;
     margin: 27% 0 3%;
  }
    .diagonal-text p, .diagonal-text span {
  padding-left: 36px;
}
    #contactToggle {
  top: 9px;
  left: 15%;
  padding: 5px 14px;
  font-size: .7em;
   border: 1px solid var(--white-bg);
}
    #contactPanel {
  top: 33px;
  font-size: .8em;
}

    .h-font h2 {
  font-size: 1.8em;
}
    .h-form-text {
  font-size: 1.1em;
}
    .price-left, .price-right, .price {
  padding: 11px 10px;
}
}
@media (max-width:540px) {
      .paketBox {
    padding: 0px 20px 20px;
          margin-top: 57%;
  }
 #main {
    font-size: 14px;
  }
    .box-inhalt {
  padding: 0 2%;
}
.price-box-container {
  flex-direction: column;
}
    .trennstrich {
  margin: 31px auto 15px;
}
   .price-left, .price-right, .price{
  width: auto;
}
      .imgPaketHeader {
   width: 90%;
    }
      .iconFooter {
    width: 30px;
  }

      #footerBoxRight {
    padding-bottom: 10px;
  }
    .box-wrapper {
  flex-direction: column;
}
    .box-left, .box-right {
  width: 100%;
}
     .table-wrapper {
    width: 107%;
    margin-left: -19px;
  }
    td {
  padding: 5px;
        font-weight: bold;
}
     .h-font h2 {
    font-size: 1.6em;
  }
    .footerBoxRightBox:first-child {
  padding-bottom: 10px;
}
}
@media (max-width:480px) {
    .title-block {
    font-size: .9em;
  margin: 26% 0 3%;
}
    .diagonal-text {
  top: 35%;
  font-size: .9em;
}
.logo-block {
    top: 18%;
}
  .logo-block img {
    width: 96px;
  }
    .iconHeader {
  width: 30px;
  margin-top: -2px;
}

    #contactToggle {
    top: 6px;
}
}
@media (max-width:450px) {
  .event-header {
    padding-top: 25px;
}
    .logo-block img {
        width: 90px;
    }
        .title-block {
        margin: 20% 0 3%;
    }
    .diagonal-text p {
        margin-bottom: -2px;
    }
    #footerBoxRight {
    width: 75%;
}
    .logoDLRG {
        width: 112px;
        top: -3px;
        left: -5px;
    }
#footerHeaderBox {
    background-position-x: center;
}
}
@media (max-width:410px) {
  .event-header {
    width: 98%;
}
      .iconFooter {
        width: 40px;
    }
    #footerHeaderBox {
    background-position-x: -310px;
}
    #footerBoxWrapper {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}
    .logoDLRG {
        width: 143px;
        top: 7px;
        left: -10px;
    }
}
@media (max-width: 380px) {
  table {
    font-size: .72em;
  }
}
