/*--------------------------------------------------------------
# FONTS
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --main-blue: #31708E;
  --hc-bg: #000000;         /* Hintergrund: echtes Schwarz für maximalen Kontrast */
  --hc-text: #FFFFFF;       /* Text: reines Weiß */
  --hc-accent: #00FFFF;     /* Akzent: Cyan – kontraststark, gut sichtbar */
  --hc-link: #FFFF00;       /* Links: Gelb – sehr aufmerksamkeitsstark */
  --hc-border: #FFFFFF;     /* Rahmen/Trenner */
}

body {
  background-color: #fff;
  color: #333;
  margin: 0;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
.text-main-blue {
  color: var(--main-blue) !important;
}

.text-s2 {
  text-align: center;
  position: relative;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.text-s2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background-color: var(--main-blue);
}

.text-s5 {
  font-size: 1.25rem;
}
/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-main {
  background-color: var(--main-blue);
  color: white;
  border: none;
}

.btn-main:hover {
  background-color: var(--main-blue);
  color: white;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  background-color: var(--main-blue);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-brand,
.navbar-nav .nav-link {
  color: #fff;
}

.navbar-nav li.nav-item {
  margin-left: 0.5em;
}

.navbar-nav li.nav-item a.nav-link {
  transition: background-color 0.5s ease, color 0.5s ease;
}

.navbar-nav li.nav-item a.nav-link:hover,
.navbar-nav li.nav-item a.nav-link.active {
  color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

@media (max-width: 992px) {
  .navbar-nav li.nav-item {
    margin-left: 0;
    margin-top: 0.5em;
  }

  .navbar-nav li.nav-item a.nav-link {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
}


/*--------------------------------------------------------------
# CHANGE FONT SIZE
--------------------------------------------------------------*/
.navbar .changeFontsize {
  padding: 0.75em 0.5em 0 0.5em;
  color: #fff;
  font-weight: 600;
  border: none;
  background-color: transparent;
}

.navbar .changeFontsize:hover {
  color: rgba(255, 255, 255, 0.7);
}

.navbar .changeFontsize span {
  float: left;
  font-size: 14px;
  line-height: 16px;
  margin: 0 1px;
}

.navbar .changeFontsize .zoom-small {
  font-size: 12px;
  line-height: 16px;
}
.navbar .changeFontsize .zoom-medium {
  font-size: 14px;
  line-height: 16px;
}
.navbar .changeFontsize .zoom-large {
  font-size: 16px;
  line-height: 15px;
}

body.zoom1 {
  zoom: 1.05;
  transform-origin: top center;
  -moz-transform: scale(1.05) translate(0, 29px);
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
}

body.zoom2 {
  zoom: 1.15;
  transform-origin: top center;
  -moz-transform: scale(1.15) translate(0, 26px);
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
}

body.zoom3 {
  zoom: 1.25;
  transform-origin: top center;
  -moz-transform: scale(1.25) translate(0, 24px);
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
}


/*--------------------------------------------------------------
# CONTRAST
--------------------------------------------------------------*/
.navbar .darkmode-switch {
  padding: 0.5em 0.5em 0 0.5em;
  color: #fff;
  text-decoration: none;
  border: none;
  background: none;
}

.navbar .darkmode-switch:hover {
  color: rgba(255, 255, 255, 0.7);
}

.navbar .darkmode-switch span {
  display: none;
}

body.darkmode,
body.darkmode .navbar,
body.darkmode .bg-light,
body.darkmode footer {
  background-color: var(--hc-bg)!important;
  color: var(--hc-text);
}

body.darkmode a {
  color: var(--hc-link);
  text-decoration: underline;
}

body.darkmode .navbar .changeFontsize:hover,
body.darkmode .navbar .darkmode-switch:hover {
  color: var(--hc-accent)
}

body.darkmode section h2::after {
  background-color: var(--hc-accent);
}

body.darkmode .navbar-nav li.nav-item a.nav-link:hover, 
body.darkmode .navbar-nav li.nav-item a.nav-link.active {
  color: var(--hc-bg);
  background-color: var(--hc-accent);
}

body.darkmode .btn,
body.darkmode .btn-main {
  background-color: var(--hc-accent);
  color: var(--hc-bg);
  border: 2px solid var(--hc-border);
}

body.darkmode .card,
body.darkmode .modal-content {
  background-color: #111;
  color: var(--hc-text);
  border: 1px solid var(--hc-border);
}

body.darkmode .hero img {
  filter: invert(1);
}

body.darkmode .table {
  --bs-table-color: var(--hc-text);
  --bs-table-bg:var(--hc-bg);
  --bs-table-border-color:var(--hc-border);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  margin-top: 81px;
}

.hero .sectionbgimg {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 150px 0;
  text-align: center;
  margin-top: 66px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero p.lead {
  font-size: 1.25rem;
  font-weight: 400;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Modal: Termin vereinbaren */
.hero .modal-title,
.hero .modal-content {
  color: var(--main-blue);
}

.hero .modal-body .mb-3 label {
  display: block;
  text-align: left;
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section h2 {
  text-align: center;
  position: relative;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background-color: var(--main-blue);
}


/*--------------------------------------------------------------
# Card
--------------------------------------------------------------*/
.card-vertical {
  transition: all 0.3s ease 0s;
}

.card-vertical:hover {
  transform: scale(1.1);
  z-index: 1;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
  background-color: var(--main-blue);
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
  margin-top: auto;
  width: 100%;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meta-list img {
  filter: invert(1); /* Invertiert das Videokonferenz-Icon zu weiß */
}

.meta-list li {
  display: inline;
}

.meta-list li::after {
  content: " |";
  padding: 0 0.3em;
  color: #fff;
}

.meta-list li:last-child::after {
  content: "";
}

.meta-list li a,
.meta-list li a:hover {
  color: #fff;
}

/****************************************************
** COOKIE NOTICE
****************************************************/
body.dp--cookie-consent .cc-window.cc-bottom-right.cc-type-info.cc-theme-basic {
	border: 2px solid #ccc; 
	flex-direction: column;
  	max-width: 24em;
  	padding: 2em;
  	font-size: 16px;
    line-height: 1.5em;
}
.cc-window .cc-message {padding: 0!important;}
.cc-compliance {margin-top: 1.5em;}

body.dp--cookie-consent .cc-window.cc-bottom-right.cc-type-info.cc-theme-basic .cc-body .dp--cookie-check label[for=dp--cookie-statistics],
body.dp--cookie-consent .cc-window.cc-bottom-right.cc-type-info.cc-theme-basic .cc-body .dp--cookie-check label[for=dp--cookie-marketing],
.cc-window .powered-by, .cc-window-config .powered-by,
.cc-compliance.cc-highlight button.cc-btn.cc-allow,
.cc-compliance.cc-highlight button.cc-btn.cc-deny {display: none;} 

@media (max-width: 420px) {
  	.cc-window.cc-top-right, .cc-window.cc-bottom-right {
	  right: 0!important;
	  left: 0!important;
	}
	.cc-compliance {
	  min-width: 100px;
	  max-width: 100% !important;
	}
}