/* Grundlayout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    background-color: #f9f9f9;
    font-size: 16px;
    color: #333;  
    line-height: 1.6;
}

.hintergrund {
    background-image: url('/images/logo_klein.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center 70%;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
}

.overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /*background-color: rgba(249, 249, 249, 0.55);*/
      background-color: rgba(249, 249, 249, 0.95);
      z-index: -1;
}


/* Header-Styling */
.header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    /*background-color: #e0e0e0;*/
    background-color: rgba(224, 224, 224, 0.9);
    /*background-color: transparent;*/
    /*box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);*/
    margin: auto;
    margin-bottom: 20px;
    z-index: 1000;
}

/* Logo */
.logo-link {
  display: inline-block;
  text-decoration: none;
  padding-top: 8px;
}

.logo-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
}


/* Content */

.header_teaser {
  display: flex;
  align-items: center;
  justify-content: center;
  /*background-color: rgba(224,224,224,0.9);*/
  margin-bottom: 20px;
  z-index: 1;
  width: 100%;
  /*border: 1px solid #005fa3;*/
}

.header_teaser_text {
  text-align: center;    
  color: #f9f9f9; 
  padding: 5vh;
  
  text-shadow: 0 0 20px #f9f9f9,   
               0 0 40px #f9f9f9,
               0 0 60px #f9f9f9,
               0 0 80px #f9f9f9;
  -webkit-text-stroke: 1px #005fa3;
  }


.header_teaser_text p {
  font-size: 2rem;
  line-height: 1.4;
  color: #0074d9;
  font-weight: 550;
  display: inline-block;
  white-space: nowrap; 
  overflow: hidden;
  animation: typing 10s steps(40) infinite;
}

/* Typing + Löschen + Pausen */
@keyframes typing {
  0%   { max-width: 0ch; }
  20%  { max-width: 40ch; } /* Tippen */
  94%  { max-width: 40ch; } /* Pause mit Text */
  95%  { max-width: 0ch; }  /* Rückwärts löschen */
  100% { max-width: 0ch; }  /* Pause leer */
}

.content {
    margin: clamp(10px, 2vw, 30px) auto;
    position: relative;
    z-index: 1;
    background-image: linear-gradient(to bottom, transparent 0%, transparent 25%, rgba(224,224,224,0.9) 25%);
    padding: clamp(10px, 2vw, 30px);
}

.contentarea {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;

    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    /*border: 1px solid #005fa3;*/
}

.contentbox {
    flex: 1 1 48%;
    max-width: 1100px;
    min-width: 300px;
    margin: 0 auto;
    flex-direction: column;
    padding: 12px 0px;
    border-radius: 12px;
    background-color: rgba(0,116,217,0.6);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
    border: 1px solid #005fa3;
}

.contentbox p {
    background-color: #f9f9f9;
    padding: 20px 20px;
}

.contentbox ul {
    background-color: #f9f9f9;
    padding: 5px 20px;
}

.contentbox h2 {
    background-color: #f9f9f9;
    color:#0074d9;
    padding: 10px 20px;
    font-size: 1.2rem;
    text-align: center;
}
.contentbox a {
    text-decoration: none;
}

.contentboxcontent {
    background-color: #f9f9f9;
    padding: 15px 20px;
    width: 100%;
}

.contentboxincontentbox {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    border-radius: 8px;
    padding: 12px 0px;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    flex: 1 1 48%;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
}

.contentboxincontentbox p {
    background-color: #f9f9f9;
    /*border: 1px solid #333;*/
}

/* Titel */
.contenttitle {
    font-size: 1.2rem;
    /*color:#e0e0e0;*/
    color:#f9f9f9;
    font-weight: 600;
    padding: 0px 20px 12px 20px;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

.contentboxincontentboxtitle {
    font-size: 1.2rem;
    background-color: #e0e0e0;
    color:#0074d9;
    padding: 0px 20px 12px 20px;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

.contentboxspacer {
    font-size: 1.0rem;
    background-color: #f0f0f0;
    padding: 12px 20px;
    border-bottom: 1px solid #ccc;
}



/* Page Footer */
.footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #ffffff;
    /*border-radius: 12px;*/
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    box-shadow: 0 -3px 5px rgba(0, 0, 0, 0.3);
    /*padding: 10px 20px;*/
    /*max-width: 1100px;*/
    margin: auto;
    font-size: clamp(10px, 2vw, 14px);
    /*margin-bottom: 20px;*/
    z-index: 1;
    /*border: 3px solid #111;*/
}

.footer_menu {
    width: 100%;
    background-color: #e0e0e0;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 5px 20px;
}

.footercontent {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    gap: 10px;
}

.footercontent a {
    text-decoration: none;
    color: #333;
    font-weight: 300;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.footercontent a:hover {
    background-color: #f0f0f0;
}

.footercopyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 1100px;
    width: 100%;
    padding: 5px 20px;
    margin: 0 auto;
}


.footer_logo_wrapper {
    padding-right: 20px;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.footer_logo {
    width: 160px;
    height: 160px;
    background-image: url("../images/sicheres-depot.logo.png");
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
  }

.footer_info {
    display: flex;
    gap: 20px;
    flex: 1 1 60%;
    min-width: 250px;
    /*border: 3px solid #111;*/
}

.footer_text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.footer_text a {
    text-decoration: none;
    color: #333;
    font-weight: 200;
    padding: 8px 5px;
    border-radius: 6px;
    transition: background 0.2s;
}

.footer_text p {
    padding: 8px 5px;
}



/* Menü */
.menu {
    display: flex;
    justify-content: flex-end; 
    gap: 15px;
    padding: 5px 20px;
    flex-wrap: wrap;
    padding-bottom: 0px;
    /*border: 3px solid #111;*/
}


.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 550;
    padding: 8px 12px;
    /*border-radius: 6px;*/
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: background 0.2s;
    color:#0074d9;
}

.menu a:hover {
    background-color: #f0f0f0;
}

/* NEU: Aktiver Menüpunkt */
.menu a.active {
    background-color: #f9f9f9;
    /*color: #333;*/

    box-shadow: 2px 0 3px rgba(0, 116, 217, 0.4);
    /*box-shadow: none;*/

    /*
    box-shadow:
        2px 0 3px rgba(0, 116, 217, 0.4),
        0 2px 3px rgba(0, 116, 217, 0.4);
      */  
}

/* Menü-Icon */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.navigation {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1100px;
    margin: auto;
    /*border: 3px solid #111;*/
}  

.navigationbar {
    background-color: #f9f9f9;
    padding: 7px 20px;
    width: 100%;
    /*border: 3px solid #111;*/
}


/* Responsive: unter 769px */
@media (max-width: 769px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header_teaser_text p {
      font-size: 1.8rem; 
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 5px;
        align-items: flex-end;
        background-color: #e0e0e0;
        padding: 5px 20px;
    }
    
    .menu a {
        text-align: center;
        padding: 4px 0;
        width: 100%;
        border-radius: 8px;
    }

    .menu a:hover {
        background-color: #f0f0f0;
    }

    .menu-icon {
        display: block;
        margin-left: auto; 
    }

    /* Wenn Checkbox aktiv ist (checked), zeige Menü */
    .menu-toggle:checked + .menu-icon + .menu {
        display: flex;
    }

    /* Optional: Navigation-Spalte neu ausrichten */
    
    .navigation {
        flex-direction: column;
        align-items: flex-start;
    }


      .content {
        flex-direction: column;
    }

    .contentbox {
       flex: 1 1 100%;
       width: 100%;
        /*
        margin: 10px 0;
        */
    }
}


/* ~~~~~~~~~~~~ Formular Styles ~~~~~~~~~~~~~~~~~~*/


form.kontaktformular {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 450px;
  width: 100%;
  box-sizing: border-box;
}

form.kontaktformular input[type="text"],
form.kontaktformular input[type="email"],
form.kontaktformular input[type="tel"],
form.kontaktformular input[type="submit"],
form.kontaktformular textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

form.kontaktformular input[type="checkbox"] {
  padding: 10px;
}

form.kontaktformular textarea {
  resize: vertical;
}

#zeichenanzeige {
  text-align: right;
  font-size: 0.85rem;
  color: #555;
  margin-top: 5px;
}


form.kontaktformular .checkbox-label {
  display: block;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-align: left;
  justify-content: flex-start;
  width: 100%; 
}

form.kontaktformular .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

form.kontaktformular .checkbox-row input[type="checkbox"] {
  margin-top: 2px; /* optional, um es vertikal etwas besser auszurichten */
}

form.kontaktformular .checkbox-row span {
  line-height: 1.4;
  color: #333;
}


form.kontaktformular label.checkbox-label a {
  color: #333;
  text-decoration: underline;
}

form.kontaktformular .error-message {
  color: red;
  font-size: 0.90rem;
  margin-top: 5px;
  font-weight: bold;
}

form.kontaktformular button[type="submit"] {
  padding: 10px 20px;
  background-color: #f9f9f9;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.1s ease-in-out, transform 0.1s ease-in-out;
  border: 1px solid #ccc;

  /*transition: box-shadow 0.2s ease;*/
}

form.kontaktformular button[type="submit"]:active {
  box-shadow: none;
  transform: translateY(2px);
}

.image-row {
      /*display: inline-flex;*/
      display: flex;
      gap: 20px;
      justify-content: center;
      align-items: center;
      padding: 20px;
      background-color: #f9f9f9;
}

.image-row a img {
        width: 120px; /* Größe der Bilder anpassen */
        height: auto;
        border: none;       /* Kein Rand */
        border-radius: 0;   /* Keine abgerundeten Ecken */
}


/* Formulare */

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  box-sizing: border-box;
}


button.submitbutton[type="submit"] {
  padding: 10px 20px;
  background-color: #f9f9f9;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.1s ease-in-out, transform 0.1s ease-in-out;
  border: 1px solid #ccc;
}

button.submitbutton[type="submit"]:active {
  box-shadow: none;
  transform: translateY(2px);
}

.errormessage {
  color: red;
  font-size: 0.90rem;
  margin-top: 5px;
  font-weight: bold;
}


.checkbox-label {
  display: block;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-align: left;
  justify-content: flex-start;
  width: 100%; 
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 2px; /* optional, um es vertikal etwas besser auszurichten */
}

.checkbox-row span {
  line-height: 1.4;
  color: #333;
}

.textfeld {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  resize: vertical;
}

.textzeile {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}


    .accordion {
      display: inline-block;
      max-width: 600px;
      padding: 10px 20px;
      background-color: #f9f9f9;
      border: none;
      border-radius: 12px;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
      transition: box-shadow 0.1s ease-in-out, transform 0.1s ease-in-out;
      border: 1px solid #ccc;
      text-decoration: none;
      color: #0074d9;
      margin: 30px auto;
    }

    .accordion input[type="checkbox"] {
      display: none;
    }

    .accordion2 {
      display: inline-block;
      max-width: 600px;
      padding: 10px 20px;
      background-color: #f9f9f9;
      border: none;
      border-radius: 12px;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
      transition: box-shadow 0.1s ease-in-out, transform 0.1s ease-in-out;
      border: 1px solid #ccc;
      text-decoration: none;
      color: #0074d9;
      margin: 30px auto;
    }

    .accordion2 input[type="checkbox"] {
      display: none;
    }

    .accordion-label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-weight: bold;
    }

    .accordion-label::after {
      content: '+';
      font-size: 20px;
      transition: transform 0.3s ease;
    }

    .accordion2-label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-weight: bold;
    }

    .accordion2-label::after {
      content: '+';
      font-size: 20px;
      transition: transform 0.3s ease;
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      padding: 0 6px;
    }

    .accordion-content a{
      text-decoration: none;
    }

    .accordion2-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      padding: 0 6px;
    }

    .accordion2-content a{
      text-decoration: none;
    }

    .accordion input[type="checkbox"]:checked ~ .accordion-content {
      max-height: 320px;
      padding: 12px;
    }

    .accordion input[type="checkbox"]:checked + .accordion-label::after {
      content: '−'; 
    }

    .accordion2 input[type="checkbox"]:checked ~ .accordion2-content {
      max-height: 320px;
      padding: 12px;
    }

    .accordion2 input[type="checkbox"]:checked + .accordion2-label::after {
      content: '−'; 
    }

