:root{
  /* Fonts */
  --ow-font-default:"OpenSans", system-ui, -apple-system, Arial;
  --ow-font-headline:"Merriweather", serif;
 
  /*Farben */
  --ow-color-primary: #fff108;    /*rgb(255,241,8)*/
  --ow-color-dark: #282828;       /*rgb(40,40,40)*/
  --ow-color-light: #fafafa;      /*rgb(250,250,250)*/
  --ow-color-white: #fff;
  --ow-color-light-bg: #f2f2f2;

  --ow-color-border: #dadada;
  --ow-color-border-dark: rgba(255,255,255,0.2);

  /* Semantic roles */
  --ow-color-text: var(--ow-color-dark);
  --ow-color-text-heading: #565655;
  --ow-color-text-muted: #aaaaaa;
  --ow-color-link:#7f7f7f;

  /*border*/
  --ow-border-base: 1px solid var(--ow-color-border);
  --ow-border-divider: 1px solid rgba(0, 0, 0, 0.5);
  --ow-border-strong: 1px solid rgba(0,0,0,0.35);
  --ow-border-accent: 1px solid var(--ow-color-dark);

  /* UI states */
  --ow-color-body: #ffffff;
  --ow-color-surface: var(--ow-color-light);
  --ow-color-overlay-rootline: rgba(40,40,40,0.7);

  /* Shadows */
  /* Container Shadows */
  --ow-shadow-soft: 0 2px 10px rgba(0,0,0,0.06);
  --ow-shadow-medium: 0 3px 8px rgba(0,0,0,0.12);
  --ow-shadow-strong: 0 12px 28px rgba(0,0,0,0.18);

  /* Text Shadows */
  --ow-text-shadow-soft: 0 1px 1px rgba(0,0,0,0.25);
  --ow-text-shadow-strong: 0 1px 2px rgba(0,0,0,0.5);

  --ow-text-relief: 
    0 1px 0 rgba(255,255,255,0.6), 
    0 -1px 0 rgba(0,0,0,0.15);

  /* Bootstrap bridge */
  --bs-body-font-family: var(--ow-font-default);
  --bs-border-color: var(--ow-color-border);
  --bs-table-border-color: transparent;

  /* Tables */
  --ow-table-border: var(--ow-color-border);
  --ow-table-bg-header: #f8f9fa;
  --ow-table-row-alt: var(--ow-color-surface);

  /* Buttons */
  --ow-btn-primary-bg: var(--ow-color-primary);
  --ow-btn-primary-text: var(--ow-color-dark);
  --ow-btn-dark-bg: var(--ow-color-light);
  --ow-btn-dark-text: var(--ow-color-dark); 
  
  /* Form */
  --ow-color-border-form: #c4c4c4;
  --ow-color-placeholder-form: #c7c7c7; 
  --ow-form-bg: #e6e6e6;        /*rgb(230, 230, 230)*/
  --ow-color-form-focus: rgba(255, 241, 8, 0.25);

  /* Layout */
  --ow-header-height: 60px;
}


/*==========================================
General
========================================= */

html {
  height: 100%;
}

body {
  font-family: var(--ow-font-default);
  color: var(--ow-color-text);
  background-color: var(--ow-color-white);
}

.main-content {
  padding-top: var(--ow-header-height);
}

/* Typografie */
p {
  text-align: left;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1, h2, h3, h4, h5 {
  position: relative;
  font-family: var(--ow-font-headline);
  color: var(--ow-color-text-heading);
  line-height: 1.2;
  text-align: left; 
  padding-left: 0.8em;
  hyphens: auto;
}

h1::before, 
h2::before, 
h3::before, 
h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0.3em;
  height: 1.1em;
  background: var(--ow-color-primary);
}

hr {
  border: 0;
  border-top: var(--ow-border-divider);
  opacity: 0.2;
  box-shadow: var(--ow-shadow-soft);
  margin: 2rem 0;
}

/*--- List --- */
ul.list-check-circle,
ul.list-check2-circle {
  padding-left: 0.8rem;
  list-style: none;
}

ul.list-check-circle li,
ul.list-check2-circle li {
  position: relative;
  padding-left: 1.2rem;
}

ul.list-check-circle li::before,
ul.list-check2-circle li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: .7em;
  height: .7em;
  border-radius: 50%;
  background-color: var(--ow-color-primary);
  border: var(--ow-border-accent);
}

ul.list-check2-circle li::after {
  content: "\f633";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0.15em;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8em;
  color: var(--ow-color-dark);
}

/*---Button ---- */
.btn-ow,
.form-navigation .btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-shadow: var(--ow-text-relief);
  transition:
    transform 0.15s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease;
  overflow: hidden;
  user-select: none;
  width: auto;
  flex: 0 0 auto;
}

a.btn-ow {
  text-decoration: none;
  color: inherit;
}

.btn-ow:hover {
  transform: translateY(-2px);
  box-shadow: var(--ow-shadow-soft);
}

.btn-ow:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: none;
}

.btn-ow:focus-visible {
  outline: 3px solid var(--ow-color-primary);
  outline-offset: 3px;
}

.btn-ow-light,
.btn-ow-light:hover,
.btn-ow-light:active,
.btn-ow-light:focus:active,
.btn-ow-light:focus-visible,
.form-navigation .btn-primary {
  background-color: var(--ow-btn-primary-bg);
  color: var(--ow-btn-primary-text);
  border: var(--ow-border-strong);
}

.btn-ow-light:focus-visible,
.form-navigation .btn-primary:focus-visible {
  outline: 3px solid color-mix(in srgb, 
    var(--ow-btn-primary-bg),
    black 20%);
  outline-offset: 2px;
}

.form-navigation .btn-primary:focus,
.form-navigation .btn-primary:active,
.form-navigation .btn-primary:focus:active {
  box-shadow: none;
  /*background-color: var(--ow-btn-primary-bg);
  color: var(--ow-btn-primary-text);
  border: var(--ow-border-strong);*/
}

.btn-ow-dark,
.btn-ow-dark:hover,
.btn-ow-dark:active,
.btn-ow-dark:focus:active,
.btn-ow-dark:focus-visible {
  background-color: var(--ow-btn-dark-bg);
  color: var(--ow-btn-dark-text);
  border: var(--ow-border-strong);
}

.btn-ow-dark:focus-visible {
  outline: 3px solid color-mix(in srgb, 
  var(--ow-btn-dark-bg),
  black 40%);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .btn-ow {
    padding: 0.5rem 1rem;
  }
}

/*==========================================
HAUPTNAVIGATION
========================================== */
.navbar {
  display: flex;
  padding: 0; 
  min-height: unset; 
  align-items: center;   /* Menü unten, Logo darf oben raus */  margin-top: 0;
  z-index: 9999;
}

.navbar .nav-link {
  position: relative;
  display: inline-block;
  font-family: var(--ow-font-default);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;  /* bestimmt die echte Navbar-Höhe */
  line-height: 1.2;
 }

.navbar-brand {
  display: flex;
  align-items: flex-start;
  padding: 0;
}

.navbar-brand img {
  height: 120px; 
  width: auto;
  display: block;
  margin-bottom: -60px; 
  transition: height 0.3s ease, margin 0.3s ease;
  z-index: 2;
}

.dropdown-menu {
  --bs-dropdown-link-hover-bg: transparent;
  --bs-dropdown-link-active-color: transparent;
  --bs-dropdown-link-active-bg: transparent;
}

.darkNavbar {
  background-color: var(--ow-color-dark);
  transition: transform 0.3s ease;
  border-bottom: var(--ow-border-divider);
}

.darkNavbar .nav-link {
  position: relative;
  display: inline-block;
  color: var(--ow-color-primary);
  text-decoration: none;
}

.darkNavbar .nav-link:hover,
.darkNavbar .nav-link:focus,
.darkNavbar .nav-link.active {
  color: var(--ow-color-primary);
}

.darkNavbar .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 3px;
  background-color: var(--ow-color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.3s ease;
}

.darkNavbar .nav-link:hover::before,
.darkNavbar .nav-link:focus::before {
  transform: scaleX(1);
}

.darkNavbar .dropdown-menu {
  background-color: var(--ow-color-dark);
  border: 1px solid var(--ow-color-light);
}

.darkNavbar .dropdown-item {
  position: relative;
  display: block;
  color: var(--ow-color-primary);
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px 12px;
}

.darkNavbar .dropdown-item::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 4px;
  width: calc(100% - 24px);
  height: 2px;
  background-color: var(--ow-color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.darkNavbar .dropdown-item:hover::after,
.darkNavbar .dropdown-item:focus::after {
  transform: scaleX(1);
}

.lightNavbar {
  background-color: var(--ow-color-primary);
  border-bottom: var(--ow-border-divider);
  transition: transform 0.3s ease;
}

.lightNavbar .navbar-brand img {
  height: 90px;
  margin-bottom: -35px;
}

.lightNavbar .nav-link {
  position: relative;
  display: inline-block;
  color: var(--ow-color-dark);
  text-decoration: none;
}

.lightNavbar .nav-link:hover,
.lightNavbar .nav-link:focus,
.lightNavbar .nav-link.active {
  color: var(--ow-color-dark);
}

.lightNavbar .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 3px;
  background-color: var(--ow-color-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.lightNavbar .nav-link:hover::before,
.lightNavbar .nav-link:focus::before {
  transform: scaleX(1);
}

.lightNavbar .dropdown-menu {
  background-color: var(--ow-color-primary);
  border: 1px solid var(--ow-color-dark);
}

.lightNavbar .dropdown-item {
  position: relative;
  display: block;
  color: var(--ow-color-dark);
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px 12px;
}

.lightNavbar .dropdown-item::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 4px;
  width: calc(100% - 24px);
  height: 2px;
  background-color: var(--ow-color-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.lightNavbar .dropdown-item:hover::after,
.lightNavbar .dropdown-item:focus::after{
  transform: scaleX(1);
}

.lightNavbar .icon-color-logout{
  color: var(--ow-color-dark);
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 80px;
    /*margin-bottom: -20px;*/
    margin-bottom:0;
  }
}

/*==========================================
MOBILE NAVIGATION
========================================= */
.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
  width: 75%;
  scroll-padding-right: 50px;
}

.navbar-toggler{
  position: relative;
  width: 20px;
  height: 20px;
  transition: .3s ease-in-out;
  margin: 10px;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border: 0;
}

.navbar-toggler span {
  margin: 0;
  padding: 0px;
}

.toggler-icon {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--ow-color-primary);
  border-radius: 1px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.lightNavbar .toggler-icon{
  background-color: var(--ow-color-dark);
}

.middle-bar {
  margin-top: 0;
}

/*when navigation is clicked */
.navbar-toggler .top-bar {
  margin-top: 0;
  transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
  opacity: 0;
  filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
  margin-top: 0;
  transform: rotate(-135deg);
}

/* State when the navbar is collapsed */
.navbar-toggler.collapsed .top-bar {
  margin-top: -20px;
  transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
  filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
  margin-top: 20px;
  transform: rotate(0deg);
}

/*==========================================
Rootline
========================================= */
.pageheader {
  position: relative;
  padding: clamp(80px, 10vh, 140px) 0 60px;
  min-height: 20vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pageheader::before {
  content: "";
  background-color: var(--ow-color-overlay-rootline);
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.pageheader .container {
  position: relative;
  z-index: 2;
}

.pageheader .pageheadertitle {
  font-size: 3rem;
  font-weight: 500;
  color: var(--ow-color-light);
  font-family: var(--ow-font-default);
  text-shadow: var(--ow-text-relief);
  line-height: 3rem;
  padding-bottom: 0.5rem;
}

.pageheader ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ow-color-light);
}

.pageheader ol a {
  position: relative;
  color: var(--ow-color-primary);
  text-decoration: none;
  padding: 0.2em 0.3em;
}

.pageheader ol a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--ow-color-primary);
  transition: width 0.25s ease-in-out;
}

.pageheader ol a:hover::after {
  width: 100%;
}

.pageheader ol li + li::before {
  content: "/";
  margin: 0 0.5rem;
  color: rgba(255,255,255,0.7);
}

/*==========================================
FLUID-STYLED-CONTENT
========================================= */
.ce-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  color: var(--ow-color-dark);
}

.ce-table th,
.ce-table td {
  padding: 0.5em 0.75em;
  text-align: left;
  border:0;
  vertical-align: top;
}

.ce-table.ce-table-bordered {
  border: var(--ow-border-base);
}

.ce-table.ce-table-bordered th,
.ce-table.ce-table-bordered td {
  border: var(--ow-border-base);
}

.ce-table.ce-table-bordered thead th {
  border-bottom: 2px solid var(--ow-color-border);
  font-weight: 500;
}

.ce-table.ce-table-striped {
  border-top: var(--ow-border-base);
  border-bottom:  var(--ow-border-base) 
}

.ce-table.ce-table-striped tbody tr:nth-of-type(odd) {
  background-color: var(--ow-color-light-bg);
}


/* images */
.ce-left .ce-gallery,
.ce-right .ce-gallery,
.ce-column,
.ce-outer,
.ce-inner {
  float: none;
  position: static;
  right: auto;
}

.ce-gallery img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* gallery */
.ce-gallery .ce-row {
  display: flex;
  flex-wrap: wrap;
 /*gap: 1rem;*/
}

.ce-gallery .ce-column {
  box-sizing: border-box;
  flex: 1 1 0;
}

/* TYPO3 column logic */
.ce-gallery[data-ce-columns="2"] .ce-column { flex-basis: calc(50% - 0.5rem); }
.ce-gallery[data-ce-columns="3"] .ce-column { flex-basis: calc(33.333% - 0.67rem); }
.ce-gallery[data-ce-columns="4"] .ce-column { flex-basis: calc(25% - 0.75rem); }
.ce-gallery[data-ce-columns="5"] .ce-column { flex-basis: calc(20% - 0.8rem); }
.ce-gallery[data-ce-columns="6"] .ce-column { flex-basis: calc(16.666% - 0.83rem); }

/* SPACING  */
.ce-intext.ce-right .ce-gallery {
  margin-left: 2rem;
}

.ce-intext.ce-left .ce-gallery {
  margin-right: 2rem;
}

.ce-intext.ce-right .ce-gallery,
.ce-intext.ce-left .ce-gallery,
.ce-above .ce-gallery {
  margin-bottom: 1rem;
}

.ce-below .ce-gallery {
  margin-top: 1rem;
}

/* typography */
.ce-center {
  text-align: center;
}

.ce-intext.ce-left ol,
.ce-intext.ce-left ul {
  padding-left: 1.5rem;
}

/* media */
.ce-gallery figure {
  margin: 0;
  display: block;
}

.ce-gallery figcaption {
  margin-top: 0.5rem;
  display: block;
}

.ce-gallery iframe {
  border: 0;
}

.ce-border img,
.ce-border iframe {
  border: var(--ow-border-strong);
}

/* video */
.video-embed {
  aspect-ratio: 16 / 9;
  margin-bottom: 1.5rem;
}

.video-embed iframe,
.video-embed video {
  width: 100%;
  height: 100%;
}

/* ==========================================
CONTENT
========================================= */

.main-content a:not(.btn-ow) {
  color: var(--ow-color-link);
  text-decoration: underline;
  text-decoration-color: var(--ow-color-link);
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
  text-shadow: var(--ow-text-relief);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.main-content a:not(.btn-ow):hover {
  color: var(--ow-color-dark);
  text-decoration-color: var(--ow-color-dark);
  text-decoration-thickness: 2px;
  text-shadow: none; 
}

.main-content a[href*=".pdf"]::before {
  content: "\F756";
  font-family: "bootstrap-icons";
  font-size: 1.4rem;
 transform: translateY(2px);
  display: inline-block;
  margin-right: 0.4em;
  text-decoration: none !important;
  background-color: transparent !important; 
}

/* uploads */
.ce-uploads {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ce-uploads li {
  display: flex;
  align-items: center;
}

.ce-uploads-fileName {
  margin-right: .3em;
}

.ce-uploads-filesize {
  font-size: 0.85em;
}

.ce-uploads-filesize::before {
  content: "(";
}

.ce-uploads-filesize::after {
  content: ")";
}

.main-content .ce-uploads li {
  margin-bottom: 0.75rem;
}

.main-content .ce-uploads img {
  width: 2.5rem;
  height: auto;
  margin-right: 1rem;
  flex-shrink: 0;
}

.main-content .ce-uploads-fileName {
  font-weight: 500;
  display: block;
  color: var(--ow-color-link);
}

.main-content .ce-uploads-filesize {
  color: var(--ow-color-link);
}

/* uploads im Berreich footer */
.footer-top .ce-uploads li {
  margin: 0.25em 0 0 0;
  text-align: left;
}

.footer-top .ce-uploads span {
  display: inline-block;
}

.footer-top .ce-uploads-fileName {
  color: var(--ow-color-primary);
  margin-right: .3em;
}

.footer-top .ce-uploads-filesize {
  color: var(--ow-color-primary);
  opacity: 0.8;
  font-size: 0.9em;
}

.footer-top a[href*=".pdf"]::before {
  content: "\F756";
  font-family: "bootstrap-icons";
  font-weight: 400;
  font-size: 1.25rem;
  display: inline-block;
  margin-right: .3em;
  color: var(--ow-color-primary);
}

.footer-top .ce-uploads a:hover .ce-uploads-fileName {
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--ow-color-primary);
}

.main-content img {
  width: 100%;
  height: auto;
}

/*----- RTE-Tabelle -----*/
.contenttable {
  border-collapse: collapse;
  width: 100%;
  max-width: 100%;
  color: var(--ow-color-dark);
}

.contenttable th,
.contenttable td {
  border-width: 0;
  border-style: none;
  border-color: transparent;
  padding: 0.5rem;
  text-align: left;
  vertical-align: top;
}

.contenttable.table > :not(caption) > * > * {
  border-bottom: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.contenttable thead,
.contenttable tbody,
.contenttable tfoot,
.contenttable tr,
.contenttable th,
.contenttable td {
  border: none;
}

.contenttable th,
.contenttable td {
  border: none;
}

.contenttable.table-bordered th,
.contenttable.table-bordered td {
  border: var(--ow-border-base);
}

.contenttable.table-bordered {
  border: var(--ow-border-base);
}

.contenttable.table-striped tbody tr:nth-of-type(odd) {
  background-color: var( --ow-color-light-bg);
}

.contenttable.table-striped {
  border-top: var(--ow-border-base);
  border-bottom: var(--ow-border-base);
}
/*==========================================
CONTENTELEMENTE
========================================= */
/* accordion */
.accordion {
  --bs-accordion-border-color: var(--ow-color-border);
  --bs-accordion-bg: transparent;
  --bs-accordion-btn-bg: var(--ow-color-surface);
  --bs-accordion-btn-color: var(--ow-color-dark);
  --bs-accordion-active-bg: var(--ow-color-surface);
  --bs-accordion-active-color: var(--ow-color-dark);
  --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-item {
  border: var(--ow-border-base);
  margin-bottom: 0px;
  overflow: hidden;
}

.accordion-header {
  margin: 0;
  font-size: inherit;
}

.accordion-button {
  padding: 0.75rem 1rem;
  background-color: var(--bs-accordion-btn-bg);
  color: var(--bs-accordion-btn-color);
  border: none;
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
}

.accordion-button:hover {
  background-color: var(--ow-color-surface);
  transform: translateY(-1px);
}

.accordion-button:active {
  transform: translateY(1px);
}

.accordion-button:not(.collapsed) {
  background-color: var(--bs-accordion-active-bg);
  border-bottom: var(--ow-border-divider);
}

.accordion-body {
  background-color: var(--ow-color-body);
  color: var(--ow-color-dark);
  padding: 1rem;
  line-height: 1.5;
}

.accordion-button::after {
  background-image: none !important;
  font-family: "bootstrap-icons";
  content: "\F282"; /* chevron-down */
  font-size: 1rem;
  transition: transform 0.25s ease;
  color: var(--ow-color-dark);
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
}

.accordion-button:focus-visible {
  outline: 2px solid var(--ow-color-primary);
  outline-offset: 2px;
}

/* MOBILE */
@media (max-width: 768px) {
  .accordion-button {
    font-size: 1rem;
    padding: 0.65rem 0.9rem;
  }

  .accordion-body {
    padding: 0.9rem;
  }
}

/* card */
.card {
  border: var(--ow-border-base);
  box-shadow: var(--ow-shadow-soft);
  height: 100%;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  align-items: flex-start;
}

/* Register */
.register {
  margin-bottom: 3rem;
}

.register .registertitel {
  font-family: var(--ow-font-headline);
  color: var(--ow-color-text-heading);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

/* nav-tabs */
.register .nav-tabs,
.register .nav-tabs .nav-link,
.register .nav-tabs .nav-link.active {
  border: none;
}

.register .nav-tabs {
  display: flex;
  gap: 2rem;
  padding-top: 0.75rem;
  margin-bottom: 0;
}

.register .nav-item {
  margin: 0;
}

/* tab-links */
 .register .nav-link {
  position: relative;
  color: var(--ow-color-dark);
  font-weight: 500;
  text-decoration: none;
  border: 0;
  background: transparent;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.main-content .register .nav-link {
  text-decoration: none;
}

/* Hover */
.register .nav-link:hover {
  color: var(--ow-color-text-heading);
}

/* active tabs */

.register .nav-link.active {
  color: var(--ow-color-dark);
}

/* Underline Animation */
.register .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--ow-color-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.register .nav-link.active::after {
  transform: scaleX(1);
}

/* tab-content */
.register .tab-content {
  padding-top: 1rem;
}

@media (max-width: 768px) {
  .register .registertitel {
    font-size: 1.2rem;
  }

  .register .nav-tabs {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .register .nav-link {
    font-size: 0.95rem;
  }
}

/*==========================================
FORMULAR
========================================= */
input[type="checkbox" i] {
  appearance: none; 
  margin-top: 1px;
  margin-right: 10px;
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid var(--ow-color-border-form);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

input[type="checkbox" i]:checked {
  background-color: var(--ow-color-primary);
}

input[type="checkbox" i]:checked::after {
  content: "✔";
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 1rem;
  color: var(--ow-color-dark);
}

/*----- Login-Formular -----*/
.login-form {
  width: 100%;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .login-form {
    width: 40%;
  }
}

/* Abstände zwischen Feldern */
.login-form fieldset > * + * {
  margin-top: 1rem;
}

.login-form label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.login-form legend {
  margin: 1.5rem 0;
} 

/* Inputs → Bootstrap-like */
.login-form input[type="text"],
.login-form input[type="password"] {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-family: var(--ow-font-default);
  font-size: 1rem;
  color: var(--ow-color-text);
  background-color: var(--ow-color-body);
  border: 1px solid var(--ow-color-border-form);
  border-radius: 4px;
  box-shadow: none;
  outline: none;
  transition: 
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.login-form input[type="text"]:hover,
.login-form input[type="password"]:hover {
  border-color: var(--ow-color-border);
}

/* Fokus-Zustand (Bootstrap Style) */
.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
  border-color: var(--ow-color-primary);
  background-color: var(--ow-color-white);
  outline: 0;
  box-shadow: 0 0 0 2px var(--ow-color-form-focus);
 
}

/* Listen (TYPO3) */
.login-form ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

/*---------- KONTAKTFORMULAR ----------- */
.form-label {
  color: var(--ow-color-text);
  margin-bottom: 0.2rem;
}

.form-control {
  color: var(--ow-color-text);
  margin-bottom: 1.2rem;
}

.form-control::placeholder{
  color: var(--ow-color-placeholder-form);
  opacity: 1;
}

.form-control:focus {
  border-color: var(--ow-color-primary);
  color: var(--ow-color-text);
  box-shadow: 0 0 0 2px var(--ow-color-form-focus);
  outline: none;
}

textarea.form-control {
  min-height: 300px;
  resize: vertical;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

/*==========================================
FOOTER
========================================= */
.footer{
  position: relative;
  font-size: 0.95rem;
  hyphens: auto;
  z-index: 10;
}

/*------- footer bottom -------*/
.footer-bottom {
  background-color:  var(--ow-color-primary);
  color: var(--ow-color-dark);
  font-size: 1rem;
}

.footer-bottom p {
  margin-bottom: 0;
  text-shadow: var(--ow-text-relief);
}

.nav-footer .nav-link {
  position: relative;
  font-family: var(--ow-font-default);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ow-color-dark);
  padding-bottom: 0.25rem;
  text-shadow: var(--ow-text-relief);
}

.nav-footer .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0.25rem;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.nav-footer .nav-link:hover::after {
  width: 100%;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .nav-footer .nav-link {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    /*font-size: 0.85rem; /* optional */
  }
}

#btn-back-to-top {
  position: fixed;
  bottom: 8px;
  right: 10px;
  padding: 4px 10px;
  background-color: var(--ow-color-dark);
  border: var(--ow-border-base);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 
    opacity 0.3s ease, 
    transform 0.3s ease, 
    visibility 0.3s ease;
  pointer-events: none;
}

#btn-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.bi-arrow-up-circle-fill {
  color: var(--ow-color-primary);
}

.logoutButton .icon-color-ow-dark{
  color: var(--ow-nav-text); 
}

.logoutButton .bi::before {
  font-size: 1.6rem;
  margin-top: .35rem;
  margin-left: 1rem;
  margin-right: 0.5rem;
  text-shadow: var(--ow-text-relief);
  color: var(--ow-color-dark);
}

/*------- footer top -------*/
.footer-top {
  background-color: var(--ow-color-dark);
  color: var(--ow-color-light);
}

.footer-top :is(h1, h2, h3, h4, h5) {
  color: var(--ow-color-primary);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-top .ce-image,
.footer-top .img.image-embed-item {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}