body {
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  color: #181818;
}
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  transition: background 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.modern-header:hover {
  background: rgba(0, 0, 0, 0.85);
}
.modern-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
}
.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  line-height: 1.1;
  margin-left: 0;
  transition: text-shadow 0.3s ease;
}
.logo:hover {
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}
.modern-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.modern-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.modern-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
}
.modern-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #b6e2c6;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.modern-nav a:hover::before {
  width: 80%;
}
.hero-slider {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding-top: 0;
}
.slider {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.2s;
  background-size: cover !important;
  background-position: center !important;
  will-change: opacity;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slider-content {
  position: relative;
  z-index: 3;
  color: #fff;
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(24,24,24,0.38);
  opacity: 0.93;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  font-size: 1.2rem;
  font-weight: 400;
  text-align: justify;
}
.hero-slider-content::before,
.hero-slider-content::after {
  display: none !important;
  content: none !important;
}
.hero-slider-content h1,
.hero-slider-content .hero-keywords-line,
.hero-slider-content .chopin-invite,
.hero-slider-content button {
  text-align: center;
}
.hero-slider-content p {
  margin: 0.5rem 0;
  line-height: 1.5;
  text-align: justify;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.modern-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.philosophy-modern {
  margin-bottom: 4rem;
}
.philosophy-modern h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.modern-footer {
  background: #181818;
  color: #fff;
  text-align: center;
  padding: 2rem 0 1rem 0;
  font-size: 1rem;
  margin-top: 4rem;
}
.hero-keywords {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.2rem 0 1.8rem 0;
}
.hero-keywords span {
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-transform: uppercase;
  transition: background 0.2s;
}
.hero-keywords span:hover {
  background: rgba(255,255,255,0.32);
}
.hero-keywords-line {
  font-size: 0.95rem;
  color: #e0e0e0;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin: 0.7rem 0 1.2rem 0;
  text-transform: uppercase;
  opacity: 0.85;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 1px 1px rgba(0,0,0,0.18);
}
.hero-keywords-line {
  margin-top: 3.5rem;
}
.hero-portrait {
  font-size: 0.95rem;
  font-weight: 400;
  color: #f3f3f3;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 800px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45), 0 1px 1px rgba(0,0,0,0.18);
  text-align: justify;
  text-justify: inter-word;
}
@media (max-width: 700px) {
  .modern-nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1rem;
  }
  
  .modern-nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .modern-nav a {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    letter-spacing: 1px;
  }
  
  .logo {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-slider-content {
    max-width: 95vw;
    padding: 0.7rem 0.5rem;
    font-size: 0.98rem;
  }
  .hero-slider-content p {
    font-size: 1rem;
  }
  .modern-main {
    padding: 2rem 0.5rem 1rem 0.5rem;
  }
  .hero-keywords {
    gap: 0.7rem;
    flex-wrap: wrap;
  }
  .hero-keywords span {
    font-size: 0.9rem;
    padding: 0.3rem 0.7rem;
  }
  .hero-keywords-line {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }
  .hero-portrait {
    font-size: 0.89rem;
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .hero-slider-content {
    max-width: 98vw;
    padding: 2rem 0.5rem;
  }
  .hero-portrait {
    max-width: 98vw;
    font-size: 0.97rem;
  }
  .logo {
    font-size: 1.3rem;
  }
}
.chopin-invite {
  margin: 2.2rem auto 0 auto;
  text-align: justify;
  color: #eaeaea;
  font-size: 0.95rem;
  max-width: 480px;
  opacity: 0.95;
}
.chopin-invite p {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}
.chopin-btn {
  display: block;
  margin: 1.1rem auto 0 auto;
  background: #fff;
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  border-radius: 2rem;
  padding: 0.6rem 2.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.chopin-btn:hover {
  background: #2e5d3b;
  color: #fff;
  box-shadow: 0 4px 16px rgba(46,93,59,0.13);
}
.hero-side-nav {
  display: none;
}
.contact-fab {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  z-index: 1000;
  background: #2e5d3b;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 24px rgba(46,93,59,0.18);
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.contact-fab:hover {
  background: #1b3a23;
  box-shadow: 0 8px 32px rgba(46,93,59,0.25);
}
@media (max-width: 900px) {
  .hero-side-nav {
    position: static;
    flex-direction: row;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem 0.5rem;
    min-width: unset;
    margin: 2rem 0 0 0;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .side-nav-btn {
    font-size: 0.98rem;
    padding: 0.5rem 0.9rem;
  }
}
@media (max-width: 700px) {
  .contact-fab {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    bottom: 1.1rem;
    right: 1.1rem;
  }
}
.about-modern {
  margin-bottom: 4rem;
  background: #f7f7f7;
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 2.5rem 2rem 2rem 2rem;
}
.about-modern h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  color: #2e5d3b;
}
.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: #222;
  line-height: 1.7;
}
.about-content p {
  margin-bottom: 1.2rem;
  text-align: justify;
  text-justify: inter-word;
}
.about-list {
  margin: 1.5rem 0 0 0;
  padding: 0;
  list-style: none;
}
.about-list li {
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
  color: #2e5d3b;
}
.about-award-list {
  margin: 0.5rem 0 0 1.5rem;
  padding: 0;
  list-style: disc inside;
}
.about-award-list li {
  color: #444;
  font-size: 0.99rem;
  margin-bottom: 0.3rem;
  font-style: italic;
  letter-spacing: 0.2px;
}
.about-flex {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.about-photo-block {
  flex: 0 0 180px;
  text-align: center;
}
.about-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  margin-bottom: 0.7rem;
  background: #eaeaea;
}
.about-photo-name {
  font-size: 1.08rem;
  color: #2e5d3b;
  font-style: italic;
  margin-top: 0.2rem;
  letter-spacing: 0.5px;
  border-top: 1px solid #d0d0d0;
  padding-top: 0.4rem;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.about-text-block {
  flex: 1 1 320px;
}
@media (max-width: 700px) {
  .about-flex {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .about-photo-block {
    flex: unset;
  }
  .about-photo {
    width: 120px;
    height: 120px;
  }
}
.highlights-modern {
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;
}
.highlights-modern h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
  color: #2e5d3b;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.highlight-card {
  background: #fff;
  border-radius: 1.1rem;
  box-shadow: 0 4px 24px rgba(46,93,59,0.10);
  padding: 2.2rem 1.5rem;
  font-size: 1.18rem;
  font-weight: 600;
  color: #2e5d3b;
  text-align: center;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: popin 0.8s forwards;
}
.highlight-card:nth-child(1) { animation-delay: 0.1s; }
.highlight-card:nth-child(2) { animation-delay: 0.25s; }
.highlight-card:nth-child(3) { animation-delay: 0.4s; }
.highlight-card:nth-child(4) { animation-delay: 0.55s; }
.highlight-card:nth-child(5) { animation-delay: 0.7s; }
@keyframes popin {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 700px) {
  .highlights-grid {
    gap: 1rem;
  }
  .highlight-card {
    padding: 1.2rem 0.7rem;
    font-size: 1.01rem;
  }
}
.highlight-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2e5d3b;
  margin-bottom: 1.1rem;
  letter-spacing: 0.5px;
}
.highlight-gallery {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.highlight-gallery img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #f5f5f5;
}
.highlight-gallery img:hover {
  transform: scale(1.07);
  box-shadow: 0 4px 16px rgba(46,93,59,0.13);
}
@media (max-width: 700px) {
  .highlight-gallery img {
    width: 80px;
    height: 60px;
  }
}
.project-modern {
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;
  background: linear-gradient(120deg, #f7f6f3 60%, #eae7e1 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(46,93,59,0.07);
}
.project-modern h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.2rem;
  letter-spacing: 1px;
  color: #1d2a22;
}
.project-gallery {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.project-gallery img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(46,93,59,0.10);
  background: #f5f5f5;
  transition: transform 0.25s, box-shadow 0.25s;
}
.project-gallery img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(46,93,59,0.18);
}
.project-description {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.18rem;
  color: #1d2a22;
  line-height: 1.8;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
@media (max-width: 900px) {
  .project-gallery img {
    width: 160px;
    height: 110px;
  }
}
@media (max-width: 600px) {
  .project-gallery img {
    width: 98vw;
    height: 38vw;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 180px;
  }
  .project-gallery {
    gap: 1rem;
  }
}
.gallery-journey {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
  max-height: 65vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #b6b6b6 #f7f6f3;
  padding-right: 2px;
}
.thumb {
  width: 50px;
  height: 36px;
  object-fit: cover;
  border-radius: 0.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  opacity: 0.7;
  border: 2px solid transparent;
  transition: opacity 0.2s, border 0.2s, transform 0.2s;
  background: #f5f5f5;
}
.thumb.active, .thumb:hover {
  opacity: 1;
  border: 2px solid #2e5d3b;
  transform: scale(1.07);
}
.gallery-main {
  flex: 1 1 900px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}
.main-image {
  width: 90vw;
  max-width: 1200px;
  height: 65vh;
  min-height: 400px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 12px 48px rgba(46,93,59,0.13);
  background: #f5f5f5;
  opacity: 1;
  transition: opacity 0.5s;
}
.fadein {
  animation: fadeinimg 0.7s;
}
@keyframes fadeinimg {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 900px) {
  .gallery-journey {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .gallery-main {
    max-width: 98vw;
  }
  .main-image {
    max-width: 98vw;
    height: 38vw;
    min-width: 0;
    min-height: 0;
    max-height: 320px;
  }
  .gallery-thumbs {
    flex-direction: row;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    max-height: unset;
    max-width: 98vw;
    overflow-x: auto;
    overflow-y: unset;
    padding-right: 0;
  }
  .thumb {
    width: 38px;
    height: 28px;
  }
}
/* Projekte Kategorien */
.projects-categories {
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  min-height: 100vh;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Elegante linke Sidebar */
.projects-sidebar {
  width: 220px;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.projects-sidebar h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #e9ecef;
}

.sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.sidebar-category {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-category:hover {
  background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
  border-color: #2e5d3b;
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(46, 93, 59, 0.2);
}

.sidebar-category.active {
  background: linear-gradient(135deg, #2e5d3b, #1b3a23);
  color: #ffffff;
  border-color: #1b3a23;
  box-shadow: 0 8px 25px rgba(46, 93, 59, 0.3);
}

.sidebar-category i {
  font-size: 1rem;
  width: 16px;
  text-align: center;
}

.sidebar-category span {
  font-weight: 500;
  font-size: 0.85rem;
}

.sidebar-info {
  background: linear-gradient(135deg, #e8f5e8, #f1f8e9);
  border-radius: 10px;
  padding: 1.2rem;
  border-left: 4px solid #4caf50;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.sidebar-info p {
  color: #2e7d32;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}

.sidebar-info::after {
  content: '→';
  color: #1b3a23;
  font-size: 1.2rem;
  font-weight: bold;
  animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.8;
  }
  50% {
    transform: translateX(3px);
    opacity: 1;
  }
}

/* Hauptbereich der Projekte */
.projects-main {
  flex: 1;
}

.projects-main h2 {
  color: #2c3e50;
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1.2rem;
  text-align: center;
  letter-spacing: 2px;
}

.projects-intro {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.projects-intro p {
  color: #5a6c7d;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
  gap: 1.8rem;
}

.project-category {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  display: flex;
  flex-direction: row;
  min-height: 220px;
  max-height: 260px;
}

.project-category.focused {
  transform: scale(1.02);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(46, 93, 59, 0.3);
}

.project-category.blurred {
  opacity: 0.3;
  transform: scale(0.98);
  filter: grayscale(0.3);
  pointer-events: none;
}

.project-category.blurred:hover {
  transform: scale(0.98);
  opacity: 0.4;
}

.project-category.focused:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2), 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 93, 59, 0.1), rgba(27, 58, 35, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.project-category:hover::before {
  opacity: 1;
}

.project-category:hover {
  transform: translateY(-10px) scale(1.02);
}

.project-category:active {
  transform: translateY(-5px) scale(1.01);
}

.category-image {
  position: relative;
  width: 40%;
  height: auto;
  min-height: 220px;
  max-height: 260px;
  overflow: hidden;
}

.category-image img {
  image-rendering: auto;
  filter: none;
  -webkit-filter: none;
  -ms-interpolation-mode: bicubic;
  /* Für Retina/HiDPI: */
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  background: #f8f8f8;
}

.project-category:hover .category-image img {
  transform: scale(1.05);
}

/* Sanfte Bildübergänge für automatischen Wechsel */
.category-image img.fade-out {
  opacity: 0;
}

.category-image img.fade-in {
  opacity: 1;
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 93, 59, 0.9), rgba(27, 58, 35, 0.9));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #ffffff;
}

.project-category:hover .category-overlay {
  opacity: 1;
}

.category-overlay i {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.click-hint {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.category-content {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-content h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.category-content p {
  color: #5a6c7d;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-weight: 400;
}

.category-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.category-features span {
  background: linear-gradient(135deg, #2e5d3b, #1b3a23);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(46, 93, 59, 0.2);
}

/* Responsive Design für Projekte */
@media (max-width: 1400px) {
  .projects-container {
    max-width: 1000px;
    gap: 1.5rem;
  }
  
  .projects-sidebar {
    width: 200px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  }
}

@media (max-width: 1200px) {
  .projects-container {
    max-width: 900px;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .projects-sidebar {
    width: 100%;
    position: static;
    order: -1;
  }
  
  .projects-main {
    width: 100%;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  }
  
  .project-category {
    flex-direction: row;
    min-height: 200px;
    max-height: 240px;
  }
  
  .category-image {
    width: 40%;
    min-height: 200px;
    max-height: 240px;
  }
  
  .category-content {
    width: 60%;
    padding: 1.2rem;
  }
}

@media (max-width: 768px) {
  .projects-categories {
    padding: 2rem 0;
  }
  
  .projects-container {
    padding: 0 1rem;
  }
  
  .projects-main h2 {
    font-size: 2.5rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .category-image {
    height: 200px;
  }
  
  .category-content {
    padding: 1.5rem;
  }
  
  .category-content h3 {
    font-size: 1.5rem;
  }
  
  .sidebar-category {
    padding: 0.8rem 1rem;
  }
  
  .sidebar-category span {
    font-size: 0.9rem;
  }
}

/* Kontaktseite */
.contact-modern {
  margin-bottom: 4rem;
}

.contact-modern h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-align: center;
  color: #2c3e50;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2e5d3b, #1b3a23);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: #ffffff;
  font-size: 1.5rem;
}

.contact-card h3 {
  color: #2c3e50;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.contact-card p {
  color: #5a6c7d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.contact-card a {
  color: #2e5d3b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #1b3a23;
}

.contact-cta {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 20px;
  padding: 2.5rem;
  border-left: 4px solid #2e5d3b;
}

.contact-cta h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-cta p {
  color: #5a6c7d;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.contact-btn.primary {
  background: linear-gradient(135deg, #2e5d3b, #1b3a23);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(46, 93, 59, 0.3);
}

.contact-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 93, 59, 0.4);
}

.contact-btn.secondary {
  background: #ffffff;
  color: #2e5d3b;
  border-color: #2e5d3b;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-btn.secondary:hover {
  background: #2e5d3b;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 93, 59, 0.3);
}

/* Impressum */
.impressum-modern {
  margin-bottom: 4rem;
}

.impressum-modern h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-align: center;
  color: #2c3e50;
}

.impressum-content {
  max-width: 900px;
  margin: 0 auto;
}

.impressum-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.impressum-section h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #e9ecef;
}

.impressum-info p {
  color: #5a6c7d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.impressum-info p:last-child {
  margin-bottom: 0;
}

.impressum-info a {
  color: #2e5d3b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.impressum-info a:hover {
  color: #1b3a23;
  text-decoration: underline;
}

/* Responsive Design für Kontakt und Impressum */
@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .contact-buttons {
    justify-content: center;
  }
  
  .impressum-section {
    padding: 1.5rem;
  }
}

@media (max-width: 700px) {
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .contact-cta {
    padding: 2rem;
  }
  
  .contact-buttons {
    flex-direction: column;
  }
  
  .contact-btn {
    justify-content: center;
  }
  
  .impressum-section {
    padding: 1.2rem;
  }
  
  .impressum-section h3 {
    font-size: 1.2rem;
  }
}

/* Highlights-Unterkategorien */
.highlights-subcategories {
    padding: 0.8rem;
}

.highlights-subcategories h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-align: center;
    letter-spacing: 0.3px;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.subcategory-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.subcategory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1), rgba(46, 93, 59, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.subcategory-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.subcategory-card:hover::before {
    opacity: 1;
}

.subcategory-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4a9eff, #2e5d3b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem auto;
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.subcategory-card:hover .subcategory-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
}

.subcategory-card h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 2;
}

.subcategory-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    font-weight: 400;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.subcategory-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    display: inline-block;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .subcategories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .subcategory-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .sidebar-category {
        padding: 0.8rem 1rem;
    }
    
    .sidebar-category span {
        font-size: 0.9rem;
    }
}

/* Galerie-Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    margin: 7vh auto;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.modal-content h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 300;
    margin: 0 0 1.5rem 0;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-container {
    display: flex;
    flex: 1;
    gap: 1.5rem;
    min-height: 0;
}

.gallery-sidebar {
    width: 200px;
    flex-shrink: 0;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 400px;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-btn:hover {
    background: rgba(74, 158, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.nav-btn.prev {
    left: 1rem;
}

.nav-btn.next {
    right: 1rem;
}

#image-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
}

/* Thumbnails */
.thumbnail {
    width: 100%;
    height: 80px;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
    border-color: #4a9eff;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.thumbnail.active {
    border-color: #4a9eff;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.5);
}

/* Image Container und Zoom Controls */
.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: imageFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-in;
}

.zoom-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.zoom-btn:hover {
    background: linear-gradient(145deg, rgba(74, 158, 255, 0.9), rgba(74, 158, 255, 0.7));
    transform: scale(1.1);
    box-shadow: 
        0 6px 20px rgba(74, 158, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-btn.zoom-reset {
    font-size: 1rem;
}

/* Responsive Design für Zoom Controls */
@media (max-width: 768px) {
    .zoom-controls {
        top: 0.5rem;
        right: 0.5rem;
        gap: 0.3rem;
    }
    
    .zoom-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .zoom-btn.zoom-reset {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .zoom-controls {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        top: auto;
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Responsive Design für Galerie */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 90vh;
        margin: 5vh auto;
        padding: 1rem;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .gallery-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-sidebar {
        width: 100%;
        height: 120px;
        overflow-x: auto;
        overflow-y: hidden;
        display: flex;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .gallery-sidebar > div {
        display: flex;
        gap: 0.5rem;
    }
    
    .thumbnail {
        width: 80px;
        height: 60px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .gallery-main {
        min-height: 300px;
    }
} 