/* ===============================
   Allgemeine Grundeinstellungen
   =============================== */
html {
  font-size: 100%; /* 1rem = 16px */
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  padding-bottom: 3rem;
  color: #000;
}

:root {
  --cassiopeia-font-family-body: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

::selection,
::-moz-selection {
  background: #fff;
  color: #a6a7a7;
}

/* ===============================
   Überschriften
   =============================== */
h1 { font-size: 2rem; line-height:1.5; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.2rem; letter-spacing: 0.09375rem; }
h6 { font-size: 1.1rem; }

h1, h2, h3 {
  font-weight: 500;
}


.hyph {
  hyphens: auto;
}

/* ===============================
   Skip-Link (Barrierefreiheit)
   =============================== */
.skip-link {
  position: absolute;
  top: -2.5rem;
  left: 0;
  background: #ffcc00;
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.3s;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
  outline: 0.1875rem solid #002b45;
  outline-offset: 0.125rem;
}

/* ===============================
   Fokus-Stile (barrierefrei)
   =============================== */
a:focus,
button:focus {
  outline: 0.1875rem solid #9ACD32 !important;
  outline-offset: 0.125rem;
}

  
/* ===============================
   Link-Stile
   =============================== */
a:link,
a:visited {
  color: #133800; /* Green */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #68164f; /* Darkpurple */
  outline: none;
  box-shadow: 0 0 0 3px rgba(194, 240, 100, 0.5);

}

a:active {
  color: #0CAAA5; /* Türkis */
  text-decoration: none;
}


/* ===============================
   Bildstile
   =============================== */
.img-fluid {
  width: 100%;
  height: auto;
}
.img-fluid-height {
  width: auto;
  height: 100%;
  overflow: hidden;
}
.img-icon {
  width: 5.625rem;
  height: auto;
}

/* ===============================
   Utility-Klassen
   =============================== */
.no-gutters {
  padding: 0 !important;
}
.float-left { float: left; }
.float-right { float: right; }
.clearfix { clear: both; }
.m-2 {
  margin: 0 !important;
  padding: 1rem !important;
}

/* ===============================
   Buttons
   =============================== */
.btn-primary {
  background: #f4f1ee;
  color: #68164f;
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

/* ===============================
   Logos
   =============================== */
#logo { width: 10rem; height: auto; }
#logo-sm { width: 8.75rem; height: auto; }

/* ===============================
   Farben (systematisch)
   =============================== */
.ju-lightpurple { background: #cb99c9; }				/* von JU */
.ju-basepurple 	{ background: #9556B0; }				/* von JU */
.ju-darkpurple 	{ background: #68164f; }
.ju-darkblue  	{ background: #1e3864; }
.ju-lightblue	{ background: #deeaf1 !important; }
.ju-lightblue-2 { background: #b6ccda !important; }
.ju-green     	{ background: #9ACD32; }
.ju-darkgreen   { background: #133800; }				/* von JU */
.ju-lightgreen	{ background: #d5dfc0; }
.ju-beige     	{ background: #f4f1ee; }
.ju-grey      	{ background: #d1d5db; }
.ju-anthra    	{ background: #2f2f2f; }
.ju-yellow    	{ background: #e5c07b; }
.ju-grey90    	{ background: #ededed90; }
.ju-grey2    	{ background: #ededed; }
.ju-tomatored  	{ background: #A51F12; }
/* ===============================
   Navbar-Hintergründe + Border unten
   =============================== */
.bg-darkblue  { background-color: #68164f !important; border-bottom: 0.375rem solid #ADFF2F; }
.bg-lightblue { background-color: #deeaf1 !important; border-bottom: 0.375rem solid #68164f; }
.bg-green     { background-color: #9ACD32 !important; border-bottom: 0.375rem solid #f4f1ee; }
.bg-beige     { background-color: #f4f1ee !important; border-bottom: 0.375rem solid #9ACD32; }
.bg-grey      { background-color: #d1d5db !important; border-bottom: 0.375rem solid #68164f; }
.bg-anthra    { background-color: #2f2f2f !important; border-bottom: 0.375rem solid #68164f; }
.bg-yellow    { background-color: #e5c07b !important; border-bottom: 0.375rem solid #68164f; }



/* ===============================
   Schriftfarbe (systematisch)
   =============================== */
.text-darkblue  { color: #1e3864; }
.text-lightblue { color: #deeaf1; }
.text-green     { color: #9ACD32; }
.text-beige     { color: #f4f1ee; }
.text-grey      { color: #d1d5db; }
.text-anthra    { color: #2f2f2f; }
.text-yellow    { color: #e5c07b; }
.text-grey90    { color: #ededed90; }
.text-grey2     { color: #ededed; }

.text-danger	{ color: #9C1C28 !important; }
/* ===============================
   Streifen (systematisch)
   =============================== */
.ju-green-stripe 		{ background-color: #9ACD32; height: 0.25rem; width: 100%; }
.ju-lightblue-stripe 	{ background-color: #ADD8E6; height: 0.5rem; width: 100%; }

/* ===============================
   Navbar-Links & Verhalten
   =============================== */
#navbar a,
.navbar-light .navbar-nav .nav-link {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

#navbar a:hover,
#navbar a:focus,
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.menu-item:hover,
.menu-item:focus {
  color: #9556B0;
  background-color: #fff;
  outline: none;
}

/* Aktiver Link: Seitenzustand */
#navbar .nav-link.active,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .show > .nav-link {
  color: #9ACD32; /* hellgrün */
  background-color: transparent;
}


.navbar-light .navbar-nav .nav-link {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: #ffcc33;
}

.menu-item {
  color: #fff;
  text-decoration: none;
  padding-right: 0.625rem;
  transition: all 0.3s ease;
}
.menu-item:hover,
.menu-item:focus {
  color: #ffcc33;
}

/* Dropdowns */
.dropdown-menu {
  color: #fff;
  background-color: #9556B0;
  border: 0;
  border-radius: 0;
  margin: 0;
  line-height: 1.4;
}
.dropdown-item {
  color: #fff;
}
.dropdown-item:hover,
.dropdown-item:focus {
  color: #676767;
  background-color: #fff;
  text-decoration: none;
}

/* Cards */
.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-title {
  min-height: 3.5rem;
}
.card-text {
  flex-grow: 1;
  min-height: 3.5rem;
}

/* ===============================
   Navbar Controller
   =============================== */
#font-size-controls {
  gap: 0.3rem;
}
#font-size-controls button.font-btn {
  background-color: transparent;
  border: 0.0625rem solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.15rem 0.5rem;
  cursor: pointer;
  border-radius: 0.1875rem;
  transition: background-color 0.2s ease;
}
#font-size-controls button.font-btn:hover,
#font-size-controls button.font-btn:focus {
  background-color: #68164f;
  color: #fff;
  outline: none;
}

/* ===============================
   Pfeilliste
   =============================== */

.pfeilliste {
  list-style: none;
  padding-left: 0; /* Kein zusätzliches Einrücken der Liste */
}

.pfeilliste li {
  position: relative;
  padding-left: 1.5em; /* Hier wird Platz für den Pfeil geschaffen */
  margin-bottom: 0.5em;
}

.pfeilliste li::before {
  content: "→"; 
  position: absolute;
  left: 0;
  top: 0;
  color: #68164f;
}


/* ===============================
   Card Effect
   =============================== */
   
.hoverEffect-light {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hoverEffect-light:hover,
.hoverEffect-light:focus-within {
  background-color: #fefefe; /* oder leicht dunkler Ton von Beige */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.hoverEffect-dark {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hoverEffect-dark:hover,
.hoverEffect-dark:focus-within {
  background-color: #49213d; /* heller als ju-lightpurple */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}



.btn-outline-secondary {
  --bs-btn-color: #6c757d;
  --bs-btn-border-color: #6c757d;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #68164f;
  --bs-btn-hover-border-color: #6c757d;
  --bs-btn-focus-shadow-rgb: 108,117,125;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6c757d;
  --bs-btn-active-border-color: #6c757d;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #6c757d;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #6c757d;
  --bs-gradient: none;
}

/* ===============================
   Footer
   =============================== */
.foot {
  border-top: 0.625rem solid #e2edd0;
  background-color: #fff;
  height: 18.75rem;
  padding: 1rem 2rem;
}
a.footer-link {
  color: #333;
  font-weight: 500;
  text-decoration: none;
}
a.footer-link:hover {
  color: #A51F12;
}
a.footer-link:visited {
  color: #333;
}
.img-footer {
	width: 12.5rem;
	height: auto;
}
.footer-links div + div {
  margin-top: 0.5rem;
}


/* ===============================
   Style Joomla 
   =============================== */'
   
.header-flex-container {
  display: flex;
  align-items: center; /* wichtig: am unteren Rand ausrichten */
  gap: 1rem; /* etwas Abstand zwischen den Modulen */
  flex-wrap: wrap; /* für Mobilgeräte */
}

/* font resizer */

.font-small {
  font-size: 0.85rem;
}
.font-normal {
  font-size: 1rem;
}
.font-large {
  font-size: 1.15rem;
}

/* style Header */
.header-flex-container {
  display: flex;
  flex-wrap: wrap; /* bricht nur, wenn's wirklich nicht mehr passt */
  align-items: center;
  gap: 0.1rem;
}

.header-logo {
  flex: 0 0 auto;
}

.header-navbar {
  flex: 0 1 auto; /* Füllt dynamisch den freien Platz */
  min-width: 0;   /* verhindert Überbreite */
}

.header-search {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.header-fontresize {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.header-search input,
.header-search .mod-search__input {
  max-width: 100px;
  min-width: 60px;
  width: 100%;
}

/* style Cards auf gleiche Höhe */

.card.h-100 {
  display: flex;
  flex-direction: column;
}

.card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.card .list-group {
  margin-top: auto;
}

/* Nur für Karten mit der Klasse .equal-heights */
.equal-heights .card-body {
  min-height: 150px;
}

.equal-heights .card-footer {
  min-height: 60px;
}

.container-teaser-angebote {
    padding: 0;
}

.container-top-b {
  margin-top: 0;  
  padding-top: 0;   
}

/* style Footer */
.container-footer.footer {
  background-color: transparent !important; /* oder white */
  color: #000 !important;
}

.container-footer.footer a {
  color: #000 !important;
  
}

.container-footer.footer .moduletable {
  background: none !important;
  padding: 0 !important;
}


footer.container-footer.footer {
  margin-top: 0 !important;
  padding-top: 0rem; 
  background-image: none !important;
  background-color: #fff !important; 
  color: #000 !important;
}
footer.container-footer.footer a {
  color: #000 !important;
  text-decoration: none;
}
footer.container-footer.footer a:hover {
  color: #68164f !important;
}

footer .btn,
footer .button,
footer button,
main .btn,
main .button,
main button,
.container-component .btn,
.container-component .button,
.container-component button {
  background-color: #9556B0 !important;
  color: #fff !important;
  border: none;
}

footer .btn:hover,
footer .button:hover,
footer button:hover,
main .btn:hover,
main .button:hover,
main button:hover,
.container-component .btn:hover,
.container-component .button:hover,
.container-component button:hover {
  background-color: #68164f !important;
}


/* Medium devices (tablet, 768px and up)------------------------------------------------------------- YELLOW */
@media (min-width: 768px) {
  .equal-heights .card-body {
    min-height: 220px;
  }
  .equal-heights .card-footer {
    min-height: 100px;
  }

/* Large devices (desktops, 992px and up)------------------------------------------------------------- YELLOW */
@media (min-width: 992px) {	
.container {
    max-width: 990px;
}
/* Extra large devices (large desktops, 1200px and up)------------------------------------------------------ BROWN */
@media (min-width: 1200px) {
.container {
    max-width: 1400px;
}
.equal-heights .card-body {
min-height: 200px;
}
.equal-heights .card-footer {
min-height: 110px;
}

/* Extra large devices (large desktops, 1920px and up)-------------------------------------------------------------*/
@media (min-width: 1920px) {
.container {
    max-width: 1600px;
}
/* Ultra large devices (large desktops, 1920px and up)-------------------------------------------------------------*/
@media (min-width: 2560px) {
.container {
    max-width: 1900px;
}


