/* ══════════════════════════════════════════════════
   K&N HAUSSERVICE – Globales Stylesheet
   ══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --green-dark:  #1a5c1a;
  --green-main:  #2e8b2e;
  --green-mid:   #3aab3a;
  --green-light: #5dc85d;
  --green-pale:  #e8f5e8;
  --gold:        #f5c518;
  --gold-dark:   #d4a017;
  --gray-100:    #f7f8f6;
  --gray-200:    #eef0ec;
  --gray-400:    #9aa89a;
  --gray-600:    #555f55;
  --gray-800:    #2a302a;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.13);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.18);
}

*  { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--gray-800);
  background: #fff;
  overflow-x: hidden;
}

/* ── TOPBAR ─────────────────────────── */
.topbar {
  background: var(--green-dark);
  color: #c8e6c8;
  font-size: .82rem;
  padding: 7px 0;
  position: sticky; top: 0; z-index: 1000;
}
.topbar-inner {
  max-width:1200px; margin:0 auto; padding:0 20px;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px;
}
.topbar a { color:#c8e6c8; text-decoration:none; }
.topbar a:hover { color:var(--gold); }
.topbar-left,.topbar-right { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.topbar span { display:flex; align-items:center; gap:5px; }
.topbar-right .brand-name { font-weight:700; color:var(--gold); letter-spacing:.5px; }

/* ── HEADER / NAV ───────────────────── */
header {
  background:#fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  position: sticky; top:35px; z-index:999;
}
nav {
  max-width:1200px; margin:0 auto; padding:0 20px;
  display:flex; align-items:center; justify-content:space-between; height:64px;
}
.logo { display:flex; align-items:center; text-decoration:none; }
.logo img { height:150px; width:auto; display:block; max-width:150px; object-fit:contain; }

.nav-links { display:flex; align-items:center; gap:6px; list-style:none; }
.nav-links a {
  font-weight:600; font-size:.95rem; color:var(--gray-800);
  text-decoration:none; padding:8px 14px; border-radius:6px; transition:all .2s;
}
.nav-links a:hover { color:var(--green-main); background:var(--green-pale); }
.nav-links a.active { color:var(--green-main); border-bottom:2px solid var(--green-main); }
.nav-cta {
  background:var(--green-main)!important; color:#fff!important;
  border-radius:8px!important; padding:9px 20px!important;
}
.nav-cta:hover { background:var(--green-dark)!important; }

.hamburger {
  display:none; flex-direction:column; gap:5px;
  cursor:pointer; padding:8px; border:none; background:none;
}
.hamburger span {
  display:block; width:26px; height:2.5px;
  background:var(--green-dark); border-radius:2px; transition:all .3s;
}

/* ── MOBILE MENU ────────────────────── */
.mobile-menu {
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,.6); z-index:9998; justify-content:flex-end;
}
.mobile-menu.open { display:flex; }
.mobile-menu-panel {
  background:#fff; width:280px; height:100%; padding:24px;
  overflow-y:auto; display:flex; flex-direction:column; gap:6px;
  animation:slideIn .3s ease;
}
@keyframes slideIn { from{transform:translateX(100%)} to{transform:translateX(0)} }
.mobile-menu-close {
  align-self:flex-end; background:none; border:none;
  font-size:1.5rem; cursor:pointer; color:var(--gray-600); margin-bottom:16px;
}
.mobile-menu-panel a {
  display:block; font-weight:600; color:var(--gray-800); text-decoration:none;
  padding:13px 16px; border-radius:8px; font-size:1rem;
  border-bottom:1px solid var(--gray-200); transition:all .2s;
}
.mobile-menu-panel a:hover { background:var(--green-pale); color:var(--green-main); }
.mobile-menu-panel .mobile-cta {
  background:var(--green-main); color:#fff!important;
  text-align:center; margin-top:8px; border:none;
}

/* ── PAGE HERO (Unterseiten) ─────────── */
.page-hero {
  background: linear-gradient(135deg, #0d3d0d 0%, #1a5c1a 50%, #2e8b2e 100%);
  padding: 60px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content:'';
  position:absolute; inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position:relative; z-index:1; }
.page-hero .breadcrumb {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.15);
  color:rgba(255,255,255,.8); font-size:.8rem; font-weight:600;
  padding:5px 16px; border-radius:20px; margin-bottom:18px;
  letter-spacing:1px; text-transform:uppercase; text-decoration:none;
}
.page-hero .breadcrumb:hover { background:rgba(255,255,255,.18); }
.page-hero h1 {
  font-family:'Oswald',sans-serif; font-size:clamp(2rem,4vw,3rem);
  font-weight:700; color:#fff; margin-bottom:12px;
}
.page-hero h1 span { color:var(--gold); }
.page-hero p { color:rgba(255,255,255,.85); font-size:1.05rem; max-width:560px; margin:0 auto; line-height:1.6; }
.page-hero-wave { position:absolute; bottom:-1px; left:0; right:0; }

/* ── SECTIONS ────────────────────────── */
section { padding:72px 0; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }
.section-header { text-align:center; margin-bottom:50px; }
.section-label {
  display:inline-block; background:var(--green-pale); color:var(--green-dark);
  font-size:.75rem; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  padding:5px 14px; border-radius:20px; margin-bottom:12px;
}
.section-title {
  font-family:'Oswald',sans-serif; font-size:clamp(1.7rem,3vw,2.4rem);
  font-weight:700; color:var(--gray-800); margin-bottom:12px;
}
.section-title span { color:var(--green-main); }
.section-desc { color:var(--gray-600); font-size:1rem; max-width:560px; margin:0 auto; line-height:1.6; }
.divider {
  width:60px; height:4px;
  background:linear-gradient(90deg,var(--green-main),var(--green-light));
  border-radius:2px; margin:16px auto 0;
}

/* ── BUTTONS ─────────────────────────── */
.btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--gold); color:#1a1a00; font-family:'Source Sans 3',sans-serif;
  font-weight:700; font-size:1rem; padding:13px 26px; border-radius:8px;
  text-decoration:none; border:none; cursor:pointer; transition:all .2s;
  box-shadow:0 4px 16px rgba(245,197,24,.35);
}
.btn-primary:hover { background:var(--gold-dark); transform:translateY(-1px); }
.btn-green {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--green-main); color:#fff; font-family:'Source Sans 3',sans-serif;
  font-weight:700; font-size:1rem; padding:13px 26px; border-radius:8px;
  text-decoration:none; border:none; cursor:pointer; transition:all .2s;
}
.btn-green:hover { background:var(--green-dark); transform:translateY(-1px); }
.btn-outline {
  display:inline-flex; align-items:center; gap:8px;
  background:transparent; color:var(--green-main);
  font-weight:700; font-size:1rem; padding:12px 24px; border-radius:8px;
  text-decoration:none; border:2px solid var(--green-main); cursor:pointer; transition:all .2s;
}
.btn-outline:hover { background:var(--green-pale); }

/* ── PHONE BAR ───────────────────────── */
.phone-bar { background:var(--green-dark); padding:18px 0; }
.phone-bar-inner {
  max-width:1200px; margin:0 auto; padding:0 20px;
  display:flex; align-items:center; justify-content:center; gap:32px; flex-wrap:wrap;
}
.phone-item {
  display:flex; align-items:center; gap:10px; color:#fff;
  text-decoration:none; font-weight:600; font-size:1.05rem; transition:color .2s;
}
.phone-item:hover { color:var(--gold); }
.phone-icon {
  width:40px; height:40px; background:var(--green-main); border-radius:50%;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}

/* ── STATS BAR ───────────────────────── */
.stats-bar { background:linear-gradient(135deg,var(--green-dark),var(--green-main)); padding:40px 0; }
.stats-grid {
  max-width:1200px; margin:0 auto; padding:0 20px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center;
}
.stat-item { color:#fff; }
.stat-num {
  font-family:'Oswald',sans-serif; font-size:2.5rem; font-weight:700;
  color:var(--gold); line-height:1; margin-bottom:6px;
}
.stat-label { font-size:.85rem; color:rgba(255,255,255,.8); font-weight:600; }

/* ── CTA BANNER ──────────────────────── */
.cta-banner {
  background:linear-gradient(135deg,var(--green-dark),var(--green-main));
  padding:56px 0; text-align:center;
}
.cta-banner h2 {
  font-family:'Oswald',sans-serif; font-size:clamp(1.8rem,3vw,2.6rem);
  color:#fff; margin-bottom:12px; font-weight:700;
}
.cta-banner h2 span { color:var(--gold); }
.cta-banner p { color:rgba(255,255,255,.85); margin-bottom:28px; font-size:1.05rem; }
.cta-banner .btn-row { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ── FOOTER ──────────────────────────── */
footer { background:#0d2e0d; color:rgba(255,255,255,.7); padding:48px 0 0; }
.footer-grid {
  max-width:1200px; margin:0 auto; padding:0 20px;
  display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px;
}
.footer-brand img { height:38px; width:auto; max-width:130px; filter:brightness(0) invert(1); margin-bottom:14px; object-fit:contain; }
.footer-tagline { font-size:.88rem; line-height:1.6; color:rgba(255,255,255,.6); }
.footer-col h4 {
  font-family:'Oswald',sans-serif; font-size:.95rem; font-weight:600;
  color:#fff; letter-spacing:1px; text-transform:uppercase; margin-bottom:16px;
}
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:8px; }
.footer-col ul li a {
  color:rgba(255,255,255,.65); text-decoration:none; font-size:.9rem;
  transition:color .2s; display:flex; align-items:center; gap:6px;
}
.footer-col ul li a:hover { color:var(--gold); }
.footer-col ul li a::before { content:'→'; color:var(--green-light); font-size:.8rem; }
.footer-contact-item {
  display:flex; gap:10px; align-items:flex-start;
  margin-bottom:10px; font-size:.88rem; color:rgba(255,255,255,.65);
}
.footer-contact-item span:first-child { color:var(--green-light); margin-top:1px; }
.footer-contact-item a { color:rgba(255,255,255,.65); text-decoration:none; }
.footer-contact-item a:hover { color:var(--gold); }
.footer-social { display:flex; gap:10px; margin-top:16px; }
.footer-social a {
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; text-decoration:none; font-size:1rem;
}
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.1);
  max-width:1200px; margin:0 auto; padding:18px 20px;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:10px; font-size:.8rem; color:rgba(255,255,255,.4);
}
.footer-bottom a { color:rgba(255,255,255,.5); text-decoration:none; }
.footer-bottom a:hover { color:var(--gold); }
.footer-bottom-links { display:flex; gap:16px; flex-wrap:wrap; }

/* ── WHATSAPP FLOAT ──────────────────── */
.whatsapp-float {
  position:fixed; bottom:24px; right:24px; z-index:9999;
  width:58px; height:58px; background:#25d366; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 20px rgba(37,211,102,.45); text-decoration:none;
  animation:pulseWa 2.5s infinite; transition:transform .2s;
}
.whatsapp-float:hover { transform:scale(1.1); }
@keyframes pulseWa {
  0%,100% { box-shadow:0 4px 20px rgba(37,211,102,.4); }
  50%      { box-shadow:0 4px 30px rgba(37,211,102,.7),0 0 0 8px rgba(37,211,102,.1); }
}

/* ── FADE IN ─────────────────────────── */
.fade-in { opacity:0; transform:translateY(24px); transition:opacity .5s ease,transform .5s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* ── FORM ────────────────────────────── */
.form-card {
  background:#fff; border-radius:20px; padding:40px;
  box-shadow:var(--shadow-lg); max-width:700px; margin:0 auto;
}
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.form-field { display:flex; flex-direction:column; gap:6px; }
.form-field.full { grid-column:1/-1; }
.form-field label { font-size:.85rem; font-weight:700; color:var(--gray-600); }
.form-field input,.form-field select,.form-field textarea {
  padding:11px 14px; border:2px solid var(--gray-200); border-radius:8px;
  font-family:'Source Sans 3',sans-serif; font-size:.95rem; color:var(--gray-800);
  transition:border-color .2s; background:#fafafa;
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus {
  outline:none; border-color:var(--green-main); background:#fff;
}
.form-field textarea { resize:vertical; min-height:110px; }
.form-submit {
  width:100%; background:var(--green-main); color:#fff; border:none;
  padding:15px; border-radius:10px; font-family:'Source Sans 3',sans-serif;
  font-size:1.05rem; font-weight:700; cursor:pointer; transition:all .2s;
  display:flex; align-items:center; justify-content:center; gap:8px; margin-top:4px;
}
.form-submit:hover { background:var(--green-dark); transform:translateY(-1px); }
.form-note { font-size:.8rem; color:var(--gray-400); text-align:center; margin-top:12px; }

/* ── RESPONSIVE ──────────────────────── */
@media(max-width:1024px) {
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  header { top:32px; }
}
@media(max-width:768px) {
  .topbar { top:0; }
  header { top:35px; }
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .form-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; text-align:center; }
  section { padding:52px 0; }
  .topbar-right .brand-name { display:none; }
}
@media(max-width:480px) {
  .topbar { font-size:.75rem; }
  .phone-bar-inner { flex-direction:column; gap:14px; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .form-card { padding:24px 18px; }
  header { top:31px; }
}
