/* ==========================================================================
   Aktiv Best Gebäudeservice — Design System
   ========================================================================== */

:root{
  --navy: #0b2545;
  --navy-light: #14335f;
  --anthracite: #262a30;
  --anthracite-light: #3a3f47;
  --accent: #2f6feb;
  --accent-dark: #1f56c4;
  --accent-soft: #eaf1ff;
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #eef1f6;
  --gray-200: #e2e6ed;
  --gray-400: #9aa4b2;
  --gray-600: #5b6470;
  --gray-800: #2b303a;
  --success: #1f9d55;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(11,37,69,.06);
  --shadow-md: 0 12px 32px rgba(11,37,69,.10);
  --shadow-lg: 0 24px 60px rgba(11,37,69,.16);
  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color:var(--gray-800);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:'Fraunces', 'Manrope', serif; margin:0 0 .5em; color:var(--navy); font-weight:600; letter-spacing:-0.01em; }
h1{ font-size:clamp(2.4rem,5vw,3.6rem); line-height:1.08; font-weight:600; }
h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); line-height:1.15; }
h3{ font-size:1.3rem; line-height:1.3; }
p{ margin:0 0 1em; color:var(--gray-600); }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
section{ position:relative; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.8rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--accent); margin-bottom:14px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--accent); border-radius:2px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border-radius:100px; font-weight:700; font-size:.98rem;
  border:2px solid transparent; cursor:pointer; transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space:nowrap;
}
.btn-primary{ background:var(--accent); color:var(--white); box-shadow:0 10px 24px rgba(47,111,235,.30); }
.btn-primary:hover{ background:var(--accent-dark); transform:translateY(-3px); box-shadow:0 16px 32px rgba(47,111,235,.38); }
.btn-outline{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.5); }
.btn-outline:hover{ background:rgba(255,255,255,.12); border-color:#fff; transform:translateY(-3px); }
.btn-dark{ background:var(--navy); color:#fff; }
.btn-dark:hover{ background:var(--navy-light); transform:translateY(-3px); box-shadow:var(--shadow-md); }
.btn-sm{ padding:11px 22px; font-size:.88rem; }
.btn-block{ width:100%; }
.btn svg{ width:18px; height:18px; transition:transform .25s var(--ease); }
.btn:hover svg{ transform:translateX(3px); }

/* ---------- Header ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:18px 0; transition:background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.site-header.is-scrolled{ background:rgba(255,255,255,.92); backdrop-filter:blur(14px); box-shadow:0 4px 24px rgba(11,37,69,.08); padding:12px 0; }
.brand{ display:flex; align-items:center; gap:12px; font-family:'Fraunces',serif; font-weight:600; font-size:1.2rem; color:var(--navy); }
.brand img{ height:44px; width:auto; transition:height .3s var(--ease); }
.site-header.is-scrolled .brand img{ height:38px; }
.site-header:not(.is-scrolled) .brand{ color:#fff; }
.site-header:not(.is-scrolled) .nav-link{ color:rgba(255,255,255,.92); }

.nav-desktop{ display:flex; align-items:center; gap:36px; }
.nav-link{ font-weight:600; font-size:.95rem; color:var(--gray-800); position:relative; padding:6px 0; }
.nav-link::after{ content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--accent); transition:width .3s var(--ease); }
.nav-link:hover::after, .nav-link.active::after{ width:100%; }
.header-actions{ display:flex; align-items:center; gap:14px; }
.header-phone{ display:flex; align-items:center; gap:8px; font-weight:700; font-size:.92rem; }
.site-header:not(.is-scrolled) .header-phone{ color:#fff; }
.header-phone svg{ width:18px; height:18px; color:var(--accent); }
.site-header:not(.is-scrolled) .header-phone svg{ color:#fff; }

.menu-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:6px; z-index:1100; }
.menu-toggle span{ width:26px; height:2px; background:var(--navy); border-radius:2px; transition:.3s var(--ease); }
.site-header:not(.is-scrolled) .menu-toggle span{ background:#fff; }
.menu-toggle.active span{ background:var(--navy) !important; }
.menu-toggle.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2){ opacity:0; }
.menu-toggle.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position:fixed; inset:0; background:var(--navy); z-index:1050;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:28px;
  opacity:0; visibility:hidden; transform:translateY(-16px);
  transition:opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-nav.active{ opacity:1; visibility:visible; transform:translateY(0); }
.mobile-nav a{ color:#fff; font-family:'Fraunces',serif; font-size:1.6rem; font-weight:600; }
.mobile-nav .btn{ margin-top:10px; }

@media (max-width:960px){
  .nav-desktop, .header-actions .header-phone{ display:none; }
  .menu-toggle{ display:flex; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:center;
  background:linear-gradient(180deg, rgba(6,20,42,.86) 0%, rgba(8,26,54,.82) 55%, rgba(11,37,69,.92) 100%),
    url('images/grundreinigung-1.jpg') center/cover;
  overflow:hidden;
}
.hero::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 20% 20%, rgba(47,111,235,.25), transparent 45%);
  pointer-events:none;
}
.hero-inner{ position:relative; z-index:2; padding-top:120px; padding-bottom:80px; }
.hero-tag{ display:inline-flex; align-items:center; gap:10px; padding:8px 18px; border-radius:100px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); color:#fff; font-weight:600; font-size:.85rem; margin-bottom:26px; backdrop-filter:blur(6px); }
.hero-tag span.dot{ width:8px; height:8px; border-radius:50%; background:#33d17a; box-shadow:0 0 0 4px rgba(51,209,122,.25); }
.hero h1{ color:#fff; max-width:820px; }
.hero h1 em{ font-style:normal; color:#7fb0ff; }
.hero-sub{ color:rgba(255,255,255,.82); font-size:1.15rem; max-width:600px; margin:22px 0 36px; }
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-scroll{ position:absolute; bottom:36px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.7); display:flex; flex-direction:column; align-items:center; gap:8px; font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; z-index:2; }
.hero-scroll .line{ width:1px; height:36px; background:linear-gradient(#fff,transparent); animation:scrollLine 2s infinite; }
@keyframes scrollLine{ 0%{ transform:scaleY(0); transform-origin:top; } 50%{ transform:scaleY(1); transform-origin:top; } 51%{ transform-origin:bottom; } 100%{ transform:scaleY(0); transform-origin:bottom; } }

/* ---------- Sections ---------- */
.section{ padding:110px 0; }
.section-tight{ padding:70px 0; }
.section-dark{ background:var(--navy); color:#fff; }
.section-dark h2, .section-dark h3{ color:#fff; }
.section-dark p{ color:rgba(255,255,255,.72); }
.section-gray{ background:var(--gray-50); }
.section-head{ max-width:680px; margin:0 auto 60px; text-align:center; }
.section-head.left{ margin:0 0 56px; text-align:left; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(36px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-scale{ opacity:0; transform:scale(.94); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-scale.in{ opacity:1; transform:scale(1); }
.stagger > *{ transition-delay:calc(var(--i,0) * 90ms); }

/* ---------- Cards: services ---------- */
.grid{ display:grid; gap:28px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:960px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; } }

.service-card{
  background:#fff; border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm);
  border:1px solid var(--gray-100); transition:transform .4s var(--ease), box-shadow .4s var(--ease);
  display:flex; flex-direction:column;
}
.service-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.service-card .img-wrap{ aspect-ratio:4/3; overflow:hidden; background:var(--gray-100); }
.service-card img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.service-card:hover img{ transform:scale(1.08); }
.service-card .body{ padding:26px 24px 28px; display:flex; flex-direction:column; gap:10px; flex:1; }
.service-card h3{ margin:0; }
.service-card p{ font-size:.94rem; margin:0; flex:1; }
.card-link{ display:inline-flex; align-items:center; gap:8px; font-weight:700; color:var(--accent); font-size:.9rem; margin-top:6px; }
.card-link svg{ width:16px; height:16px; transition:transform .3s var(--ease); }
.service-card:hover .card-link svg{ transform:translateX(4px); }

/* ---------- Why us / icon rows ---------- */
.feature{
  background:#fff; border-radius:var(--radius-md); padding:32px 26px; border:1px solid var(--gray-100);
  box-shadow:var(--shadow-sm); transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feature:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.feature .icon{
  width:56px; height:56px; border-radius:16px; background:var(--accent-soft); color:var(--accent);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; transition:transform .4s var(--ease);
}
.feature:hover .icon{ transform:rotate(-6deg) scale(1.05); }
.feature .icon svg{ width:28px; height:28px; }
.feature h3{ font-size:1.1rem; margin-bottom:8px; }
.feature p{ font-size:.92rem; margin:0; }

/* ---------- Stats ---------- */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media (max-width:768px){ .stats{ grid-template-columns:repeat(2,1fr); } }
.stat{ text-align:center; }
.stat .num{ font-family:'Fraunces',serif; font-size:clamp(2.2rem,4vw,3.2rem); font-weight:600; color:#fff; display:flex; align-items:baseline; justify-content:center; gap:4px; }
.stat .label{ color:rgba(255,255,255,.68); font-size:.92rem; margin-top:8px; }

/* ---------- Before/After ---------- */
.ba-wrap{ position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:16/10; }
.ba-wrap img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ba-after{ clip-path:inset(0 0 0 50%); }
.ba-divider{ position:absolute; top:0; bottom:0; left:50%; width:3px; background:#fff; box-shadow:0 0 0 4px rgba(255,255,255,.35); transform:translateX(-50%); }
.ba-handle{ position:absolute; top:50%; left:50%; width:46px; height:46px; border-radius:50%; background:#fff; transform:translate(-50%,-50%); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md); color:var(--navy); }
.ba-tag{ position:absolute; top:18px; padding:6px 14px; border-radius:100px; background:rgba(11,37,69,.75); color:#fff; font-size:.78rem; font-weight:700; letter-spacing:.05em; backdrop-filter:blur(4px); }
.ba-tag.before{ left:18px; } .ba-tag.after{ right:18px; }

/* ---------- Process steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; counter-reset:step; }
@media (max-width:900px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding-top:12px; }
.step .step-num{ font-family:'Fraunces',serif; font-size:2.6rem; font-weight:600; color:var(--accent-soft); -webkit-text-stroke:1.5px var(--accent); line-height:1; margin-bottom:16px; display:block; }
.step h3{ font-size:1.05rem; }
.step p{ font-size:.9rem; }

/* ---------- Trust bar / logos ---------- */
.trust-bar{ display:flex; flex-wrap:wrap; gap:40px; align-items:center; justify-content:center; opacity:.85; }
.trust-bar .item{ display:flex; align-items:center; gap:10px; font-weight:700; color:var(--gray-600); font-size:.92rem; }
.trust-bar svg{ width:22px; height:22px; color:var(--accent); }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--gray-200); }
.faq-q{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 0; cursor:pointer; font-weight:700; color:var(--navy); font-size:1.02rem; }
.faq-q .plus{ width:22px; height:22px; flex:none; position:relative; }
.faq-q .plus::before, .faq-q .plus::after{ content:""; position:absolute; background:var(--accent); border-radius:2px; transition:transform .3s var(--ease); }
.faq-q .plus::before{ width:100%; height:2px; top:50%; left:0; transform:translateY(-50%); }
.faq-q .plus::after{ width:2px; height:100%; left:50%; top:0; transform:translateX(-50%); }
.faq-item.active .plus::after{ transform:translateX(-50%) rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.faq-a p{ padding-bottom:22px; margin:0; }
.faq-item.active .faq-a{ max-height:400px; }

/* ---------- Testimonial / trust panel ---------- */
.trust-panel{ background:var(--gray-50); border-radius:var(--radius-lg); padding:48px; border:1px solid var(--gray-100); }
.trust-panel .quote-icon{ color:var(--accent); width:36px; height:36px; margin-bottom:18px; }

/* ---------- Contact / CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg, var(--navy), #103a72);
  border-radius:var(--radius-lg); padding:64px 56px; color:#fff; position:relative; overflow:hidden;
}
.cta-band::after{ content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px; border-radius:50%; background:rgba(47,111,235,.25); filter:blur(10px); }
.cta-band-inner{ position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.cta-band h2{ color:#fff; margin-bottom:10px; }
.cta-band p{ color:rgba(255,255,255,.75); margin:0; max-width:460px; }

/* ---------- Forms ---------- */
.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-weight:700; font-size:.88rem; margin-bottom:8px; color:var(--navy); }
.form-field input, .form-field textarea, .form-field select{
  width:100%; padding:14px 16px; border-radius:var(--radius-sm); border:1.5px solid var(--gray-200);
  font-family:inherit; font-size:.96rem; background:#fff; transition:border-color .25s, box-shadow .25s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 4px var(--accent-soft); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }
.form-checkbox{ display:flex; align-items:flex-start; gap:10px; font-size:.85rem; color:var(--gray-600); }
.form-checkbox input{ margin-top:3px; width:auto; }
.form-card{ background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); padding:44px; border:1px solid var(--gray-100); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--anthracite); color:rgba(255,255,255,.72); padding-top:90px; }
.footer-top{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:48px; padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,.08); }
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }
.footer-top h4{ color:#fff; font-family:'Manrope',sans-serif; font-weight:700; font-size:.9rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:20px; }
.footer-top .brand{ color:#fff; margin-bottom:16px; }
.footer-top li{ margin-bottom:12px; }
.footer-top a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:26px 0; flex-wrap:wrap; gap:12px; font-size:.85rem; }
.footer-bottom a:hover{ color:#fff; }
.social-row{ display:flex; gap:12px; }
.social-row a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:background .3s; }
.social-row a:hover{ background:var(--accent); }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta{
  position:fixed; bottom:0; left:0; right:0; z-index:900; background:#fff; box-shadow:0 -8px 24px rgba(11,37,69,.12);
  display:none; padding:12px 16px; gap:10px;
}
.sticky-cta a{ flex:1; }
@media (max-width:768px){ .sticky-cta{ display:flex; } body{ padding-bottom:76px; } }

/* ---------- WhatsApp float ---------- */
.float-actions{ position:fixed; right:24px; bottom:96px; z-index:950; display:flex; flex-direction:column; gap:14px; }
@media (max-width:768px){ .float-actions{ bottom:96px; right:16px; } }
.float-btn{
  width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-lg); transition:transform .3s var(--ease); color:#fff;
}
.float-btn:hover{ transform:scale(1.08); }
.float-btn svg{ width:28px; height:28px; }
.float-btn.whatsapp{ background:#25D366; }
.float-btn.call{ background:var(--accent); }

/* ---------- Breadcrumb / page hero (service pages) ---------- */
.page-hero{
  padding:190px 0 90px; background:linear-gradient(120deg, var(--navy), #123a73); color:#fff; position:relative; overflow:hidden;
}
.page-hero::after{ content:""; position:absolute; right:-10%; top:-30%; width:520px; height:520px; border-radius:50%; background:rgba(47,111,235,.22); filter:blur(20px); }
.breadcrumb{ display:flex; gap:8px; align-items:center; font-size:.85rem; color:rgba(255,255,255,.6); margin-bottom:18px; position:relative; z-index:1; }
.breadcrumb a:hover{ color:#fff; }
.page-hero h1{ color:#fff; max-width:760px; position:relative; z-index:1; }
.page-hero .lead{ color:rgba(255,255,255,.78); max-width:640px; font-size:1.1rem; margin-top:16px; position:relative; z-index:1; }

.bullet-list li{ display:flex; align-items:flex-start; gap:12px; padding:10px 0; color:var(--gray-800); font-weight:500; }
.bullet-list svg{ flex:none; width:20px; height:20px; color:var(--accent); margin-top:2px; }

.other-services{ display:flex; flex-wrap:wrap; gap:10px; }
.other-services a{ padding:10px 18px; border-radius:100px; background:var(--gray-50); border:1px solid var(--gray-200); font-size:.86rem; font-weight:600; transition:.25s var(--ease); }
.other-services a:hover{ background:var(--accent); color:#fff; border-color:var(--accent); }

/* ---------- Utilities ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.max-w-sm{ max-width:520px; margin-left:auto; margin-right:auto; }
.badge{ display:inline-flex; align-items:center; gap:6px; padding:6px 14px; border-radius:100px; background:var(--accent-soft); color:var(--accent); font-weight:700; font-size:.78rem; }
