/* =========================
SERVICEGEFUNDEN PREMIUM LAYOUT
Brand-Farben aus Logo
========================= */

:root{
  --sg-navy:#123A63;
  --sg-navy-dark:#0B223B;
  --sg-blue:#176EA6;
  --sg-cyan:#35C4D2;
  --sg-cyan-dark:#1AA7B8;
  --sg-text:#1f2d3d;
  --sg-soft:#f2f7fa;
  --sg-soft-blue:#eaf7fb;
}

/* BASIS */

.sg-page{font-family:inherit;color:var(--sg-text);font-size:17px;line-height:1.75}
.sg-page *{box-sizing:border-box}
.sg-wrap{width:min(1180px,92%);margin:0 auto}
.sg-section{padding:80px 0}
.sg-section-light{background:#fff}
.sg-section-soft{background:var(--sg-soft)}
.sg-section-blue{background:var(--sg-soft-blue)}

.sg-page h1,.sg-page h2,.sg-page h3{line-height:1.18;margin-top:0;color:var(--sg-navy-dark)}
.sg-page h1{font-size:clamp(38px,5vw,62px);color:#fff;margin-bottom:22px}
.sg-page h2{font-size:clamp(30px,3vw,42px);margin-bottom:28px}
.sg-page h3{font-size:25px;margin-bottom:14px}
.sg-page p{margin:0 0 18px}

.sg-kicker{color:var(--sg-cyan-dark);font-weight:700;margin-bottom:14px;display:block}

/* HERO */

.sg-hero{min-height:660px;display:flex;align-items:center;background-size:cover;background-position:center;position:relative;overflow:hidden}

.sg-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(11,34,59,.90),rgba(18,58,99,.55));
}

.sg-hero-inner{position:relative;z-index:2;max-width:800px}
.sg-hero p{color:rgba(255,255,255,.93);font-size:21px;max-width:720px}

/* BUTTONS */

.sg-btn{
  display:inline-block;
  margin-top:14px;
  padding:16px 32px;
  background:var(--sg-cyan-dark);
  color:#fff!important;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  transition:.2s ease;
}

.sg-btn:hover{
  background:var(--sg-cyan);
  transform:translateY(-2px);
}

/* IFRAME */

.sg-iframe-wrap{margin-top:-90px;position:relative;z-index:5}
.sg-iframe-box{background:#fff;border-radius:26px;padding:34px;box-shadow:0 18px 50px rgba(0,0,0,.12)}

/* LAYOUT */

.sg-split{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:center}
.sg-split.reverse{grid-template-columns:1.15fr .85fr}
.sg-center{max-width:860px;margin:0 auto 38px;text-align:center}

.sg-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.sg-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}

/* CARDS */

.sg-card{background:#fff;padding:26px;border-radius:24px;box-shadow:0 10px 34px rgba(0,0,0,.06)}
.sg-card h3{margin-top:0}

/* LISTEN */

.sg-list{list-style:none;padding:0;margin:0 0 18px}
.sg-list li{padding:10px 0 10px 30px;position:relative}

.sg-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--sg-cyan-dark);
  font-weight:800;
}

/* CTA */

.sg-cta{
  background:linear-gradient(135deg,var(--sg-navy-dark),var(--sg-navy));
  color:#fff;
  border-radius:32px;
  padding:70px 40px;
  text-align:center;
}

.sg-cta h2{color:#fff}
.sg-cta p{color:rgba(255,255,255,.9);max-width:760px;margin-left:auto;margin-right:auto}

/* FAQ */

.sg-faq{max-width:900px;margin:0 auto}

.sg-faq-item{
  background:#fff;
  border-radius:18px;
  padding:26px 30px;
  margin-bottom:16px;
  box-shadow:0 8px 28px rgba(0,0,0,.05);
}

/* PREMIUM FOOTER CTA */

/* PREMIUM CLEAN CTA */

.sg-footer-cta{
  background:linear-gradient(135deg,#0f1724,#17324d);
  border-radius:34px;
  padding:80px 50px;
  position:relative;
  overflow:hidden;
  box-shadow:0 18px 50px rgba(0,0,0,.12);
}

.sg-footer-cta:before{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  background:rgba(0,183,255,.08);
  top:-180px;
  right:-120px;
}

.sg-footer-cta:after{
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  border-radius:50%;
  background:rgba(255,255,255,.04);
  bottom:-120px;
  left:-80px;
}

.sg-footer-content{
  position:relative;
  z-index:2;
  text-align:center;
  max-width:860px;
  margin:0 auto;
}

.sg-footer-content h2{
  color:#fff;
  margin-bottom:24px;
  font-size:clamp(34px,4vw,52px);
}

.sg-footer-content p{
  color:rgba(255,255,255,.88);
  font-size:20px;
  max-width:760px;
  margin:0 auto 34px;
}

.sg-footer-points{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:38px;
}

.sg-footer-points div{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
  padding:13px 18px;
  border-radius:999px;
  font-size:15px;
  font-weight:600;
  backdrop-filter:blur(8px);
}

.sg-btn-light{
  background:#00b7ff;
  color:#fff!important;
  box-shadow:0 10px 30px rgba(0,183,255,.28);
}

.sg-btn-light:hover{
  background:#009fe0;
  transform:translateY(-2px);
}

@media(max-width:900px){

.sg-footer-cta{
  padding:60px 24px;
}

.sg-footer-content p{
  font-size:18px;
}

}

/* =========================
MOBILE FIX SERVICEGEFUNDEN
========================= */

@media(max-width:768px){

  .sg-wrap{
    width:90%;
  }

  .sg-hero{
    min-height:auto;
    padding:90px 0 120px;
    background-position:center center;
  }

  .sg-hero-inner{
    max-width:100%;
  }

  .sg-page h1{
    font-size:34px;
    line-height:1.15;
  }

  .sg-hero p{
    font-size:18px;
    line-height:1.55;
  }

  .sg-iframe-wrap{
    margin-top:-70px;
  }

  .sg-iframe-box{
    padding:16px;
    border-radius:20px;
  }

  .sg-section{
    padding:52px 0;
  }

  .sg-page h2{
    font-size:28px;
    line-height:1.2;
  }

  .sg-page h3{
    font-size:22px;
  }

  .sg-split,
  .sg-split.reverse,
  .sg-grid-2,
  .sg-grid-3{
    display:grid;
    grid-template-columns:1fr;
    gap:24px;
  }

  .sg-card{
    padding:24px;
    border-radius:20px;
  }

  .sg-center{
    margin-bottom:28px;
  }

  .sg-footer-cta{
    border-radius:24px;
    padding:52px 22px;
  }

  .sg-footer-content h2{
    font-size:30px;
  }

  .sg-footer-content p{
    font-size:17px;
    line-height:1.55;
  }

  .sg-footer-points{
    flex-direction:column;
    align-items:center;
    gap:10px;
  }

  .sg-footer-points div{
    width:100%;
    max-width:320px;
    text-align:center;
  }

  .sg-btn{
    width:100%;
    max-width:320px;
    text-align:center;
  }

}

/* =========================
SERVICEGEFUNDEN STARTSEITE
========================= */

.sg-home-hero{
  min-height:860px;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
  position:relative;
  overflow:hidden;
}

.sg-home-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(11,34,59,.88),rgba(11,34,59,.52),rgba(11,34,59,.18));
}

.sg-home-hero-inner{
  position:relative;
  z-index:2;
  max-width:780px;
}

.sg-home-hero h1{
  font-size:clamp(42px,5vw,68px);
  color:#fff;
  margin-bottom:24px;
}

.sg-home-hero p{
  color:rgba(255,255,255,.94);
  font-size:22px;
  max-width:720px;
}

.sg-btn-row{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:34px;
}

.sg-btn-outline{
  background:#fff;
  color:var(--sg-navy-dark)!important;
}

.sg-service-card{
  text-align:center;
  transition:.2s ease;
}

.sg-service-card:hover{
  transform:translateY(-4px);
}

.sg-service-icon{
  font-size:56px;
  margin-bottom:18px;
}

.sg-region-list{
  background:#fff;
  border-radius:24px;
  padding:30px;
  box-shadow:0 10px 34px rgba(0,0,0,.06);
}

.sg-region-list a{
  display:flex;
  justify-content:space-between;
  padding:13px 0;
  border-bottom:1px solid #edf1f5;
  text-decoration:none;
  color:var(--sg-navy-dark);
  font-weight:600;
}

.sg-region-list a:last-child{
  border-bottom:0;
}

.sg-benefit-bar{
  background:var(--sg-navy-dark);
  color:#fff;
  padding:38px 0;
}

.sg-benefit-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:24px;
  text-align:center;
}

.sg-benefit-grid div{
  font-size:15px;
  font-weight:600;
}

@media(max-width:900px){
  .sg-home-hero{
    min-height:auto;
    padding:100px 0 120px;
  }

  .sg-home-hero h1{
    font-size:36px;
  }

  .sg-home-hero p{
    font-size:18px;
  }

  .sg-btn-row{
    flex-direction:column;
  }

  .sg-btn-row .sg-btn{
    width:100%;
    text-align:center;
  }

  .sg-benefit-grid{
    grid-template-columns:1fr 1fr;
  }
}

/* STARTSEITE BILD-SEKTIONEN */

.sg-home-duo{
  display:grid;
  grid-template-columns:1fr 1fr;
  width:100%;
}

.sg-home-panel{
  min-height:520px;
  background-size:cover;
  background-position:center;
  position:relative;
  display:flex;
  align-items:center;
  padding:70px;
  text-decoration:none!important;
  overflow:hidden;
}

.sg-home-panel-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(11,34,59,.88),rgba(11,34,59,.35));
}

.sg-home-panel-overlay-cyan{
  background:linear-gradient(135deg,rgba(10,120,135,.86),rgba(11,34,59,.35));
}

.sg-home-panel-content{
  position:relative;
  z-index:2;
  max-width:520px;
  color:#fff;
}

.sg-home-panel-content h2{
  color:#fff;
  font-size:clamp(32px,3vw,46px);
  margin-bottom:20px;
}

.sg-home-panel-content p{
  color:rgba(255,255,255,.92);
  font-size:18px;
}

.sg-panel-btn{
  display:inline-block;
  margin-top:20px;
  padding:14px 26px;
  background:var(--sg-cyan-dark);
  color:#fff;
  border-radius:999px;
  font-weight:700;
}

.sg-panel-btn-light{
  background:#fff;
  color:var(--sg-navy-dark);
}

.sg-home-final-cta{
  position:relative;
  min-height:520px;
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:center;
  overflow:hidden;
}

.sg-home-final-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(11,34,59,.92),rgba(11,34,59,.62),rgba(11,34,59,.12));
}

.sg-home-final-content{
  position:relative;
  z-index:2;
  max-width:720px;
  color:#fff;
}

.sg-home-final-content h2{
  color:#fff;
  font-size:clamp(36px,4vw,58px);
  margin-bottom:20px;
}

.sg-home-final-content p{
  color:rgba(255,255,255,.92);
  font-size:21px;
  max-width:620px;
}

@media(max-width:900px){

  .sg-home-duo{
    grid-template-columns:1fr;
  }

  .sg-home-panel{
    min-height:430px;
    padding:50px 24px;
  }

  .sg-home-final-cta{
    min-height:460px;
    background-position:center right;
  }

  .sg-home-final-overlay{
    background:linear-gradient(90deg,rgba(11,34,59,.92),rgba(11,34,59,.72));
  }

}

/* BENEFIT BAR SVG - FINAL */

.sg-benefit-bar{
  background:var(--sg-navy-dark);
  color:#fff;
  padding:42px 0;
}

.sg-benefits-svg{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:70px;
  flex-wrap:wrap;
}

.sg-benefit-svg{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  font-weight:700;
  font-size:18px;
  white-space:nowrap;
}

.sg-benefit-svg svg{
  width:30px;
  height:30px;
  fill:none;
  stroke:var(--sg-cyan);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 auto;
}

@media(max-width:900px){

  .sg-benefit-bar{
    padding:34px 0;
  }

  .sg-benefits-svg{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
  }

  .sg-benefit-svg{
    justify-content:flex-start;
    font-size:15px;
    white-space:normal;
  }

  .sg-benefit-svg svg{
    width:26px;
    height:26px;
  }

}