/* ============================================================
   FAU - CONTENT CSS (Alle Seiten zusammengefasst)
   Ersetzt: content_krankheit/leben/links/medien/news/
            content_publikationen/team/termine/videos.css
            content_galerien_details.css
   ============================================================ */

/* --- VARIABLEN --- */
:root {
  --brand-red: #b9242a;
  --brand-red-dark: #961d22;
  --bg-cream: #fffff3;
  --bg-beige: #f2f2e4;
  --border-beige: #d1d1c2;
  --gap: 30px;
  --accent-color: #b9242a;
  --text-muted: #666;
}

/* ============================================================
   BASIS & LAYOUT
   ============================================================ */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Livvic", sans-serif;
  margin: 0;
  background-color: #fffff3;
}

.main-content {
  max-width: 1200px;
  margin: 10px auto 30px auto;
  padding: 40px;
  background-color: var(--bg-cream);
  border-radius: 8px;
  font-size: 100%;
}

/* ============================================================
   HERO - GEMEINSAME BASIS
   ============================================================ */

.hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  background-color: #333;
  /* Fallback-Bild (wird durch body-Klassen überschrieben) */
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url("../grafik/news_1920x600.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
}

.hero-text-overlay {
  padding-bottom: 60px;
  width: 100%;
}

.hero-text-content {
  opacity: 0;
  animation: fadeInUp 2.5s ease-out forwards;
}

.hero-text-content h1 {
  font-size: 4em;
  color: var(--bg-cream);
  margin: 0 0 20px 0;
  font-family: "Livvic", sans-serif;
}

.hero-text-content p {
  font-size: 2em;
  color: var(--bg-cream);
  font-family: "Livvic", sans-serif;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   HERO - SEITENSPEZIFISCHE HINTERGRUNDBILDER
   Per body-Klasse gesteuert – kein zweiter CSS-Link nötig.
   In der HTML-Datei einfach <body class="seite-krankheit"> etc.
   ============================================================ */

/* Krankheit */
body.seite-krankheit .hero-section {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url("../grafik/labor_1920x600.jpg");
}
@media (max-width: 900px) {
  body.seite-krankheit .hero-section {
    background-image:
      linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
      url("../grafik/labor_770x1000.jpg");
  }
}

/* Leben */
body.seite-leben .hero-section {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url("../grafik/leben_1920x600.jpg");
}
@media (max-width: 900px) {
  body.seite-leben .hero-section {
    background-image:
      linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
      url("../grafik/leben_800x1600.jpg");
  }
}

/* Links */
body.seite-links .hero-section {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url("../grafik/links_1920x600.jpg");
}
@media (max-width: 900px) {
  body.seite-links .hero-section {
    background-image:
      linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
      url("../grafik/links_800x1200.jpg");
  }
}

/* Medien */
body.seite-medien .hero-section {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url("../grafik/medien_1920x600.jpg");
}
@media (max-width: 900px) {
  body.seite-medien .hero-section {
    background-image:
      linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
      url("../grafik/medien_800x800.jpg");
  }
}

/* News */
body.seite-news .hero-section {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url("../grafik/news_1920x600.jpg");
}
/* (News hat kein eigenes Mobile-Bild, Fallback bleibt) */

/* Team */
body.seite-team .hero-section {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url("../grafik/team_1920x600.jpg");
}
@media (max-width: 900px) {
  body.seite-team .hero-section {
    background-image:
      linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
      url("../grafik/team_900x1200.jpg");
  }
}

/* Termine */
body.seite-termine .hero-section {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url("../grafik/termine_1920x600.jpg");
}
@media (max-width: 900px) {
  body.seite-termine .hero-section {
    background-image:
      linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
      url("../grafik/termine_800x1200.jpg");
  }
}

/* Videos */
body.seite-videos .hero-section {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url("../grafik/videos_1920x600.jpg");
}
@media (max-width: 900px) {
  body.seite-videos .hero-section {
    background-image:
      linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
      url("../grafik/videos_800x800.jpg");
  }
}

/* Publikationen */
body.publikationen .hero-section {
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1)),
    url("../grafik/background_media_1920x600.jpg");
}
/* (Galerien nutzt auch background_media – kein extra Eintrag nötig) */

/* ============================================================
   INTRO SECTION & GROUP INTRO
   ============================================================ */

.group-intro {
  max-width: 900px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
}

.group-intro h2 {
  text-align: center !important;
  width: 100% !important;
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 10px;
  box-sizing: border-box;
}

.intro-box {
  border-left: 5px solid var(--brand-red);
  padding: 10px 0 10px 30px;
  margin-bottom: 20px;
}

.intro-box p {
  font-size: 1.3em;
  line-height: 1.7;
  color: #333;
  text-align: left;
}

.lead-text {
  font-weight: 700;
  font-size: 1.4rem !important;
  color: var(--brand-red) !important;
  text-align: left;
}

.abstand {
  margin-bottom: 20px;
}

/* ============================================================
   ÜBERSCHRIFTEN
   ============================================================ */

.content-section h2 {
  color: var(--brand-red);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

/* ============================================================
   TEAM QUICK NAV
   ============================================================ */

.team-quick-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 80px;
}

.team-quick-nav .nav-item {
  flex: 1;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
}

.team-quick-nav img {
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-beige);
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.4s ease-in-out,
    box-shadow 0.4s ease;
}

.team-quick-nav .nav-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.team-quick-nav .nav-item span {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #cc0000;
  transition: color 0.3s ease;
}

.team-quick-nav .nav-item:hover span {
  color: #000;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */

.team-card {
  background-color: var(--bg-beige);
  border: 1px solid var(--border-beige);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 50px;
  scroll-margin-top: 100px;
  text-align: left;
}

.team-card h3 {
  color: #000;
  font-size: 1.8rem;
  margin: 0 0 20px 0;
  font-weight: 700;
  border-bottom: 2px solid var(--brand-red);
  padding-bottom: 10px;
  display: inline-block;
  text-align: left;
}

.team-card p.rolle {
  color: #000000e1;
  font-family: "Livvic", sans-serif;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: left;
}

.team-card .article-content p,
.team-card .article-content a {
  font-size: 1.3rem !important;
  line-height: 1.5;
}

.team-card .article-content p.rolle {
  margin-top: 35px;
}

.team-details [id] {
  scroll-margin-top: 1.5rem;
}

/* ============================================================
   BILDER & TEXTFLUSS
   ============================================================ */

.img-float-left {
  float: left;
  width: 280px;
  margin-right: 30px;
  margin-bottom: 15px;
  border-radius: 4px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.article-content p {
  font-size: 1.3em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}

.article-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Basis-Einstellungen für Bilder im News-Bereich */
.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.img-center {
  display: block;
  margin: 20px auto;
}
.img-left {
  float: left;
  margin: 0 20px 10px 0;
  max-width: 40%;
}
.img-right {
  float: right;
  margin: 0 0 10px 20px;
  max-width: 40%;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.img-grid {
  display: grid;
  gap: 10px;
  margin: 15px 0;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.grid-5 img:nth-child(1),
.grid-5 img:nth-child(2) {
  width: calc(50% - 5px);
}
.grid-5 img:nth-child(3),
.grid-5 img:nth-child(4),
.grid-5 img:nth-child(5) {
  width: calc(33.33% - 7px);
}

/* ============================================================
   ARTIKEL LISTE
   ============================================================ */

.article-list {
  list-style: none;
  padding-left: 0;
  margin-left: 20px;
}

.article-list li {
  font-size: 1.3em;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #333;
  padding-left: 30px;
  position: relative;
}

.article-list li::before {
  content: "›";
  color: var(--brand-red);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
  line-height: 1.5;
}

.news-article {
  margin: 40px 0;
}

/* ============================================================
   LINK-KARTEN (Links, Medien, Videos-Seite)
   ============================================================ */

.link-section {
  max-width: 1100px;
  margin: 0 auto 60px auto;
  padding: 0 40px 20px 40px;
  background-color: var(--bg-cream);
}

.link-group {
  margin-bottom: 90px;
}

.group-header {
  border-left: 6px solid var(--brand-red);
  padding-left: 25px;
}

.group-title {
  color: #222;
  font-size: 2.5em;
  margin: 0;
  font-family: "Livvic", sans-serif;
  font-weight: 700;
  text-align: center;
}

h2.group-title {
  color: var(--brand-red);
}

.group-subtitle {
  color: #666;
  margin-top: 10px;
  font-size: 1.3em;
  text-align: center;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 45px;
}

.link-card {
  background-color: var(--bg-beige);
  padding: 30px 35px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 6px solid var(--brand-red);
  border-left: 1px solid #d1d1c0;
  border-right: 1px solid #d1d1c0;
  border-top: 1px solid #d1d1c0;
}

.link-info h3 {
  margin: 0 0 8px 0;
  font-size: 1.6em;
  color: #333;
}
.link-info p {
  margin: 0;
  color: #555;
  font-size: 1.3em;
  line-height: 1.5;
}

.link-btn {
  text-decoration: none;
  background-color: var(--brand-red);
  color: #fff !important;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.1em;
  white-space: nowrap;
  margin-left: 35px;
  transition: background-color 0.2s;
  display: inline-block;
  width: 140px;
  text-align: center;
  padding: 10px 0;
  box-sizing: border-box;
}

.link-btn:hover {
  background-color: var(--brand-red-dark);
}

.link-btns-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: auto;
  align-items: flex-end;
}

/* ============================================================
   TERMINE / EVENTS
   ============================================================ */

.event-content h3 {
  font-size: 1.7em;
}
.event-description {
  font-size: 1.3em;
}

/* ============================================================
   GLOBALE LINK-FARBE IM CONTENT
   ============================================================ */

.main-content a,
.team-card a,
.intro-box a {
  color: var(--brand-red);
  text-decoration: underline;
  transition: color 0.3s ease;
  font-weight: 600;
}

.main-content a:hover,
.team-card a:hover,
.intro-box a:hover {
  color: #000;
  text-decoration: none;
}

/* ============================================================
   AKKORDEON (Krankheit / Leben)
   ============================================================ */

.accordion-container {
  margin-top: 40px;
}

.fa-details {
  background-color: var(--bg-beige);
  border: 1px solid var(--border-beige);
  border-radius: 8px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.fa-details summary {
  padding: 20px 30px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  list-style: none;
  position: relative;
  outline: none;
}

.fa-details summary::after {
  content: "+";
  float: right;
  color: var(--brand-red);
  font-size: 1.5rem;
}
.fa-details[open] summary::after {
  content: "−";
}
.fa-details[open] {
  border-left: 5px solid var(--brand-red);
}

.details-content {
  padding: 0 30px 30px 30px;
  font-size: 1.25em;
  line-height: 1.5;
  color: #333;
}

.details-content h3 {
  font-size: 1.5rem;
  color: var(--brand-red);
  margin-top: 20px;
  border-bottom: 1px solid var(--border-beige);
  padding-bottom: 5px;
}

.details-content p {
  margin: 10px 0 15px 0;
}
.details-content ul {
  padding-left: 5px;
  margin-left: 0;
}
.details-content ul li {
  margin: 8px 0;
}

.details-content .abstract-icon-list li {
  font-size: 1.25rem;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
}

/* ============================================================
   ICON LISTEN
   ============================================================ */

.icon-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1.3em;
  line-height: 1.6;
}

.icon-list i {
  color: var(--brand-red);
  font-size: 1.4em;
  margin-right: 20px;
  margin-top: 4px;
  width: 30px;
  text-align: center;
}

.abstract-icon-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 10px 0;
}

.abstract-icon-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 1.3em;
  line-height: 1.5;
  color: #333;
}

.abstract-icon-list i {
  color: var(--brand-red);
  font-size: 0.8em;
  margin-right: 10px;
  margin-top: 5px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.abstract-icon-list li div {
  flex: 1;
}

/* ============================================================
   DEFINITION / SYMPTOM LISTEN
   ============================================================ */

.definition-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}
.definition-list li {
  font-size: 1.3em;
  margin-bottom: 8px;
  color: #333;
}
.definition-list li strong {
  color: var(--brand-red);
}

.symptom-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.symptom-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.6;
}

.cat-neuro::before {
  color: #b9242a;
}
.cat-ortho::before {
  color: #5d6d7e;
}
.cat-psych::before {
  color: #7d3c98;
}
.cat-organ::before {
  color: #2e86c1;
}
.cat-sens::before {
  color: #d68910;
}

/* ============================================================
   INFO-BEREICH (Logo links, Text rechts)
   ============================================================ */

.info-bereich {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.info-logo {
  width: 250px;
  flex-shrink: 0;
  height: auto;
}

.info-inhalt {
  border-left: 5px solid var(--brand-red);
  padding-left: 15px;
}

.info-inhalt p {
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   DATENSCHUTZ / IMPRESSUM SEITE
   ============================================================ */

body.datenschutz-impressum .main-content {
  margin: 0 auto;
  max-width: 900px !important;
}

body.datenschutz-impressum .main-content h1 {
  font-size: 1.6rem !important;
  margin: 0 0 20px 0 !important;
}

body.datenschutz-impressum .main-content h2 {
  font-size: 1.2rem !important;
  margin: 20px 0 10px 0 !important;
}

body.datenschutz-impressum p.impressum {
  font-size: 1rem !important;
  line-height: 1.2 !important;
  margin: 0 0 15px 0 !important;
}

body.datenschutz-impressum ul.daten {
  font-size: 1rem !important;
  line-height: 1.2 !important;
  margin: 0 0 15px 25px !important;
  padding: 0 !important;
}

body.datenschutz-impressum ul.daten li {
  margin-bottom: 5px !important;
}

/* ============================================================
   STATUSFARBEN
   ============================================================ */

.av {
  color: gray;
  font-style: italic;
}
.nv {
  color: green;
}

/* ============================================================
   VIDEO GALERIE
   ============================================================ */

.video-section-container {
  display: flex;
  justify-content: center;
  background-color: var(--bg-cream);
}

.video-gallery {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.video-card {
  background: var(--bg-cream);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.video-header {
  background-color: var(--bg-beige);
  padding: 25px 30px;
  border: 1px solid var(--brand-red);
  border-radius: 12px 12px 0 0;
}

.video-title {
  margin: 0 0 8px 0;
  color: var(--brand-red);
  font-size: 1.6rem;
  font-family: sans-serif;
  font-weight: 800;
}

.video-description {
  margin: 0;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.5;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
}

.video-wrapper iframe,
.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ============================================================
   PUBLIKATIONEN - PROJEKT GRID
   ============================================================ */

.project-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  justify-items: center;
}

.project-card {
  background: var(--bg-beige);
  border: 1px solid var(--accent-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 320px;
  max-width: 100%;
  text-align: center;
}

.project-image {
  width: 320px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 325 / 500;
  object-fit: cover;
  display: block;
  background-color: #ddd;
}

.project-content {
  padding: 20px;
}
.project-title {
  font-size: 1.1rem;
  margin: 0 0 10px 0;
}
.project-title a {
  text-decoration: none;
  color: var(--accent-color);
}
.project-title a:hover {
  text-decoration: underline;
}
.project-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 0;
}

/* ============================================================
   GALERIEN - ÜBERSICHT
   ============================================================ */

.grid-galerien {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  padding: 60px 20px;
}

.gallery-card {
  background: var(--bg-beige);
  border: 1px solid var(--accent-color);
  border-radius: 12px;
  overflow: hidden;
  width: 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gallery-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.gallery-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  display: block;
  background-color: #ddd;
}

.gallery-content {
  padding: 25px 20px;
}
.gallery-title {
  font-size: 1.15rem;
  margin: 0;
  color: var(--accent-color);
  line-height: 1.3;
}
.gallery-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.4;
}

/* ============================================================
   GALERIEN - DETAIL / MASONRY
   ============================================================ */

.gallery-header {
  max-width: 1200px;
  margin: 40px auto 20px;
  padding: 0 20px;
  text-align: center;
}
.gallery-header h2 {
  color: var(--text-muted);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.masonry-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.masonry-gallery {
  column-count: 3;
  column-gap: 20px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  background: var(--bg-beige);
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.masonry-item:hover {
  transform: scale(1.02);
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */

@media (max-width: 900px) {
  .hero-section {
    height: 500px;
    background-position: center top;
  }
  .hero-text-content h1 {
    font-size: 3em !important;
  }

  .main-content {
    padding: 40px 15px;
  }

  .content-section h2,
  .group-intro h2 {
    font-size: 1.8rem !important;
    line-height: 1.2;
    word-wrap: break-word;
    text-align: center !important;
    margin-bottom: 30px;
  }

  .team-quick-nav {
    display: none;
  }

  .img-float-left {
    float: none;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 20px auto;
    display: block;
  }

  .team-card {
    text-align: left;
    padding: 25px 20px;
  }
  .team-card h3 {
    display: inline-block;
  }

  .link-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .link-btns-group {
    margin-left: 0;
    margin-top: 15px;
    align-items: center;
    width: 100%;
  }

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

  .abstract-icon-list {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  .abstract-icon-list li {
    padding-left: 0;
  }

  .event-description {
    font-size: 1.3em;
  }

  .project-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .link-section {
    padding: 40px 20px;
  }
  .group-title {
    font-size: 1.7em !important;
  }
  .group-subtitle {
    font-size: 1.3em;
  }
  .link-list {
    margin-top: 30px;
    gap: 20px;
  }
  .link-card {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }
  .link-info h3 {
    font-size: 1.3em;
  }
  .link-info p {
    font-size: 1.1em;
  }
  .link-btn {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  .img-grid,
  .grid-5 {
    grid-template-columns: 1fr !important;
  }
  .grid-5 img {
    width: 100% !important;
  }
  .img-left,
  .img-right {
    float: none;
    max-width: 100%;
    margin: 10px 0;
  }

  .masonry-gallery {
    column-count: 1;
  }

  .gallery-card {
    width: 100%;
    max-width: 300px;
  }
  .grid-galerien {
    gap: 30px;
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .video-header {
    padding: 15px 20px;
  }
  .video-title {
    font-size: 1.3rem;
  }

  .project-container {
    grid-template-columns: 1fr;
  }
  .project-card {
    width: 100%;
    max-width: 320px;
  }

  .info-bereich {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .info-inhalt {
    border-left-width: 0;
  }
}
