  /* =========================
   GLOBAL
  ========================= */

  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Inter', sans-serif;
    color: #0A1240;
    font-weight: 300;
    line-height: 1.5;
    min-height: 100vh;
display:flex;
flex-direction:column;
}


body > header,
body > section,
body > main {
  flex: 0 0 auto; /* Header und Content wachsen nur nach Bedarf */
}

body > section {
  flex: 1 0 auto; /* Hauptcontent nimmt den restlichen Platz ein */
}

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

beige-body {
    margin: 0;
    background: #f7f4f1;
    color: #0A1240;
  }

  /* =========================
   HEADER
  ========================= */

  header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #0A1240;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    z-index: 1000;
    text-align: center;
  }

  header img {
    max-width: 200px;  
    width: 70%;        
    height: auto;
    display: block;
    margin: 0 auto;
  }



  /* =========================
   SECTION
  ========================= */
  
  section {
    width: 100%;
    padding: 20px 20px;
    text-align: center;
    margin: 0 auto;
  }

  h1 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'Libre Baskerville', serif;
    letter-spacing: 0.02em;
    text-align: center;
  }

  h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'Libre Baskerville', serif;
    letter-spacing: 0.02em;
    text-align: center;
  }

  h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  font-family: 'Libre Baskerville', serif;
  letter-spacing: 0.02em;
  text-align: center;
  }

  p {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

 note {
  font-size: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.subline {
    text-align: center;
    font-size: 16px;
    color: #8A857F;
    
  }

  .dark-box-framed {
    width: 90%;
    background-color: #0A1240;
    color: white;
    position: relative;              /* wichtig für ::before */
    padding: 30px 30px;
display: flex; flex-direction: column;
    justify-content: center;
  }

  .dark-box-framed::before {
    content: "";
    position: absolute;
    inset: 20px;                      /* Abstand zur Außenkante */
    border: 1px solid white;
    pointer-events: none;
  }

  .beige-box-framed {
    width: 90%;
    background-color: #f7f4f1;
    color: #0A1240;
    position: relative;              /* wichtig für ::before */
    padding: 30px 30px;
display: flex; flex-direction: column;
    justify-content: center;
  }

.beige-box-framed::before {
    content: "";
    position: absolute;
    inset: 20px;                      /* Abstand zur Außenkante */
    border: 1px solid #0A1240;
    pointer-events: none;
  }


  .dark-box { 
    width:100%; 
    background-color: #0A1240; 
    color: white; 
  }

  .dark-box.image-section {
    display: grid;
    gap: 20px;
    align-items: center;
    justify-items: center;
    grid-template-columns: repeat(4, auto);
    justify-content: space-evenly;
    width: 100%;
    padding: 20px 20px;
  }

  .dark-box.image-section img {
    width: 100%;
    max-width: 220px;
    height: auto;
  }


  .white-box {
    background-color: white;
    color: #0A1240;
  }

  .beige-box {
    background-color: #f7f4f1;  /*#F0E9E3;*/
    color: #0A1240;
    text-align: left;
  }
  .beige-box form {
  width: 80%;
  margin: 0 auto; /* zentriert die Felder */
}

  .half-box {
    width: 45%;
    text-align: justify;
    display: flex;
    flex-direction: column;   /* Text untereinander */
    justify-content: center;  /* vertikal zentriert */
  }


  /* Image Crop */
  .image-crop {
    width: 90%;         
    height: 250px;     
    overflow: hidden;  
    margin: 0 auto;
  }

  .image-crop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 52%;
    display: block;
    transition: transform 1s ease;
  }

  .image-crop:hover img {
    transform: scale(1.03);
  }


  /* Text + Bild nebeneinander */
  .side-by-side {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
    width: 90%;
    margin: 20px auto;
    padding: 0 0
  }

  .side-by-side .half-box,
  .side-by-side .side-image-container {
    width: 45%;            
  }

  .side-image-container img {
    width: 100%;
    height: auto;
    object-position: right;  /* rechtsbündig */
    display: block;
  }

  /* =========================
   BUTTON
  ========================= */

.wrapper {
  margin-top: 40px;
  margin-bottom: 40px;
}

.navy-button {
  border: 1px solid #0A1240;
  background: transparent;
  color: #0A1240;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  padding: 14px 36px;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.navy-button:hover {
  background: #0A1240;
  color: white;
}

.white-button {
  border: 1px solid white;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  padding: 14px 36px;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.white-button:hover {
  background: white;
  color: #0A1240;
}

.beige-button {
  border: 1px solid #8A857F;
  background: transparent;
  color: #8A857F;
  font-size: 14px;
  font-weight: 400;
  padding: 14px 36px;
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.beige-button:hover {
  background: #8A857F;
  color: white;
}

.button-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;

}

button {
  background: transparent;
  border: 1px solid #8A857F;
  color: #8A857F;
  padding: 14px 32px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

button:hover {
  background: #8A857F;
  color: white;
}

button.primary {
  border-color: #0A1240;
  color: #0A1240;
}

button.primary:hover {
  background: #0A1240;
  color: white;
}



 /* Nebeneinander → untereinander */
    .side-by-side .half-box,
    .side-by-side .side-image-container {
      width: 100%;
      margin-bottom: 15px;
    }

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
}

.radio-group .radio-option {
    display: inline-flex !important;
    align-items: center;
}

input[type="radio"]:focus {
    outline: none;
}

input[type="radio"]:focus-visible {
    outline: none;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: #0A1240;
}

 
/* =========================
   Formular
========================= */

.xx-section {  /* wenn man das löscht reagiert der Rest nicht - WHY???*/
}


.form-left,
.form-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input,
select,
textarea {
  width: 100%;
    margin-top: 0px;
    padding: 12px;
    border: none;
    font-size: 14px;
    background: white;
    box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

textarea {
  min-height: 100%;
  resize: none;
}

.required::after {
    content: " *";
    color: #8A857F;
  }

  
  input:focus,
  textarea:focus,
  select:focus {
    outline: 1px solid #0A1240;
  }

  ::placeholder {
    color: #999;
  }

label {
    display: block;
    margin-top: 20px;
    font-size: 14px;
  }



/* Footer */
.form-footer {
  grid-column: 1 / 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.contact-privacy {
  font-size: 12px;
  color: #999;
text-align: center;
}



.contact-privacy input {
  margin-right: 10px;
}

/* Checkbox: kein Fokus-Rahmen */
.contact-privacy input[type="checkbox"] {
  outline: none;
  box-shadow: none;
text-align: left;

}

.contact-privacy input[type="checkbox"]:focus {
  outline: none;
  box-shadow: none;
text-align: left;

}



/* =========================
   SUMMARY FIELDS
========================= */

.field {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 14px;
}

.field:last-child {
  border-bottom: none;
}

.field .label {
  color: #8A857F;
}

.field .value {
  color: #0A1240;
}



/* =========================
   Exposé Auswahl
========================= */

.expose-select {
  padding: 40px 20px;
}

.expose-grid {
  max-width: 1000px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.expose-card {
  background: #f7f4f1;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.expose-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.expose-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.expose-card:hover img {
  transform: scale(1.03);
}

.expose-text {
  padding: 28px;
  text-align: center;
}

.expose-text h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
}

.expose-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.expose-text note {
  font-size: 10px;
  color: #666;
  line-height: 1;
  margin-bottom: 20px;
}

.expose-link {
  font-size: 14px;
  color: #0A1240;
  text-decoration: none;
  border-bottom: 1px solid rgba(10,18,64,0.4);
  padding-bottom: 2px;
}

.expose-link:hover {
  opacity: 0.8;
}


.white-link {
  color: #ffffff;
  text-decoration: none;
  padding-bottom: 2px;
}
.white-link:hover {
  opacity: 0.8;
}

.beige-link {
  color: #8A857F;
  padding-bottom: 2px;
}
.beige-link:hover {
  opacity: 0.8;
}

/* =========================
   MAP OFFER SELECTION
========================= */

.map-offer-grid {
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;   /* ⬅️ zentriert Cards horizontal */
}

.map-offer-card {
  background: #f7f4f1;
  border: 1px solid rgba(10,18,64,0.25);
  padding: 30px 24px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width:350px;
  width: 100%;
}

.map-offer-card:hover {
  transform: translateY(-4px);
}

.map-offer-card.active {
  border: 3px solid #0A1240;
}

.map-offer-radio {
  width: 14px;
  height: 14px;
  border: 1px solid #0A1240;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.map-offer-card.active .map-offer-radio {
  background: #0A1240;
}

.map-offer-image {
  width: 100%;
  height: 180px;
  margin-bottom: 20px;
}

.map-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.map-offer-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  font-size: 14px;
  color: #555;
}

.map-offer-card ul li {
  margin-bottom: 8px;
}

.map-offer-price {
  font-size: 20px;
  font-weight: 400;
}



/* =========================
   FOOTER
========================= */

footer {
  width:100%;
  background-color: #0A1240;
  color: white;
  padding: 20px 20px;
  text-align: center;
  font-size: 14px;
  flex-shrink: 0;
}


/* =========================
   COLOR PICKER + IMAGE GRID
========================= */

.color-group-grid {
  display: grid;
  grid-template-columns: auto auto; /* Farbauswahl + Bild */
  gap: 40px;
  align-items: stretch; /* Bild wird nicht größer als Farbauswahl */
  width: fit-content;
  margin: 0px auto 0;
}

.color-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: start;
}

.color-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.color-row label {
  min-width: 200px;
  font-size: 14px;
  line-height: 1;
  margin: 0;   
}

.color-row input[type="color"] {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.color-row input[type="text"] {
  padding: 7px;
  font-size: 13px;
  width: 90px;
  text-align: center;
}

/* Bild Container */
.color-image {
  margin-top:3px;
  display: flex;
  align-items: flex-start;
}

.color-image img {
  height: 100%;
  width: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}



/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  header img { max-width: 180px; width: 70%; }
  section { padding: 10px 10px; }
  h1 { font-size: 20px; }
  h2 { font-size: 18px; }
  h3 { font-size: 16px; }
  p { font-size: 12px; }
  note { font-size: 8px; }
  .half-box{ max-width: 1000px }
  .highlight { height: 180px; font-size: 16px; }
  .button-link { width: 100%; text-align: center; box-sizing: border-box; }
  .button { width: 100%; text-align: center; box-sizing: border-box; }
  .dark-box.image-section {grid-template-columns: repeat(2, 1fr);}
  .map-offer-grid {grid-template-columns: 1fr;}
  .expose-grid {grid-template-columns: 1fr;}
  .two-columns {grid-template-columns: 1fr;}

  .accordion-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .accordion-item {
        width: 100%;
        flex: none;
    }




.color-group-grid {
    grid-template-columns: 1fr; /* Bild unter Farbauswahl */
    justify-items: center;
  }

  .color-options {
    align-items: center;
    max-width: 420px;
    width: 100%;
  }

  .color-row {
    display:grid;
    grid-template-columns: 1fr auto auto;
gap:12px;
  }

  .color-row {
    min-width:0;
  }

  .color-image {
    margin-top:2px;
    display:flex;
    align-items: flex-start;
  }
  
  .field {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .button-row {
    flex-direction: column;
  }

#contactform {
    grid-template-columns: 1fr;
  } 
  .form-footer {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }



}


/* =========================
   FOUNDER CLEAN
========================= */

.founder {
  width: 70%;
  margin: 0 auto;
}

/* TOP SECTION */
.founder-top {
  display: grid;
  grid-template-columns: 0.1fr 0.9fr;
  gap: 100px;
  align-items: center;
  margin: 0px auto 0px;
}

.founder-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(10,18,64,0.25);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* CV BLOCKS */
.founder-cv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.founder-cv h2 {
  text-align: center;
}

.cv-block h2 {
  text-align: center;
  margin-bottom: 30px;
}

.cv-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  margin-bottom: 22px;
  font-size: 14px;
}

.cv-year {
  color: #8A857F;
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .founder-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap:20px;
  }

  .founder-photo {
    margin: 0 auto;
  }

  .founder-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .founder-cv {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cv-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


.pdf-container {
  width: 100%;
  height: 535px;
  overflow: hidden; /* Scrollbars ausblenden */
}










/* =========================
   MINIMAL ACCORDION
========================= */
.accordion {
  width: 100%;
  margin: 10px auto;
}

.accordion-row {
  display: flex;
  justify-content: space-between;
  gap: 30px; /* Abstand zwischen den Items */
  width: 100%;
  margin: 30px auto;
}

.accordion-item {
  border-bottom: 0px solid #ccc; /* feine Linie als Trennung */
}

.accordion-header {
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  margin-bottom:10px;
  border-bottom: 1px solid #ccc; /* feine Linie als Trennung */

}

.accordion-header:hover {
  color: #0A1240; /* optional: leichtes Highlight */
}

.accordion-header::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.accordion-header.active::after {
  transform: rotate(45deg); /* + wird zu x */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0s ease, padding 0s ease;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.accordion-content.show {
  padding: 0;
  margin-bottom: 20px;
  max-height: 20000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}




.discountcode {
   display: flex; 
   align-items: stretch; 
   gap: 20px; 
   justify-content: flex-start;
   margin-top: 20px;
   margin-bottom: 20px;
}
