:root{
  --accent:#BFCE00;
  --text:#111111;
  --muted:rgba(17,17,17,.72);
  --bg:#ffffff;
  --surface:#ECEFF1;
  --border:rgba(17,17,17,.12);
  --radius:18px;
  --shadow:0 14px 34px rgba(0,0,0,.08);
  --container:1200px;
  --gutter:clamp(16px, 3vw, 28px);
  --h1:clamp(2.1rem, 4vw, 3.2rem);
  --h2:clamp(1.8rem, 3vw, 2.4rem);
  --h3:1.1rem;
  --body:1.05rem;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:var(--bg);
  font:400 var(--body)/1.65 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
.container{
  width:min(var(--container), 100% - 2*var(--gutter));
  margin-inline:auto;
}
.section{padding:clamp(44px,7vw,92px) 0}
.section--soft{background:var(--surface);padding:72px 0}
h1,h2,h3,h4{margin:0 0 .55em;letter-spacing:-.02em}
h1{font-size:var(--h1);line-height:1.12;font-weight:800}
h2{font-size:var(--h2);line-height:1.18;font-weight:800}
h3{font-size:var(--h3);line-height:1.25;font-weight:750}
h4{font-size:.95rem;font-weight:800}
.lead{margin:0 0 18px;color:var(--muted);max-width:65ch}

/* Header */
.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(150%) blur(10px);
  border-bottom:1px solid rgba(17,17,17,.08);
}
.header-row{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 0;
}
.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:-.02em}
.brand-dot{width:14px;height:14px;border-radius:999px;background:var(--accent);box-shadow:0 0 0 4px rgba(191,206,0,.18)}
.brand-text{text-transform:lowercase}
.nav{display:none;gap:18px;align-items:center;color:rgba(17,17,17,.78);font-weight:650}
.nav a{padding:8px 6px;border-radius:10px}
.nav a:hover{background:rgba(17,17,17,.05);text-decoration:none}
@media (min-width: 900px){.nav{display:flex}}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:999px;border:1px solid var(--border);
  background:#fff;font-weight:800;cursor:pointer
}
.btn:hover{text-decoration:none}
.btn--accent{background:var(--accent);color:#101010;border-color:rgba(17,17,17,.14)}

/* Hero */
.hero{display:grid;gap:clamp(18px,3vw,44px);align-items:center}
@media (min-width:900px){.hero{grid-template-columns:1.1fr .9fr}}
.hero-image{
  border-radius:calc(var(--radius) + 6px);
  overflow:hidden;box-shadow:var(--shadow);
  border:1px solid rgba(17,17,17,.06);
  min-height:280px;
  background:#fff;
}
.hero-illustration{
  width:100%;height:100%;
  background:
    radial-gradient(circle at 25% 40%, rgba(191,206,0,.28), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(0,0,0,.06), transparent 55%),
    radial-gradient(circle at 60% 75%, rgba(191,206,0,.16), transparent 60%);
}
.features-inline{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.pill{
  padding:8px 12px;border-radius:999px;
  background:rgba(191,206,0,.16);border:1px solid rgba(191,206,0,.35);
  font-weight:750;color:rgba(17,17,17,.80);font-size:.95rem;
}

/* Sections */
.section-center{display:flex;flex-direction:column;align-items:center}
.section-head{max-width:740px;text-align:center;margin-bottom:56px}
.section-head p{margin:0;color:var(--muted);font-size:1.1rem}
.eyebrow{
  display:inline-block;margin-bottom:10px;
  font-weight:800;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;
  color:var(--accent);
}
.section-content{width:100%;max-width:1100px}

/* Cards */
.card-grid{display:grid;gap:24px}
.card-grid--2{grid-template-columns:repeat(1,minmax(0,1fr))}
.card-grid--4{grid-template-columns:repeat(1,minmax(0,1fr))}
@media (min-width:900px){
  .card-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .card-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1200px){
  .card-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.card{
  background:#fff;border:1px solid rgba(17,17,17,.10);
  border-radius:var(--radius);padding:18px 18px;
  box-shadow:0 12px 26px rgba(0,0,0,.06);
}
.card p{margin:0;color:rgba(17,17,17,.74)}
.list{margin:10px 0 0;padding-left:18px;color:rgba(17,17,17,.74)}
.list li{margin:8px 0}
.divider{height:1px;background:rgba(17,17,17,.10);margin:16px 0}
.h3-tight{margin-top:0}
.form label{display:grid;gap:8px;margin:12px 0;font-weight:750}
input,textarea{
  width:100%;padding:12px 12px;border-radius:14px;border:1px solid rgba(17,17,17,.14);
  background:#fff;font:inherit;
}
input:focus,textarea:focus{outline:3px solid rgba(191,206,0,.25);border-color:rgba(191,206,0,.65)}

/* Footer (all grey) */
.site-footer{background:var(--surface)}
.footer-center{text-align:center}
.footer-funding{padding:56px 0 40px;background:transparent}
.funding-text{font-size:.9rem;color:rgba(0,0,0,.6);margin:0}
.funding-logos{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:24px}
.funding-logos span{
  padding:10px 14px;background:rgba(255,255,255,.72);
  border:1px solid rgba(0,0,0,.08);border-radius:12px;font-weight:750;
}
.footer-main{padding:56px 0 48px;background:transparent}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:48px}
.footer-col p{color:rgba(0,0,0,.7);font-size:.95rem;line-height:1.6}
.footer-links{list-style:none;padding:0;margin:0}
.footer-links li{margin-bottom:8px}
.footer-links a{color:rgba(0,0,0,.7)}
.footer-links a:hover{color:#000}
.footer-meta{padding:20px 0 28px;background:transparent;font-size:.85rem;color:rgba(0,0,0,.6)}
.footer-meta::before{content:"";display:block;height:1px;background:rgba(0,0,0,.1);margin-bottom:16px}

/* Header logo */
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}


/* Header layout final (innovia-style) */
.header-split {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.nav {
  justify-content: center;
}

.nav a {
  font-weight: 700;
}

@media (max-width: 900px) {
  .header-split {
    display: flex;
    justify-content: space-between;
  }
}


/* Real innovia logo */
.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}


/* Header logo cleanup */
.brand {
  gap: 0;
}


/* Hero photo */
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Fullwidth Hero */
.hero-full {
  position: relative;
  padding: 120px 0;
  background: url("hero.jpg") center/cover no-repeat;
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.85) 40%,
    rgba(255,255,255,0.25) 65%,
    rgba(255,255,255,0.0) 100%
  );
}

.hero-full-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  gap: 48px;
  align-items: center;
}


/* Green accent dots in hero headline */
.dot-accent {
  color: var(--accent);
}


/* Hero feature list (one per line) */
.hero-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(191,206,0,.18);
  border: 1px solid rgba(191,206,0,.4);
  font-weight: 750;
}

.hero-features .icon {
  font-size: 1.2rem;
  line-height: 1;
}


/* SVG icons in hero */
.icon-svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}


/* Kontakt button neutral (no green highlight) */
.nav .btn--accent {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.nav .btn--accent:hover {
  background: rgba(17,17,17,.04);
}


/* Hero features – full green style */
.hero-features li {
  background: var(--accent);
  border: none;
  color: #fff;
}

.hero-features li span {
  color: #fff;
}

.hero-features .icon-svg {
  width: 26px;
  height: 26px;
  color: #fff;
}


/* Offer card refinement */
.offer-card {
  max-width: 720px;
  margin: 0 auto;
}

.offer-card h3 {
  margin-bottom: 16px;
}

.offer-card p {
  margin-bottom: 14px;
}

.offer-card p strong {
  display: block;
  margin-bottom: 4px;
}


/* Five equal offer tiles */
.card-grid--5 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.offer-tiles .card {
  text-align: left;
}


/* Offer tiles: 3 per row on desktop */
.offer-tiles {
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 980px) {
  .card-grid--5.offer-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.offer-tiles .card {
  height: 100%;
}



/* Center offer tiles and equalize size */
.offer-tiles {
  display: grid;
  justify-content: center;
  align-content: center;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.offer-tiles .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 260px;
}

.offer-tiles .card h3 {
  min-height: 3.2em;
}



/* Offer tiles: clean centered 3-column layout */
.offer-tiles{
  max-width: 1100px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px){
  .offer-tiles{
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}


/* Green dot after section title */
.section-title .green-dot {
  color: #c6d400; /* Innovia green */
}

/* Green border for offer cards */
.offer-tiles .card {
  border: 2px solid #c6d400;
}



/* Background image for Teilnehmende section */
.section-teilnehmende-bg {
  background-image: linear-gradient(
    rgba(255,255,255,0.92),
    rgba(255,255,255,0.92)
  ), url("./images/teilnehmende-bg.jpg");
  background-size: cover;
  background-position: center;
}



/* Ensure background image is visible in Teilnehmende section */
.section-teilnehmende-bg {
  background-color: transparent;
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-teilnehmende-bg .section-content {
  background: rgba(255,255,255,0.95);
  border-radius: 24px;
  padding: 48px;
}



/* FINAL: Teilnehmende section background image (force) */
.section-teilnehmende-bg{
  background-color: transparent !important;
  background-image:
    linear-gradient(rgba(255,255,255,0.78), rgba(255,255,255,0.78)),
    url("./images/teilnehmende-bg.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  padding: 120px 0 !important;
}

.section-teilnehmende-bg .section-content{
  background: rgba(255,255,255,0.92);
  border-radius: 24px;
  padding: 48px;
}

@media (max-width: 720px){
  .section-teilnehmende-bg{
    padding: 72px 0 !important;
  }
  .section-teilnehmende-bg .section-content{
    padding: 24px;
  }
}


/* Remove grey background around Teilnehmende cards */
.section-teilnehmende-bg .section-content {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}



/* Remove divider line under 'So läuft dein Start' */
#teilnehmende h3 + ul {
  border-bottom: none !important;
}

#teilnehmende ul {
  border-bottom: none !important;
}



/* --- CONFIRMED: remove divider line under 'Begleitplan & erste Schritte' --- */
/* Some themes draw a divider via border-top/bottom on list or pseudo-element. Kill all of them here. */
#teilnehmende .card:last-of-type,
#teilnehmende .card:last-of-type *{
  border-top: none !important;
  border-bottom: none !important;
}

#teilnehmende .card:last-of-type::before,
#teilnehmende .card:last-of-type::after,
#teilnehmende .card:last-of-type ul::before,
#teilnehmende .card:last-of-type ul::after{
  content: none !important;
  display: none !important;
}



/* --- Green borders for participant boxes --- */
#teilnehmende .card{
  border: 2px solid var(--accent-green, #b7d400);
  box-shadow: none;
}



.box { margin-bottom: 2rem; }


/* Spacing between the two participant boxes */
#teilnehmende .section-content{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Safety: if something overrides flex, ensure at least margin between cards */
#teilnehmende .section-content > .card + .card{
  margin-top: 24px;
}


/* Unternehmen section spacing like Teilnehmende (no background image) */
#unternehmen .section-content{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#unternehmen .card{
  border: 2px solid var(--green);
  background: #fff;
}

#unternehmen{
  background-image: none !important;
}



/* --- Über uns: Team Cards --- */
.team{
  margin-top: 28px;
}

.team-lead{
  display:flex;
  justify-content:center;
  margin: 28px 0 18px;
}

.team-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 12px;
}

.team-card{
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  background:#fff;
  border: 2px solid var(--accent);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  overflow:hidden;
}

/* lead card should be same size as the others */
.team-lead .team-card{
  max-width: 390px;
}

.team-card__photo{
  position:relative;
  width:100%;
  height: 220px;
  background: #eef1f5;
  display:flex;
  align-items:center;
  justify-content:center;
}

.team-card__photo img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.team-card__initials{
  font-weight: 900;
  letter-spacing: .06em;
  color:#9aa3ad;
  font-size: 42px;
}

.team-card__meta{
  padding: 16px 18px 18px;
  text-align:left;
}

.team-card__name{
  margin: 0 0 4px;
  font-weight: 900;
  font-size: 20px;
}

.team-card__role{
  margin: 0 0 10px;
  color:#111;
  font-weight: 700;
}

.team-card__contact{
  display:flex;
  flex-direction:column;
  gap: 6px;
  font-size: 15px;
}

.team-card__contact a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.team-card__contact a:hover{
  text-decoration: underline;
}

@media (max-width: 900px){
  .team-grid{
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .team-card{
    max-width: 460px;
  }
}

/* --- Über uns: schmäler & höher, Bilder passend --- */
#ueber-uns .about-intro{
  max-width: 760px;
  margin: 12px auto 0;
  line-height: 1.5;
}

#ueber-uns .team-layout{ margin-top: 36px; }

#ueber-uns .team-row--single{
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

#ueber-uns .team-grid--2x2{
  display: grid;
  grid-template-columns: repeat(2, 260px);
  gap: 24px;
  justify-content: center;
}

#ueber-uns .team-card{
  width: 260px;
  height: 380px;
  border: 2px solid var(--accent);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

#ueber-uns .team-card__image{
  height: 190px;
  width: 100%;
  overflow: hidden;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

#ueber-uns .team-card__image img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

#ueber-uns .team-card__image--placeholder{
  background: #e9ecef;
}

#ueber-uns .team-card__content{
  padding: 14px 14px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

#ueber-uns .team-card__name{
  font-weight: 700;
}

#ueber-uns .team-card__role{
  opacity: 0.75;
  font-size: 0.95rem;
}

#ueber-uns .team-card__links{
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#ueber-uns .team-card__links a{
  color: var(--accent);
  text-decoration: none;
  font-size: 0.92rem;
}

@media (max-width: 720px){
  #ueber-uns .team-grid--2x2{
    grid-template-columns: 1fr;
  }
  #ueber-uns .team-card{
    width: min(320px, 100%);
    height: auto;
  }
  #ueber-uns .team-card__image{ height: 180px; }
}

/* --- FORCE 3 COLUMNS FOR TEAM / KACHELN --- */
.team-grid,
#ueber-uns .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .team-grid,
    #ueber-uns .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid,
    #ueber-uns .team-grid {
        grid-template-columns: 1fr;
    }
}

/* --- UEber uns: unified grid (Projektleitung treated like normal card) --- */
#ueber-uns .team-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
}

#ueber-uns .team-card{
  width:100% !important;
  max-width:none !important;
  height:100%;
}

#ueber-uns .team-card__image{
  height:170px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
  background:var(--surface);
}

#ueber-uns .team-card__image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}

@media (max-width: 900px){
  #ueber-uns .team-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px){
  #ueber-uns .team-grid{ grid-template-columns:1fr; }
}

/* --- Über uns: heading centered + green dot --- */
#ueber-uns h2{ text-align:center; }
#ueber-uns .about-intro{ text-align:center; }

/* --- Über uns: centered grid and slightly narrower cards --- */
#ueber-uns .team-grid{
  max-width: 980px;
  margin: 0 auto;
  gap: 22px;
}

/* Make cards a bit slimmer by reducing internal padding */
#ueber-uns .team-card__content{
  padding: 14px 14px 16px;
}

/* --- Images: fill upper area (cover) --- */
#ueber-uns .team-card__image{
  height: 200px;
  padding: 0;
  background: var(--surface);
  display:block;
}
#ueber-uns .team-card__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display:block;
}
/* Placeholder should also look like an image area */
#ueber-uns .team-card__image--placeholder{
  height: 200px;
  background: var(--surface);
}

.accent-dot{color:var(--accent);}

/* --- Ensure green dot is visible everywhere, especially in Über uns heading --- */
.accent-dot{ color: var(--accent) !important; }
#ueber-uns .accent-dot{ color: var(--accent) !important; }

/* --- Abstand zwischen Intro-Text und Kacheln (Über uns) --- */
#ueber-uns .about-intro{
  margin-bottom: 48px;
}

/* --- Kontakt: grüner Punkt im Titel --- */
#kontakt .accent-dot{
  color: var(--accent);
}

/* --- Hide empty contact bars/cards --- */
.contact-card:empty{
  display:none;
}

/* Final safeguard: hide visually empty contact blocks */
#kontakt .contact-card{
  margin-bottom: 0;
}
#kontakt .contact-card + .contact-card{
  display:none;
}

/* --- Fördergeber: weißer Balken für Logos --- */
.funding-bar{
  margin: 24px auto 0;
  max-width: 900px;
  min-height: 120px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 24px 32px;
}

/* --- Fördergeber Logos: responsive sizing --- */
.funding-bar{
  flex-wrap: wrap;
}

.funding-logo{
  height: 56px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

@media (max-width: 700px){
  .funding-bar{
    gap: 22px;
    padding: 18px 18px;
  }
  .funding-logo{
    height: 48px;
    max-width: 240px;
  }
}

@media (max-width: 420px){
  .funding-logo{
    height: 44px;
    max-width: 200px;
  }
}

/* --- Fördergeber Logos: etwas größer --- */
.funding-logo{
  height: 68px; /* vorher 56px */
  max-width: 340px;
}

@media (max-width: 700px){
  .funding-logo{
    height: 56px;
    max-width: 280px;
  }
}

@media (max-width: 420px){
  .funding-logo{
    height: 50px;
    max-width: 240px;
  }
}

/* --- AMS Logo etwas größer als die anderen --- */
.funding-logo--ams{
  height: 78px;
}

@media (max-width: 700px){
  .funding-logo--ams{
    height: 64px;
  }
}

@media (max-width: 420px){
  .funding-logo--ams{
    height: 56px;
  }
}

/* --- Fix: AMS logo visibly larger (single class attribute in HTML) --- */
.funding-logo--ams{
  height: 84px;
  transform: translateY(1px);
}

@media (max-width: 700px){
  .funding-logo--ams{ height: 70px; }
}
@media (max-width: 420px){
  .funding-logo--ams{ height: 60px; }
}

/* --- AMS Logo noch etwas größer --- */
.funding-logo--ams{
  height: 96px;
}

@media (max-width: 700px){
  .funding-logo--ams{
    height: 78px;
  }
}

@media (max-width: 420px){
  .funding-logo--ams{
    height: 66px;
  }
}

/* --- Ensure dots in section headings are green --- */
.section h2 .accent-dot{ color: var(--accent) !important; }

/* --- Teamfotos: Kopfbereich besser sichtbar (ohne Strukturänderung) --- */
#ueber-uns .team-card__image img{
  object-fit: cover;
  object-position: center top; /* Fokus auf Kopf/Gesicht */
}

/* Feinjustierung für sehr breite Bilder */
@media (min-width: 900px){
  #ueber-uns .team-card__image img{
    object-position: center 15%;
  }
}

}

/* --- Mobile Menü (Hamburger) – Desktop bleibt unverändert --- */
.nav-toggle{ display:none; }

@media (max-width: 899px){
  /* Header layout: logo left, burger right */
  .header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
  }

  .nav-toggle-btn{
    width:44px;
    height:44px;
    border-radius:14px;
    border:1px solid rgba(17,17,17,.12);
    background:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    box-shadow:0 10px 26px rgba(0,0,0,.06);
    cursor:pointer;
  }
  .nav-toggle-btn span{
    width:20px;
    height:2px;
    background:rgba(17,17,17,.78);
    border-radius:999px;
    display:block;
  }

  /* Mobile menu panel */
  .nav{
    display:none !important; /* hide by default on mobile */
    position:absolute;
    left:16px;
    right:16px;
    top:calc(100% + 10px);
    background:#fff;
    border:1px solid rgba(17,17,17,.12);
    border-radius:18px;
    padding:14px;
    box-shadow:0 18px 44px rgba(0,0,0,.10);
    flex-direction:column;
    gap:10px;
    z-index:50;
  }

  /* Make header a positioning context */
  .site-header{ position:sticky; top:0; z-index:60; }
  .site-header .container{ position:relative; }

  .nav a{
    padding:12px 12px;
    border-radius:14px;
  }

  /* Open state */
  #nav-toggle:checked ~ .nav{
    display:flex !important;
  }

  /* Burger -> X animation */
  #nav-toggle:checked + .nav-toggle-btn span:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }
  #nav-toggle:checked + .nav-toggle-btn span:nth-child(2){
    opacity:0;
  }
  #nav-toggle:checked + .nav-toggle-btn span:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-toggle-btn span{
    transition: transform .18s ease, opacity .18s ease;
  }
}

@media (min-width: 900px){
  .nav-toggle-btn{ display:none; }
}

/* --- Fix: Checkbox für Mobile-Menü vollständig ausblenden --- */
.nav-toggle{
  position:absolute !important;
  opacity:0 !important;
  pointer-events:none !important;
  width:0 !important;
  height:0 !important;
}

/* --- Für Unternehmen: grüner Rand für Kacheln --- */
#unternehmen .card{
  border: 2px solid var(--accent);
}

/* --- Teamfotos (neue Bilder): Kopfbereich besser sichtbar --- */
#ueber-uns .team-card__image img{
  object-fit: cover;
  object-position: center 20%;
}

/* --- Teamfoto Feinjustierung (ohne Kachel-/Rahmenänderung) --- */
/* Standard bleibt: cover; wir verschieben nur den Bildfokus pro Person */
#ueber-uns .team-card__image--johannes img{
  object-position: center 8%;
}
#ueber-uns .team-card__image--roland img{
  object-position: center 18%;
}

/* Mobile: leicht nachjustieren, damit Köpfe stabil im Bild bleiben */
@media (max-width: 600px){
  #ueber-uns .team-card__image--johannes img{ object-position: center 6%; }
  #ueber-uns .team-card__image--roland img{ object-position: center 16%; }
}

/* --- Feinjustierung Roland Fux: Kopf weiter nach oben --- */
#ueber-uns .team-card__image--roland img{
  object-position: center 10%;
}

@media (max-width: 600px){
  #ueber-uns .team-card__image--roland img{
    object-position: center 8%;
  }
}

/* --- Hero Features: Text möglichst einzeilig halten --- */
.hero-features li span:last-child{
  white-space: nowrap;
}
@media (max-width: 520px){
  .hero-features li span:last-child{
    white-space: normal; /* auf sehr kleinen Screens darf es umbrechen */
  }
}
