/* ==============================
   Contact Container
   ============================== */
   .contact-container {
    width: 100%;
    max-width: 100rem;
    padding: 0 1.5rem;
    margin: 0 auto 100px auto;
    position: relative;
  }
  
  
  /* ==============================
     Contact Section Headings
     ============================== */
  .section-head {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ccc;
  }
  
  .section-head .main-heading {
    display: block;
    font-size: var(--font-size-main-heading);
    font-weight: 400;
    margin-bottom: 0.5rem;
  }
  
  .section-head .sub-heading {
    display: block;
    color: var(--secondary-color);
    font-size: var(--font-size-base);
    line-height: 1.4;
    max-width: 60ch;
    margin: 0.5rem auto 0 auto;
  }
  
  /* ==============================
     Contact Content
     ============================== */
  .contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: stretch; /* Ensures both columns match in height if possible */
  }
  
  /* Identical Box Styles for .contact-info and .contact-form */
  .contact-info {
    background-color: var(--secondary-light);
    color: var(--white);
    padding: 2rem;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .contact-form {
    background-color: var(--secondary-light);
    color: var(--white);
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    flex: 2;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  
  /* ==============================
     Contact Info Box
     ============================== */
  .contact-info h3 {
    margin-bottom: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
  }
  
  .contact-info p {
    font-size: var(--font-size-base);
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  
  .contact-info ul {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
  }
  
  .contact-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
  }
  
  .contact-info ul li i {
    margin-right: 1rem;
    color: var(--primary-light);
    font-size: 1.2rem;
  }
  
  .contact-hours {
    margin-top: auto; /* Positions hours at the bottom if info is taller */
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 0.8rem;
  }
  
  .contact-hours h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-light);
    font-size: var(--font-size-base);
  }
  
  /* ==============================
     Contact Form
     ============================== */
  .contact-form {
    /* Removed the gradient background and replaced it with the same style as .contact-info */
    margin-bottom: 0;
  }
  
  .form-btn {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 0.4rem;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
    align-self: flex-start;
  }
  
  .form-btn:hover {
    background-color: var(--secondary-dark);
  }
  
  .input-group-wrap {
    margin-top: 1rem;
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
  }
  
  .input-group-wrap .input-group {
    flex: 1;
  }
  
  .input-group {
    position: relative;
    margin-bottom: 1.5rem;
  }
  
  /* Input fields */
  .input {
    display: block;
    width: 100%;
    background-color: transparent;
    color: var(--white);
    font-weight: normal;
    border: none;
    border-bottom: 2px solid var(--white);
    padding: 0.5rem 0;
    outline: none;
    font-size: var(--font-size-base);
  }
  
  .input::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* Animated bar under inputs */
  .bar {
    display: block;
    position: relative;
  }
  
  .bar::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
  }
  
  .input:focus + .bar::after {
    transform: scaleX(1);
  }
  
  /* Data Privacy text */
  .data-privacy {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--white);
  }
  
  .data-privacy a {
    color: var(--primary-light);
    text-decoration: underline;
  }
  
  #formStatus {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--primary-light);
}


  /* ==============================
     Responsive
     ============================== */
  @media screen and (max-width: 768px) {
    .contact-content {
      flex-direction: column;
    }
  
    .input-group-wrap {
      flex-direction: column;
    }
  }

/* ==== Feedback-UI – jetzt an eure Farb-Variablen angepasst ==== */
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  font-weight: 600;
  display: none;                /* per JS .show */
  border: 1px solid transparent;
  color: var(--text-inverted);  /* Standard: weiß auf dunklem Hintergrund */
}
.form-status.show {
  display: flex;
  align-items: center;   /* <— zentriert Icon und Text vertikal */
  gap: .6rem;
}

.form-status svg { flex: 0 0 auto; }

/* Erfolgs-Meldung */
.form-status.success {
  background: rgba(var(--success-rgb, 40,167,69), 0.15);
  border-color: var(--success-color);
  color: var(--success-color);
}

/* Fehler-Meldung */
.form-status.error {
  background: rgba(var(--error-rgb, 255,0,51), 0.12);
  border-color: var(--error-color);
  color: var(--error-color);
}

/* Info / Zwischennachricht */
.form-status.info {
  background: rgba( var(--secondary-color-rgb,140,129,129), 0.18);
  border-color: var(--secondary-color);
  color: var(--white);
}

/* Button-Spinner */
.spinner {
  inline-size: 1em;
  block-size: 1em;
  border: 2px solid rgba(var(--white-rgb,255,255,255),.25);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
  margin-right: .5rem;
}
.loading .spinner { display: inline-block; }
.loading .btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Modal Overlay */
.modal {
  position: fixed; inset: 0;
  display: none;             /* per JS .show */
  place-items: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
}
.modal.show { display: grid; }

.modal-card {
  width: min(560px, 92vw);
  background: linear-gradient(180deg, var(--secondary-color), var(--secondary-dark));
  color: var(--white);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 1rem;
  padding: 1.2rem 1.2rem 1.4rem;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
}
.modal-title { margin: .4rem 0 0; }
.modal-sub   { color: var(--primary-light); }

/* animierter Haken */
.checkmark { width: 86px; height: 86px; margin: 6px auto 10px; }
.checkmark circle {
  stroke: var(--white);
  stroke-width: 8;
  fill: none;
  stroke-dasharray: 270;
  stroke-dashoffset: 270;
  animation: dash .9s ease forwards .05s;
}
.checkmark path {
  stroke: var(--white);
  stroke-width: 8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: dash .6s ease forwards .55s;
}
@keyframes dash { to { stroke-dashoffset: 0; } }

/* „Ghost“-Button im bestehenden Farbschema */
.ghost {
  background: transparent !important;
  border: 1px solid var(--gray-dark) !important;
  color: var(--white) !important;
}

/* Links in der Kontaktbox wie Text, aber klar erkennbar */
/* === Links in der Kontakt-Box – Stil wie Footer === */
.contact-info .contact-link {
  color: var(--primary-color);        /* gleiche Grundfarbe wie Footer-Link */
  text-decoration: none;              /* keine Unterstreichung */
  transition: color 0.3s ease;
}

.contact-info .contact-link:hover,
.contact-info .contact-link:focus {
  color: var(--secondary-dark);       /* gleiche Hover-Farbe wie Footer */
  outline: none;
}



  
  