/* =========================================
   BIBER ALLTAGSHELDEN - GLOBAL STYLES
   ========================================= */

:root {
  --green:       #4a7a5a;
  --green-dark:  #2f5d40;
  --green-light: #e7f1ea;
  --green-mid:   #b8d2c3;
  --text:        #111;
  --text-mid:    #2f2f2f;
  --text-soft:   #4a4a4a;
  --border:      #d9dfd7;
  --white:       #ffffff;
  --bg:          #f3f6f1;
  --whatsapp:    #1ebe5a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* Container */
.container-custom {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 56px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  transition: all .15s;
  white-space: nowrap;
}
.nav-menu > li > a:hover { color: var(--green-dark); background: var(--green-light); }
.nav-menu > li > a.active { color: var(--green-dark); font-weight: 700; }
.caret {
  font-size: .6rem;
  opacity: .5;
  transition: transform .2s;
}
.nav-menu > li:hover .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 260px;
  box-shadow: 0 10px 32px rgba(0,0,0,.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: all .16s;
  overflow: hidden;
}
.nav-menu > li:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 11px 18px;
  font-size: .85rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: all .13s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--green-light); color: var(--green); }

/* WhatsApp button in nav */
.nav-wa-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  transition: all .18s;
  white-space: nowrap;
}
.nav-wa-btn:hover { background: #1eb359; transform: translateY(-1px); }
.nav-wa-btn i { font-size: 1rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 2px;
  transition: all .2s;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--green);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 7px;
  font-size: .9rem;
  font-weight: 600;
  transition: all .18s;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--green);
  color: var(--green);
  padding: 11px 24px;
  border-radius: 7px;
  font-size: .88rem;
  font-weight: 600;
  transition: all .18s;
  background: transparent;
  cursor: pointer;
}
.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--whatsapp);
  color: var(--white) !important;
  padding: 13px 26px;
  border-radius: 7px;
  font-size: .9rem;
  font-weight: 600;
  transition: all .18s;
  border: none;
  cursor: pointer;
  width: 100%;
}
.btn-whatsapp:hover { background: #1eb359; }

/* ===== HERO ===== */
.hero {
  background: var(--bg);
  padding: 60px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -.025em;
}
.hero-text p {
  font-size: .98rem;
  color: var(--text-mid);
  line-height: 1.72;
  margin-bottom: 30px;
}
.hero-image {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-light);
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.hero-image:hover img { transform: scale(1.03); }

/* ===== SECTIONS ===== */
.section {
  padding: 64px 0;
}
.section-heading {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 36px;
  letter-spacing: -.02em;
}

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: center;
}
.about-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg);
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.about-text p {
  font-size: .93rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 10px;
}

/* Service cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.scard {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px 24px;
  text-align: center;
  transition: all .2s ease;
}
.scard:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-color: var(--green-mid);
  transform: translateY(-2px);
}
.scard-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-light);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--green);
}
.scard h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.scard p {
  font-size: .83rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: var(--green-mid);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}
.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 4px solid var(--bg);
}
.step-icon {
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 10px;
}
.step h3 {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.step p {
  font-size: .83rem;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 180px;
  margin: 0 auto;
}

/* Why list */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.why-list li i {
  color: var(--green);
  font-size: .9rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Contact info row */
.cinfo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--text-mid);
  padding: 6px 0;
}
.cinfo-row i {
  color: var(--green);
  font-size: .9rem;
  width: 18px;
  flex-shrink: 0;
}
.cinfo-row a { transition: color .15s; }
.cinfo-row a:hover { color: var(--green); }

/* ===== FORMS ===== */
.form-input,
.form-textarea {
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: 12px 14px;
  font-size: .88rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--green); }
.form-input::placeholder,
.form-textarea::placeholder { color: #aaa; }
.form-textarea { min-height: 110px; resize: vertical; }
.form-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 4px;
  display: block;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Utilities for inner layouts */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 600;
  font-size: .78rem;
}
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}
.split-grid.gap-10 { gap: 40px; }
.reverse-on-mobile { }
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.pill-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .85rem;
}
.photo-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--green-light);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.section-subtext {
  text-align: center;
  color: var(--text-mid);
  font-size: .95rem;
  max-width: 680px;
  margin: -6px auto 24px;
}
.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
.inline-link { color: var(--green); font-weight: 600; }
.inline-link:hover { color: var(--green-dark); }
.cta-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.cta-banner h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--green-dark);
}
.cta-banner p { margin: 0; color: var(--text-mid); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bullet-list li {
  display: flex;
  gap: 10px;
  color: var(--text-mid);
  font-size: .92rem;
  align-items: flex-start;
}
.bullet-list i { color: var(--green); margin-top: 2px; }
.contact-card { text-align: left; }
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
}
.form-hint {
  font-size: .78rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: 8px;
}
.form-hint i { color: var(--green); margin-right: 4px; }
.map-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.footer-brand img {
  height: 56px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: .85rem;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul a {
  font-size: .85rem;
  color: var(--text-mid);
  transition: color .15s;
}
.footer-col ul a:hover { color: var(--green); }
.footer-col ul li {
  font-size: .85rem;
  color: var(--text-mid);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  font-size: .78rem;
  color: var(--text-soft);
}
.footer-bottom a {
  color: var(--text-soft);
  margin-left: 16px;
  transition: color .15s;
}
.footer-bottom a:hover { color: var(--green); }

/* ===== WhatsApp Floating ===== */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  animation: wa-pulse 2.5s infinite;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,.7); }
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
  position: fixed;
  bottom: 90px;
  right: 22px;
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  z-index: 9999;
  font-size: .88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.toast.error { background: #c0392b; }
.toast i { font-size: 1rem; }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid,
  .about-split,
  .bottom-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-grid { grid-template-columns: 1fr; gap: 28px; }
  .reverse-on-mobile > *:first-child { order: 2; }
  .reverse-on-mobile > *:last-child { order: 1; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps::before { display: none; }
  .cta-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 0 16px; height: 60px; }
  .nav-logo img { height: 44px; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0;
    overflow-y: auto;
    z-index: 99;
    gap: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a {
    padding: 14px 22px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    display: none;
    min-width: 100%;
  }
  .nav-menu > li.open .dropdown { display: block; }
  .dropdown a {
    padding: 11px 22px 11px 36px;
    background: var(--bg);
    border-radius: 0;
  }
  .hamburger { display: flex; }
  .nav-wa-btn { display: none; }

  .hero { padding: 44px 0; }
  .hero-text h1 { font-size: 1.75rem; }
  .section { padding: 44px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
  .footer-bottom a { margin-left: 0; margin: 0 6px; }
  .container-custom { padding: 0 16px; }
  .cta-banner { padding: 18px; }
}
