/* =========================================
   GRUNDLAYOUT
========================================= */
body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #f7f7f7;
    color: #333;
    line-height: 1.6;
  }
  
  a {
    color: #0b74b8;
    text-decoration: none;
  }
  
  .facharztvertraege-wrapper {
    max-width: 900px;
    margin: 4rem auto; /* gleicher Abstand wie zum .hero */
    padding: 2.5rem 2rem;
    background: #fffefc; /* Weißton wie auf Über-mich2.html */
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.05);
  
    box-shadow:
      0 2px 4px rgba(0,0,0,0.06),
      0 8px 24px rgba(0,0,0,0.04);
  }
  
  

  .wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
  }


  
  /* =========================================
     HERO
  ========================================= */
  .hero {
    height: 14vh;
    background: linear-gradient(
      135deg,
      #7ed957 0%,
      #4ccf4d 100%
    );
    border-bottom: 1px solid #d0d0d0;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.06);
  }
  
  .hero1 {
    height: 14vh;
    background: linear-gradient(
      135deg,
      #4aa8ff 0%,
      #1e7fff 100%
    );
    border-bottom: 1px solid #d0d0d0;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.06);
  }
  
  .hero2 {
    height: 14vh;
    background: linear-gradient(
      135deg,
       #7b2fff 0%,
       #b37aff 100%
    );
    border-bottom: 1px solid #d0d0d0;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.06);
  }




  /* =========================================
     HEADER & NAVIGATION
  ========================================= */
  .header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
  }
  
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Menübutton */
  .menubutton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    background: #ffffff;
    color: #222;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.75rem 1.3rem;
    border: 2px solid #555;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    width: fit-content;
  }
  
  /* Burger */
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }
  
  .burger::before,
  .burger::after,
  .burger span {
    content: "";
    width: 22px;
    height: 3px;
    background: #222;
    border-radius: 2px;
    display: block;
  }
  
  /* Navigation */
  .site-nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  
  .menubutton.showmenu + ul {
    max-height: 100rem;
  }
  
  .site-nav a {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: #333;
    font-size: 1.05rem;
  }
  
  .site-nav a:hover {
    background: #e7f3fb;
    color: #0b74b8;
  }
  
  .current a {
    background: #e5e5e5;
    color: #333;
  }
  
  
 /* =========================================
   MODERNES ACCORDIONX – WEGBESCHREIBUNG
========================================= */

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .accordion-header {
    width: 100%;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: 1.2rem;
    text-align: left;
    cursor: pointer;
    color: #333;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }
  
  .accordion-header::after {
    content: "▾";
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }
  
  .accordion-header.active::after {
    transform: rotate(180deg);
  }
  
  .accordion-header:hover {
    background: #f0f0f0;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  }
  
  /* Accordion Inhalt */
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    transition: max-height 0.4s ease;
  }
  
  .accordion-content.open {
    padding: 1rem;
    max-height: 2000px;
  }
  
  /* Unterabschnitte */
  .accordion-subsection {
    margin-bottom: 1.5rem;
  }
  
  .accordion-subsection h3 {
    margin-bottom: 0.5rem;
    color: #444;
    font-size: 1.1rem;
  }
  
  .accordion-subsection ul,
  .accordion-list {
    padding-left: 1.2rem;
    margin: 0;
  }
  
  .accordion-subsection ul li,
  .accordion-list li {
    margin-bottom: 0.4rem;
  }
  
  /* Kontaktbox – weiß-grau modern */

  .anrede-kontakt {
    text-align: center;
    padding: 10px;
    margin-top: 2rem;   /* Abstand nach oben */
    margin-bottom: 2rem;
  }
  

  .kontaktbox {
    padding: 0;
    overflow: hidden;
    background: #ffffff;
  }
  
  .kontakt-header {
    background: #e8e8e8;
    padding: 1.2rem 1.5rem;
    border-radius: 12px 12px 0 0;
    border-bottom: 3px solid #0b74b8;
  }
  
  
  
  .kontakt-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: #333;
  }
  
  .kontakt-content {
    padding: 1.5rem;
  }
  
  .kontakt-content p {
    margin: 0 0 1rem 0;
  }
  
  .kontakt-subtitle {
    color: #555;
  }
  
  .kontakt-divider {
    height: 1px;
    background: #e5e5e5; /* statt beige */
    margin: 1.5rem 0;
  }
  
  .social-title,
  .coaching-title {
    margin-top: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #444;
  }
  
  .gluecksherz-logo-wrapper {
    text-align: center;
  }
  
  .kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  
  @media (max-width: 700px) {
    .kontakt-grid {
      grid-template-columns: 1fr;
    }
  }
  
  
  /* =========================================
     FOOTER
  ========================================= */
  .site-footer {
    text-align: center;
    padding: 20px;
    color: #666;
  }
  

  .Kontaktformular {
    max-width: 900px;
    margin: 40px auto; /* mehr Abstand oben/unten */
    padding: 48px 56px; /* mehr Innenraum */
    border-radius: 26px;
  
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.05),
      0 24px 64px rgba(0, 0, 0, 0.04);
  }
  
  
  /* Labels */
  .Kontaktformular label span {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
  }
  
  .Kontaktformular input[type="text"],
  .Kontaktformular input[type="email"],
  .Kontaktformular textarea {

    width: 115%;
    margin-left: 0;
    margin-right: -15%;
    adding: 12px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    background: #fafafa;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
    }

  
  .Kontaktformular input:focus,
  .Kontaktformular textarea:focus {
    border-color: #1e7fff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 127, 255, 0.18);
    outline: none;
  }
  
  /* Geschlecht – moderne Chips */
  #geschlecht fieldset {
    border: none;
    padding: 0;
    margin-bottom: 20px;
  }
  
  #geschlecht legend span {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
  }
  
  #geschlecht .radio-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin: 4px;
    border: 1px solid #d4d4d4;
    border-radius: 20px;
    background: #f7f7f7;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
  }
  
  #geschlecht .radio-label:hover {
    background: #eef6ff;
    border-color: #1e7fff;
  }
  
  #geschlecht .radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #1e7fff;
  }
  
  #geschlecht .radio-label input[type="radio"]:checked + span {
    font-weight: 600;
    color: #1e7fff;
  }
  
  /* Checkbox */
  #dsgvo {
    margin-right: 8px;
  }
  
  /* Button */
  .Kontaktformular button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4aa8ff, #1e7fff);
    color: white;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  
  .Kontaktformular button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(30, 127, 255, 0.25);
  }
  
  .Kontaktformular button:active {
    transform: translateY(0);
    box-shadow: none;
  }

  .Kontaktformular a[href="Datenschutz.html"] {
    color: #1e7fff;
    text-decoration: underline;
    font-weight: 500;
  }
  

  /* ----------------------------------------------
   MODERNES ACCORDION – RUHIG, KLAR, ELEGANT
   ---------------------------------------------- */

.accordion1 {
  max-width: 600px;
  margin: 0 auto 40px auto;
  font-family: inherit;
}

/* Titel */

.accordion1-title {
  text-align: center;
}

.accordion1-title {
  display: block;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.accordion1-title:hover {
  background: #f7faff;
  border-color: #1e7fff;
}

/* Versteckter Toggle */
.accordion1-toggle {
  display: none;
}

/* Inhalt */
.accordion1-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 4px;
}

/* Wenn geöffnet */
.accordion1-toggle:checked ~ .accordion1-content {
  max-height: 2000px; /* genug für dein Formular */
  padding-top: 20px;
}

/* Optional: Titel ändert Farbe wenn geöffnet */
.accordion1toggle:checked + .accordion1-title {
  background: #eef6ff;
  border-color: #1e7fff;
  box-shadow: 0 4px 18px rgba(30,127,255,0.15);
}


.accordion1 {
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* Titel */
.accordion1-title {
  display: block;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

/* Checkbox verstecken */
.accordion1-toggle {
  display: none;
}

/* Inhalt geschlossen */
.accordion1-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 4px;
}

/* Inhalt geöffnet */
.accordion1-toggle:checked ~ .accordion1-content {
  max-height: 3000px; /* genug für dein Formular */
  padding-top: 20px;
}

/* Titel im geöffneten Zustand */
.accordion1-toggle:checked + .accordion1-title {
  background: #eef6ff;
  border-color: #1e7fff;
  box-shadow: 0 4px 18px rgba(30,127,255,0.15);
}

.accordion1-content form {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  margin-top: 10px;
}

.accordion1-title {
  position: relative;
  padding-right: 40px; /* Platz für den Pfeil */
  text-align: center;
}

/* Pfeil rechts */
.accordion1-title::after {
  content: "▾"; /* nach unten gerichteter Pfeil */
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #555;
  transition: transform 0.3s ease;
}

/* Pfeil dreht sich nach oben, wenn geöffnet */
.accordion1-toggle:checked + .accordion1-title::after {
  transform: translateY(-50%) rotate(180deg);
}
