/* Global / Reset */
* {
    box-sizing: border-box;
  }
  /* Grundlayout */
  body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
    color: #222;
    line-height: 1.6;
  }
  
  .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
  }

  main {
    padding: 30px 0;
  }

  /* Allgemeine Typografie */

  .subtitle {
    font-size: 20px;
    margin-top: 10px;
    font-weight: 500;
  }
  .institution {
    font-size: 18px;
    margin: 0 0 10px 0;
    opacity: 0.9;
  }
  .school {
    font-size: 18px;
    margin-top: 6px;
    opacity: 0.9;
  }
/* Header - Startseiten */

  header {
    background-color: #1f4e79;
    color: white;
    padding: 40px 0;
  }
  
  header h1 {
    margin: 0 0 10px 0;
    font-family:'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 1px;
  }
  header h1 a {
    color: white;
    text-decoration: none;
  }

  header h1 a:hover {
    color: #e6eef6;
  }

  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-text {
    max-width: 600px;
  }

  .profile {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    background: white;

  }
  /* Header - Unterseiten */

  .subpage-header {
    background-color: #1f4e79;
    color: white;
    min-height: 140px; /* gleiche Höhe */
    display: flex; /* wichtig */
    align-items: center; /* vertikal zentrieren */
    padding: 0;
  }

  .subpage-header .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .subpage-header h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
  }

  .subpage-header p {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 16px;
    color: white;
  }

  /* Navigation */

  nav {
    background-color: #163a5a;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    padding: 18px 26px;
    display: inline-block;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .nav-links {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
  }
  
  nav a:hover {
    background-color: #1f4e79;
    transform: translateY(-1px);
  }

  /* Karten & Bereiche */

  section {
    background: #f8fafc;
    padding: 30px;
    margin: 25px 0;
    margin-bottom: 20px;
    border-radius: 12px;
    border-left: 6px solid #1f4e79;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  section h2 a {
    color: #2d2a7a;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
  }

  section h2 a:hover {
    color: #1f4e79;
  }

  section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  }

  .subpage {
    background: #f8fafc;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 10px;
    border-left: 6px solid #1f4e79;
  }
  
  .subpage h3 {
    margin-top: 0;
    margin-bottom: 10;
    font-size: 28px;
  }

  .subpage a {
    color: #1f4e79;
    text-decoration: none;
    font-weight: 600;
  }
  
  .subpage a:hover {
    text-decoration: underline;
  }
  /* Seite npezifische Farben */

  #welcome {
    border-left-color: #4f7cac;
  }

  #termine {
    border-left-color:#c7a76c;
  }

  #kontakt {
    border-left-color:#9a6fb0;
  }

  #overview {
    border-left-color: #5c9ead;
  }

  #interaktiv {
    border-left-color: #1f4e79
  }

  #interaktiv a {
    border-left-color: #1f4e79
  }
  #schule {
    border-left-color: #4f7cac;
  }

  #schule a {
    color: #4f7cac;
    text-decoration: none;
  }

  #schule a:hover {
    text-decoration: underline;
  }

  #studienseminar {
    border-left-color: #1f4e79;
  }

  #studienseminar a {
    color: #1f4e79;
    text-decoration: none;
  }

  #studienseminar a:hover {
    text-decoration: underline;
  }
  

  /* Buttons */

.button-row,
.button-bar {
  display: flex ;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 25px;

}
.nav-button,
button.nav-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  background: #1f4e79 ;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer ;

}

a.nav-button:hover,
a.back-button:hover {
  background: #163a5a;
  color: white;
  text-decoration: none;

}

.button-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.left-buttons,
.content-buttons,
.right-buttons {
  display: flex;
  gap: 10px;
}

.center-buttons {
  justify-content: center;
}
.right-buttons {
  justify-content: flex-end;
}

/* Listen & Downloads */

.publikationen,
.downloads {
  list-style: none;
  padding-left: 0;
}

.downloads {
  list-style: none;
  padding-left: 0;
}
  
.downloads li, 
.publikationen li {
  margin-bottom: 10px;
  line-height: 1.5;
}
     
.downloads a {
  color: #1f4e79;
  font-weight: 600;
  text-decoration: none;
}
  
.downloads a:hover {
   text-decoration: underline;
}

/* Tabellen */
.termine-tabelle {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.termine-tabelle th,
.termine-tabelle td {
  border: 1px solid #d9e1ea;
  padding: 12px 30px;
  text-align: left;
}

.termine-tabelle th {
  background-color: #eef3f8;
  color: #1f4e79;
}

.termine-tabelle td:first-child,
.termine-tabelle th:first-child {
  width: 150px;
}
    
.termine-tabelle tr:nth-child(even) {
  background-color: #f7f9fc;
}

.termine-tabelle tr:hover {
  background-color: #eef3f8;
}

/* Über mich / Layouts */

.about-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.about-photo {
  width: 280px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;

}

.kontakt a:hover {
  text-decoration: underline;
}
  
/* Zitatboxen */
.quote-box {
  background: #19fafb;
  border-left: 4px solid #1f4e79;
  padding: 8px 12px;
  font-size: 15px;
  margin: 10px auto;
  border-radius: 8px;
  max-width: 650px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);

}
.quote-text {
  font-style: italic;
  margin: 0 0 10px 0;
  font-size: 15px;
  line-height: 1.45;
  text-align: justify;
}

.quote-quelle {
  font-size: 14px;
  color: #777;
  text-align: right;
  margin: 4px 0 0 0;
}

  /* Einheitliche Inhaltsbox */

.content-box {
  background: #f8fafc;
  padding: 30px;
  margin: 30px 0;
  border-radius: 12px;
  border-left: 6px solid #1f4e79;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform 0.2s ease;
} 

.content-box:hover {
  transform: translateY(-3px);
}

.content-box h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 26px;
}

.content-box p {
  margin: 0;
  line-height: 1.6;
}
  
  /* Footer */

footer {
  background-color: #1f4e79;
  color: white;
  text-align: center;
  padding: 15px;
}

footer a{
  color: white;
  text-decoration: none;

}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   BHS – Interaktive Übung
   ========================= */

.exercise-intro {
  background: #eef3f8;
  border-left: 5px solid #1f4e79;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  line-height: 1.7;
  }
  
  .form-group {
    margin-bottom: 22px;
  }
  
  .form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f4e79;
  }
  
  .form-group textarea,
  .form-group input,
  .form-group select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px;
  }
  
  .big-textarea {
    min-height: 220px;
  }
  
  .hint-box {
    background: #f8fafc;
    border: 1px solid #d9e1ea;
    border-radius: 10px;
    padding: 15px;
    margin-top: 12px;
  }
/* =========================
   BHS – Fortschrittsanzeige
========================= */

  .progress-wrapper {
    background: #f8fafc;
    border-radius: 14px;
    padding: 20px 22px;
    margin: 25px 0 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  }

  .progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }

  .step {
    flex: 1 1 140px;
    text-align: center;
    position: relative;
  }

  .step-number {
    width: 38px;
    height: 38px;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background: #dbe4ee;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
  }

  .step-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    line-height: 1.35;
  }

  .step.active .step-number {
    background: #1f4e79;
    color: white;
  }

  .step.active .step-label {
    color: #1f4e79;
  }

  html {
    scroll-behavior: smooth;
  }
  #phase1,
  #phase2,
  #phase3,
  #phase4,
  #phase5,
  #phase6 {
    scroll-margin-top: 30px;
  }


@media (max-width: 768px) {
  .progress-steps {
    gap: 16px;
  }

  .step {
    flex: 1 1 45%;
    text-decoration: none;
    cursor: pointer;
  }
}


/* Responsive */
  
@media (max-width: 768px) {
  .about-layout {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .about-photo {
    width: 180px;
    margin-bottom: 20px;
  }

  .about-text {
    width: 100%;
  }

  .header-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }

  .header-text {
    max-width: 100%;
  }

  header h1 {
    font-size: 46px;
  }

  .subtitle {
    font-size: 20px;
  }

  .institution {
    font-size: 18px;
  }

  .school {
    font-size: 17px;
  }

  .profile {
    width: 180px;
    height: 180px;
    margin-top: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}


.back-button,
a.back-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 12px 22px !important;
  background: #1f4e79 !important;
  color: white !important;
  text-decoration: none !important;
  border: none!important;
  border-radius: 14px!important;
  font-size: 16px!important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;

}

a.back-button:hover {
  background: #163a5a !important;
  color: white !important;
  text-decoration: none !important;
}


.subpage-header .container {
  padding-left: 0;
  padding-right: 0;
}

.subpage-header h1 {
  margin-left: 0;
}

.subpage-header {
  padding: 30 0 !important;
}














  




  
