@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;700&display=swap');

/* Default background image styling for larger screens (desktop and tablets) */
.image-container {
  background-image: url("assets/background_edit.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 150px;
  color: rgb(0, 0, 0);
  overflow: hidden:
}

/* For smaller screens (portrait mobile devices) */
@media (max-width: 768px) {
  .image-container {
      background-size: cover;
      background-position: center center;
      background-attachment: scroll;
      height: 100vh; /* Viewport-Höhe */
      width: 100vw; /* Viewport-Breite */
  }
}

/* Sehr kleine Geräte (bis 480px) */
@media (max-width: 480px) {
  .image-container {
      background-size: cover;
      background-position: center top;
      background-attachment: scroll;
      height: 100vh; /* Viewport-Höhe */
      width: 100vw; /* Viewport-Breite */
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

/* Button hover effect */
.myButton {
  background-color: white;
  border-radius: 8px;
  display: inline-block;
  cursor: pointer;
  color: black;
  font-family: 'montserrat', sans-serif;
  font-size: 16px;
  padding: 13px 32px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.myButton:hover {
  background-color: #253241; /* Change to desired hover color */
  color: white;
}

.contact-section {
  background-color: #f9f9f9;
  padding: 50px 150px;
  color: black;
  text-align: left;
  border-top: 2px solid #ddd;
}

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #233a53;
  font-weight: 600;
}

.contact-section p {
  font-size: 16px;
  margin-bottom: 40px;
  color: #555;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: #555;
  text-align: left;
}


.form-input,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'montserrat', sans-serif;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #253241;
  outline: none;
  box-shadow: 0 0 5px rgba(37, 50, 65, 0.3);
}

.form-textarea {
  resize: vertical;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: 'montserrat', sans-serif;
  box-sizing: border-box;
  text-align: left; /* Eingabetext links ausrichten */
}

.submit-button {
  background-color: #253241;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #a5a5a5;
}


body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'montserrat', sans-serif;
  overflow-x: hidden;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 50px 0 20px 150px;
  z-index: 1;
}

.contact-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #373b41; /* Dunkler Hintergrund */
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-button:hover {
    background-color: white;
    color: #253241;
    border: 1px solid #253241; /* Optionaler Rand bei Hover */
}

@media (max-width: 768px) {
    .contact-button {
        top: 10px; /* Weniger Abstand auf kleinen Bildschirmen */
        right: 10px;
        padding: 8px 16px;
        font-size: 12px;
    }
}

footer {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between; /* Abstand zwischen linken und rechten Bereichen */
  align-items: center; /* Vertikal zentrieren */
  background-color: #333333;
  padding: 20px 50px;
  color: white;
}

.footer-left {
  color: white;
  flex: 1; 
  text-align: left; /* Linksbündige Ausrichtung des Inhalts */
}

.footer-center {
  flex: 1; /* Mittlerer Bereich für Links */
  display: flex;
  justify-content: center; /* Zentriert die Links horizontal */
  align-items: center; /* Zentriert die Links vertikal */
  text-align: center;
  font-size: 14px;
}

.footer-center .footer-links {
  display: flex;
  gap: 20px; /* Abstand zwischen Links */
  text-align: center;
  text-decoration: none;
  color: white;
}

.footer-center .footer-links p {
  display: flex; /* Macht den Inhalt des <p> zu einem flexiblen Container */
  justify-content: center; /* Zentriert die Links horizontal */
  align-items: center; /* Zentriert die Links vertikal */
  margin: 0; /* Entfernt Standard-Margins des <p>-Tags */
  white-space: nowrap; /* Verhindert Zeilenumbrüche */
}

.footer-center .footer-links a {
  color: white; /* Links in Weiß anzeigen */
  text-decoration: none; /* Unterstreichung entfernen */
  margin: 0 5px; /* Abstand zwischen den Links */
  transition: color 0.3s ease; /* Sanfter Übergang beim Hover */
}

.footer-center .footer-links a:hover {
  color: #5c7cac;
}

.footer-right {
  color: white;
  flex: 1; 
  text-align: right; /* Rechtsbündige Ausrichtung des Inhalts */
  text-decoration: none;
  line-height: 1.2;
}

.footer-right a {
  color: white; /* Schriftfarbe für Links auf Weiß setzen */
  text-decoration: none; /* Unterstreichung entfernen */
  transition: color 0.3s ease; /* Sanfter Übergang beim Hover */
  line-height: 1.2;
}

.footer-right p {
  margin: 2px 0; /* Weniger Abstand zwischen Adresszeilen */
}

.footer-right a:hover {
  color: #5c7cac; /* Helleres Grau beim Hover */
}

/* Für breite Bildschirme */
@media (max-width: 1000px) {
  footer {
    flex-direction: column; /* Stapelt Bereiche vertikal auf kleineren Bildschirmen */
    align-items: center;
    text-align: center;
    overflow-x: hidden; /* Entfernt horizontales Scrollen */
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center; /* Zentriert den Text */
    margin-bottom: 20px; /* Abstand zwischen den Bereichen */
    display: block;
  }
  .footer-center .footer-links {
    gap: 10px; /* Abstand zwischen den Links */
  }

}
/* Footer-Center für Mobile */
@media (max-width: 768px) {
  .footer-center .footer-links {
      text-align: center; /* Zentriert die Links */
      display: block; /* Verlinkungen untereinander anzeigen */
      gap: 0; /* Kein horizontaler Abstand */
      line-height: 1.0;
  }

  .footer-center .footer-links a {
      display: block; /* Jeder Link nimmt eine eigene Zeile ein */
      margin: 10px 0; /* Abstand zwischen den Links */
  }
  .footer-center .footer-links p {
    display: block; /* Blocklayout für Inhalte im Footer */
    white-space: normal; /* Zeilenumbrüche bei langen Links erlauben */
    margin: 10px 0; /* Abstand zwischen den Absätzen */
    display: none; /* Verstecke das "|" Zeichen in der mobilen Ansicht */
}

}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 150px;
  background-color: #333;
  color: white;
}

.content-section {
  background-color: white;
  padding: 50px 150px;
  color: black;
  text-align: left;
  max-width: 3800px;
}

.content-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #233a53;
  font-weight: 600;
}

.content-section p {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
}

.section-icon {
  position: absolute; /* Fixiert das Bild innerhalb des Containers */
  top: 10px; /* Abstand vom oberen Rand */
  right: 10px; /* Abstand vom rechten Rand */
  width: 70px; /* Größe des Bildes */
  height: auto; /* Seitenverhältnis beibehalten */
  opacity: 0.5; /* Transparenz des Bildes */
  z-index: -1;
  pointer-events: none; /* Verhindert, dass das Bild interaktiv ist */
}

.content-section-imprint {
  background-color: white;
  padding: 150px 150px;
  color: black;
  text-align: left;
  max-width: 3900px;
  margin-top: 150px;
}

.content-section-imprint h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.content-section-imprint p {
  font-size: 16px;
  line-height: 1.5;
}

.content-border {
  border-bottom: 2px solid #ddd;
}

/* Erste Spalte (About SINTRO) */
.content-about {
  grid-column: span 1; /* Nimmt eine ganze Zeile ein */
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px; 
}

.content-about:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.content-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 3900px;
  margin: 0 auto;
}

.content-item {
  background-color: #f9f9f9;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 0;
}

.content-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.content-item h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #233a53;
}

.content-item p {
  font-size: 16px;
  color: #555;
}

@media (max-width: 992px) {
  .content-container {
    grid-template-columns: repeat(1, 1fr); /* 2 Spalten bei mittleren Bildschirmen */
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .content-container {
      grid-template-columns: 1fr;
  }

  .content-item {
      padding: 15px;
  }

  .content-item h2 {
      font-size: 20px;
  }

  .content-item p {
      font-size: 14px;
  }
}

.linkedin-icon {
  margin-top: 20px; 
  
}

.linkedin-icon img {
  width: 20px; /* Adjust size */
  height: 20px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.linkedin-icon:hover img {
  transform: scale(1.1); /* Slightly enlarge on hover */
  opacity: 0.8; /* Reduce opacity on hover */
}

.logo {
  height: 85px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.imprint-header {
  background-color: #333333; 
  color: white;
  text-align: center;
  padding: 20px 100px;
  width: 100vw
}

.imprint-link {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  text-decoration: underline;
}

.imprint-link:hover {
  color: #ccc; 
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 50px;
  padding-top: 50px;
  font-size: 14px;
}


.footer-content p {
  margin-block-start: 0;
  margin-block-end: 0;
}

.footer-content a {
  margin:10px 0px;
}

.footer-right {
  flex: 2; /* Text wird rechts ausgerichtet */
  text-align: right;
  font-size: 14px;
}

.footer-links {
  text-align: center;
  padding-top: 10px;
}

.logo-footer {
  height: 60px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

h1 {
  color: white;
  font-size: 42px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2; /* Verbessert den Abstand zwischen den Zeilen */
  letter-spacing: 1px; /* Fügt leichtes Letterspacing für Eleganz hinzu */
}

h2 {
  color: #233a53;
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2px; /* Fügt leichtes Letterspacing für Eleganz hinzu */
  font-weight: 600;
}

h3 {
  color: white;
  font-size: 24px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2.5px; /* Fügt leichtes Letterspacing für Eleganz hinzu */
  font-weight: 500;
}

@media (max-width: 768px) {
  h3 {
    font-size: 18px; /* Setzt die Schriftgröße auf 20px für Bildschirme bis zu 600px Breite */
  }
}


.white-text {
  color: white;
}

.myButton {
  background-color: white;
  border-radius: 8px;
  display: inline-block;
  cursor: pointer;
  color: black;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  padding: 13px 32px;
  text-decoration: none;
}

@media (max-width: 768px) {
  header {
    padding: 20px;
  }

  .content-section {
    padding: 20px;
  }

  .content-section h2 {
    font-size: 28px;
    font-weight: 600;
  }

  .content-section p {
    font-size: 16px;
  }

  .content-section-imprint {
    margin-top: 50px;
    padding: 0px 50px;
  }
  
  .content-section-imprint h2 {
    font-size: 28px;
  }
  
  .content-section-imprint p {
    font-size: 14px;
  }

  
@media (max-width: 768px) {
  header {
    padding: 20px;
  }

  .contact-section {
    padding: 20px;
  }

  .contact-section h2 {
    font-size: 22px;
  }

  .contact-section p {
    font-size: 16px;
  }

  .contact-form {
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: #1f2664;
}
  
  .imprint-header {
    background-color: #333333; 
    color: white;
    text-align: center;
    padding: 20px 50px;
  }
  

  .image-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  h2 {
    font-size: 18px;
    font-weight: 600;
  }

  .myButton {
    padding: 10px 20px;
    font-size: 16px;
  }
}


@media (max-width: 480px) {
  header {
    padding: 20px;
  }

  .content-section {
    padding: 20px;
  }

  h1 {
    font-size: 30px;
    font-weight: 600;
  }

  .content-section h2 {
    font-size: 20px;
    font-weight: 600;
  }

  .content-section p {
    font-size: 12px;
  }

  .content-section-imprint {
    margin-top: 75px;
    padding: 0px 50px;

  }

  .content-section-imprint h2 {
    font-size: 24px;
  }

  .content-section-imprint p {
    font-size: 12px;
  }

  .imprint-header {
    background-color: #333333; 
    color: white;
    text-align: center;
    padding: 20px 50px;
  }
  
  .imprint-header h1 {
    font-size: 36px;
    margin: 0;
    padding: 0;
  }
  
  .image-container {
    padding-left: 20px;
    padding-right: 10px;
  }

  footer {
    padding-left: 20px;
    padding-right: 10px;
  }

  .myButton {
    padding: 8px 16px;
    font-size: 12px;
  }
}

.header-image {
  background-image: url('assets/header.jpg');
  background-size: cover;
  background-position: center;
  height: 200px;
  width: 100%;
}

/* Header */
.spy3_header {
  text-align: center;
  padding: 20px 150px;
  width: 100vw;
  background-image: url('assets/header.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
  z-index: 1000; /* Sicherstellen, dass er vor dem Inhalt angezeigt wird */
  top: 0;
}

/* Main Content */
.spy3_content-section {
  flex-grow: 1;
  display: flex;
  width: 100%;
  height: auto;
  overflow: hidden; /* Kein Scrollen innerhalb des Containers */
}

/* Iframe (eingebettete App) */
.spy3_content-section iframe {
  flex-grow: 1;
  width: 100vw; /* Nimmt die gesamte Breite ein */
  height: calc(100vh - 200px); /* Höhe passt sich dynamisch an */
  border: none; /* Entfernt den Rahmen */
  display: block;
}

/* Footer */
.spy3_footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 0px;
  font-family: 'Montserrat', sans-serif;
  position: bottom; /* Footer ist nicht fixiert und scrollt mit */
  bottom: 0;
  width: 100%;
  z-index: 5; /* Bleibt hinter dem Header */
  margin-top: auto
}


.contact-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

/* Override defaults when the form sits inside the split layout */
.contact-layout .contact-form {
  flex: 1;
  max-width: none;
  margin: 0;
}

/* Right side: office info + map */
.contact-map {
  flex: 1;
  font-size: 16px;
  line-height: 1.5;
}

.contact-map h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.contact-map a {
  color: #253241;
  text-decoration: none;
}

.contact-map a:hover {
  text-decoration: underline;
}

/* Map card styling */
.map-container {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* "Open in Google Maps" link */
.map-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
}

/* Mobile: stack form and map vertically */
@media (max-width: 768px) {
  .contact-layout {
    flex-direction: column;
  }

  .map-container iframe {
    height: 300px;
  }
}