/* -----------------------------------------------------------
   1) Lokale Schrift-Definitionen (Montserrat & Mokoto)
----------------------------------------------------------- */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.woff2') format('woff2'),
       url('fonts/Montserrat-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Bold.woff2') format('woff2'),
       url('fonts/Montserrat-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Mokoto';
  src: url('fonts/Mokoto-Regular.woff2') format('woff2'),
       url('fonts/Mokoto-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* CSS-Variablen für Wiederverwendbarkeit */
:root {
  --primary-color: #44FF00;
  --secondary-color: #c1ff72;
  --background-color: #2D2D2D;
  --text-color: #E0E0E0;
  --secondary-text-color: #CCCCCC;
  --hover-color: #44FF00;
  --section-padding: 60px 0;
}

/* Grundlegende Schriftart und Farben */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 400;
}

p, li {
  color: var(--text-color);
}

/* Navigation / Header */
.main-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  background: none;
}
.main-header nav {
  background-color: rgba(45, 45, 45, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: inline-block;
}
.nav-link {
  color: var(--text-color) !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  font-size: 1.2rem;
  padding: 0 15px;
}
.nav-link:hover {
  color: var(--hover-color) !important;
  transition: color 0.3s ease-in-out;
}
.nav-divider {
  color: #CCCCCC;
  margin: 0 5px;
}

/* Highlight Klasse für grüne Texte */
.highlight-green {
  color: var(--primary-color);
}

/* Gemeinsame Headline-Stile */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }

/* Spezifische Section Title: Mokoto, zentriert, neon */
.section-title {
  font-family: 'Mokoto', 'Montserrat', sans-serif;
  font-weight: normal;
  font-size: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
}

/* Hero Section */
.hero-section {
  background: url('img/fc-background-01.webp') no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  padding: var(--section-padding);
  position: relative;
}
.portrait-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  z-index: 1000;
  position: relative;
  top: 4mm;
}
.logo-text-wrapper {
  background-color: rgba(45, 45, 45, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}
.logo-placeholder {
  width: 150px;
  height: auto;
  margin-right: 20px;
}
.text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-text {
  font-size: 1.5rem;
  color: var(--secondary-text-color);
  font-weight: 300;
  line-height: 1.6;
}
.btn-outline-green {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 10px 25px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.3s, color 0.3s;
  margin-top: 20px;
  border-radius: 5px;
}
.btn-outline-green:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}
.hero-section .row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}
.hero-section .col-md-6 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: left;
  position: relative;
  z-index: 10;
}

/* Portfolio Section */
.portfolio-section {
  padding: 120px 0 60px 0; 
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1A4347 30%, rgba(68, 255, 0, 0.15) 100%);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 450px;
  height: 100%;
  position: relative;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(68, 255, 0, 0.3);
  border: 1px solid var(--primary-color); 
}
.card-icon-bg {
  width: 100px;
  height: 100px;
  background-color: rgba(68, 255, 0, 0.08);
  border: 1px solid rgba(68, 255, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon-bg:hover {
  background-color: rgba(68, 255, 0, 0.15);
}
.portfolio-icon {
  font-size: 3rem;
  color: var(--primary-color);
  transition: transform 0.3s;
}
.card-icon-bg:hover .portfolio-icon {
  transform: scale(1.1);
}
.portfolio-card h3 {
  color: var(--secondary-text-color);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0 5px var(--primary-color);
  text-align: center;
  margin-top: 10px;
}

/* Modal Banner */
.modal-banner {
  width: 100%;
  height: 180px;
  object-fit: cover; 
  border-radius: 8px; 
}
.banner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Über Mich Section */
.about-section {
  background: url('img/fc-background-02.webp') no-repeat center center;
  background-size: cover;
  color: var(--text-color);
  padding: var(--section-padding);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.about-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Überlagerung für bessere Lesbarkeit */
  z-index: 0;
}
.about-section .container {
  position: relative;
  z-index: 1;
}
.about-content {
  background-color: var(--background-color); /* Dunkler Hintergrund */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.about-content h3 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.about-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 15px;
}
.about-content ul {
  list-style: none;
  padding-left: 0;
}
.about-content ul li {
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  position: relative;
  padding-left: 25px;
}
.about-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
}

/* Akkordeon-Stile */
.about-accordion .accordion-item {
  border: none;
  background-color: var(--background-color);
}
.about-accordion-button {
  background-color: var(--background-color);
  color: var(--primary-color);
  transition: background-color 0.3s, color 0.3s;
  font-family: 'Mokoto', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  border: none;
  box-shadow: none;
}
.about-accordion-button:hover,
.about-accordion-button:not(.collapsed) {
  background-color: var(--background-color);
  color: var(--primary-color);
}
.about-accordion-button::after {
  filter: brightness(0) invert(1);
}
.about-accordion .accordion-collapse .accordion-body {
  background-color: var(--background-color);
  color: var(--secondary-text-color);
  padding: 20px 25px;
  border-radius: 0 0 15px 15px;
  font-size: 1.1rem;
  border-top: none;
}
.about-accordion .accordion-button,
.about-accordion .accordion-body {
  border: none;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .intro-text {
    font-size: 1rem;
    max-width: 90%;
  }
  
  .partner-category h3 {
    font-size: 1.3rem;
  }
  
  .partner-category p {
    font-size: 1rem;
  }
  
  .green-divider {
    width: 80%;
  }
  
  .btn-lg {
    padding: 8px 16px;
    font-size: 1rem;
  }

  .hero-section {
    padding: 40px 0;
  }
  .hero-text {
    font-size: 1.2rem;
  }
  .portfolio-card {
    min-height: 400px;
  }
  .about-subtitle {
    font-size: 1.5rem;
  }
  .about-content {
    padding: 20px;
  }
  .about-content p,
  .about-content ul li {
    font-size: 1rem;
  }
  .about-accordion-button {
    font-size: 1.2rem;
  }
}

/* Kooperationspartner Bereich spezifische Stile */
.kooperationspartner-section {
  background-color: var(--background-color);
  color: var(--text-color);
  position: relative;
  padding: 60px 0;
}
.partner-categories {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.partner-category {
  padding: 10px 0;
  max-width: 800px;
}
.partner-category i {
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
}
.partner-category i:hover {
  transform: scale(1.2);
  color: var(--secondary-color);
}
.partner-category h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}
.partner-category p {
  font-size: 1.2rem;
  color: var(--secondary-text-color);
  margin-bottom: 0;
  line-height: 1.5;
}
.green-divider {
  border: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
  width: 60%;
  margin: 15px 0;
  border-radius: 2px;
}

/* Kontaktbereich */
#contact {
  background-color: #000;
}
#contact .lead {
  font-size: 1.5rem;
  color: var(--secondary-text-color);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-outer-wrapper, .contact-text-wrapper {
  background-color: rgba(45, 45, 45, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.contact-text-wrapper .highlight-green {
  color: var(--primary-color);
}
.btn-outline-light {
  transition: background-color 0.3s, color 0.3s;
}
.btn-outline-light:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}
.btn-contact-helpdesk {
  min-width: 150px;
  text-align: center;
}

/* Footer */
footer {
  background: url('img/fc-background-02.webp') no-repeat center center;
  background-size: cover;
  color: var(--secondary-text-color);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 300;
  padding: 20px 0;
  text-align: center;
}
footer p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 300;
}
footer a {
  color: var(--secondary-text-color);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease-in-out;
}
footer a:hover {
  color: var(--primary-color);
}
.footer-links {
  margin: 10px 0;
  font-size: 1rem;
}
.footer-links a {
  margin: 0 10px;
  color: var(--secondary-text-color);
}
.footer-links a:hover {
  color: var(--primary-color);
}
.design-credit {
  margin-top: 10px;
  font-size: 1rem;
}
.design-credit a {
  color: var(--secondary-text-color);
}
.design-credit a:hover {
  color: var(--primary-color);
}

/* Modals */
.modal-dialog {
  max-width: 800px;
  margin: 30px auto;
}
.modal-content {
  background-color: var(--background-color);
  color: var(--secondary-text-color);
  border-radius: 10px;
  padding: 20px;
  max-height: 80vh;
  overflow-y: hidden;
}
.modal-header {
  border-bottom: 1px solid #444;
}
.modal-header .btn-close {
  filter: brightness(0) invert(1);
}
.modal-body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--secondary-text-color);
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 20px;
}
.modal-body h4 {
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.modal-footer {
  border-top: 1px solid #444;
  text-align: right;
}
.contact-link {
  color: var(--secondary-text-color);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease-in-out;
  margin-left: 10px;
}
.contact-link:hover {
  color: var(--primary-color);
}
.modal-body i.bi {
  font-size: 1.5rem;
  vertical-align: middle;
  margin-right: 10px;
}
.modal-body .btn-outline-light {
  margin-top: 20px;
  border: 1px solid var(--secondary-text-color);
  color: var(--secondary-text-color);
  padding: 10px 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.3s, color 0.3s;
}
.modal-body .btn-outline-light:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
}

/* Buttons im Kontaktbereich */
#contact .btn-outline-light {
  width: 100%;
  margin-top: 10px;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .about-subtitle {
    font-size: 1.5rem;
  }
  
  .about-content {
    padding: 20px;
  }
  
  .about-content p,
  .about-content ul li {
    font-size: 1rem;
  }
  
  .about-accordion-button {
    font-size: 1.2rem;
  }
  
  .btn-lg {
    padding: 8px 16px;
    font-size: 1rem;
  }
  
  .social-icons img.social-icon {
    width: 36px;
    height: 36px;
  }
}

/* Social Media Icons */
.social-icons {
  margin-top: 20px;
}
.social-icon-wrapper {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.social-icon-wrapper:hover {
  transform: scale(1.2);
  opacity: 0.8;
}
.social-icons img.social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}
.social-icons img.social-icon:hover {
  transform: rotate(360deg);
}

/* Fade-In Animation */
.about-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.about-section.visible {
  opacity: 1;
  transform: translateY(0);
}