/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../Fonts/poppins-v23-latin/poppins-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  src: url('../Fonts/poppins-v23-latin/poppins-v23-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../Fonts/poppins-v23-latin/poppins-v23-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 600;
  src: url('../Fonts/poppins-v23-latin/poppins-v23-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../Fonts/poppins-v23-latin/poppins-v23-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 700;
  src: url('../Fonts/poppins-v23-latin/poppins-v23-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --bs-primary-rgb: 0, 74, 153; /* Angepasstes seriöses Blau */
  --bs-secondary-rgb: 108, 117, 125;
  --bs-primary-dark: #003a7a;
  /* Geänderte Schriftart zu Poppins */
  --bs-body-font-family: 'Poppins', sans-serif;
  --navbar-height-initial: 90px; /* Höhe der Navbar am Anfang */
  --navbar-height-scrolled: 70px; /* Höhe der Navbar nach Scrollen */
  --bs-offcanvas-width: 250px; /* Breite des Offcanvas Menüs */

}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--bs-body-font-family);
  padding-top: var(--navbar-height-initial); /* Abstand oben an Navbar angepasst */
}

div {
  font-weight: lighter;
}

/* --- Navbar Styling --- */
.navbar {
  min-height: var(--navbar-height-initial);
  padding-top: 0.8rem; /* Mehr Padding oben/unten initial */
  padding-bottom: 0.8rem;
  background-color: rgba(255, 255, 255, 0.95); /* Etwas weniger Transparenz */
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: min-height 0.3s ease-in-out, padding 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.navbar-brand img {
  height: 45px; /* Höhe des Logos initial */
  transition: height 0.3s ease-in-out;
}

.navbar.scrolled {
  min-height: var(--navbar-height-scrolled);
  padding-top: 0.4rem; /* Reduziertes Padding */
  padding-bottom: 0.4rem;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 6px rgba(0,0,0,0.08);
}

.navbar.scrolled .navbar-brand img {
  height: 35px; /* Kleinere Logo-Höhe beim Scrollen */
}

/* Navigationspunkte Styling & Hover */
.navbar .nav-link {
  color: #495057; /* Etwas dunklere Schrift */
  font-weight: 600;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color 0.2s ease-in-out;
}

.navbar .nav-link:hover,
.navbar .nav-link.active { /* Aktiven Link hervorheben */
  color: var(--bs-primary) !important; /* Wichtig, um Bootstrap-Standard zu überschreiben */
}

/* Offcanvas Menü (Mobile) Styling */
.navbar-toggler, .navbar-toggler:focus {
  border: none;
  box-shadow: noner;
}
.offcanvas-header {
  border-bottom: 1px solid #dee2e6;
}
.offcanvas-body .navbar-nav .nav-link {
  padding: 0.8rem 1rem; /* Mehr Platz im mobilen Menü */
  font-size: 16px;
}
/*.offcanvas-body .navbar-nav .nav-link:hover {*/
/*  background-color: rgba(0, 74, 153, 0.05); !* Leichter Hover-Hintergrund *!*/
/*}*/


/* --- Hero Banner --- */
.hero-banner {
  min-height: calc(90vh - var(--navbar-height-initial)); /* Höhe anpassen, Navbar-Höhe berücksichtigen */
  /* Ersetzt mit placehold.co */
  background-size: cover !important;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
}

.hero-banner::before { /* Dunkleres Overlay für besseren Kontrast */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-banner .container { position: relative; z-index: 2; }
.hero-banner h1 { font-size: 2rem; font-weight: 700; }
.hero-banner p { font-size: 1rem; }

@media (min-width: 768px) {
  .hero-banner h1 { font-size: 3rem; }
  .hero-banner p { font-size: 1.2rem; }
}

/* --- Allgemeine Sektionen --- */
section { padding: 70px 0; overflow-x: hidden; } /* Etwas weniger Padding */
section:nth-of-type(odd) { background-color: #f8f9fa; } /* Leichter Wechselhintergrund */
.hero-banner + section { background-color: #fff; } /* Erste Sektion nach Hero immer weiß */
section h2 { text-align: center; margin-bottom: 40px; font-weight: 700; color: var(--bs-primary); }
section h3 { font-weight: 600; margin-bottom: 20px; }

/* --- Über mich --- */
.about-me img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); } /* Leicht eckiger, moderner */

/* --- Leistungen & Zertifizierungen Cards --- */
.card {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-8px); /* Subtilerer Hover */
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}
.services .card i { font-size: 2.5rem; color: var(--bs-primary); }
.services .card h5, .qualifications .card h5 { /* Titel Hover */
  transition: color 0.3s ease;
}
.services .card:hover h5, .qualifications .card:hover h5 {
  color: var(--bs-primary);
}

/* Ersetzt mit placehold.co */
.qualifications .card img { max-height: 55px; width: auto; margin: 15px auto; display: block; }

/* --- Text-Bild Sektion --- */
.text-image ul { list-style: none; padding-left: 0; }
.text-image ul li { padding-left: 1.5em; position: relative; margin-bottom: 0.5em; }
/* Beachte: Dies verwendet ein Bootstrap Icon als Listen-Bullet. Funktioniert, solange Icons geladen sind. */
.text-image ul li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--bs-primary); }
.text-image img { border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- Kontaktformular --- */
#kontakt form { max-width: 700px; margin: 0 auto; background: #fff; padding: 30px 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }

/* --- Buttons Hover --- */
.btn {
  padding: 0.75rem 1.5rem; /* Etwas größere Buttons */
  transition: all 0.2s ease-out;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 36px;
  font-size: 16px;
}
.btn:hover {
  filter: brightness(95%); /* Leichte Abdunklung/Aufhellung */
  transform: translateY(-2px); /* Leichter Hub */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* Stärkerer Schatten */
}

/* --- Footer --- */
footer { background-color: #343a40; color: #adb5bd; padding: 50px 0 20px 0; }
footer h5 { color: #fff; margin-bottom: 20px; font-weight: 600; }
footer a { color: #adb5bd; text-decoration: none; transition: color 0.2s ease; }
footer a:hover { color: #fff; text-decoration: none; } /* Kein Unterstrich mehr */
footer .list-unstyled li { margin-bottom: 10px; }
footer .social-icons a { color: #adb5bd; font-size: 1.5rem; margin-right: 15px; transition: color 0.2s ease, transform 0.2s ease; }
footer .social-icons a:hover { color: var(--bs-primary); transform: scale(1.1); }
footer .footer-bottom { border-top: 1px solid #495057; padding-top: 20px; margin-top: 30px; font-size: 0.9em; }


/* --- NEU: Kontakt Banner Styling --- */
.kontakt-banner {
  background-color: var(--bs-primary-dark) !important; /* Hauptfarbe als Hintergrund */
  color: #fff; /* Heller Text für Kontrast */
  padding: 40px 0; /* Vertikales Padding */
}
.kontakt-banner h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 25px;
}
.kontakt-banner p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}
.kontakt-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.kontakt-banner a:hover {
  opacity: 0.8; /* Leichter Hover-Effekt */
}
.kontakt-banner i {
  margin-right: 8px; /* Abstand Icon zu Text */
  font-size: 1.2rem; /* Icon Größe */
}

/* --- NEU: Sticky Contact Icons Styling --- */
#sticky-contact-icons {
  position: fixed;
  bottom: 30px; /* Abstand vom unteren Rand */
  right: 30px;  /* Abstand vom rechten Rand */
  z-index: 1050; /* Über anderen Elementen */
  display: flex;
  flex-direction: column; /* Icons untereinander */
  gap: 10px; /* Abstand zwischen den Icons */
}
#sticky-contact-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;  /* Breite des Buttons */
  height: 50px; /* Höhe des Buttons */
  background-color: var(--bs-primary-dark); /* Hauptfarbe */
  color: #fff; /* Icon Farbe */
  border-radius: 50%; /* Runder Button */
  font-size: 1.5rem; /* Icon Größe */
  text-decoration: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
#sticky-contact-icons a:hover {
  background-color: var(--bs-primary); /* Dunklere Farbe beim Hover */
  transform: scale(1.1); /* Leichte Vergrößerung */
}

@media (max-width: 576px) {
  #sticky-contact-icons { display: none; }
  .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 90%;
  }
}
