:root{
  --bg:#f3f4f6;
  --panel:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --brand:#2563eb;
  --brand-2:#38bdf8;
  --ring:rgba(37,99,235,.45);
  --shadow:0 10px 25px rgba(15,23,42,.12);
}

/* Globale Einstellungen */
*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
  min-height:100%;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background:#ffffff;
  color:var(--text);
  line-height:1.6;
  display:flex;
  flex-direction:column;
}

main{
  flex:1;
}

.container{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

h1,
h2,
h3,
h4{
  color:#1e3a8a;
  font-weight:700;
}

a{
  color:var(--brand);
}

.site-bg{
  display:none;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid rgba(15,23,42,.06);
  backdrop-filter:saturate(150%) blur(14px);
  -webkit-backdrop-filter:saturate(150%) blur(14px);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.brand{
  display:block;
}

.logo{
  font-weight:800;
  letter-spacing:.3px;
  font-size:1.25rem;
  line-height:1.3;
}

.logo span{
  color:var(--brand);
}

.tagline{
  margin-top:2px;
  font-size:.85rem;
  color:var(--muted);
}

/* HAMBURGER */
.hamburger{
  width:42px;
  height:36px;
  border:0;
  background:transparent;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:6px;
}

.hamburger span{
  display:block;
  height:2px;
  width:100%;
  background:var(--text);
  border-radius:2px;
  transition:transform .25s,opacity .25s;
}

.hamburger[aria-expanded="true"] span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2){
  opacity:0;
}

.hamburger[aria-expanded="true"] span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}

/* MENÜ */
.menu-panel{
  position:absolute;
  right:16px;
  top:64px;
  width:280px;
  padding:10px;
  overflow:hidden;
  display:none;
  background:var(--panel);
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  box-shadow:var(--shadow);
}

.menu-panel[aria-hidden="false"]{
  display:block;
  animation:fadeIn .18s ease both;
}

.menu-panel ul{
  list-style:none;
  margin:0;
  padding:6px;
}

.menu-panel li{
  opacity:0;
  transform:translateY(10px);
}

.menu-panel[aria-hidden="false"] li{
  animation:itemUp .26s ease forwards;
}

.menu-panel li:nth-child(1){animation-delay:.04s}
.menu-panel li:nth-child(2){animation-delay:.08s}
.menu-panel li:nth-child(3){animation-delay:.12s}
.menu-panel li:nth-child(4){animation-delay:.16s}
.menu-panel li:nth-child(5){animation-delay:.20s}
.menu-panel li:nth-child(6){animation-delay:.24s}
.menu-panel li:nth-child(7){animation-delay:.28s}
.menu-panel li:nth-child(8){animation-delay:.32s}
.menu-panel li:nth-child(9){animation-delay:.36s}
.menu-panel li:nth-child(10){animation-delay:.40s}

.menu-panel a{
  display:block;
  padding:10px 12px;
  color:var(--text);
  text-decoration:none;
  border-radius:10px;
  font-weight:700;
}

.menu-panel a:hover{
  background:rgba(15,23,42,.05);
}

.menu-panel a[aria-current="page"]{
  background:rgba(37,99,235,.08);
  color:var(--brand);
}

.menu-panel .strong{
  color:var(--brand);
}

.menu-panel .menu-cta{
  margin-top:4px;
  color:#ffffff;
  text-align:center;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
}

.menu-panel .menu-cta:hover{
  color:#ffffff;
  background:linear-gradient(135deg,#1d4ed8,#0ea5e9);
}

.menu-panel .sep{
  height:1px;
  background:rgba(15,23,42,.08);
  margin:6px 0;
}

@keyframes fadeIn{
  from{
    opacity:0;
    transform:translateY(6px);
  }

  to{
    opacity:1;
    transform:none;
  }
}

@keyframes itemUp{
  to{
    opacity:1;
    transform:none;
  }
}

/* ALLGEMEINER HERO */
.hero{
  padding:84px 0 56px;
  text-align:center;
}

.claim{
  margin:0 0 14px;
  font-size:clamp(2.2rem,5vw,3.6rem);
  line-height:1.08;
  letter-spacing:.2px;
}

.hero-sub{
  max-width:800px;
  margin:0 auto;
  color:var(--muted);
  font-size:1.05rem;
}

/* STARTSEITEN-HERO MIT NEUEM BILD */
.hero-img{
  position:relative;
  width:100%;
  min-height:620px;
  padding:150px 0 130px;
  overflow:hidden;
  text-align:left;

  background-image:url("hero-bg-reinigung.png");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;

  animation:heroMove 10s ease-in-out infinite alternate;
}

/* Dunkler Verlauf für gut lesbaren Text */
.hero-img::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;

  background:
    linear-gradient(
      90deg,
      rgba(3,12,28,.95) 0%,
      rgba(3,12,28,.86) 30%,
      rgba(3,12,28,.42) 58%,
      rgba(3,12,28,.16) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3,12,28,.26) 0%,
      rgba(3,12,28,.05) 50%,
      rgba(3,12,28,.48) 100%
    );
}

.hero-inner{
  position:relative;
  z-index:2;
}

.hero-img .hero-inner{
  max-width:610px;
  margin:0;
}

.hero-img .claim{
  color:#f9fafb;
  text-shadow:0 3px 18px rgba(0,0,0,.35);
}

.hero-img .hero-sub{
  max-width:590px;
  margin:0;
  color:#e5e7eb;
  font-size:1.08rem;
}

.hero-img .cta-row{
  justify-content:flex-start;
}

@keyframes heroMove{
  from{
    background-position:center 0;
  }

  to{
    background-position:center -35px;
  }
}

/* BUTTONS */
.cta-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin:24px 0 0;
}

.btn{
  display:inline-block;
  padding:12px 18px;
  color:var(--text);
  background:var(--panel);
  border:1px solid rgba(15,23,42,.12);
  border-radius:12px;
  box-shadow:var(--shadow);
  font:inherit;
  font-weight:700;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  transition:transform .2s,filter .2s,background .2s;
}

.btn-primary{
  color:#f9fafb;
  border-color:transparent;
  background:linear-gradient(135deg,var(--brand),var(--brand-2));
}

.btn-primary:hover{
  filter:brightness(1.06);
  transform:translateY(-1px);
}

.btn-outline{
  color:var(--text);
  background:var(--panel);
}

.btn-outline:hover{
  background:#e5e7eb;
}

.hero-img .btn-outline{
  color:#f9fafb;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.35);
}

.hero-img .btn-outline:hover{
  background:rgba(255,255,255,.18);
}

.btn:focus-visible,
.menu-panel a:focus-visible,
.hamburger:focus-visible,
.acc-header:focus-visible{
  outline:3px solid var(--ring);
  outline-offset:3px;
}

/* SEKTIONEN */
.section{
  padding:56px 0;
}

.section-alt{
  background:linear-gradient(
    180deg,
    rgba(15,23,42,.04),
    rgba(15,23,42,0) 70%
  );
}

.section h1{
  margin-top:0;
  font-size:clamp(2rem,4vw,2.8rem);
  line-height:1.15;
}

.section h2{
  margin:0 0 8px;
  font-size:1.8rem;
}

.section-sub{
  max-width:760px;
  margin:0 0 22px;
  color:var(--muted);
}

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

.about{
  display:flex;
  gap:28px;
  align-items:center;
  justify-content:center;
}

.values{
  margin:10px 0 0;
  padding-left:20px;
}

.values li{
  margin:10px 0;
}

/* INFORMATIONSKARTEN */
.info-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:18px;
}

.info-card{
  padding:18px;
  text-align:left;
  background:var(--panel);
  border:1px solid rgba(15,23,42,.06);
  border-radius:16px;
  box-shadow:var(--shadow);
}

.info-card h3{
  margin:0 0 7px;
  font-size:1.05rem;
}

.info-card p{
  margin:0;
  color:var(--muted);
  font-size:.95rem;
}

/* LEISTUNGS-PILLS */
.services-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.service-pill{
  padding:8px 14px;
  background:var(--panel);
  border:1px solid rgba(15,23,42,.08);
  border-radius:999px;
  box-shadow:var(--shadow);
  font-size:.95rem;
}

/* AKKORDEONS */
.acc{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
}

.acc-item{
  overflow:hidden;
  opacity:0;
  transform:translateY(14px) scale(.985);
  background:var(--panel);
  border:1px solid rgba(15,23,42,.06);
  border-radius:14px;
  box-shadow:var(--shadow);
  animation:popUp .34s cubic-bezier(.22,.61,.36,1) forwards;
}

.acc-item:nth-child(1){animation-delay:.04s}
.acc-item:nth-child(2){animation-delay:.08s}
.acc-item:nth-child(3){animation-delay:.12s}
.acc-item:nth-child(4){animation-delay:.16s}
.acc-item:nth-child(5){animation-delay:.20s}
.acc-item:nth-child(6){animation-delay:.24s}
.acc-item:nth-child(7){animation-delay:.28s}
.acc-item:nth-child(8){animation-delay:.32s}
.acc-item:nth-child(9){animation-delay:.36s}

.acc-header{
  width:100%;
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--text);
  background:transparent;
  border:0;
  font:inherit;
  font-size:1rem;
  font-weight:800;
  text-align:left;
  cursor:pointer;
}

.acc-header::after{
  content:"";
  flex:0 0 auto;
  width:10px;
  height:10px;
  margin-left:20px;
  border-right:2px solid var(--text);
  border-bottom:2px solid var(--text);
  transform:rotate(-45deg);
  opacity:.7;
  transition:transform .25s,opacity .25s;
}

.acc-item.active .acc-header::after{
  transform:rotate(45deg);
  opacity:1;
}

.acc-content{
  max-height:0;
  overflow:hidden;
  padding:0 18px;
  color:var(--muted);
  transition:max-height .33s ease,padding .33s ease;
}

.acc-item.active .acc-content{
  max-height:1600px;
  padding:0 18px 16px;
}

.acc-content h4{
  margin:18px 0 8px;
}

.acc-content p{
  margin-top:0;
}

.bullet{
  margin:8px 0 0;
  padding-left:20px;
}

.bullet li{
  margin:7px 0;
}

@keyframes popUp{
  from{
    opacity:0;
    transform:translateY(16px) scale(.985);
  }

  to{
    opacity:1;
    transform:none;
  }
}

/* FORMULARE */
.form{
  width:100%;
  max-width:760px;
  margin-top:18px;
}

.form-row{
  display:flex;
  flex-direction:column;
  margin:14px 0;
}

.form-row label{
  margin-bottom:6px;
  font-weight:700;
}

.form-row input,
.form-row select,
.form-row textarea{
  width:100%;
  padding:12px;
  color:var(--text);
  background:#f9fafb;
  border:1px solid rgba(148,163,184,.8);
  border-radius:12px;
  outline:none;
  box-shadow:none;
  font:inherit;
}

.form-row textarea{
  min-height:130px;
  resize:vertical;
}

.form-row select{
  cursor:pointer;
}

.form-row input[type="checkbox"]{
  width:auto;
  margin-right:8px;
  accent-color:var(--brand);
}

.form-row label:has(input[type="checkbox"]){
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  font-weight:400;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  border-color:var(--brand);
  box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

.form-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:16px;
}

/* RECHTLICHE SEITEN */
.legal{
  max-width:100%;
}

.legal h1{
  margin-top:0;
}

.legal h2{
  margin:30px 0 8px;
}

.legal h3{
  margin:22px 0 8px;
}

.legal p,
.legal li{
  max-width:900px;
}

.disclaimer{
  margin-top:8px;
  color:var(--muted);
  font-size:.9rem;
}

/* STANDARD-FOOTER */
.site-footer{
  margin-top:24px;
  padding:18px 0;
  background:rgba(255,255,255,.94);
  border-top:1px solid rgba(15,23,42,.06);
}

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

.footer-links{
  display:flex;
  align-items:center;
  gap:10px;
}

.footer-links a{
  color:var(--muted);
  text-decoration:none;
}

.footer-links a:hover{
  color:var(--text);
}

/* GROSSER FOOTER DER STARTSEITE */
.mega-footer{
  margin-top:40px;
  padding:50px 0;
  color:#e5e7eb;
  background:#0f172a;
}

.mega-footer h3{
  margin:0 0 10px;
  color:#ffffff;
  font-size:1.1rem;
}

.mega-footer p{
  margin:7px 0;
}

.mega-footer a{
  display:block;
  margin:5px 0;
  color:#cbd5e1;
  text-decoration:none;
  font-size:.95rem;
}

.mega-footer a:hover{
  color:#ffffff;
}

.mega-footer-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:30px;
}

.mega-footer-contact{
  font-size:.95rem;
  line-height:1.6;
}

.footer-bottom{
  margin-top:35px;
  color:#cbd5e1;
  font-size:.9rem;
  text-align:center;
}

/* TABLET */
@media (max-width:900px){
  .info-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .mega-footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .hero-img{
    background-position:55% center;
  }
}

/* SMARTPHONE */
@media (max-width:720px){
  .container{
    padding:0 16px;
  }

  .header-row{
    padding:10px 0;
  }

  .logo{
    font-size:1.1rem;
  }

  .tagline{
    max-width:240px;
    font-size:.73rem;
    line-height:1.35;
  }

  .menu-panel{
    position:fixed;
    top:62px;
    right:12px;
    left:12px;
    width:auto;
    max-height:calc(100vh - 78px);
    overflow-y:auto;
  }

  .hero-img{
    min-height:620px;
    padding:105px 0 85px;
    text-align:center;
    background-position:60% center;
    animation:none;
  }

  .hero-img::before{
    background:rgba(3,12,28,.76);
  }

  .hero-img .hero-inner{
    max-width:none;
    margin:0 auto;
  }

  .hero-img .hero-sub{
    margin:0 auto;
  }

  .hero-img .cta-row{
    justify-content:center;
  }

  .claim{
    font-size:2.2rem;
  }

  .section{
    padding:44px 0;
  }

  .section h2{
    font-size:1.55rem;
  }

  .cta-row{
    flex-direction:column;
    align-items:stretch;
  }

  .btn{
    width:100%;
  }

  .about{
    flex-direction:column;
    align-items:flex-start;
  }

  .info-grid{
    grid-template-columns:1fr;
  }

  .mega-footer-grid{
    grid-template-columns:1fr;
  }

  .footer-row{
    flex-direction:column;
    gap:8px;
    text-align:center;
  }

  .footer-links{
    flex-wrap:wrap;
    justify-content:center;
  }
}

/* BEWEGUNGEN REDUZIEREN */
@media (prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}
