/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Open Sans",  sans-serif;
  --test-font: "Helvetica", "Verdana", "Trebuchet MS", "Tahoma"
}

/* Farben */
:root { 
  --default-color: #444444;
  --background-color: #ffffff;
  --heading-color: #222222; 
  --accent-color: #106eea; 
  --surface-color: #ffffff; 
  --contrast-color: #ffffff; 
  --header-logo: #00008B;
  --footer-trenn: #FFB745;
}

/* Farben Navigation */
:root {
  --nav-color: #222222;
  --nav-hover-color: #106eea; 
  --nav-mobile-background-color: #ffffff; 
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #222222; 
  --nav-dropdown-hover-color: #106eea; 
}

.light-background {
  --background-color: #f5f9ff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Unterschrift';
  src: url('./fonts/DancingScript-VariableFont_wght.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap; /* Sorgt dafür, dass Text sofort sichtbar ist */
}

.signature-field {
  font-family: 'Unterschrift', cursive;
  font-size: 3rem;
  color: #1a1a1a;
}


/*--------------------------------------------------------------
# Generelle Styles
--------------------------------------------------------------*/
html {
  font-size: 10px;
}

body {
  font-size: 1.6rem;
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}


h2_ {
	margin: 3rem 0 1rem;
	font-size: 1.875rem;
	line-height: 1.25;
	clear: both;
	text-wrap: balance;
}

h2::after_ {
	content: '';
	display: block;
	max-inline-size: 2.5rem;
	margin-block-start: 3px;
	border-block-start: 3px solid var(--accent-color);
}

.table>:not(caption)>*>* {
  padding: .8rem .8rem;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .branding {
  background-color: var(--background-color);
  min-height: 6rem;
  padding: 1rem 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 3.6rem;
  margin-right: 0.8rem;
}

.header .logo h1 {
  font-size: 3rem;
  margin: 0;
  font-weight: 700;
  color: var(--header-logo);
}

.scrolled .header {
  box-shadow: 0px 0 1.8rem rgba(0, 0, 0, 0.1);
}

.header {
  box-shadow: 0px 0 1.8rem rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 1.5rem 1.4rem;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 1.5rem;
    padding: 0 0.2rem;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 1.23rem;
    line-height: 0;
    margin-left: 0.5rem;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 0.2rem;
    bottom: -0.6rem;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 3rem;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 1.4rem;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 3rem rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 20rem;
  }

  .navmenu .dropdown ul a {
    padding: 1rem 2rem;
    font-size: 1.5rem;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 1.2rem;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 2.8rem;
    line-height: 0;
    margin-right: 1rem;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 6rem 2rem 2rem 2rem;
    padding: 1rem 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 3rem rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 1rem 2rem;
    font-family: var(--nav-font);
    font-size: 1.7rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 1.2rem;
    line-height: 0;
    margin-left: 0.5rem;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 1rem 0;
    margin: 1rem 2rem;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 3.2rem;
    top: 1.5rem;
    right: 1.5rem;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 4rem 0;
  scroll-margin-top: 78px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 4rem;
  position: relative;
}

.section-title h2 {
  font-size: 1.3rem;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 0.8rem 2rem;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title p {
  color: var(--heading-color);
  margin: 1rem 0 0 0;
  font-size: 3.2rem;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title p .description-title {
  color: var(--accent-color);
}


/*--------------------------------------------------------------
# Home Section
--------------------------------------------------------------*/
.home-category .post-entry {
  margin-bottom: 2rem;
}

.home-category .post-entry img {
  margin-bottom: 2rem;
}

.home-category .post-entry h2 {
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.home-category .post-entry h2 a {
  color: var(--heading-color);
}

.home-category .post-entry h2 a:hover {
  text-decoration: underline;
}

.home-category .post-entry.lg h2 {
  font-size: 2rem;
  line-height: 1;
}

.home-category .post-entry .count {
  font-size: 2.5rem;
  color: #FFB745;
}

.home-category .post-meta {
  font-size: 1.1rem;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 1rem;
}

.home-category .custom-border {
  border-color: color-mix(in srgb, var(--default-color), transparent 90%) !important;
}

@media (max-width: 768px) {
  .home-category .custom-border {
    border: none !important;
  }
}

.home-category .home {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

.home-category .home>h3 {
  color: var(--default-color);
  padding: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
}

.home-category .home .home-post {
  padding: 0;
  margin: 0;
}

.home-category .home .home-post li {
  padding: 0;
  margin: 0;
  list-style: none;
  display: block;
}

.home-category .home .home-post li a {
  display: block;
  padding: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.home-category .home .home-post li a .number {
  position: absolute;
  z-index: 1;
  font-size: 5rem;
  left: -1rem;
  top: -2rem;
  font-weight: 700;
  font-family: var(--heading-font);
  color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.home-category .home .home-post li a h3 {
  font-size: 1.6rem;
  color: var(--default-color);
  transition: 0.3s;
  margin-top: 1rem;
}

.home-category .home .home-post li a .author {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 500;
  font-size: 1.3rem;
}

.home-category .home .home-post li a:hover h3 {
  color: var(--footer-trenn);
  text-decoration: underline;
}

.home-category .home .home-post li:last-child a {
  border-bottom: none;
}

.rotate-30deg {
    transform: rotate(30deg); /* Dreht das Element um 45 Grad im Uhrzeigersinn */
}


/*--------------------------------------------------------------
# details Section
--------------------------------------------------------------*/
.details .details-content h3 {
  font-weight: 500;
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

.details h4 {
  font-weight: 500;
  font-size: 2rem;
  margin: 2rem 0;
}

.details .details-content h4 {
  font-weight: 500;
  font-size: 2rem;
  margin: 2rem 0;
}

.details .details-content h5 {
  font-weight: 500;
  font-size: 1.8rem;
  margin: 2rem 0;
}

.details .details-images button {
  font-size: 1.6rem;
}

.details .details-content button {
  font-size: 1.6rem;
}

.details .details-content .btn-warning a {
  color: var(--contrast-color);
}

.details .details-content .btn-warning a:hover {
  color: var(--default-color);
}

.details .details-content a{
  color: var(--footer-trenn);
}

.details .details-content a:hover{
  color: var(--default-color);
}


.team-member {
    transition: transform 0.3s ease-in-out;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    /*border: 5px solid #f8f9fa;*/
    transition: transform 0.3s ease;
}

.team-member h5 {
  font-weight: 500;
  font-size: 1.6rem;
  margin: 1.6rem 0;
  color: var(--footer-trenn);
}

.team-member .mail {
  font-weight: 500;
  font-size: 1.4rem;
}

.team-member .mail a{
  color: var(--default-color);
}

.team-member .mail a:hover{
  color: var(--footer-trenn);
}

/*
.team-member:hover img {
    transform: scale(1.05);
}
*/

/*--------------------------------------------------------------
# Jubilaeum Section
--------------------------------------------------------------*/
.jub-posts article {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.jub-posts .post-img img {
  transition: 0.5s;
}

.jub-details .article h2 {
  font-weight: 500;
  font-size: 2.4rem;
  margin: 2rem 0;
}

.jub-details .article h3 {
  font-weight: 500;
  font-size: 2rem;
  margin: 2rem 0;
}

.jub-posts p {
  margin-top: 0.5rem;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-title {
  color: var(--heading-color);
  font-size: 2rem;
  font-weight: 600;
  padding: 0 0 0 1rem;
  margin: 0 0 3rem 0;
  border-left: 4px solid var(--nav-color);
}

.widget-item {
  margin-bottom: 3rem;
  background-color: color-mix(in srgb, var(--default-color), transparent 98%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 3rem;
  border-radius: 0.5rem;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  object-fit: contain;
  object-position: top;
  margin-right: 1.5rem;
}

.recent-posts-widget .sponsor img {
  padding: 1rem 1.5rem;
}

.recent-posts-widget .post-item h4 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 1.4rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Sponsoren
--------------------------------------------------------------*/
.sponsoren {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.sponsoren img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.sponsoren:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.sponsoren .container {
  position: relative;
  z-index: 3;
}

.sponsoren h3 {
  color: var(--default-color);
  font-size: 3rem;
  font-weight: 700;
}

.sponsoren p {
  color: var(--default-color);
  font-size: 2rem;
}


/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 25px 0;
}

.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-slide img {
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

/*  */
.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  font-size: 1.6rem;
  padding-bottom: 1rem;
  position: relative;
}

.footer .footer-top {
  padding-top: 5rem;
}

.footer h4 {
  font-size: 2rem;
  font-weight: bold;
  position: relative;
  padding-bottom: 1.2rem;
}

.footer .footer-about a {
  color: var(--default-color);
  font-size: 1.6rem;
  font-weight: 600;
  font-family: var(--default-font);
}

.footer .footer-about a:hover {
  color: var(--footer-trenn);
}

.footer .footer-contact p {
  margin-bottom: 0.5rem;
}

.footer .copyright {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 3px solid color-mix(in srgb, var(--footer-trenn), transparent 90%);
  border-top: 2px solid var(--footer-trenn);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 0.6rem;
  font-size: 1.3rem;
}


