/* =========================================================
   BASIS / VARIABLEN
   ========================================================= */
:root {
  --container: 1200px;
  --gutter: 24px;
  --muted: #f1f5f9;
  --accent: #2563eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #1f2937;
  background-color: var(--muted);
}

.page {
  max-width: var(--container);
  margin: 0 auto;
  background: #ffffff;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

body {
  overflow-y: scroll;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
header {
  background: rgba(130, 130, 133, 0.94); /* vorher #828285 */
  border-bottom: 1px solid #e5e7eb;

  position: sticky;
  top: 0;
  z-index: 10;
}


.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.nav-toggle {
  display: none;
}

@media (max-width: 768px){
  .nav a { display: none; }        /* alle Header-Links ausblenden */
  .nav-toggle { display: inline-flex !important; }  /* Hamburger anzeigen */
}

@media (min-width: 769px) {
  .nav a {
    font-size: 18px;
  }
}

.mobile-menu.is-open { 
  display: block; 
}

/* =========================================================
   HAMBURGER BUTTON (Mobile)
   ========================================================= */
.nav-toggle{
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.15);
  border-radius: 10px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span{
  width: 22px;
  height: 2px;
  background: #ffffff;
  display: block;
  border-radius: 2px;
}


/* =========================================================
   MOBILE OVERLAY MENU (Styling)
   ========================================================= */
.mobile-menu {
  background: rgba(0, 0, 0, 0.55);
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(80vw, 320px);
  background: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: -8px 0 24px rgba(0,0,0,0.18);
}

.mobile-menu__close {
  align-self: flex-end;
  background: transparent;
  border: 0;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: #111827;
}

.mobile-menu__panel a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: #111827;
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb;
  font-size: 22px;
}


/* =========================================================
   HERO
   ========================================================= */
.hero {
  color: #ffffff;
}

/* WICHTIG:
   - Nur EIN hero-bg Block (kein Duplikat)
   - Keine Flex-Zentrierung, damit der Text auf allen Seiten gleich startet
*/
.hero-bg {
  min-height: 420px;


  background:
    linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
    url("images/hero.jpg") 75% 50% / cover no-repeat;

  /* Damit z-index sauber arbeitet, falls später Overlays dazu kommen */
  position: relative;
  z-index: 1;
}

.hero-content {
  padding: 0px 0;
  max-width: 720px;
}

.hero h1 {
  font-size: 40px;
  margin: 0 0 16px 0;
}

.hero p {
  font-size: 18px;
  margin: 0 0 32px 0;
  line-height: 1.5;
}


/* =========================================================
   BUTTONS / CTA
   ========================================================= */
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px 0;
}


/* =========================================================
   SECTIONS (Allgemein)
   ========================================================= */
.section {
  padding: 12px 0;
}

.section-muted {
  background-color: var(--muted);
}

.section p {
  font-size: 20px;
  line-height: 1.6;
}


/* =========================================================
   PROFILBOX / LISTEN
   ========================================================= */
.profile-box {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 32px;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  margin-top: 32px;
  align-items: center;
}

.profile-box img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.profile-cert img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

ul {
  padding-left: 22px;
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
}

li {
  margin-bottom: 14px;
}

.profile-hh img {
  width: 800px;
  max-width: 100%;
  height: auto;
  opacity: 0.85;
}





/* =========================================================
   PRAXISBEISPIELE / CASES
   ========================================================= */
.cases {
  margin-top: 48px;
  display: grid;
  gap: 32px;
}

.case {
  background: #ffffff;
  padding: 32px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.case h2 {
  margin-top: 0;
  font-size: 26px;
}

.case h3 {
  margin-bottom: 6px;
  font-size: 18px;
  color: #374151;
}

.case p {
  margin-top: 0;
  font-size: 18px;
}

.case-note {
  margin-top: 12px;
  font-size: 14px;
  color: #475569;
}


/* =========================================================
   VIDEO (Inline-Layout)
   ========================================================= */
.video-inline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
}

.video-inline-text {
  flex: 1;
  min-width: 0;
}

.video-inline-text h1 {
  margin: 0 0 8px 0;
  font-size: 26px;
}

.video-inline-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.video-inline-media {
  flex: 0 0 25%;
  max-width: 25%;
}

.video-inline-media video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  background: #000;
}

/* Abschnitt #video: keine unnötigen Abstände unten */
#video {
  padding-bottom: 0;
}


/* =========================================================
   FOOTER
   (Alles, was den Footer betrifft, bleibt hier in diesem Block)
   ========================================================= */
footer {
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("images/footer-bg.jpg") center/cover no-repeat;

  color: #e5e7eb;
  padding: 40px 0;
}

footer .footer-content {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-linkedin img {
  width: 124px;
  height: 80px;
  display: block;
  opacity: 0.85;
}

.footer-linkedin:hover img {
  opacity: 1;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .profile-box {
    grid-template-columns: 1fr;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .video-inline {
    flex-direction: column;
  }

  .video-inline-media {
    max-width: 100%;
    flex: none;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  .hero-content {
    padding: 24px 0;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.15;
    margin: 0 0 12px 0;
  }

  .hero p {
    font-size: 16px;
    margin: 0 0 18px 0;
    line-height: 1.5;
  }

  .cta-group {
    gap: 10px;
    margin: 0 0 18px 0;
  }

  .btn-primary {
    padding: 12px 18px;
  }

  .section p {
    font-size: 17px;
  }

  ul {
    font-size: 17px;
    padding-left: 20px;
  }

  li {
    margin-bottom: 10px;
  }

  .profile-box {
    padding: 20px;
    gap: 16px;
    margin-top: 20px;
  }

  .cases {
    margin-top: 28px;
    gap: 18px;
  }

  .case {
    padding: 20px;
  }

  .case h2 {
    font-size: 22px;
  }

  .case h3 {
    font-size: 16px;
  }

  .case p {
    font-size: 16px;
  }

  footer {
    padding: 28px 0;
  }
}

