/* ======================================================
   TEAM SEITE – ZENTRALE STYLES
   Datei: assets/team/css/team.css
   Automatisch kommentiert – keine Logik geändert
   ====================================================== */

/* -------------------------------
   1) Grundlegende Schrift & Variablen
   ------------------------------- */
:root{
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-display: "MuseoModerno", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans";
  }
  html, body { font-family: var(--font-sans); }
  h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); letter-spacing: 0.01em; }

  
/* === Fullscreen Hero below fixed header (project rule-compliant) === */

/* Team page specific layout */
main {
  padding-top: 80px; /* space for fixed header */
}

@media (max-width: 768px){
  main {
    padding-top: 70px;
  }
}

.team-hero {
  position: relative;
  background: #000;
  color: #111;
  overflow: hidden;
  margin-top: -0.7vh;
  min-height: calc(100vh - var(--header-h, 90px));
}

.team-hero__image-wrap {
  position: relative;
  height: 100%;
  min-height: calc(100vh - var(--header-h, 90px));
}

.team-hero__image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}


.team-hero__badge {
  position: absolute;
  left: 0;
  bottom: 4vh;
  background: #ffffff;
  color: #ff8a5b;
  font-family: "MuseoModerno", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 4.2vw, 52px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.4rem 4rem 1.4rem 3rem;
  border-radius: 0 10px 10px 0; /* only right side rounded, strong radius */
  line-height: 1.05;
  box-shadow: none;
}




}

/* Generic team sections */
.section--team {
  padding: 80px 0;
}

.section--team-peach {
  background: #ffe0d4;
}

.section--team-white {
  background: #ffffff;
}

.section--team-blue {
  background: #ecf3f7;
}

.team-member__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px){
  .team-member__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.team-member__photo {
  justify-self: center;
}

.team-member__photo img {
  width: 260px;
  height: 260px;
  max-width: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(20, 32, 60, 0.22);
}

.team-member__content h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 32px);
}

.team-member__role {
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
  text-transform: uppercase;
}

.team-member__list {
  margin: 0 0 18px;
  padding-left: 1.1rem;
  text-align: left;
}

.team-member__list li + li {
  margin-top: 4px;
}

.team-member__hobby {
  margin: 0;
  opacity: 0.8;
  font-size: 14px;
}

.team-member__hobby span {
  font-weight: 600;
}


/* Logo symbol on first section */
.section--team-peach {
  position: relative;
}

.team-member__logo {
  position: absolute;
  right: 4vw;
  bottom: -21vh;
  width: min(30vw, 260px);
  opacity: 0.6;
  pointer-events: none;
}

.team-member__logo img {
  width: 100%;
  height: auto;
  display: block;
}


/* Kontakt-Button */
.team-member__actions {
  margin-top: 20px;
}

.team-member__btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  border: none;
  background: var(--brand, #16A0D8);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10, 60, 120, 0.3);
}

.team-member__btn:hover,
.team-member__btn:focus-visible {
  background: #0c7fb0;
}

/* Footer spacing tweak so scrollTop button not too close */
.praxis-info {
  margin-top: 0;
}

  
/* === Mobile Hero Best-Fit === */
@media (max-width: 768px){
  .team-hero {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
    display: block;
  }

  .team-hero__image-wrap {
    position: relative;
    min-height: auto;
    height: auto;
  }

  .team-hero__image-wrap picture,
  .team-hero__image-wrap img,
  .team-hero__img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
  }

  .team-hero__img {
    object-fit: contain;
  }

  .team-hero__badge{
    padding: 0 !important;
  }

  /* FIX per CSS (Fallback) */
  .team-member__logo{
    bottom: 0 !important;
  }
}

/* === Desktop Mitarbeiter größer (+25%) === */
@media (min-width: 769px){
  .team-member__photo img{
    width: 325px;
    height: 325px;
  }
}

/* === Desktop mehr Abstand zwischen Bild & Text === */
@media (min-width: 769px){
  .team-member__inner{
    gap: 60px;
  }
}

/* === Unser-Team-Badge Glass-Effekt & Transparenz 0.9 (beide Sichten) === */
.team-hero__badge{
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@media (max-width: 768px){
  .team-member__logo{
    bottom: -10vh !important;
  }
}

@media (max-width: 640px) {
  .team-hero__badge {
    left: 0px;
    right: 16px;
    text-align: center;
    padding-inline: 20px;
  }
}


/* remove grey button borders */
button, a.button, .mehr-link {border:none !important; outline:none !important;}
button:focus, a:focus {outline:none !important; box-shadow:none !important;}
