:root {
  --cassiopeia-color-primary: hsl(220deg, 67%, 40%);
  --cassiopeia-color-link: red;
  --cassiopeia-color-hover: hsl(136.8, 49%, 90%);
  --link-color: red;
  
  /* Standardwerte (Light Mode) */
  --svgg-background: white;
  --svgg-bergpaneon: url(/images/bergpaneonhell.png);
  --svgg-color-primary: red;
  --svgg-font-color-white: white;
  --svgg-darkcolor: rgb(34, 38, 42);
  --svgg-darkcolor-fonts: rgb(34, 38, 42);
  --svgg-white-dark: white;
  --svgg-tile-excerpt: #bf3c3c;
  --svgg-box-background: rgba(255, 255, 255, 0.6);
  
  /* Startposition und Breite des farbigen Reveal-Bandes */
  --reveal-offset: 10%;
  --reveal-width: 4%;
}

/* Dark Mode Overrides – für OS Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --svgg-background: var(--svgg-darkcolor);
    --svgg-bergpaneon: url(/images/bergpaneon.png);
    --svgg-darkcolor-fonts: white;
    --svgg-white-dark: var(--svgg-darkcolor);
    --svgg-tile-excerpt: #ff9b9b !important;
    --svgg-box-background: rgba(26, 23, 27, 0.8);
  }
}

/* Zusätzlich: Dark Mode manuell über Toggle */
body.dark-mode {
  --svgg-background: rgb(34, 38, 42);
  --svgg-bergpaneon: url(/images/bergpaneon.png);
  --svgg-darkcolor-fonts: white;
  --svgg-white-dark: var(--svgg-darkcolor);
  --svgg-tile-excerpt: #ff9b9b !important;
  --svgg-box-background: rgba(26, 23, 27, 0.8);
}


/* Global Styles */
body {
  background-color: var(--svgg-darkcolor);
}


/* ---------------------------
   externe Links kennzeichnen
--------------------------- */
a.external::after {
  content: "\f08e";
  font-family: "FontAwesome";  
    font-size: 0.6em;
    color: var(--svgg-darkcolor-fonts);
    transform: translateY(-0.8em);
    padding: 0 0.2em;
    text-decoration: 0px;
    display: inline-block;
}
.external-info::after {
  content: "\f08e";
  font-family: "FontAwesome";  
    color: var(--svgg-darkcolor-fonts);
    padding: 0 0.2em;
    text-decoration: 0px;
    display: inline-block;
}

/* ---------------------------
   Dark Mode Toggle Switch (mit Icons)
--------------------------- */
.toggle-switch {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 60px;
  height: 30px;
  border-radius: 30px;
  background-color: var(--svgg-darkcolor); /* Basisfarbe für Light Mode */
  border: none;
  cursor: pointer;
  overflow: hidden;
  z-index: 9999;
  display: inline-block;
}

/* Der Knopf oder "Schieber" */
.toggle-switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background-color: var(--svgg-background);
  border-radius: 50%;
  transition: transform 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .toggle-switch .sun {
    color: var(--svgg-darkcolor) !important;
  }
}

/* Die Icons (Sonne und Mond) */
.toggle-switch .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Damit ein Klick nicht auf das Icon wirkt */
}

/* Standardzustand: Sonne sichtbar, Mond ausgeblendet */
.toggle-switch .sun {
  left: 11%;
  opacity: 1;
  color: #FFD700;   /* Sonnengelb */
}
.toggle-switch .moon {
  right: 4px;
  opacity: 0;
  color: #F0E68C;   /* Heller Mondton */
}

/* Aktiviertes (Dark Mode) - Schalterzustand */
.toggle-switch.active {
  background-color: var(--svgg-color-primary);
}
.toggle-switch.active .knob {
  transform: translateX(30px);
}
.toggle-switch.active .sun {
  opacity: 0;
}
.toggle-switch.active .moon {
  opacity: 1;
}

/*===========================================
  Social Media Icons
===========================================*/
.social-icons {
  position: fixed;
  top: 50px;
  right: 80px;  /* Passen Sie den Wert an, damit dieser Container links neben dem Burger-Toggle liegt */
  display: flex;
  gap: 10px;    /* Abstand zwischen den Icons */
  z-index: 9000; 
}
@media (min-width: 992px) {
  .social-icons {
    right: 1%;
   /* top: 40px;*/
  }
}

/* Allgemeines Styling für die Social Icons */
.social-icon {
  font-size: 2rem;
  color: red;          /* Icon-Farbe */
  text-decoration: none;
  transition: transform 0.3s ease;
}

/* Hover-Effekt für die Icons */
.social-icon:hover {
  transform: scale(1.2);
  color: var(--svgg-darkcolor-fonts)
}

/*===========================================
  Burger Menu Toggle (Hamburger)
===========================================*/
.hamburger {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--svgg-darkcolor-fonts);
  cursor: pointer;
  position: fixed;
  top: 40px; /* unterhalb des Dark Mode Toggles */
  right: 17px;
  z-index: 9000;
}
@media (min-width: 992px) {
  .hamburger {
    display: none;
  }
}

/* ---------------------------
   PC-Menü
--------------------------- */
.svgg-desktop-menu {
  color: var(--svgg-darkcolor-fonts);
  text-transform: uppercase;
  font-weight: 500;
  order: 2;
  display: flex;
}
.metismenu.mod-menu {
  order: 2;
}

@media (min-width: 992px) {
  .startseite .mod-menu {
  display: flex;
    order: 2;
    }
  }

@media (max-width: 991px) {
  .startseite .mod-menu {
  display: none;
    }
  }
@media (min-width: 992px) {
  .metismenu {
  display: flex;
    order: 2;
    }
  }

@media (max-width: 991px) {
  .metismenu {
  display: none;
    }
  }

/*-------------------------------------------------*/
.metismenu.mod-menu {
  order: 2;
  /*display: flex;*/
  align-items: center;
  margin: 0;
  padding: 0;
}
.svgg-desktop-menu {
  display: block !important;
}

.container-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  filter: grayscale(60%);
}
.container-header .metismenu>li.level-1.active>a {
  color: var(--svgg-darkcolor-fonts);
  text-transform: uppercase;
  font-weight: 500;
  color: red;
  font-size: 1.5rem;
  font-weight: bold;
}
.container-header .metismenu>li.active>a:after {
  content: "";
  position: absolute;
  top: 45px;
  height: 1px;
  background: var(--svgg-color-primary);
  left: -3px;
  right: -3px;
  transition: all 0.3s ease;
  opacity: 1;
}
.container-header .metismenu>li>a:after {
  opacity: 0;
  }

.container-header .metismenu > li:hover::after {
  content: "";
  position: absolute;
  top: -35px;
  height: 1px;
  background: var(--svgg-color-primary);
  left: -3px;
  right: -3px;
  transition: all 0.3s ease;
  opacity: 0.2;
}

.metismenu::hover {
  display: none;
}

.metismenu.mod-menu .mm-toggler:after {
  color: red;
  }
.metismenu.mod-menu .mm-collapse>li>a {
  color: var(--svgg-color-primary);
}
.metismenu.mod-menu .metismenu-item:not(.level-2)>ul {
    background-color: var(--svgg-background);
}
.metismenu.mod-menu .metismenu-item {
    padding: .5em 0.8em;
}

/*===========================================
  Mobile Menu Overlay & Panel
===========================================*/

@media (max-width: 991px) {
  .svgg-mobile-menu .mod-menu.mod-list.nav {
    display: block !important;
  }
  .svgg-mobile-menu .mod-list li.active > a {
    color: var(--svgg-color-primary);
    font-weight: bold;
    font-size: 1.5rem;
  }
}


/* Das Overlay, das den Rest des Bildschirms abdunkelt */
.mobile-menu-overlay {
  display: none; /* standardmäßig ausblenden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5); /* halbtransparentes Schwarz */
  z-index: 9000;
}
.mobile-menu-overlay.open {
  display: block;
}
@media (min-width: 992px) {
  .mobile-menu-overlay.open {
    display: none;
  }
}

/* Das mobile Menü-Panel (Slider), das vertikal erscheint */
.svgg-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: var(--svgg-background);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
/* Wenn das Overlay geöffnet ist, schiebe das Panel herein */
.mobile-menu-overlay.open .svgg-mobile-menu {
  transform: translateX(0);
}

/* Inneres Layout des mobilen Menü-Panels */
.svgg-mobile-menu .menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--svgg-darkcolor-fonts);
}
.svgg-mobile-menu .menu-header .menu-logo {
  max-width: 120px;
}
.close-menu {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--svgg-darkcolor-fonts);
  cursor: pointer;
}
.svgg-mobile-menu nav {
  padding: 20px;
  overflow-y: auto;
}
.svgg-mobile-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.svgg-mobile-menu nav ul li a {
  display: block;
  padding: 10px 15px;
  color: var(--svgg-darkcolor-fonts);
  text-decoration: none;
}

/*===========================================
  Neon-Hintergrund
===========================================*/
.site-neon-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--svgg-bergpaneon) center/cover no-repeat;
  z-index: 0;
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .site-neon-bg,
  .aktuelles .site-neon-bg {
    filter: grayscale(70%);
  }
}
.site-neon-bg .reveal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: none;
  pointer-events: none;
  clip-path: polygon(
    var(--reveal-offset) 0%, 
    calc(var(--reveal-offset) + var(--reveal-width)) 0%, 
    calc(var(--reveal-offset) + var(--reveal-width)) 100%, 
    var(--reveal-offset) 100%
  );
  transition: clip-path 0.3s ease-out;
}

/*===========================================
  Haupt-Container & Navigation
===========================================*/
.site-grid {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.container-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: nowrap;
  padding: 0 20px;
}
#mod-custom116 {
  flex-shrink: 0;
  order: 1;
}
.mod-menu.mod-list.nav {
  order: 2;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.svgg-mobile-menu {
  order: 3;
  display: none !important;
}
.svgg-desktop-menu {
  display: block !important;
}
@media (max-width: 991px) {
  .mod-menu.mod-list.nav {
    display: none !important;
  }
  .svgg-mobile-menu {
    display: block !important;
  }
}
.container-header {
  position: relative;
  background-color: var(--svgg-background);
  height: 100px;
  box-shadow: 0 4px 2px 0 rgba(0,0,0,0.2),
              0 6px 20px 0 rgba(0,0,0,0.19);
  width: 100%;
  background-position: 12% center;
  background-repeat: no-repeat;
  background-image: none;
}
@media (max-width: 991px) {
  .container-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px !important;
    z-index: 1000 !important;
    background-position: center;
  }
  .site-grid {
    margin-top: 100px;
  }
}
.container-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  filter: grayscale(60%);
}
.container-header .mod-menu > li > a {
  color: var(--svgg-darkcolor-fonts);
  text-transform: uppercase;
  font-weight: 500;
}
.container-header .mod-menu > li.active::after {
  content: "";
  position: absolute;
  top: 45px;
  height: 1px;
  background: var(--svgg-color-primary);
  left: -3px;
  right: -3px;
  transition: all 0.3s ease;
  opacity: 1;
}
.container-header .mod-menu > li:hover::after {
  content: "";
  position: absolute;
  top: -35px;
  height: 1px;
  background: var(--svgg-color-primary);
  left: -3px;
  right: -3px;
  transition: all 0.3s ease;
  opacity: 0.2;
}
.container-header .mod-menu > li.active > a {
  color: red;
  font-size: 1.5rem;
  font-weight: bold;
}

/*===========================================
  Vertikales Mobile Menü (Overlay) – Mobile Ansicht
===========================================*/
@media (max-width: 991px) {
  .svgg-mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;       /* Anpassbar */
    max-width: 300px;
    height: 100vh;
    background: var(--svgg-background);
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  /* Wenn das Overlay geöffnet ist, schiebe das Menü herein */
  .mobile-menu-overlay.open .svgg-mobile-menu {
    transform: translateX(0);
  }
  /* Inneres Layout im mobilen Menü */
  .svgg-mobile-menu .menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid var(--svgg-darkcolor-fonts);
  }
  .svgg-mobile-menu .menu-header .menu-logo {
    max-width: 120px;
  }
  .svgg-mobile-menu .menu-header .close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--svgg-darkcolor-fonts);
    cursor: pointer;
  }
  .svgg-mobile-menu nav {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
  }
  .svgg-mobile-menu nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .svgg-mobile-menu nav ul li a {
    display: block;
    padding: 10px 15px;
    color: var(--svgg-darkcolor-fonts);
    text-decoration: none;
  }
}


/*===========================================
  Back-to-top-Link
===========================================*/
.back-to-top-link {
  color: var(--svgg-color-primary);
  --cassiopeia-color-hover: var(--svgg-color-primary);
  border: 1px solid var(--svgg-color-primary);
  bottom: 4rem;
}

/*===========================================
  Footer
===========================================*/
.footer {
  padding-left: 10em;
  padding-right: 10em;
  color: var(--svgg-darkcolor-fonts);
  background-image: none;
  background-color: var(--svgg-background)
}
@media (max-width: 991px) {
  .footer {
    padding-left: 2em;
    padding-right: 2em;
  }
}

/*===========================================
  Banner
===========================================*/
.startseite .container-banner {
  display: flex;
  gap: 0;
}
.startseite .container-banner p {
  margin: 0;
  padding: 0;
}
.startseite .container-banner img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}
@media (max-width: 500px) {
  .startseite .container-banner {
    flex-direction: column;
    gap: 0;
  }
  .startseite .container-banner img {
    width: auto;
    object-fit: cover;
    min-height: 200px;
  }
}
@media (min-width: 501px) and (max-width: 991px) {
  .startseite .container-banner {
    position: relative;
  }
  .startseite .container-banner img {
    width: 50vw;
    object-fit: cover;
    position: relative;
    min-height: 250px;
  }
}

/*===========================================
  Module Custom Positionierungen
===========================================*/
#mod-custom112 {
  position: relative;
  height: auto;
  z-index: 1;
}
#mod-custom110 {
  position: absolute;
  top: 15%;
  left: 5%;
  background-color: var(--svgg-box-background);
  padding: 10px;
  font-size: 1.2em;
  width: auto;
  height: auto;
  z-index: 10;
  text-transform: uppercase;
  min-width: 50%;
  color: var(--svgg-darkcolor-fonts);
}
#mod-custom113 {
  position: relative;
  height: auto;
  z-index: 1;
}
#mod-custom111 {
  position: absolute;
  top: 15%;
  left: 5%;
  background-color: var(--svgg-box-background);
  padding: 10px;
  font-size: 1.2em;
  width: auto;
  height: auto;
  z-index: 10;
  text-transform: uppercase;
  min-width: 50%;
  color: var(--svgg-darkcolor-fonts);
}
@media (min-width: 501px) and (max-width: 991px) {
  #mod-custom110,
  #mod-custom111 {
    top: 0;
    left: 5%;
    padding: 10px;
    font-size: 1em;
    width: auto;
    height: auto;
    z-index: 10;
    text-transform: uppercase;
  }
}
@media (max-width: 500px) {
  #mod-custom110,
  #mod-custom111 {
    top: 0;
    left: 0;
    padding: 5px;
    font-size: 1em;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-transform: uppercase;
  }
  #mod-custom112,
  #mod-custom113 {
    min-height: 200px;
  }
}

/*===========================================
  Artikel
===========================================*/
.com-content-article {
  background: var(--svgg-box-background);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  padding: 10px;
  margin: 10px;
}
.com-content-article h1,
.com-content-article h2,
.com-content-article h3,
.com-content-article h5,
.com-content-article p,
.com-content-article li {
  color: var(--svgg-darkcolor-fonts);
}
.com-content-article h4 {
  color: var(--svgg-color-primary);
}
.com-content-article figure {
  padding-right: 2em;
}

@media (width <= 600px) {
    .aktuelles .site-grid {
    display: block; /*breitere darstellung des containers */
    }
}

/*===========================================
  Startseite
===========================================*/
.startseite .card {
  background-color: transparent;
  border: none;
}
.startseite .card-header {
  color: var(--svgg-darkcolor-fonts);
  border-bottom: 1px solid #fb0000;
  background-color: transparent;
}
.startseite .mod-list li {
  padding: 0;
}
.startseite .com-content-article {
  display: none;
}


/*===================================================
  1. Latest Articles – Masonry Layout (Standard Articles)
=====================================================*/

/* Grid-Container für Standard Articles */
.mod-articleslatest.latestnews.mod-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 20px;
  list-style: none;
}

/* Artikel-Tile */
.mod-articleslatest.latestnews.mod-list li {
  width: 100%;
  background: var(--svgg-box-background);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease-in-out;
}

/* Hover-Effekt */
.mod-articleslatest.latestnews.mod-list li:hover {
  transform: scale(1.05);
}

/* Link füllt das gesamte Tile */
.mod-articleslatest.latestnews.mod-list li a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  padding: 0;
}

/* Artikelbild – oben im Tile */
.tile-image {
  width: 100%;
  height: 300px; /* Feste Höhe (Masonry-Variante) */
  object-fit: cover;
  display: block;
}

/* Container für den Textinhalt (Titel, Teaser) */
.tile-content {
  padding: 10px;
  height: 150px; /* Feste Höhe für den Inhaltsbereich */
  display: flex;
  flex-direction: column;
  gap: 5px; /* sorgt für Abstand zwischen Titel und Teaser */
  box-sizing: border-box;
  overflow: hidden;
}

/* Titel des Artikels */
.tile-title {
  font-size: 1.4rem;
  color: var(--svgg-darkcolor-fonts, #fff);
  margin: 0;
  text-align: center;
  line-height: 1.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* maximal 2 Zeilen */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 0 auto;
}

/* Teaser-/Introtext: */
.tile-excerpt {
  font-size: 0.9rem;
  color: var(--svgg-tile-excerpt);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;       /* sorgt für den zeilenweisen Aufbau */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;        /* Text wird maximal auf 4 Zeilen angezeigt */
  line-height: 1.2em;
  /*flex: 1 1 auto;*/
  min-height: 0;  /* wichtig, damit der Flex-Container nicht überläuft */
}
.tile-excerpt h4 {
  font-size: 0.9rem;
  color: var(--svgg-tile-excerpt);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;       /* sorgt für den zeilenweisen Aufbau */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;        /* Text wird maximal auf 4 Zeilen angezeigt */
  line-height: 1.2em;
  flex: 1 1 auto;
  min-height: 0;  /* wichtig, damit der Flex-Container nicht überläuft */
}

/* Optionaler Footer-Bereich */
.tile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tile-tags,
.tile-date {
  font-size: 0.8rem;
  color: #888;
}

/* Responsive Anpassungen für Standard Articles */
@media (max-width: 1000px) {
  .mod-articleslatest.latestnews.mod-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mod-articleslatest.latestnews.mod-list {
    grid-template-columns: 1fr;
  }
}




/*===================================================
  2. Mod Articles Latest – Grid-Layout inkl. Header (Partner-Module)
=====================================================*/
.partner-module h2 {
  display: none;
}
.mod-articleslatest.latestnews.mod-list.partner-module {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 600px; /*standard 960px = 3 Spalten*/
  margin: 0 auto;
  list-style: none;
}
.mod-articleslatest.latestnews.mod-list.partner-module li.module-header {
  grid-column: 1 / -1; 
  background: none;
  box-shadow: none;
  transition: none;
  padding: 0;
}
.mod-articleslatest.latestnews.mod-list.partner-module li:not(.module-header) {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  background: rgba(26, 23, 27, 0.8);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.mod-articleslatest.latestnews.mod-list.partner-module li:not(.module-header):hover {
  transform: scale(1.05);
}
.mod-articleslatest.latestnews.mod-list.partner-module li:not(.module-header) a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.mod-articleslatest.latestnews.mod-list.partner-module li:not(.module-header) .tile-image {
  width: 100%;
  height: 80%;
  object-fit: contain;
  background-color: var(--svgg-font-color-white);
}
.mod-articleslatest.latestnews.mod-list.partner-module li:not(.module-header) .tile-content {
  padding: 10px;
  height: 20%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  box-sizing: border-box;
}
.mod-articleslatest.latestnews.mod-list.partner-module li:not(.module-header) .tile-title {
  font-size: 1.4rem;
  color: white;
  margin: 0 0 0.5rem;
  text-align: center;
}
.mod-articleslatest.latestnews.mod-list.partner-module li:not(.module-header) .tile-excerpt {
  font-size: 0.9rem;
  color: var(--svgg-tile-excerpt);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/*===================================================
  Blog Items – Masonry Layout (Tiles)
=====================================================*/
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 20px;
}
.tile {
  width: 100%;
  background: var(--svgg-box-background);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease-in-out;
}
.tile:hover {
  transform: scale(1.05);
}
.tile-image {
  height: 300px;
  background-size: cover;
  background-position: center;
}
.tile-content {
  padding: 10px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.tile-title h3 {
  font-size: 1.4rem;
  color: --svgg-font-color-white;
  margin: 0 0 0.5rem 0;
}
.tile-title p {
  font-size: 0.9rem;
  color: var(--svgg-tile-excerpt);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tile-tags,
.tile-date {
  font-size: 0.8rem;
  color: var(--svgg-darkcolor-fonts);
}
.tile a:not([class]) {
  text-decoration: none;
}
@media (max-width: 1000px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr;
    margin: 10px;
  }
}

/*===================================================
 loadcontactid card styles
=====================================================*/
.clickable-card-loadplg {
    width: 300px;
    height: 70px;
    cursor: pointer;
    transition: transform 0.2s;
    /*border-radius: 50px;
    background: var(--svgg-box-background);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7);*/
    margin: 20px;
}
.clickable-card-loadplg a {
  color: var(--svgg-color-primary);
}

.clickable-card-loadplg .card-position {
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--svgg-darkcolor-fonts);
}
.clickable-card-loadplg .card-name {
  font-weight: bold;
  line-height: 1;
  font-size: 1.3rem;
  color: var(--svgg-darkcolor-fonts);
}

/*===================================================
 Traning Site
=====================================================*/
.training h1,.published {
  display: none;
}

.training h2 {
  color: var(--svgg-darkcolor-fonts);
  border-bottom: 1px solid #fb0000;
  background-color: transparent;
  padding: 10px;
  text-transform: uppercase;
  font-size: 3rem;
}
@media (width <= 600px) {
  .training h2 {
    font-size: 2rem;
  }
}

.training h3 {
    justify-content: center;
    display: flex;
    font-weight: 300;
    text-transform: uppercase;
  padding-bottom: 10px;
}

.training h4 {
    font-weight: bold;
    text-transform: uppercase;
  padding-top: 30px;
  font-size: 1.1rem;
}

.training .com-content-article {
  margin: 10px;
}

.training .calendar::before {
  font-family: "Font Awesome 6 Free"; /* Font-Awesome-Font-Family */
  content: "\f133";                   /* Unicode */
  margin-right: 0.5em;                /* Abstand zwischen Icon und Text */
}
.training .time::before {
  font-family: "Font Awesome 6 Free"; /* Font-Awesome-Font-Family */
  content: "\f017";                   /* Unicode */
  margin-right: 0.5em;                /* Abstand zwischen Icon und Text */
}
.training .location::before {
  font-family: "Font Awesome 6 Free"; /* Font-Awesome-Font-Family */
  content: "\f14e";                   /* Unicode */
  margin-right: 0.5em;                /* Abstand zwischen Icon und Text */
}
.training .weather::before {
  font-family: "Font Awesome 6 Free"; /* Font-Awesome-Font-Family */
  content: "\f185";                   /* Unicode */
  margin-right: 0.5em;                /* Abstand zwischen Icon und Text */
}
.training li {
  max-width: 800px;
}

.module-container-trekking,.module-container-nordic-walking,.module-container-cyclekids {
  display: flex;
  justify-content: center;
}
@media (min-width: 992px) {
    @supports (display:grid) {
        .training .site-grid>[class^=container-], .training .site-grid>[class*=\ container-] {
            width: 90%;
          max-width: 1600px;
        }
    }
}

@media (width <= 600px) {
    .training .site-grid {
    display: block; /*breitere darstellung des containers */
    }
}


/*===================================================
 Team Site
=====================================================*/
.team h1,.published {
  display: none;
}
.team .com-content-article {
  background: none;
  box-shadow: none;
}

.team h2 {
  color: var(--svgg-darkcolor-fonts);
  border-bottom: 1px solid #fb0000;
  background-color: transparent;
  padding: 10px;
}

.team .card-info {
  color: var(--svgg-darkcolor-fonts);
}
.com-contact__thumbnail img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}
.com-contact__container {
  display: block;
}
@media (width >= 1200px) {
    .com-contact__container .com-contact__thumbnail {
        text-align: left;
    }
}

@media (width <= 600px) {
    .team .site-grid {
    display: block; /*breitere darstellung des containers */
    }
    .team .com-content-article {
      margin: 0;
    }
}

.contact-name, .icon-envelope::before {
    color: var(--svgg-darkcolor-fonts);
}


/*
.com-contact .contact-category,.com-contact__position,.contact-position {
  display: none !important;
}
*/

/*===================================================
 Downloads Site
=====================================================*/
.downloads h1 {
  display: none;
}
.downloads h2 {
  color: var(--svgg-darkcolor-fonts);
  border-bottom: 1px solid #fb0000;
  background-color: transparent;
  padding: 10px;
}

.downloads .com-content-article {
  margin: 10px;
}
.downloads .grid-child .container-component {
  align-items: center;
}
@media (min-width: 992px) {
@supports (display:grid) {
    .downloads .site-grid>[class^=container-], .downloads .site-grid>[class*=\ container-] {
        width: 80%;
      }
  }
}

.downloads .com-content-article__body a {
  font-weight: 500;
}

@media (width <= 600px) {
    .downloads .site-grid {
    display: block; /*breitere darstellung des containers */
    }
}

/*===================================================
 Verein Site
=====================================================*/
.verein h1 {
  display: none;
}

.verein h2 {
  color: var(--svgg-darkcolor-fonts);
  border-bottom: 1px solid #fb0000;
  background-color: transparent;
  padding: 10px;
}

.verein .com-content-article {
  margin: 10px;
}

@media (min-width: 992px) {
@supports (display:grid) {
    .verein .site-grid>[class^=container-], .verein .site-grid>[class*=\ container-] {
        width: 80%;
    }
  }
}

@media (width <= 600px) {
    .verein .site-grid {
    display: block; /*breitere darstellung des containers */
    }
}

/*===================================================
 Impressum
=====================================================*/

.impressum .com-content-article {
  margin: 10px;
}

@media (min-width: 992px) {
@supports (display:grid) {
    .impressum .site-grid>[class^=container-], .impressum .site-grid>[class*=\ container-] {
        width: 80%;
    }
  }
}

@media (width <= 600px) {
    .impressum .site-grid {
    display: block; /*breitere darstellung des containers */
    }
}

/*===================================================
 Datenschutz
=====================================================*/

.datenschutz .com-content-article {
  margin: 10px;
}

@media (min-width: 992px) {
@supports (display:grid) {
    .datenschutz .site-grid>[class^=container-], .datenschutz .site-grid>[class*=\ container-] {
        width: 80%;
    }
  }
}

@media (width <= 600px) {
    .datenschutz .site-grid {
    display: block; /*breitere darstellung des containers */
    }
}
