/* ============================================================
   gecko fresh – Klimaanlagen | Stylesheet
   Marke: #74E113 (Grün) · #3D3D3D (Dunkel) · Open Sans
   ============================================================ */

:root {
  --green: #74E113;
  --green-dark: #5fb80e;
  --dark: #3D3D3D;
  --text: #6B6B6B;
  --light: #F1F2F4;
  --white: #FFFFFF;
  --border: #e4e6ea;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .12);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --header-h: 78px;
  --ff: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
strong { color: var(--dark); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--dark); color: #cfd2d6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-dark); margin-bottom: .6rem;
}
.lead { font-size: 1.15rem; max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.text-green { color: var(--green-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  font-family: var(--ff); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 30px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--green); color: #1f2d05; box-shadow: 0 8px 22px rgba(116, 225, 19, .35); }
.btn--primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--dark); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-dark); }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: var(--green); color: #1f2d05; transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 7px; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.logo-img { height: 38px; width: auto; display: block; }
.logo b { color: var(--dark); font-weight: 800; }
.logo span { color: var(--green); font-weight: 800; font-size: 1.55rem; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 600; font-size: .98rem; color: var(--dark); transition: color .15s; }
.nav a:hover { color: var(--green-dark); }
.nav .btn { padding: 12px 24px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 46px; height: 46px;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--dark); border-radius: 3px; margin: 5px auto; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(20,28,8,.82) 0%, rgba(20,28,8,.55) 45%, rgba(20,28,8,.15) 100%);
}
.hero__inner { padding: clamp(80px, 13vw, 150px) 0; max-width: 700px; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 .accent { color: var(--green); }
.hero p { font-size: 1.25rem; color: #eef0ec; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 2.4rem; }
.hero__badges li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .98rem; color: #fff; }
.hero__badges svg { width: 22px; height: 22px; color: var(--green); flex: none; }

/* ============================================================
   Cards / Grids
   ============================================================ */
.grid { display: grid; gap: 26px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__num { font-size: .85rem; font-weight: 800; color: var(--green-dark); letter-spacing: .1em; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(116, 225, 19, .14); color: var(--green-dark); margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; font-size: .98rem; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/2; object-fit: cover; }
.feature-list { margin-top: 1.4rem; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list svg { width: 24px; height: 24px; color: var(--green-dark); flex: none; margin-top: 2px; }
.feature-list b { display: block; color: var(--dark); }

/* ---------- Benefits (icon row) ---------- */
.benefit { text-align: center; padding: 18px; }
.benefit__icon {
  width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); box-shadow: var(--shadow); color: var(--green-dark);
}
.section--light .benefit__icon { background: #fff; }
.benefit__icon svg { width: 34px; height: 34px; }
.benefit h3 { font-size: 1.1rem; }
.benefit p { font-size: .96rem; margin: 0; }

/* ---------- Partner logos ---------- */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; margin-top: 2.5rem; }
.partners img { height: 56px; width: auto; filter: grayscale(1); opacity: .65; transition: .2s; }
.partners img:hover { filter: none; opacity: 1; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 2.5rem auto 0; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; font-family: var(--ff);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-size: 1.12rem; font-weight: 700; color: var(--dark); text-align: left;
}
.faq__q svg { width: 22px; height: 22px; flex: none; color: var(--green-dark); transition: transform .25s; }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq__a p { padding: 0 0 22px; margin: 0; }

/* ============================================================
   Anfrage / Form
   ============================================================ */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact__info { color: #cfd2d6; }
.contact__info h2 { color: #fff; }
.contact__list { margin-top: 1.8rem; display: grid; gap: 20px; }
.contact__list a, .contact__list span { display: flex; gap: 14px; align-items: center; color: #fff; font-weight: 600; }
.contact__list .ico {
  width: 46px; height: 46px; border-radius: 12px; background: rgba(116,225,19,.16);
  display: grid; place-items: center; color: var(--green); flex: none;
}
.contact__list .ico svg { width: 22px; height: 22px; }
.contact__list small { display: block; color: #9aa0a6; font-weight: 400; font-size: .8rem; }

.form-card { background: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg); color: var(--text); }
.form-card h3 { margin-bottom: 1.4rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--dark); font-size: .92rem; margin-bottom: 7px; }
.field .req { color: var(--green-dark); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--ff); font-size: 1rem; color: var(--dark);
  padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fbfbfc; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(116,225,19,.18); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; line-height: 1.5; }
.consent input { width: auto; margin-top: 4px; flex: none; }
.consent a { color: var(--green-dark); text-decoration: underline; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(116,225,19,.14); color: #3a6b06; }
.form-msg.err { background: #fdecec; color: #b42318; }

/* ============================================================
   Anfrage-Wizard (mehrstufig)
   ============================================================ */
.wizard__progress { display: flex; gap: 8px; margin-bottom: 26px; }
.wizard__progress .dot {
  flex: 1; height: 6px; border-radius: 99px; background: var(--border); transition: background .3s;
}
.wizard__progress .dot.active { background: var(--green); }
.wizard__steplabel { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); margin-bottom: .4rem; }
.wstep { display: none; animation: fade .25s ease; }
.wstep.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wstep h3 { margin-bottom: 1.2rem; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 6px; }
.choice {
  position: relative; cursor: pointer; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 14px; text-align: center; transition: border-color .15s, box-shadow .15s, background .15s;
  display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fbfbfc;
}
.choice:hover { border-color: var(--green); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice svg { width: 30px; height: 30px; color: var(--green-dark); }
.choice span { font-weight: 600; color: var(--dark); font-size: .95rem; line-height: 1.3; }
.choice.selected { border-color: var(--green); background: rgba(116,225,19,.08); box-shadow: 0 0 0 3px rgba(116,225,19,.15); }
.choice.selected::after {
  content: ""; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/12px no-repeat;
}

.wizard__nav { display: flex; gap: 12px; margin-top: 24px; }
.wizard__nav .btn { flex: 1; justify-content: center; }
.btn--back { background: transparent; color: var(--text); border-color: var(--border); }
.btn--back:hover { border-color: var(--dark); color: var(--dark); }

.uploads { display: grid; gap: 12px; }
.upload {
  border: 1.5px dashed var(--border); border-radius: var(--radius-sm); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; cursor: pointer; transition: border-color .15s, background .15s;
}
.upload:hover { border-color: var(--green); background: #fbfbfc; }
.upload svg { width: 24px; height: 24px; color: var(--green-dark); flex: none; }
.upload input { display: none; }
.upload__txt { font-size: .92rem; color: var(--dark); font-weight: 600; }
.upload__txt small { display: block; font-weight: 400; color: var(--text); font-size: .8rem; }
.upload.has-file { border-style: solid; border-color: var(--green); background: rgba(116,225,19,.06); }
.upload.has-file .upload__txt small { color: var(--green-dark); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #2c2c2c; color: #a9adb2; padding: 60px 0 28px; font-size: .95rem; }
.footer a:hover { color: var(--green); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #3d3d3d; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__brand .logo { color: #fff; margin-bottom: 1rem; }
.footer__brand .logo b { color: #fff; }
.footer__brand .logo-img { height: 40px; }
.footer__links li { margin-bottom: 10px; }
.footer__social { display: flex; gap: 12px; margin-top: 1.2rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: #3a3a3a; display: grid; place-items: center; transition: .2s; }
.footer__social a:hover { background: var(--green); color: #1f2d05; }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: .85rem; color: #80858a; }
.footer__bottom a { text-decoration: none; }

/* ============================================================
   Cookie banner
   ============================================================ */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 460px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 22px 24px; display: none;
}
.cookie.show { display: block; }
.cookie h4 { margin: 0 0 .4rem; }
.cookie p { font-size: .9rem; margin: 0 0 1rem; }
.cookie__btns { display: flex; gap: 10px; }
.cookie .btn { padding: 11px 20px; font-size: .92rem; }

/* ============================================================
   Legal pages
   ============================================================ */
.legal { padding: clamp(50px, 8vw, 90px) 0; }
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: 1.4rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal h3 { margin-top: 1.6rem; }
.legal p, .legal li { font-size: 1rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.legal a { color: var(--green-dark); text-decoration: underline; word-break: break-word; }
.page-head { background: var(--light); padding: 50px 0; }
.page-head .crumbs { font-size: .85rem; color: var(--text); }
.page-head .crumbs a:hover { color: var(--green-dark); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border); padding: 12px 22px 22px;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease;
    align-items: stretch;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--light); width: 100%; }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid--4, .grid--3, .grid--2, .grid-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .partners { gap: 26px; }
  .partners img { height: 44px; }
  .hero__badges { gap: 14px; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
