
/* 
  Import von Mainstyle Zusatzdateien 
*/

@import url("/includes/css/header.css");
@import url("/includes/css/footer.css");

@import url("/includes/css/search.css");
@import url("/includes/css/herosections.css");

@import url("/includes/css/containers.css");
@import url("/includes/css/grid-layouts.css");
@import url("/includes/css/stats-grid.css");
@import url("/includes/css/sections.css");
@import url("/includes/css/pop-ups.css");

@import url("/includes/css/buttons.css");
@import url("/includes/css/tabellen.css");
@import url("/includes/css/listen.css");
@import url("/includes/css/formulare.css");
@import url("/includes/css/statusmeldungen.css");





/* 
  Allgemeines 
*/

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html {  
  overflow-x: hidden;
  width: 100vw;
  max-width: 100vw;

  height: auto;
  min-height: 100vh;

  font-size: 16px;
  font-family: var(--cpd-font-family);
  color: var(--cpd-col-black100);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--cpd-col-white);
  scroll-behavior: smooth;

  scrollbar-gutter: stable; /* Reserviert Platz für die Scrollbar, ohne dass sie das Layout verschiebt */
}

main {
  padding: 0;
  margin: 0;
}

.tox-promotion {
  display: none !important; /* Versteckt die TinyMCE Promotion */
}


/* 
  Media Queries
*/

@media screen {
  
}

@media (max-width: 768px) {
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }
}







/*
  Überschrift & Textkörper
*/

h1, h2, h3, h4, h5, h6, p, a, li, label, input, button, summary, details {
  word-wrap: break-word;
  text-wrap: balance;
}

h1, h2, h3, h4, h5, h6, th, label, summary, details {
  font-family: var(--cpd-font-family);
  color: var(--cpd-col-basis100);
}

p, a, li, input, select, option, button, td, code, textarea {
  font-family: var(--cpd-font-family);
  color: var(--cpd-col-black100);
  font-size: 1.125rem; /* 18px */
  font-weight: 400;
  text-align: justify;
  line-height: 1.6;
}

ul,ol li {
  list-style-position: inside;
}

h3 {
  font-size: 2.25rem; /* 36px */
  font-weight: 700;
  margin: 40px 0 20px;
}

h4 {
  font-size: 1.75rem; /* 28px */
  font-weight: 700;
  margin: 36px 0 20px;
}

h5 {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  margin: 32px 0 16px;
}

h6 {
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  margin: 28px 0 16px;
}

p {
  font-size: 1.125rem; /* 18px */
  font-weight: 400;
  margin: 0 0 16px;
}

code {
  font-size: 1.125rem; /* 18px */
  font-weight: 400;
}

sup, sub {
  font-size: 0.875rem; /* 14px */
  font-weight: 400;
}

a {
  color: var(--cpd-col-basis100);
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

a.link {  
  text-decoration: underline;
  display: inline;
  box-decoration-break: clone;
}

a.link:hover {
  background-color: var(--cpd-col-basis100);
  color: var(--cpd-col-white);  
  text-decoration: none;
}

img {
  width: 100%;
}





/*
  Tiny MCE
*/

/* Ziel: Entfernen der abgerundeten Ecken des gesamten TinyMCE-Editors */
.tox {
  border-radius: 0 !important;
}

/* Ziel: Entfernen der abgerundeten Ecken von Kopfzeile und Statusleiste */
.tox .tox-editor-header,
.tox .tox-statusbar {
  border-radius: 0 !important;
}

/* Optional: Korrektur für die untere linke Ecke, die manchmal abgerundet bleibt */
.tox-tinymce-aux .tox-toolbar-overlord .tox-toolbar {
  border-bottom-left-radius: 0 !important;
}