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


body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: #f8f8f8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: #0b66c3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.logo-title a {
  text-decoration: none; 
  color:#355c61;
}

.logo-small {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.header {
  background: white;
  color: #2d3748;
  padding: 0.8rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid #e2e8f0;
}

.header .container {
  max-width: 1300px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  text-decoration: none;
}

.header h1 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.header-nav li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  position: relative;
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: grayscale(100%) brightness(0.3);
  transition: filter 0.3s;
}

.nav-icon:hover {
  filter: grayscale(0%) brightness(1);
}

.header-nav a {
  color: #4a5568;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.hero {
  background-color: #355c61;
  color: white;
  padding: 1rem;
  min-height: 25vh;
  max-height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}
.hero h3 {
  line-height: 1.9rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.hero a {
  text-decoration: underline;
  color: white;
  }


.band {
  margin-bottom: 40px;
  font-weight: 600;
  background-color: #355c61;
  color: white;
  height: flex  ;
  display: flex;
  align-items: center;
  padding: 1rem;
  justify-content: space-between;
  flex-wrap: nowrap;
  flex-direction: column;
  text-align: center;
  position: relative;
}

.band a {
  text-decoration: underline;
  color: white;
}

.offer {
  padding: 1rem;
  background: #f7fafc;
}

.offer h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #2b6cb0;
}

.modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
}

.module {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid #cdcfd1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  display: flex;           /* Flexbox aktivieren */
  align-items: flex-start; /* Oben ausrichten */
  gap: 1rem;               /* Abstand zwischen Icon und Text */
  height: 220px;
}

.module:hover {
  box-shadow: 0 5px 12px gray;
}

.module p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.4rem;
  margin: 0;    
}

.module h3 {
  color: hsl(218, 17%, 35%);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6rem;
  margin: 1rem 0 1.5rem 0;
}
.module-icon-wrapper1,
.module-icon-wrapper2,
.module-icon-wrapper3 {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;               /* margin entfernen */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;          /* Icon nicht verkleinern */
}
.module-text {
  flex: 1;
}
.module-icon-wrapper1 {
  background: #d6e7e1;
}

.module-icon-wrapper2 {
  background: #e79d4b;
}

.module-icon-wrapper3 {
  background: #eeb4cc;
}

.module-icon {
  width: 22px;
  height: 22px;
  display: block;
  margin: 0;
  filter: grayscale(0%) brightness(1.1);
}

.module-link {
  color: #2d3748;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.module-link:hover {
  color: #1a202c;
}

.section-padding {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #4a5568;
  font-size: 1.125rem;
}

.btn {
  background: #e98d72;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #d67a60;
  transform: translateY(-1px);
}

.cards-grid {
  padding: 2rem 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  align-items: center;
}

.card {
  background: #f0eeee;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 400px;
  text-decoration: none;
  color: black;
}
.card-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  display: block;
  background-color: #eff4f3;
}

.card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}

.card-content p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.card-date {
  font-size: 0.8rem;
  margin-top: auto;
}

.card:hover {
  background: #d7d5d5;
  text-decoration: none; 
}

/* glossary table */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

thead {
  background-color: #fae3c9;
  color: black;
}

th, td {
  padding: 12px;
  border: 1px solid #d9c8d3;
  text-align: left;
}

tbody tr:nth-child(odd) {
  background-color: white;
}


.center-list {
  margin: 0.25rem 0 0.5rem 1.5rem;
  padding-left: 1rem;
}

.center-list li {
  margin: 0.2rem 0;
}

.view-switch {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem auto;
  max-width: 400px;
}

.view-btn {
  border: 1px solid #aaa;
  background: #f7f7f7;
  color: #2d3748;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
}

.view-btn.active {
  background: #e79d4b;
  border-color: #f09731;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

/* ========== STUDIES SECTION - UPDATED ========== */
.city-block {
  max-width: 900px;
  margin: 12px auto;
  border-radius: 6px;
  overflow: hidden;
}

.city-title {
  position: relative;
  cursor: pointer;
  background: #d6e7e1;
  padding: 10px 14px;
  font-weight: 600;
  border-radius: 6px;
  font-size: 1rem;
  list-style: none;
  color: #222; 
}

.city-title.inactive {
  background: #d0d0d0;
  color: #666;
}

.city-title::-webkit-details-marker {
  display: none;
}

.city-title .arrow::after {
  content: "▼";
  float: right;
  transition: transform 0.2s ease;
}

details[open] .city-title .arrow::after {
  transform: rotate(180deg);
}

.trial-card {
  background: #ffffff;
  padding: 14px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #706f6f;
  font-size: 0.9rem;
  box-shadow: 0 1px 3px rgba(228, 227, 227, 0.03);
}

.trial-card-inactive {
  background: #cecccc !important;
  color: #666;
}

.trial-acronym {
  font-size: 1.1rem;
  font-weight: 700;
  color: #355c61;
  margin-bottom: 4px;
}

.trial-title {
  font-size: 1rem;
  font-weight: 700;
  color: #355c61;
  margin-bottom: 8px;
}

.field {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #333;
}

.label {
  font-weight: 600;
  color: #355c61;
}

.center-list {
  margin: 6px 0 0 18px;
}

.center-list li {
  margin-bottom: 4px;
}

footer {
  background: #355c61;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: auto;  /* Push Footer nach unten */
  text-decoration: none;
}

footer a {
  color: white;
}

@media (max-width: 768px) {

table {
  min-width: 600px;
  }

  .section-padding {
    padding: 2.5rem 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .header .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .header-nav ul {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: 1rem;
    min-height: 25vh;
    max-height: 45vh;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .modules {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
.card {
  height: flex;
}
  .city-block {
    margin: 8px 12px;
  }

  .trial-card {
    padding: 12px;
    margin: 8px 0;
  }
}

ul {
    margin: 0.8em 0;
    padding-left: 1.8em;   /* more indentation for bullets */
}
ul ul {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}
li {
    margin: 0.4em 0;
}

.img-float-container {
    margin: 20px 0 20px 0;
    overflow: hidden;
}

.float-right-large {
    float: right;
    width: 320px;
    height: auto;
    margin-left: 15px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
}

/* this is the new part, delete later */

/* left column: stack of 3 mini-news boxes */
.modules-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
 /* width: 33.333%;  match module width proportionally — adjust if modules have fixed px */
}
/* mini news cards styling */
.news-mini {
  display: block;
  background: #fff; /* or match module bg */
  border: 1px solid #e6e6e6;
  padding: 0.75rem;
  text-decoration: none;
  color: inherit;
  height: calc((100% / 3) - 0.5rem); /* ensure total approx equals one module height */
  min-height: 4.2rem; /* fallback for small screens */
  box-sizing: border-box;
  border-radius: 6px;
}

/* content inside mini card */
.news-mini .mini-date {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.news-mini .mini-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.2;
}

.nct-links {
    font-size: 0.9em;
    color: #666;
}
.nct-links a {
    color: inherit;
    text-decoration: underline;
}

/* new*/

.header-nav .dropdown {
  position: relative;
}

.header-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: #fff;
  z-index: 10;
}

.header-nav .dropdown.open .dropdown-menu {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .header-nav .dropdown:hover .dropdown-menu,
  .header-nav .dropdown:focus-within .dropdown-menu {
    display: block;
  }
}

.highlight-section {
    margin: 24px 0 18px;
}

.highlight-card {
    border-radius: 10px;
    border: 1px solid #cdcfd1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.highlight-tag {
    display: inline-block;
    background: #2c8c8c;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 5px 10px;
    border-radius: 14px;
    white-space: nowrap;
}

.highlight-content p {
    margin: 0;
    color: #35516b;
    text-decoration: none;
}