/* =============================================
   CFW SANIERUNG V2 — Dark Industrial Design
   Farben: #0a0a0c (deep), #141417 (surface), #1A191D (bg)
   Akzent: #CD0001 (rot), #E50914 (hell-rot)
   Schrift: Inter, System-Fonts
   ============================================= */

/* --- Reset & Base --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  background:#0a0a0c;
  color:#e0e0e0;
  line-height:1.7;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

/* --- Typography --- */
h1,h2,h3,h4{line-height:1.2;font-weight:700;color:#fff;overflow-wrap:break-word;hyphens:auto}
h1{font-size:clamp(2.2rem,5vw,4rem);letter-spacing:-0.02em}
h2{font-size:clamp(1.8rem,3.5vw,2.6rem);letter-spacing:-0.01em}
h3{font-size:clamp(1.2rem,2vw,1.5rem)}
h4{font-size:clamp(1rem,1.5vw,1.1rem)}
@media(max-width:480px){
  h1{font-size:1.6rem}
  h2{font-size:1.3rem}
  h3{font-size:1.05rem}
  .page-hero h1{font-size:1.5rem}
  .hero-content h1{font-size:1.7rem}
}
p{margin-bottom:1rem;color:#b0b0b0}
a{color:#E50914;text-decoration:none;transition:color .3s}
a:hover{color:#ff1a1a}

.section-title{
  text-align:center;
  margin-bottom:3rem;
  position:relative;
}
.section-title h2{
  display:inline-block;
  position:relative;
  padding-bottom:.5rem;
}
.section-title h2::after{
  content:'';
  position:absolute;
  bottom:0;left:50%;transform:translateX(-50%);
  width:60px;height:3px;
  background:#CD0001;
  border-radius:2px;
}
.section-title p{
  color:#888;
  font-size:.95rem;
  margin-top:.5rem;
}

/* --- Container --- */
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.container-sm{max-width:900px;margin:0 auto;padding:0 1.5rem}

/* =============================================
   TOP BAR
   ============================================= */
.topbar{
  background:#111;
  border-bottom:1px solid #222;
  font-size:.82rem;
  padding:.5rem 0;
}
.topbar .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:.5rem;
}
.topbar a{color:#999;display:flex;align-items:center;gap:.4rem}
.topbar a:hover{color:#E50914}
.topbar svg{width:14px;height:14px;fill:#888}

/* --- Navigation --- */
.site-header{
  background:#141417;
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid #222;
  backdrop-filter:blur(10px);
}
.site-header .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:.6rem;
  padding-bottom:.6rem;
}
.logo{display:flex;align-items:center;gap:.7rem;text-decoration:none}
.logo-icon{height:50px;width:auto}
.logo-text{display:flex;flex-direction:column;line-height:1.05}
.logo-cfw{font-size:1.55rem;font-weight:900;color:#fff;letter-spacing:1.5px;font-family:'Inter',sans-serif}
.logo-sanierung{font-size:.8rem;font-weight:700;color:#fff;letter-spacing:2.5px;font-family:'Inter',sans-serif}
@media(max-width:480px){.logo-text{display:none}}
.main-nav{display:flex;align-items:center;gap:1.5rem;list-style:none}
.main-nav a{
  color:#ccc;
  font-weight:500;
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:.5px;
  position:relative;
  padding:.3rem 0;
  text-decoration:none;
}
.main-nav a::after{
  content:'';
  position:absolute;
  bottom:0;left:0;
  width:0;height:2px;
  background:#CD0001;
  transition:width .3s;
}
.main-nav a:hover,.main-nav a.active{color:#fff}
.main-nav a:hover::after,.main-nav a.active::after{width:100%}

/* Dropdown */
.nav-dropdown{position:relative}
.nav-dropdown > a{cursor:pointer}
.dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  background:#1a1a1d;
  border:1px solid #333;
  border-radius:4px;
  min-width:220px;
  padding:.5rem 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:all .25s;
  z-index:1001;
}
.nav-dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown-menu a{
  display:block;
  padding:.6rem 1.2rem;
  color:#ccc !important;
  font-size:.82rem;
  text-transform:none;
  letter-spacing:0;
  transition:all .2s;
  white-space:nowrap;
}
.dropdown-menu a:hover{background:#CD0001;color:#fff !important}
.dropdown-menu a::after{display:none}

/* --- Dropdown Navigation --- */
.nav-dropdown{
  position:relative;
}
.nav-dropdown > a{
  cursor:pointer;
}
.dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  background:#141417;
  border:1px solid #222;
  border-radius:4px;
  min-width:260px;
  padding:.5rem 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:all .25s cubic-bezier(.4,0,.2,1);
  z-index:1001;
  box-shadow:0 16px 40px rgba(0,0,0,.5);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.dropdown-menu a{
  display:block;
  padding:.6rem 1.2rem;
  color:#ccc !important;
  font-size:.85rem;
  font-weight:400;
  text-transform:none;
  letter-spacing:0;
  transition:all .2s;
  white-space:nowrap;
}
.dropdown-menu a:hover{
  background:rgba(205,0,1,.12);
  color:#fff !important;
}
.dropdown-menu a::after{
  display:none !important;
}
/* Mobile: Dropdown innerhalb des mobilen Menüs */
@media(max-width:768px){
  .dropdown-menu{
    position:static;
    background:transparent;
    border:none;
    box-shadow:none;
    opacity:1;
    visibility:visible;
    transform:none;
    padding-left:1rem;
    display:none;
  }
  .nav-dropdown.open .dropdown-menu{
    display:block;
  }
  .nav-dropdown > a{
    pointer-events:auto;
  }
  .nav-dropdown > a::after{
    content:' ▾';
    font-size:.75rem;
  }
}

.btn-primary{
  display:inline-block;
  background:#CD0001;
  color:#fff !important;
  padding:.7rem 1.8rem;
  font-weight:700;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.8px;
  border-radius:3px;
  transition:all .3s;
  border:none;
  cursor:pointer;
}
.btn-primary:hover{background:#E50914;transform:translateY(-1px);box-shadow:0 8px 25px rgba(205,0,1,.35)}
.btn-primary::after{display:none !important}

.btn-outline{
  display:inline-block;
  border:2px solid #CD0001;
  color:#fff !important;
  padding:.65rem 1.8rem;
  font-weight:700;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.8px;
  border-radius:3px;
  transition:all .3s;
}
.btn-outline:hover{background:#CD0001;transform:translateY(-1px)}

/* Mobile Menu */
.mobile-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:.5rem;
}
.mobile-toggle span{
  display:block;
  width:26px;height:2px;
  background:#fff;
  margin:6px 0;
  transition:.3s;
}

/* =============================================
   HERO WITH SLIDER
   ============================================= */
.hero-slider{
  position:relative;
  height:85vh;
  min-height:550px;
  overflow:hidden;
}
.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 1s ease-in-out;
  display:flex;
  align-items:center;
}
.hero-slide.active{opacity:1}
.hero-slide .slide-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  filter:brightness(.35);
  transform:scale(1.05);
  transition:transform 6s ease;
}
.hero-slide.active .slide-bg{transform:scale(1)}
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(0,0,0,.85) 0%,rgba(10,10,12,.6) 60%,rgba(205,0,1,.15) 100%);
}
.hero-content{
  position:relative;
  z-index:2;
  max-width:700px;
  padding:0 1.5rem;
}
.hero-content .subtitle{
  color:#CD0001;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:.8rem;
  margin-bottom:1rem;
  display:block;
}
.hero-content h1{
  font-size:clamp(2.5rem,6vw,4.5rem);
  margin-bottom:1.5rem;
  line-height:1.1;
}
.hero-content h1 span{color:#CD0001}
.hero-content p{
  font-size:1.1rem;
  color:#ccc;
  margin-bottom:2rem;
  max-width:500px;
}

.hero-controls{
  position:absolute;
  bottom:3rem;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:.8rem;
  z-index:3;
}
.hero-dot{
  width:12px;height:12px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.5);
  background:transparent;
  cursor:pointer;
  transition:all .3s;
}
.hero-dot.active{background:#CD0001;border-color:#CD0001;transform:scale(1.3)}
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  background:rgba(20,20,23,.8);
  border:1px solid #333;
  color:#fff;
  width:50px;height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:1.3rem;
  transition:.3s;
  border-radius:3px;
}
.hero-arrow:hover{background:#CD0001;border-color:#CD0001}
.hero-arrow.prev{left:1.5rem}
.hero-arrow.next{right:1.5rem}

/* =============================================
   SERVICE CARDS
   ============================================= */
.services-section{
  padding:5rem 0;
  background:#0d0d0f;
}
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:2rem;
}
.service-card{
  background:#141417;
  border:1px solid #222;
  border-radius:6px;
  overflow:hidden;
  transition:all .4s;
  position:relative;
}
.service-card:hover{
  transform:translateY(-8px);
  border-color:#CD0001;
  box-shadow:0 20px 40px rgba(205,0,1,.1);
}
.service-card .card-image{
  height:240px;
  background-size:cover;
  background-position:center;
  position:relative;
}
.service-card .card-image::after{
  content:'';
  position:absolute;
  bottom:0;left:0;right:0;
  height:60px;
  background:linear-gradient(transparent,#141417);
}
.service-card .card-body{padding:1.5rem 1.8rem 2rem}
.service-card .card-icon{
  width:50px;height:50px;
  background:#CD0001;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1rem;
}
.service-card .card-icon svg{width:24px;height:24px;fill:#fff}
.service-card h3{font-size:1.3rem;margin-bottom:.8rem}
.service-card p{color:#999;font-size:.92rem;margin-bottom:1.5rem}
.service-card .card-link{
  color:#CD0001;
  font-weight:600;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.5px;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
}
.service-card .card-link:hover{gap:.8rem}

/* =============================================
   STATS / COUNTER
   ============================================= */
.stats-section{
  padding:4rem 0;
  background:linear-gradient(135deg,#141417 0%,#0d0d0f 100%);
  border-top:1px solid #222;
  border-bottom:1px solid #222;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:2rem;
  text-align:center;
}
.stat-item .stat-number{
  font-size:3rem;
  font-weight:800;
  color:#CD0001;
  line-height:1;
}
.stat-item .stat-label{
  color:#888;
  margin-top:.5rem;
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:1px;
}

/* =============================================
   WHY US
   ============================================= */
.why-section{padding:5rem 0;background:#0a0a0c}
.why-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4rem;
  align-items:center;
}
.why-image img{
  width:100%;
  border-radius:6px;
  border:1px solid #222;
}
.why-list{list-style:none}
.why-list li{
  display:flex;
  gap:1rem;
  padding:1rem 0;
  border-bottom:1px solid #1a1a1d;
}
.why-list li:last-child{border:none}
.why-list .why-icon{
  flex-shrink:0;
  width:22px;height:22px;
  color:#CD0001;
  font-size:1.1rem;
  margin-top:2px;
}
.why-list h4{font-size:1.05rem;margin-bottom:.2rem}
.why-list p{font-size:.88rem;color:#888;margin:0}

/* =============================================
   PROCESS
   ============================================= */
.process-section{padding:5rem 0;background:#0d0d0f}
.process-grid{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:0;
  position:relative;
  flex-wrap:wrap;
}
.process-step{
  text-align:center;
  position:relative;
  padding:1.2rem .6rem;
  background:#141417;
  border:1px solid #222;
  border-radius:6px;
  flex:1 1 140px;
  min-width:130px;
  max-width:180px;
}
.process-step .step-number{
  width:40px;height:40px;
  background:#CD0001;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:1rem;
  margin:0 auto .8rem;
}
.process-step h4{font-size:.82rem;margin-bottom:.3rem;color:#fff}
.process-step p{font-size:.72rem;color:#b0b0b0;margin:0}

/* Pfeil zwischen Prozess-Schritten */
.process-arrow{
  display:flex;
  align-items:center;
  align-self:flex-start;
  padding-top:1.8rem;
  color:#CD0001;
  font-size:1.2rem;
  font-weight:700;
  flex-shrink:0;
}
.process-arrow span{display:block}

@media(max-width:768px){
  .process-grid{flex-direction:column;align-items:center;gap:0}
  .process-step{max-width:100%;width:100%}
  .process-arrow{transform:rotate(90deg);padding-top:.5rem}
}

@media(max-width:480px){
  .hero-slider{height:50vh;min-height:280px}
  .hero-content h1{font-size:1.2rem}
  .hero-content .subtitle{font-size:.6rem}
  .hero-dot{width:7px;height:7px}
  .stats-grid{grid-template-columns:1fr}
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-section{
  padding:5rem 0;
  background:linear-gradient(135deg,#CD0001 0%,#8B0000 100%);
  text-align:center;
}
.cta-section h2{color:#fff;margin-bottom:1rem}
.cta-section p{color:rgba(255,255,255,.85);max-width:600px;margin:0 auto 2rem}
.cta-section .btn-primary{background:#fff;color:#CD0001 !important}
.cta-section .btn-primary:hover{background:#f0f0f0;box-shadow:0 8px 30px rgba(0,0,0,.3)}

/* =============================================
   FAQ
   ============================================= */
.faq-section{padding:5rem 0;background:#0a0a0c}
.faq-list{max-width:800px;margin:0 auto}
.faq-item{
  background:#141417;
  border:1px solid #222;
  border-radius:6px;
  margin-bottom:1rem;
  overflow:hidden;
}
.faq-question{
  width:100%;
  background:none;
  border:none;
  color:#fff;
  font-size:1rem;
  font-weight:600;
  padding:1.2rem 1.5rem;
  text-align:left;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
}
.faq-question::after{
  content:'+';
  font-size:1.5rem;
  font-weight:300;
  color:#CD0001;
  transition:.3s;
}
.faq-item.open .faq-question::after{content:'−';transform:rotate(180deg)}
.faq-answer{
  padding:0 1.5rem;
  max-height:0;
  overflow:hidden;
  transition:max-height .4s ease,padding .4s ease;
}
.faq-item.open .faq-answer{padding:0 1.5rem 1.5rem;max-height:300px}
.faq-answer p{color:#999;font-size:.92rem}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section{padding:5rem 0;background:#0d0d0f}
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:3rem;
  align-items:start;
}
.contact-info h2{margin-bottom:1rem}
.contact-details{list-style:none;margin-top:2rem}
.contact-details li{
  display:flex;
  gap:1rem;
  padding:.8rem 0;
  color:#ccc;
}
.contact-details .contact-icon{
  width:44px;height:44px;
  background:#141417;
  border:1px solid #333;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.contact-form{
  background:#141417;
  border:1px solid #222;
  border-radius:6px;
  padding:2rem;
}
.form-group{margin-bottom:1.2rem}
.form-group label{
  display:block;
  color:#ccc;
  font-size:.85rem;
  margin-bottom:.4rem;
  font-weight:500;
}
.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:.8rem 1rem;
  background:#0a0a0c;
  border:1px solid #333;
  color:#fff;
  border-radius:4px;
  font-family:inherit;
  font-size:.9rem;
  transition:border-color .3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color:#CD0001;
}
.form-group textarea{resize:vertical;min-height:130px}

/* =============================================
   FOOTER
   ============================================= */
.site-footer{
  background:#0a0a0c;
  border-top:1px solid #222;
  padding:4rem 0 2rem;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.2fr;
  gap:3rem;
}
.footer-col h4{
  color:#fff;
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:1.2rem;
  position:relative;
  padding-bottom:.5rem;
}
.footer-col h4::after{
  content:'';
  position:absolute;
  bottom:0;left:0;
  width:30px;height:2px;
  background:#CD0001;
}
.footer-col p{font-size:.85rem;color:#888}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:.6rem}
.footer-col ul li a{color:#888;font-size:.85rem;transition:color .3s}
.footer-col ul li a:hover{color:#CD0001}
.footer-bottom{
  margin-top:3rem;
  padding-top:1.5rem;
  border-top:1px solid #1a1a1d;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
  font-size:.82rem;
  color:#666;
}
.footer-bottom a{color:#888}

/* =============================================
   PAGE HERO (Subpages)
   ============================================= */
.page-hero{
  padding:3rem 0;
  background:#141417;
  border-bottom:1px solid #222;
  text-align:center;
}
.page-hero h1{font-size:2.5rem;overflow-wrap:break-word;hyphens:auto}
.page-hero .breadcrumb{
  margin-top:.8rem;
  color:#888;
  font-size:.85rem;
}
.page-hero .breadcrumb a{color:#CD0001}

/* --- Content Section --- */
.content-section{padding:4rem 0;background:#0a0a0c}
.content-section h2{margin:2rem 0 1rem}
.content-section h2:first-child{margin-top:0}
.content-section ul,.content-section ol{margin:1rem 0 1rem 1.5rem;color:#ccc}
.content-section li{margin-bottom:.5rem}

/* --- Impressum / Datenschutz --- */
.legal-section{padding:4rem 0;background:#0a0a0c}
.legal-section h3{margin:2rem 0 .8rem;font-size:1.1rem}
.legal-section h3:first-child{margin-top:0}
.legal-section p,.legal-section li{font-size:.9rem;color:#999}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .8s ease,transform .8s ease;
}
.fade-in.visible{opacity:1;transform:translateY(0)}

/* WhatsApp Float */
.whatsapp-float{
  position:fixed;
  bottom:1.5rem;
  right:1.5rem;
  z-index:999;
  background:#25D366;
  color:#fff;
  width:56px;height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.6rem;
  box-shadow:0 4px 15px rgba(37,211,102,.4);
  transition:transform .3s;
  text-decoration:none;
}
.whatsapp-float:hover{transform:scale(1.1)}
@media(max-width:480px){.whatsapp-float{width:48px;height:48px;font-size:1.3rem;bottom:1rem;right:1rem}}
.cookie-banner{
  position:fixed;
  bottom:0;left:0;right:0;
  background:#141417;
  border-top:1px solid #333;
  padding:1rem 0;
  z-index:9999;
  font-size:.85rem;
  display:none;
}
.cookie-banner .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.cookie-banner p{color:#999;margin:0}
.cookie-banner a{color:#CD0001}

/* =============================================
   RESPONSIVE
   ============================================= */
@media(max-width:1024px){
  .why-grid{grid-template-columns:1fr;gap:2rem}
  .footer-grid{grid-template-columns:repeat(2,1fr);gap:2rem}
  .contact-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .mobile-toggle{display:block}
  .main-nav{
    display:none;
    position:absolute;
    top:100%;left:0;right:0;
    background:#141417;
    flex-direction:column;
    padding:1rem;
    border-top:1px solid #222;
    z-index:999;
  }
  .main-nav.open{display:flex}
  .hero-slider{height:55vh;min-height:320px}
  .hero-content h1{font-size:1.4rem}
  .hero-content p{font-size:.85rem;display:none}
  .hero-content .btn-primary{padding:.5rem 1.2rem;font-size:.75rem}
  .hero-content .subtitle{font-size:.65rem;margin-bottom:.4rem}
  .hero-arrow{width:32px;height:32px;font-size:.8rem}
  .hero-arrow.prev{left:.3rem}
  .hero-arrow.next{right:.3rem}
  .hero-dot{width:8px;height:8px}
  .hero-overlay{background:linear-gradient(135deg,rgba(0,0,0,.9) 0%,rgba(10,10,12,.7) 60%,rgba(205,0,1,.1) 100%)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .services-grid{grid-template-columns:1fr}
  .nav-dropdown .dropdown-menu{position:static;background:transparent;border:none;opacity:1;visibility:visible;transform:none;padding-left:1rem}
  .nav-dropdown .dropdown-menu a{font-size:.8rem}
  .page-hero h1{font-size:1.5rem !important}
}
@media(max-width:480px){
  .hero-slider{height:60vh;min-height:350px}
  .hero-content h1{font-size:1.8rem}
  .stats-grid{grid-template-columns:1fr}
  .process-grid{grid-template-columns:1fr}
}
