:root{
--accent:#0066cc;
--accent-dark:#008fcf;
--white:#ffffff;
--dark:#071226;
--radius:12px;
font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}


*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background:var(--white)}


section#start{position:relative;min-height:100vh;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;padding:0}
.hero-media{position:absolute;inset:0;overflow:hidden;z-index:-1}
.hero-media img{width:100%;height:100%;object-fit:cover;filter:none;}
.hero-overlay{position:absolute;inset:0;background:none}


.wrap{position:relative;max-width:1200px;width:100%;margin:0 auto;display:grid;grid-template-columns:260px 1fr;gap:48px;align-items:end;padding-bottom:10vh}


.services{color:var(--white);display:flex;flex-direction:column;gap:12px;opacity:0;transform:translateX(-60px);animation:slideInLeft 1s ease forwards}
.services .title{font-size:0.85rem;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,0.95)}
.services ul{list-style:none;margin-top:6px;padding:0}
.services li{font-size:1rem;padding:6px 12px;border-radius:8px;background:rgba(255,255,255,0.08);backdrop-filter:blur(4px);width:fit-content}


.hero-content{display:flex;flex-direction:column;align-items:center;opacity:0;transform:translateY(40px);animation:fadeInUp 1s ease 0.3s forwards;text-align:center;grid-column:1/3}
.hero-content h1{font-size:clamp(48px,6vw,88px);font-weight:800;line-height:1;margin-bottom:1rem;color:var(--white);text-shadow:0 6px 30px rgba(2,6,23,0.55)}
.hero-content p{max-width:600px;font-size:1.2rem;color:var(--white);opacity:0.95;margin-bottom:2rem}


.cta{display:flex;gap:16px;flex-wrap:wrap;justify-content:center}
.btn{padding:14px 36px;border-radius:20px;font-weight:700;text-decoration:none;position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;transition:all 0.4s cubic-bezier(.2,.9,.2,1)}
.btn.primary{background:linear-gradient(90deg,var(--accent),var(--accent-dark));color:var(--white);box-shadow:0 10px 30px rgba(0,31,68,0.28);border:0}
.btn.primary:hover{transform:translateY(-4px) scale(1.03);box-shadow:0 14px 36px rgba(0,31,68,0.35)}
.btn.ghost{background:transparent;border:2px solid rgba(255,255,255,0.9);color:var(--white)}
.btn.ghost:hover{background:rgba(255,255,255,0.96);color:var(--dark);transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,0.25)}


.scroll-hint{display:none}


@keyframes slideInLeft{from{opacity:0;transform:translateX(-90px)}to{opacity:1;transform:translateX(-60px)}}
@keyframes fadeInUp{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}


@media(max-width:900px){
.wrap{grid-template-columns:1fr;gap:26px;padding-bottom:5vh}
.services{display:none}
.hero-content{text-align:center;align-items:center}
.hero-content p{margin-top:1.5rem}
.btn{border-radius:28px;padding:16px 40px;font-size:1.05rem}
}
.image-at-start {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.image-at-start img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-at-start .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 0 2rem;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  margin-bottom: 1rem;

}

.hero-content p {
  max-width: 600px;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn.primary {
  background: linear-gradient(90deg,#000000,#000000);
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 36px rgba(255, 255, 255, 0.35);
}

.btn.ghost {
  background: transparent;
  border: 2px solid white;
  color: rgb(255, 255, 255);
  padding: 14px 36px;
  border-radius: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.ghost:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.96);
  color: #071226;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* Responsive Anpassungen */

/* Tablets */
@media (max-width:1024px) {
  .hero-content h1 {
    font-size: clamp(40px, 8vw, 72px);
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .btn.primary, .btn.ghost {
    padding: 12px 28px;
    font-size: 1rem;
  }
}

/* Smartphones */
@media (max-width:768px) {
  .hero-content h1 {
    font-size: clamp(34px, 10vw, 48px);
  }
  .hero-content p {
    font-size: 1rem;
    max-width: 90%;
  }
  .btn.primary, .btn.ghost {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 28px;
  }
}


.hero-content p {
  max-width: 600px;
  font-size: 1.2rem;
  margin-top: 6rem; /* noch mehr Abstand unter den Buttons */
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  color: white;
}



/* Wrapper für Text + Bild */
.content-wrapper {
  display: flex;
  align-items: flex-start;  /* vertikal oben ausrichten */
  gap: 40px;                /* Abstand zwischen Text und Bild */
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;         /* verhindert Umbruch */
}

/* Textbereich */
.content-wrapper .text {
  flex: 1;                   /* Text nimmt verfügbaren Platz ein */
  min-width: 500px;          /* Text soll nicht zu schmal werden */
}

/* Bildbereich */
.content-wrapper .image {
  flex: 0 0 400px;           /* Bild bleibt bei fester Breite */
}

.content-wrapper .image img {
  width: 100%;               /* passt sich Containerbreite an */
  height: auto;
  border-radius: 10px;       /* optional für abgerundete Ecken */
}

/* Optional: auf sehr kleinen Bildschirmen kleine Anpassung */
@media (max-width: 500px) {
  .content-wrapper {
    gap: 20px;
  }

  .content-wrapper .text {
    min-width: 300px;
  }

  .content-wrapper .image {
    flex: 0 0 200px;
  }
}
/* Abschnitt generell */ #text { padding: 60px 20px; font-family: Arial, sans-serif; max-width: 900px; /* Breite begrenzen für bessere Lesbarkeit */ margin: 0 auto; /* zentriert den gesamten Block horizontal */ } /* Überschrift h2 */ #text h2 { text-align: center; /* mittig */ font-size: 2rem; /* angenehme Größe */ line-height: 1.3; /* Zeilenabstand, damit es in 2-3 Zeilen passt */ margin-bottom: 30px; max-width: 600px; /* sorgt dafür, dass der Text nicht zu breit wird */ margin-left: auto; margin-right: auto; } /* Absatztext p */ #text p { text-align: left; /* linksbündig */ font-size: 1.1rem; /* gut lesbar */ line-height: 1.6; margin-bottom: 20px; } /* Responsive Anpassung für Handy */ @media (max-width: 768px) { #text { padding: 40px 15px; } #text h2 { font-size: 1.6rem; max-width: 90%; /* passt sich kleinen Bildschirmen an */ } #text p { font-size: 1rem; } }





/* Container für 3 Bilder nebeneinander */
.bilder-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Kacheln – keine Card-Optik */
.kachel {
  width: 30%;
}

/* Bilder halb so hoch */
.kachel img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 16; /* halb so hoch wie normal (schmaler Streifen) */
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
}

/* Überschriften */
.kachel h3 {
  font-size: 1.2rem;
  color: #003366;
  margin-bottom: 8px;
}

/* Text unter Überschrift */
.kachel p {
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
}

/* Responsive Anpassung */
@media (max-width: 900px) {
  .bilder-container {
    flex-wrap: wrap;
  }

  .kachel {
    width: 45%;
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  .kachel {
    width: 100%;
  }
}






/* Container: desktop zweispaltig, mobile einspaltig */
.wx_leistungen-grid .content-wrapper {
  display: flex;
  gap: 2rem;
  align-items: start;
  /* Desktop default: Row */
  flex-direction: row;
  flex-wrap: nowrap;
}

/* Textbereich: flexibel, nimmt verbleibenden Platz */
.content-wrapper .text {
  flex: 1 1 45%;
  min-width: 280px;
}

/* Kartenbereich: auf Desktop rechts, fixe Basisbreite (70% war in deinem CSS) */
.map-wrapper {
  flex: 0 0 45%;
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  overflow: hidden;
  min-height: 320px;
}

/* Platzhalter absolut, Fallback-Box-sizing */
.map-placeholder {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

/* Map embed füllt den Wrapper */
.map-embed,
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Hidden helper */
.hidden { display: none; }

/* Button style (benutze custom-button) */
.custom-button {
  background-color: #2563eb;
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  margin-top: 1rem;
}
.custom-button:hover { background-color: #1e40af; }

/* Mobile: untereinander, Karte unter Text */
@media (max-width: 900px) {
  .wx_leistungen-grid .content-wrapper {
    flex-direction: column;
    gap: 1.25rem;
  }

  .content-wrapper .text,
  .map-wrapper {
    flex: 1 1 100%;
    width: 100%;
  }

  .map-wrapper {
    min-height: 300px;
    order: 2; /* sicherstellen, dass Karte nach Text kommt (redundant wenn DOM ohnehin so ist) */
  }

  .content-wrapper .text { order: 1; }
}






/* =========================================
   HERO MOBILE / DESKTOP OPTIMIERUNG
   ========================================= */

/* --- Desktop (mehr Höhe, großzügiger Look) --- */
@media (min-width: 1025px) {
  .image-at-start,
  section#start {
    height: 115vh; /* mehr Höhe */
  }

  .hero-content {
    margin-top: 4vh; /* leicht nach oben geschoben */
  }

  .hero-content h2 {
    font-size: clamp(72px, 8vw, 110px);
  }

  .hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
  }
}

/* --- Smartphones (mehr Platz, größere Schrift, Buttons sichtbar) --- */
@media (max-width: 768px) {
  .image-at-start,
  section#start {
    height: 110vh; /* mehr Höhe auf Handy */
    display: flex;
    align-items: center; /* vertikal mittig */
    justify-content: center;
  }

  .hero-content {
    margin-top: 0;
    padding: 0 1.5rem;
  }

  .hero-content h2 {
    font-size: clamp(48px, 11vw, 72px); /* groß, aber nicht übergroß */
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    line-height: 1.5;
  }

  .cta {
    flex-direction: column; /* Buttons untereinander */
    gap: 12px;
    margin-top: 1.8rem;
  }

  .btn.primary,
  .btn.ghost {
    width: 90%;
    max-width: 320px;
    padding: 16px 0;
    font-size: 1.05rem;
    border-radius: 30px;
  }
}






/* =========================================
   HERO Modern Font + Button Layout
   ========================================= */

/* Import der modernen Schrift (ähnlich wie im Beispiel) */
@import url('https://fonts.googleapis.com/css2?family=Satoshi:wght@300;400;500;700&display=swap');

.hero-content h2,
.hero-content h1 {
  font-family: 'Satoshi', 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-transform: none;
}

/* Untertext feiner und heller */
.hero-content p {
  font-family: 'Satoshi', 'General Sans', sans-serif;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.6;
}

/* --- Smartphone-Styling --- */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 1.5rem;
    text-align: center;
  }

  .hero-content h2 {
    font-size: clamp(44px, 10vw, 68px);
    line-height: 1.05;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-top: 1.8rem;
  }

  /* Buttons nebeneinander, klein und klar */
  .cta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    margin-top: 2.5rem;
  }

  .btn.primary,
  .btn.ghost {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 24px;
    min-width: auto;
    white-space: nowrap;
  }
}

/* --- Desktop bleibt clean und modern --- */
@media (min-width: 1025px) {
  .hero-content h2 {
    font-size: clamp(70px, 8vw, 120px);
  }

  .cta {
    margin-top: 2.2rem;
  }
}



/* =========================================
   Überschriften-Stil wie "LEISTUNGEN"
   ========================================= */

.section-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;              /* schön fett */
  text-transform: uppercase;     /* alles Großbuchstaben */
  font-size: 2.2rem;             /* Standardgröße, kann angepasst werden */
  letter-spacing: 1px;           /* etwas Abstand zwischen Buchstaben */
  color: #ffffff;                /* Weiß */
  text-align: center;            /* mittig ausgerichtet */
  margin-bottom: 1.5rem;         /* Abstand nach unten */
}


/* =========================================
   Überschriften-Stil wie "LEISTUNGEN" (weiß, fett)
   ========================================= */

.section-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2.2rem; /* Standard Desktop */
}

/* --- Smartphone / Tablet Anpassung --- */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.8rem; /* größer auf Handy */
    line-height: 1.2;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
  }
}

/* ===================== LEISTUNGEN-HEADER ===================== */
.leistungen-header {
  max-width: 1200px;
  margin: 8rem auto 6rem;
  padding: 0 2rem;
}

.leistungen-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
}

/* Titel links */
.header-title {
  flex: 0 0 40%;
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  color: #1E73BE; /* sanftes Goldbeige wie bei Pulsenova */
  line-height: 1.3;
}

/* Text rechts */
.header-text {
  flex: 1;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #333;
  line-height: 1.8;
  max-width: 700px;
  opacity: 0.95;
}

/* Sanfte Scroll-Animation */
.leistungen-header {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease-out;
}
.leistungen-header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive: untereinander bei kleineren Bildschirmen */
@media (max-width: 768px) {
  .leistungen-header-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .header-title {
    text-align: center;
    flex: none;
    font-size: 2rem !important;
  }

  .header-text {
    text-align: center;
    font-size: 1rem !important;
  }
}









/* --- Jobbanner --- */
#job-banner {
  transition: all 0.4s ease-in-out;
}

/* Wenn ausgeblendet */
#job-banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

/* Auf Smartphones ausblenden */
@media (max-width: 768px) {
  #job-banner {
    display: none !important;
  }
}/* --- Jobbanner Animation --- */
#job-banner {
  transition: all 0.4s ease-in-out;
}

/* Wenn das Banner ausgeblendet ist */
#job-banner.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

/* Damit das Banner am Handy nicht angezeigt wird */
@media (max-width: 768px) {
  #job-banner {
    display: none !important;
  }
}






.btn.primary {
  background: #007bff;
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 20px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 31, 68, 0.28);
}

.btn.primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 36px rgba(0, 31, 68, 0.35);
}





/* HERO-Bereich: Text & Buttons ganz oben */
.wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 👈 ganz nach oben statt mittig */
  align-items: center;
  z-index: 2;
  padding: 15rem 2rem 0; /* Abstand oben (z. B. 4 rem) */
  text-align: center;
  color: white;
}

.hero-content {
  margin-top: 0; /* kein zusätzlicher Abstand */
}

.hero-content h1 {
  margin-bottom: 1.2rem;
}

.cta {
  margin-top: 0.5rem; /* Buttons nah unter der Überschrift */
}






.header-text {
  font-size: 1rem; /* Standardgröße für mobile Geräte */
  line-height: 1.5;
}

/* Nur auf größeren Bildschirmen (ab 1024px) größer anzeigen */
@media (min-width: 1024px) {
  .header-text {
    font-size: 1.4rem;
    line-height: 1.6;
  }
}







/* ===== Schrift auf der gesamten Seite größer machen ===== */

/* Grundschrift */
body,
p {
  font-size: 18px;       /* vorher vermutlich 14–16px */
  line-height: 1.6;
}

/* Überschriften global */
h1 {
  font-size: 3rem;       /* sehr groß für Hauptüberschrift */
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.6rem;
}

h4,
h5,
h6 {
  font-size: 1.2rem;
}

/* Auf dem Handy etwas kleiner, damit nichts sprengt */
@media (max-width: 768px) {
  body,
  p {
    font-size: 16px;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.4rem;
  }
}





/* Spezielle Anpassung für das Portrait von Eduard */
.mitarbeiter-bild--portrait {
  height: 420px;              /* etwas höher, damit mehr Kopf/Schultern sichtbar sind */
}

/* Kopf schön mittig, eher etwas nach unten geschoben */
.mitarbeiter-bild--portrait img {
  object-fit: cover;
  object-position: 50% 18%;   /* 2. Wert verändert Position nach oben/unten */
  transform: scale(1.0);      /* kein zusätzliches Reinzoomen, damit nichts abgeschnitten wird */
}





/* Mitarbeiterbereich – größere Darstellung */
.mitarbeiter-wrapper {
  display: flex;
  justify-content: center;
  gap: 60px; 
  flex-wrap: wrap;
  margin-top: 40px;
}

.mitarbeiter-card {
  width: 340px;               /* Größere Kartenbreite */
  text-align: center;
}

/* Größere Bilder, exakt ausgerichtet */
.mitarbeiter-bild {
  width: 100%;
  height: 460px;              /* Höhe stark vergrößert */
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.mitarbeiter-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* Zuschneiden → gleiche Bildwirkung */
  object-position: center;
  display: block;
}

.mitarbeiter-text h3 {
  margin-top: 18px;
  font-size: 1.6rem;
  font-weight: 600;
}

.mitarbeiter-text p {
  font-size: 1.05rem;
  color: #444;
}



/* Mitarbeitertitel blau einfärben */
.mitarbeiter-text p {
  color: var(--accent) !important;
  font-weight: 500;
}





/* =========================================
   HERO auf Smartphones größer machen
========================================= */
@media (max-width: 768px) {

  /* Bildbereich höher */
  .image-at-start,
  section#start {
    height: 140vh !important; /* vorher 100–110vh → jetzt viel größer */
  }

  /* Inhalt höher platzieren */
  .wrap {
    padding-top: 22vh !important; /* Text weiter nach unten / mittig */
  }

  /* Überschrift größer */
  .hero-content h1 {
    font-size: clamp(42px, 12vw, 64px) !important;
    line-height: 1.1 !important;
  }

  /* Untertitel größer & mit mehr Abstand */
  .hero-content p {
    font-size: 1.25rem !important;
    margin-top: 2.2rem !important;
    line-height: 1.6 !important;
  }

  /* Buttons größer & weiter auseinander */
  .cta {
    margin-top: 2.6rem !important;
    gap: 14px !important;
  }

  .btn.primary,
  .btn.ghost,
  .btn.about-btn {
    padding: 16px 38px !important;
    font-size: 1.05rem !important;
    border-radius: 0px !important;
  }

  /* Scrollpfeil etwas tiefer */
  .scroll-arrow {
    bottom: 40px !important;
  }
}