/* =========================================================
   REKAJ REINIGUNG — DESIGN TOKENS
   Navy: deep, trustworthy · Green: fresh, natural (from logo)
   Display face: Outfit (bold, geometric — echoes flyer headlines)
   Body face: Manrope (warm, humanist, highly legible)
   Signature element: the "drop" — REKAJ's flask lets a single green
   drop fall; that drop shape recurs as the badge, bullet markers,
   section dividers and the wave that closes the hero.
   ========================================================= */
:root{
  --navy: #12233F;
  --navy-2: #1C3A63;
  --navy-soft: #2A4D7A;
  --green: #2FA84F;
  --green-dark: #237E3C;
  --green-tint: #EAF6ED;
  --bg: #F6F8F6;
  --white: #FFFFFF;
  --text: #33404E;
  --text-soft: #64707C;
  --line: #E3E8E4;
  --shadow: 0 20px 45px -20px rgba(18,35,63,.25);
  --shadow-sm: 0 8px 20px -10px rgba(18,35,63,.18);
  --radius: 18px;
  --radius-sm: 12px;
  --ff-display: 'Outfit', sans-serif;
  --ff-body: 'Manrope', sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,.brand-word{ font-family: var(--ff-display); color: var(--navy); }
p{ color: var(--text-soft); line-height: 1.7; }
a{ text-decoration: none; }
::selection{ background: var(--green); color: #fff; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Buttons ---------- */
.btn{ font-family: var(--ff-body); font-weight: 700; border-radius: 999px; padding: .75rem 1.5rem; display: inline-flex; align-items: center; gap: .5rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:active{ transform: translateY(1px); }
.btn-brand-solid{ background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-brand-solid:hover{ background: var(--navy-2); color:#fff; box-shadow: var(--shadow-sm); }
.btn-brand-outline{ background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-brand-outline:hover{ background: var(--navy); color: #fff; }
.btn-whatsapp{ background: var(--green); color:#fff; border: 2px solid var(--green); }
.btn-whatsapp:hover{ background: var(--green-dark); color:#fff; box-shadow: var(--shadow-sm); }
.btn-lang{ background: transparent; border: 2px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-weight: 700; color: var(--navy); font-size:.9rem; }
.btn-lang:hover{ border-color: var(--navy); }
.link-btn{ background:none; border:none; padding:0; color: var(--green-dark); font-weight:700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Navbar ---------- */
.navbar-brand-fixed{ background: rgba(246,248,246,.9); backdrop-filter: blur(10px); padding: .7rem 0; transition: box-shadow .25s ease, padding .25s ease; border-bottom: 1px solid transparent; }
.navbar-brand-fixed.scrolled{ box-shadow: 0 8px 24px -12px rgba(18,35,63,.2); border-bottom-color: var(--line); padding:.45rem 0; }
.brand-logo{ height: 42px; width: auto; border-radius: 8px; }
.brand-word{ font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: .01em; }
.brand-word em{ font-style: normal; color: var(--green-dark); }
.navbar-nav .nav-link{ font-weight: 700; color: var(--navy); padding: .5rem 1rem !important; position: relative; }
.navbar-nav .nav-link::after{ content:""; position:absolute; left: 1rem; right:1rem; bottom: .25rem; height: 2px; background: var(--green); transform: scaleX(0); transition: transform .2s ease; transform-origin: left; }
.navbar-nav .nav-link:hover::after{ transform: scaleX(1); }
.lang-dropdown .dropdown-menu{ border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 170px; }
.lang-dropdown .dropdown-item{ font-weight: 600; padding: .5rem 1.2rem; display:flex; align-items:center; gap:.6rem; }
.lang-dropdown .dropdown-item.active-lang{ color: var(--green-dark); font-weight: 800; }
.lang-flag{ width: 22px; height: 15px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(18,35,63,.12); flex-shrink:0; }
.btn-lang{ display:inline-flex; align-items:center; gap:.45rem; }

/* ---------- Hero ---------- */
.hero{ position: relative; padding: 9.5rem 0 0; overflow: hidden; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(47,168,79,.10), transparent 60%),
  linear-gradient(180deg, #FCFDFC 0%, #F6F8F6 100%);
}
.eyebrow{ display:inline-flex; align-items:center; gap:.5rem; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); background: var(--green-tint); padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.1rem; }
.eyebrow-dark{ color: var(--navy); background: var(--green-tint); }
.eyebrow-light{ color: #fff; background: rgba(255,255,255,.12); }
.hero-title{ font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; margin-bottom: 1.1rem; }
.hero-sub{ font-size: 1.1rem; max-width: 42ch; margin-bottom: 1.8rem; }
.hero-actions{ display:flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.2rem; }
.hero-trust{ display:flex; flex-wrap: wrap; gap: 1.6rem; }
.trust-item{ display:flex; align-items:center; gap:.5rem; font-weight: 700; color: var(--navy); }
.trust-item i{ color: var(--green); font-size: 1.1rem; }

.hero-visual{ position: relative; }
.hero-img{ width: 100%; height: auto; display: block; border-radius: 28px; box-shadow: var(--shadow); }
.discount-badge{ position: absolute; right: -1rem; bottom: -1.5rem; width: 150px; height: 150px; background: var(--green); color:#fff; border-radius: 50%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; box-shadow: 0 15px 30px -10px rgba(47,168,79,.55); border: 5px solid var(--bg); }
.discount-num{ font-family: var(--ff-display); font-size: 2rem; font-weight: 900; line-height: 1; }
.discount-text{ font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; margin-top: .2rem; }

.hero-wave{ margin-top: 4rem; line-height: 0; }
.hero-wave svg{ width: 100%; height: 80px; display:block; }

/* ---------- Section shells ---------- */
section{ padding: 5.5rem 0; }
.section-head{ max-width: 640px; margin: 0 auto 3rem; text-align:center; }
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: .75rem; }
.section-head-light h2{ color:#fff; }
.section-head-light p{ color: rgba(255,255,255,.75); }

/* ---------- Services / Gallery ---------- */
.section-services{ background: var(--bg); }
.service-card{ background:#fff; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); height:100%; display:flex; flex-direction:column; border:1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover{ box-shadow: var(--shadow); }
.service-img{ height: 150px; background-size: cover; background-position:center; position: relative; }
.service-icon{ width: 54px; height:54px; border-radius: 16px; background: var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin: -27px 1.4rem 0; box-shadow: var(--shadow-sm); position:relative; z-index:2; }
.service-card h3{ font-size: 1.08rem; font-weight: 800; padding: 1rem 1.4rem 0; }
.service-card ul{ list-style:none; padding: .5rem 1.4rem 1.5rem; margin:0; flex:1; }
.service-card li{ position:relative; padding-left: 1.3rem; margin-bottom:.6rem; font-size:.92rem; color: var(--text-soft); }
.service-card li::before{ content:""; position:absolute; left:0; top:.45rem; width:8px; height:8px; border-radius: 50% 50% 50% 0; background: var(--green); transform: rotate(45deg); }

.household-strip{ margin-top: 3rem; background: var(--navy); border-radius: 24px; padding: 2.5rem; }
.household-strip h3{ color:#fff; font-size:1.3rem; font-weight:800; margin-bottom: 1.8rem; display:flex; align-items:center; gap:.6rem; }
.household-strip h3 i{ color: var(--green); }
.hh-item{ display:flex; align-items:center; gap:.7rem; color: rgba(255,255,255,.9); font-weight:600; font-size:.92rem; }
.hh-item i{ color: var(--green); font-size: 1.2rem; flex-shrink:0; }

/* ---------- Projects ---------- */
.section-projects{ background: var(--bg); }
.project-card{ position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover{ box-shadow: var(--shadow); }
.project-thumb{ display:block; width: 100%; height: 260px; background-size: cover; background-position: center; transition: transform .5s ease; }
.project-card:hover .project-thumb{ transform: scale(1.06); }
.project-badge{ position: absolute; top: .9rem; right: .9rem; background: rgba(18,35,63,.82); color:#fff; font-weight:700; font-size:.82rem; padding: .35rem .7rem; border-radius: 999px; display:inline-flex; align-items:center; gap:.35rem; backdrop-filter: blur(4px); }
.project-overlay{ position: absolute; left:0; right:0; bottom:0; padding: 1.4rem 1.2rem 1rem; display:flex; flex-direction:column; align-items:flex-start; gap:.25rem; text-align:left; background: linear-gradient(to top, rgba(14,28,51,.92) 0%, rgba(14,28,51,.55) 55%, transparent 100%); }
.project-name{ color:#fff; font-family: var(--ff-display); font-weight: 800; font-size: 1.15rem; }
.project-view{ color: var(--green-tint); font-weight: 700; font-size: .85rem; display:inline-flex; align-items:center; gap:.4rem; transition: gap .2s ease; }
.project-card:hover .project-view{ gap:.7rem; }

/* Project modal / slider */
.project-modal .modal-content{ border:none; border-radius: 20px; overflow: hidden; }
.project-modal .modal-header{ border-bottom: 1px solid var(--line); padding: 1rem 1.4rem; }
.project-modal .modal-title{ font-family: var(--ff-display); font-weight: 800; color: var(--navy); }
.project-modal .modal-body{ padding: 1rem 1.4rem 1.6rem; }
.project-carousel{ position: relative; border-radius: 16px; overflow: hidden; background: #0E1C33; }
/* FIXE Bühne: egal welche Bildgrösse, das Modal bewegt sich nie */
.project-carousel .carousel-item{ height: min(62vh, 560px); }
.project-carousel .carousel-item img{ width: 100%; height: 100%; object-fit: contain; display:block; background:#0E1C33; }
.project-carousel .carousel-control-prev, .project-carousel .carousel-control-next{ width: 12%; opacity: 0; transition: opacity .2s ease; }
.project-carousel:hover .carousel-control-prev, .project-carousel:hover .carousel-control-next{ opacity: 1; }
.project-carousel .carousel-control-prev-icon, .project-carousel .carousel-control-next-icon{ background-color: rgba(18,35,63,.55); border-radius: 50%; width: 46px; height: 46px; background-size: 46% 46%; }
.project-counter{ position: absolute; bottom: .8rem; right: .9rem; background: rgba(14,28,51,.75); color:#fff; font-weight:700; font-size:.8rem; padding: .3rem .7rem; border-radius: 999px; display:inline-flex; align-items:center; gap:.4rem; z-index: 3; }
.project-counter i{ color: var(--green); }
.project-thumbs{ display:flex; gap:.55rem; flex-wrap: nowrap; overflow-x: auto; padding: .9rem 0 .3rem; scrollbar-width: thin; }
.project-thumbs img{ width: 74px; height: 56px; object-fit: cover; border-radius: 8px; cursor: pointer; flex-shrink: 0; opacity: .55; border: 2px solid transparent; transition: opacity .2s ease, border-color .2s ease; }
.project-thumbs img:hover{ opacity: .85; }
.project-thumbs img.active-thumb{ opacity: 1; border-color: var(--green); }
.project-desc{ margin: .4rem 0 0; color: var(--text-soft); line-height: 1.7; }

/* ---------- About ---------- */
.section-about{ background: #fff; }
.about-visual{ position:relative; }
.about-img{ width:100%; height: auto; display: block; border-radius: 28px; box-shadow: var(--shadow); }
.about-lead{ font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.about-values{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top: 1.6rem; }
.value-chip{ display:flex; align-items:center; gap:.55rem; background: var(--green-tint); color: var(--green-dark); font-weight:700; font-size:.88rem; padding:.55rem 1rem; border-radius: 999px; }

/* ---------- Contact ---------- */
.section-contact{ background: var(--navy); position: relative; overflow:hidden; }
.section-contact::before{ content:""; position:absolute; inset:0; background: radial-gradient(900px 400px at 10% 0%, rgba(47,168,79,.18), transparent 60%); pointer-events:none; }
.contact-info-card{ background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.6rem; backdrop-filter: blur(6px); }
.contact-row{ display:flex; align-items:center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.1); color:#fff; }
.contact-row:last-of-type{ border-bottom:none; }
.contact-row strong{ display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color: rgba(255,255,255,.6); font-weight:700; }
.contact-row span span{ font-weight:700; }
.contact-row-static{ cursor: default; }
.contact-ico{ width:44px; height:44px; border-radius: 12px; background: var(--green); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:1.05rem; }
.contact-map{ margin-top: 1.2rem; border-radius: 14px; overflow:hidden; height: 220px; }
.contact-map iframe{ width:100%; height:100%; border:0; filter: grayscale(.15); }

.contact-form{ background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-form .form-label{ font-weight: 700; color: var(--navy); font-size:.9rem; }
.contact-form .form-control, .contact-form .form-select{ border-radius: 10px; border: 1.5px solid var(--line); padding: .65rem .9rem; }
.contact-form .form-control:focus, .contact-form .form-select:focus{ border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(47,168,79,.15); }
.form-hint{ font-size: .78rem; margin-top: .6rem; text-align:center; color: var(--text-soft); }

/* ---------- Footer ---------- */
.site-footer{ background: #0E1C33; color: rgba(255,255,255,.75); padding: 3.5rem 0 2rem; }
.footer-logo{ height: 36px; border-radius: 6px; }
.site-footer .brand-word{ color:#fff; }
.footer-tagline{ color: rgba(255,255,255,.55); font-size:.9rem; }
.site-footer h6{ color:#fff; font-weight:800; margin-bottom: 1rem; font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; }
.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links li{ margin-bottom:.6rem; }
.footer-links a, .footer-links .link-btn{ color: rgba(255,255,255,.7); font-weight: 600; text-decoration:none; }
.footer-links a:hover, .footer-links .link-btn:hover{ color: var(--green); }
.site-footer hr{ border-color: rgba(255,255,255,.12); margin: 2rem 0 1.2rem; }
.footer-bottom{ font-size:.82rem; color: rgba(255,255,255,.5); }

/* ---------- Cookie banner ---------- */
.cookie-banner{ position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 720px; margin: 0 auto; background: var(--navy); color:#fff; border-radius: 16px; padding: 1.1rem 1.4rem; box-shadow: 0 20px 45px -15px rgba(0,0,0,.4); z-index: 1080; transform: translateY(140%); transition: transform .4s ease; }
.cookie-banner.show-banner{ transform: translateY(0); }
.cookie-inner{ display:flex; flex-wrap:wrap; align-items:center; gap: 1rem; justify-content: space-between; }
.cookie-inner p{ margin:0; font-size:.85rem; color: rgba(255,255,255,.85); flex: 1 1 320px; }
.link-inline{ color: var(--green) !important; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float{ position: fixed; right: 1.4rem; bottom: 1.4rem; width: 58px; height:58px; border-radius:50%; background: var(--green); color:#fff; display:flex; align-items:center; justify-content:center; font-size: 1.6rem; box-shadow: 0 12px 28px -8px rgba(47,168,79,.6); z-index: 1050; animation: pulse-wa 2.4s infinite; }
.whatsapp-float:hover{ background: var(--green-dark); color:#fff; }
@keyframes pulse-wa{ 0%{ box-shadow: 0 0 0 0 rgba(47,168,79,.5);} 70%{ box-shadow: 0 0 0 14px rgba(47,168,79,0);} 100%{ box-shadow: 0 0 0 0 rgba(47,168,79,0);} }

/* ---------- Reveal on scroll ---------- */
[data-reveal]{ opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in-view{ opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"]{ transition-delay: .1s; }
[data-reveal-delay="2"]{ transition-delay: .2s; }
[data-reveal-delay="3"]{ transition-delay: .3s; }

/* ---------- Tilt (subtle 3D) ---------- */
.tilt-el{ transform-style: preserve-3d; will-change: transform; transition: transform .15s ease-out; }

/* ---------- Responsive ---------- */
@media (max-width: 991px){
  .hero{ padding-top: 7.5rem; text-align:center; }
  .hero-copy{ display:flex; flex-direction:column; align-items:center; }
  .hero-actions, .hero-trust{ justify-content:center; }
  .hero-sub{ max-width: none; }
  .discount-badge{ right: 1rem; }
  .navbar-collapse{ background:#fff; margin-top: 1rem; padding: 1rem; border-radius: 14px; box-shadow: var(--shadow-sm); }
  /* Sprach-Dropdown im Handy: im weissen Menü-Kasten bleiben, nicht überlaufen */
  .lang-dropdown{ width: 100%; }
  .lang-dropdown .btn-lang{ width: 100%; justify-content: center; }
  .lang-dropdown .dropdown-menu{ position: static !important; float: none; width: 100%; margin-top: .5rem; box-shadow: none; }
}
@media (max-width: 575px){
  .discount-badge{ width: 120px; height:120px; }
  .discount-num{ font-size: 1.5rem; }
  .household-strip{ padding: 1.6rem; }
  .contact-form{ padding: 1.4rem; }
}
