/* Fonts */
:root {
  --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation deoSans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Marcellus", sans-serif;
  --nav-font: "Marcellus", sans-serif;
  src: url("assets/fonts/marcellus-v13-latin-regular.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("assets/fonts/marcellus-v13-latin-regular.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2d465e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0294e9; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --text-primary: #0294e9;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #212529; /* The default color of the main navmenu links */
  --nav-hover-color: #0294e9; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #059652; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

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

.dark-background {
  --background-color: #484848;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #7b7c7b;
  --surface-color: #df1515;
  --contrast-color: #ffffff;
}

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

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: black;
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-weight: 200;
}

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: #0294e9;
  font-family: var(--heading-font);
}

h1 > span {
  color: var(--contrast-color);
  text-shadow: 2px 2px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

.page-title h1 > span {
  color: #ffffff;
  font-weight: 500;
  font-style: oblique;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 2px;
  letter-spacing: 0.2em;
  text-decoration: none;
  overflow: hidden;
  color: #fff;
  z-index: 1;
  transition: 0.5s;
  backdrop-filter: blur(15px);
}

.page-title h1 > span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(45deg) translate(0);
  transition: 0.5s;
  filter: blur(0px);
}

h4 > span {
  color: #ffffff;
  font-weight: 200;
}

h1 {
  font-weight: 400;
}
/*--------------------------------------------------------------
# General Styling & Shared Classes - Ende
--------------------------------------------------------------*/

/*--------------------------------------------------------------
Button-Allgemein - Start
--------------------------------------------------------------*/
.btn {
  transition: 0.5s;
  font-weight: 500;
  background-color: var(--accent-color);
}

.btn-square {
  width: 80px;
  height: 80px;
}

.btn-sm-square {
  width: 80px;
  height: 80px;
}

.btn-lg-square {
  width: 80px;
  height: 80px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  border-color: var(--accent-color);
  font-weight: 400;
  margin: auto;
  margin-top: -50px;
}
/*--------------------------------------------------------------
Button-Allgemein - Ende
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
/*-------------------------------------------------------------*/
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}
/*-------------------------------------------------------------*/
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
/*-------------------------------------------------------------*/

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--contrast-color);
  background-color: var(--background-color);
  padding: 15px 0;
  scroll-margin-top: 100px;
  overflow: clip;
  font-weight: 300;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
Global Sections -Ende
--------------------------------------------------------------*/

/*--------------------------------------------------------------
Header - Start
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--contrast-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.header .logo img {
  max-height: 64px;
  margin-right: 16px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px color-mix(in srgb, var(--default-color));
}

/*--------------------------------------------------------------
Header - Ende
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Navigation Menu - Start
--------------------------------------------------------------*/

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

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.2rem; /* Weniger Abstand zwischen Items */
    justify-content: flex-end; /* Rechts ausrichten */
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color, #2c3e50);
    padding: 0.8rem 1rem; /* Kleinere Padding */
    font-size: 0.95rem; /* Etwas kleinere Schrift */
    font-family: var(--nav-font, "Arial", sans-serif);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
  }

  .navmenu a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #87c540, #0294e9);
    transition: transform 0.3s ease;
  }

  .navmenu a:hover::before,
  .navmenu .active::before {
    transform: translateX(-50%) scaleX(1);
  }

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

  .navmenu a:hover {
    transform: translateY(-1px);
  }

  /* Vereinfachte Dropdown Styles */
  .navmenu .dropdown ul {
    margin: 0;
    padding: 0.5rem 0;
    background: #ffffff;
    display: block;
    position: absolute;
    visibility: hidden;
    left: 0;
    top: 120%;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 8px;
    z-index: 99;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 400;
    margin: 0;
    border-radius: 0;
    justify-content: flex-start;
  }

  .navmenu .dropdown ul a:hover {
    color: #87c540;
    background: rgba(135, 197, 64, 0.05);
  }

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

/* Navmenu - Mobile - Vereinfacht */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: #2c3e50;
    font-size: 1.5rem;
    line-height: 0;
    margin-right: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0.5rem;
  }

  .header .logo img {
    max-inline-size: 75%;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 70px 1rem 1rem 1rem;
    padding: 1rem 0;
    margin: 0;
    border-radius: 12px;
    background: #ffffff;
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 9998;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #2c3e50;
    padding: 0.8rem 1.5rem;
    font-family: var(--nav-font, "Arial", sans-serif);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    transition: all 0.3s ease;
    margin: 0.1rem 1rem;
    border-radius: 6px;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: #87c540;
    background: rgba(135, 197, 64, 0.05);
  }

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

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

/* Header Layout anpassen */

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

/* Responsive Anpassungen */
@media (max-width: 1400px) {
  .navmenu ul {
    gap: 0.1rem;
  }

  .navmenu a {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 1200px) {
  .navmenu {
    max-width: none;
  }
}

/*--------------------------------------------------------------
Navmenu - Ende
--------------------------------------------------------------*/

/*--------------------------------------------------------------
Footer - Start
--------------------------------------------------------------*/

footer {
  background-color: #5d615d;
  padding: 1.5rem 0;
  /* Reduzierte Padding */
  font-size: 1rem;
  /* Kleinere Schriftgröße */
  color: var(--contrast-color);
}

.slogan {
  color: var(--contrast-color);
  /* Dunklere Schriftfarbe */
  font-weight: 600;
  /* Stärkere Schriftbreite */
  font-size: 1rem;
  /* Etwas größere Schrift */
  line-height: 1.5;
  /* Besserer Zeilenabstand */
  letter-spacing: 0.5px;
  /* Leichte Buchstabenabstände */
  margin-top: 10px;
  /* Etwas Abstand vom Logo */
  font-style: italic;
  /* Optional: Kursivschrift */
  text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.1);
  /* Sanfter Textschatten */
}

.logo {
  max-width: 200px;
  /* Etwas kleineres Logo */
  height: auto;
}

.mb-3 {
  color: #87c540;
  font-weight: 300;
}

.footer-links a {
  color: var(--contrast-color);
  text-decoration: dotted;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-images img {
  max-width: 100%;
  height: 140px;
  /* Reduzierte Bildhöhe */
  object-fit: cover;
}

.footer-images .img-small {
  width: 100px;
}

.footer-images .img-large {
  width: 150px;
}

/* Neue Copyright-Trennung */
.copyright-section {
  background-color: var(--default-color);
  /* Hellgrauer Hintergrund */
  padding: 10px 0;
  margin-top: 15px;
  color: #6c757d;
  font-size: 0.8rem;
  border-top: 1px solid #dee2e6;
  /* Dezente Trennlinie */
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-icons {
    margin-top: 1rem;
  }
}

/* Trennlinie oben */
.footer-divider {
  height: 5px;
  background: linear-gradient(90deg, #87c540, #0294e9);
  width: 100%;
}

.footer-divider2 {
  height: 5px;
  background: linear-gradient(to left, #87c540, #0294e9);
  width: 100%;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .footer-logo img {
    max-width: 150px;
  }
}

.copyright {
  background-color: var(--default-color);
}

.copyright a {
  color: var(--bs-white);
}

/* Sanft pulsierende Glanzlinie in Sansotec-Farben */
.slogan-glow {
  position: relative;
  width: 180px;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(
    90deg,
    rgba(135, 197, 64, 0.15),
    rgba(2, 148, 233, 0.6),
    rgba(135, 197, 64, 0.5),
    rgba(2, 148, 233, 0.6),
    rgba(135, 197, 64, 0.15)
  );
  border-radius: 2px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.6;
  animation: glowPulse 6s ease-in-out infinite;
}

/* Keyframes für sanftes Aufleuchten */
@keyframes glowPulse {
  0% {
    opacity: 0.4;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.05);
  }
  100% {
    opacity: 0.4;
    transform: scaleX(1);
  }
}
/*--------------------------------------------------------------
Footer - Ende
--------------------------------------------------------------*/

/*--------------------------------------------------------------
Portfolio-Header Start
--------------------------------------------------------------*/

.search-bar {
  margin-bottom: 20px;
  text-align: center;
}

.search-bar input {
  width: 80%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.search-bar input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.page-title {
  top: 70px;
  color: var(--contrast-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 150px 0;
  text-align: center;
  position: relative;
}

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

.page-title h1 {
  margin-top: 20px;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

/*--------------------------------------------------------------
Portfolio-Header Ende
--------------------------------------------------------------*/

/*** Header ***/

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .page-title h1 > span {
    font-size: 30px;
  }
}
/*** Header ***/

/*--------------------------------------------------------------
Portfolio Filter - Start
--------------------------------------------------------------*/
.portfolio-sidebar {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12),
    0 8px 30px rgba(135, 197, 64, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(224, 232, 240, 0.8);
  margin-top: -8px;
  position: sticky;
  top: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.portfolio-sidebar.sticky-active {
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15),
    0 12px 40px rgba(135, 197, 64, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(5px);
  border-color: rgba(135, 197, 64, 0.3);
}

/* Glowing Left Border */
.portfolio-sidebar::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #0294e9, #87c540, #0294e9);
  background-size: 100% 200%;
  animation: verticalGradientShift 4s ease infinite;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 20px rgba(2, 148, 233, 0.3), 0 0 40px rgba(135, 197, 64, 0.2);
}

/* Holographic Corner Accents */
.portfolio-sidebar::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle at top right,
    rgba(135, 197, 64, 0.15) 0%,
    rgba(2, 148, 233, 0.1) 30%,
    transparent 70%
  );
  border-radius: 0 20px 0 0;
  pointer-events: none;
}

/* Floating Particles Effect */
.portfolio-sidebar .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(135, 197, 64, 0.6);
  border-radius: 50%;
  animation: floatParticle 6s ease-in-out infinite;
  pointer-events: none;
}

.portfolio-sidebar .particle:nth-child(1) {
  top: 30%;
  left: 10%;
  animation-delay: 0s;
}
.portfolio-sidebar .particle:nth-child(2) {
  top: 60%;
  left: 15%;
  animation-delay: 1.5s;
}
.portfolio-sidebar .particle:nth-child(3) {
  top: 40%;
  left: 8%;
  animation-delay: 3s;
}

@keyframes verticalGradientShift {
  0%,
  100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 0% 100%;
  }
}

@keyframes floatParticle {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  25% {
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.3;
  }
  75% {
    opacity: 0.6;
  }
}

/* Premium Search Bar */
.search-bar {
  display: flex;
  margin-bottom: 2.5rem;
  gap: 12px;
  position: relative;
  z-index: 2;
}

#keyword-search {
  flex-grow: 1;
  padding: 16px 20px;
  font-size: 15px;
  border: 2px solid rgba(224, 232, 240, 0.8);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.95);
  color: #334155;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-family: "Inter", sans-serif;
  backdrop-filter: blur(20px);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04),
    0 4px 20px rgba(0, 0, 0, 0.06);
}

#keyword-search:focus {
  border-color: #87c540;
  box-shadow: 0 0 0 4px rgba(135, 197, 64, 0.2),
    inset 0 2px 6px rgba(0, 0, 0, 0.04), 0 8px 30px rgba(135, 197, 64, 0.15);
  background: #ffffff;
  transform: translateY(-2px);
}

.search-button,
.reset-search {
  padding: 16px 22px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.search-button {
  background: linear-gradient(135deg, #0294e9, #0278c7);
  color: white;
  border: 1px solid rgba(2, 148, 233, 0.3);
  box-shadow: 0 6px 20px rgba(2, 148, 233, 0.25);
}

.search-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.search-button:hover::before {
  left: 100%;
}

.search-button:hover {
  background: linear-gradient(135deg, #0278c7, #0294e9);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(2, 148, 233, 0.4);
}

.reset-search {
  background: linear-gradient(135deg, #87c540, #76a837);
  color: white;
  border: 1px solid rgba(135, 197, 64, 0.3);
  box-shadow: 0 6px 20px rgba(135, 197, 64, 0.25);
}

.reset-search:hover {
  background: linear-gradient(135deg, #76a837, #87c540);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(135, 197, 64, 0.4);
}

/* Premium Filters with Hover Effects */
.portfolio-filters {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.portfolio-filters li {
  margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(224, 232, 240, 0.6);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
}

.portfolio-filters li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(135, 197, 64, 0.05),
    rgba(2, 148, 233, 0.03)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-filters li span {
  display: block;
  padding: 20px 24px;
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  color: #334155;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.portfolio-filters li:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  border-color: rgba(135, 197, 64, 0.4);
}

.portfolio-filters li:hover::before {
  opacity: 1;
}

.portfolio-filters li:hover span,
.portfolio-filters li.filter-active span {
  color: #1e293b;
  padding-left: 28px;
}

/* Enhanced Filter Colors with Glow */
.filter-all span {
  border-left: 6px solid #2d465e;
  box-shadow: -4px 0 20px rgba(45, 70, 94, 0.2);
}
.filter-a span {
  border-left: 6px solid #007bff;
  box-shadow: -4px 0 20px rgba(0, 123, 255, 0.2);
}
.filter-s span {
  border-left: 6px solid #dc3545;
  box-shadow: -4px 0 20px rgba(220, 53, 69, 0.2);
}
.filter-n span {
  border-left: 6px solid #87c540;
  box-shadow: -4px 0 20px rgba(135, 197, 64, 0.2);
}
.filter-d span {
  border-left: 6px solid #ffc107;
  box-shadow: -4px 0 20px rgba(255, 193, 7, 0.2);
}
.filter-r span {
  border-left: 6px solid #6f42c1;
  box-shadow: -4px 0 20px rgba(111, 66, 193, 0.2);
}
.filter-e span {
  border-left: 6px solid #fd7e14;
  box-shadow: -4px 0 20px rgba(253, 126, 20, 0.2);
}
.filter-z span {
  border-left: 6px solid #6c757d;
  box-shadow: -4px 0 20px rgba(108, 117, 125, 0.2);
}
.filter-sy span {
  border-left: 6px solid #e83e8c;
  box-shadow: -4px 0 20px rgba(232, 62, 140, 0.2);
}

.filter-description {
  font-size: 0.85em;
  color: #64748b;
  padding: 0 24px;
  transition: all 0.3s ease;
  opacity: 0;
  height: 0;
  overflow: hidden;
  background: rgba(248, 250, 252, 0.9);
  font-family: "Inter", sans-serif;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.portfolio-filters li:hover .filter-description,
.portfolio-filters li.filter-active .filter-description {
  opacity: 1;
  height: auto;
  padding: 16px 24px;
}

.portfolio-filters li {
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.portfolio-filters li span {
  display: block;
  padding: 12px 20px;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  font-weight: 600;
  transition: all 0.3s ease;
}

.portfolio-filters li:hover span,
.portfolio-filters li.filter-active span {
  background: linear-gradient(145deg, #e6e6e6, #ffffff);
  color: #059652;
  transform: translateY(-2px);
   font-size: 0.8rem;
}

.filter-description {
  font-size: 0.8em;
  color: #666;
  padding: 0 20px 10px;
  transition: all 0.3s ease;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.portfolio-filters li:hover .filter-description,
.portfolio-filters li.filter-active .filter-description {
  opacity: 1;
  height: auto;
  padding-top: 10px;
}

/* Portfolio Items */
.portfolio-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: calc(33.33% - 20px);
  margin: 10px;
}

.portfolio-item .portfolio-info {
  padding: 20px;
}

.portfolio .portfolio-item .portfolio-info {
  text-align: left;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  line-height: 1.5;
  color: var(--heading-color);
  font-weight: 700;
}

.portfolio .portfolio-item .portfolio-info p {
  color: var(--heading-color);
  font-size: 16px;
  margin-bottom: 0;
  padding-right: 10px;
  font-weight: 500;
  min-height: 3em;
}

.portfolio-item img {
  transition: transform 0.3s ease-in-out;
}

/* Links */
.portfolio .portfolio-item .details-link,
.portfolio .portfolio-item .preview-link {
  position: absolute;
  font-size: 1.5rem;
  top: 1rem;
  right: 1rem;
  color: #87c540;
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.portfolio .portfolio-item .details-link:hover,
.portfolio .portfolio-item .preview-link:hover {
  color: white;
  background: #87c540;
  transform: scale(1.1);
}

.portfolio .portfolio-item .preview-link {
  right: 4rem;
}

.isotope-container {
  background: linear-gradient(145deg, #f6f8fa, #e8eaec);
  border-radius: 20px;
  box-shadow: 10px 10px 20px #d1d9e6, -10px -10px 20px #ffffff;
}

/* Filter Colors */
.filter-all span {
  border-left: 8px solid #2d465e;
}
.filter-a span {
  border-left: 8px solid var(--accent-color);
}
.filter-s span {
  border-left: 8px solid #ff0000;
}
.filter-n span {
  border-left: 8px solid #87c540;
}
.filter-d span {
  border-left: 8px solid #fded00;
}
.filter-r span {
  border-left: 8px solid #9e06d1;
}
.filter-e span {
  border-left: 8px solid #a35905;
}
.filter-z span {
  border-left: 8px solid #000000;
}
.filter-sy span {
  border-left: 8px solid #f28b05;
}

.filter-all span {
  color: var(--default-color);
}
.filter-a span {
  color: var(--default-color);
}
.filter-d span {
  color: var(--default-color);
}
.filter-n span {
  color: var(--default-color);
}
.filter-s span {
  color: var(--default-color);
}
.filter-e span {
  color: var(--default-color);
}
.filter-r span {
  color: var(--default-color);
}
.filter-z span {
  color: var(--default-color);
}
.filter-sy span {
  color: var(--default-color);
}

/* Dropdown für Mobile */
@media (max-width: 1199px) {
  .navmenu-select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 16px;
  }

  .navmenu-select option.filter-all {
    color: #2d465e;
  }
  .navmenu-select option.filter-a {
    color: var(--accent-color);
  }
  .navmenu-select option.filter-s {
    color: #ff0000;
  }
  .navmenu-select option.filter-n {
    color: #87c540;
  }
  .navmenu-select option.filter-d {
    color: #fded00;
  }
  .navmenu-select option.filter-e {
    color: #a35905;
  }
  .navmenu-select option.filter-r {
    color: #9e06d1;
  }
  .navmenu-select option.filter-z {
    color: #000;
  }
  .navmenu-select option.filter-sy {
    color: #f28b05;
  }
}

/* Filter Line Styles */
.filter-a-line {
  border-radius: 5px;
  filter: blur(0px);
  box-shadow: 0px 4px 0px var(--accent-color);
}

.filter-d-line {
  border-radius: 5px;
  filter: blur(0px);
  box-shadow: 0px 4px 0px #fded00;
}

.filter-n-line {
  border-radius: 5px;
  filter: blur(0px);
  box-shadow: 0px 4px 0px #87c540;
}

.filter-s-line {
  border-radius: 5px;
  filter: blur(0px);
  box-shadow: 0px 4px 0px #ff0000;
}

.filter-e-line {
  border-radius: 5px;
  filter: blur(0px);
  box-shadow: 0px 4px 0px #a35905;
}

.filter-rtu {
  border-radius: 5px;
  filter: blur(0px);
  box-shadow: 0px 4px 0px #9e06d1;
}

.filter-zubehör {
  border-radius: 5px;
  filter: blur(0px);
  box-shadow: 0px 4px 0px #000000;
}

.filter-syn {
  border-radius: 5px;
  filter: blur(0px);
  box-shadow: 0px 4px 0px #f28b05;
}

/* Korrigierte und verbesserte Responsive Styles */
@media (max-width: 1200px) {
  .portfolio-item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .portfolio {
    flex-direction: column;
  }

  .portfolio-sidebar {
    width: 100%;
    margin-bottom: 20px;
    position: static;
  }

  .portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .portfolio-filters li {
    display: inline-block;
    font-size: 14px;
    padding: 8px 12px;
    margin: 3px;
    flex: 1;
    min-width: 120px;
    text-align: center;
  }

  .isotope-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
  }

  .portfolio-item {
    width: calc(50% - 20px);
    margin: 10px;
  }

  .portfolio-info {
    text-align: left;
  }

  .filter-description {
    display: none;
  }

  .portfolio .portfolio-item .portfolio-info h4 {
    font-size: 16px;
  }

  .portfolio .portfolio-item .portfolio-info p {
    font-size: 14px;
  }
}

/* SPEZIELLE LANDSCAPE OPTIMIERUNGEN */
@media (max-width: 768px) and (orientation: landscape) {
  .portfolio-sidebar {
    padding: 20px;
    margin-bottom: 15px;
  }

  .portfolio-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .portfolio-filters li {
    margin-bottom: 8px;
    min-width: auto;
    flex: none;
  }

  .portfolio-filters li span {
    padding: 10px 8px;
    font-size: 12px;
  }

  .isotope-container {
    max-height: 60vh;
    overflow-y: auto;
  }

  .portfolio-item {
    width: calc(50% - 10px);
    margin: 5px;
  }

  .portfolio .portfolio-item .portfolio-info h4 {
    font-size: 14px;
    line-height: 1.3;
  }

  .portfolio .portfolio-item .portfolio-info p {
    font-size: 12px;
    min-height: 2.5em;
  }

  .portfolio .portfolio-item .details-link,
  .portfolio .portfolio-item .preview-link {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .portfolio .portfolio-item .preview-link {
    right: 3rem;
  }
}

@media (max-width: 480px) and (orientation: landscape) {
  body {
    font-size: 13px;
  }

  .portfolio-filters {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .portfolio-filters li span {
    padding: 8px 5px;
    font-size: 11px;
  }

  .portfolio-item {
    width: calc(50% - 5px);
    margin: 3px;
  }

  .portfolio-item .portfolio-info {
    padding: 10px;
  }

  .portfolio .portfolio-item .portfolio-info h4 {
    font-size: 13px;
  }

  .portfolio .portfolio-item .portfolio-info p {
    font-size: 11px;
    min-height: 2em;
  }

  /* Container height anpassen für Landscape */
  .video-container {
    height: 60vh;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.5em;
  }

  .container {
    padding: 10px;
    width: 100%;
  }

  .portfolio-filters li {
    font-size: 12px;
    padding: 6px 8px;
    min-width: 100px;
  }

  .portfolio-item {
    width: 100%;
    margin: 10px auto;
  }

  .portfolio-info {
    font-size: 0.9em;
  }

  .portfolio .portfolio-item .portfolio-info h4 {
    font-size: 16px;
  }

  .portfolio .portfolio-item .portfolio-info p {
    font-size: 12px;
    padding-right: 0;
  }

  .preview-link,
  .details-link {
    font-size: 20px;
    top: 15px;
  }
}

/* E-Reader und Tablet Optimierungen */
@media (max-width: 800px) and (min-width: 601px) {
  body {
    font-size: 15px;
    line-height: 1.5;
    padding: 10px;
  }

  .portfolio-item {
    width: calc(50% - 10px);
    margin: 5px;
  }

  .portfolio-info {
    text-align: center;
    font-size: 14px;
  }
}

/* Video Container Responsive */
.video-container {
  position: relative;
  width: 100%;
  height: 92vh;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 79%;
  object-fit: cover;
}

.overlay-text h1 > span {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  backdrop-filter: blur(5px);
  padding: 5px 5px;
  border-radius: 8px;
}

/* Video Landscape Optimierungen */
@media (max-width: 768px) and (orientation: landscape) {
  .video-container {
    height: 70vh;
  }

  .video-container video {
    height: 85%;
  }

  .overlay-text h1 > span {
    font-size: 1.6rem;
    top: 40%;
  }
}

@media (max-width: 1024px) {
  .video-container {
    height: 85vh;
  }

  .video-container video {
    height: 80%;
  }

  .overlay-text h1 > span {
    font-size: 2rem;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .video-container {
    height: 80vh;
  }

  .video-container video {
    height: auto;
  }

  .overlay-text h1 > span {
    font-size: 1.8rem;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .video-container {
    height: 70vh;
  }

  .video-container video {
    height: 70%;
  }

  .overlay-text h1 > span {
    font-size: 1.5rem;
    padding: 0 10px;
  }
}

/* Typography */
.display-4 {
  font-size: 3.5rem;
  color: var(--accent-color);
  font-weight: 500;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  position: relative;
}

.display-4::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #87c540, #0294e9);
  border-radius: 2px;
}

.lead {
  font-size: 1.2rem;
  color: #555;
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Typography Landscape Optimierungen */
@media (max-width: 768px) and (orientation: landscape) {
  .display-4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .lead {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 992px) {
  .display-4 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .display-4 {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .display-4 {
    font-size: 1.9rem;
  }

  .lead {
    font-size: 1rem;
  }
}

.lead {
  color: #7f8c8d;
}
