*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0B2647;
  --navy-light: #1a3a6b;
  --green: #6AA22E;
  --green-dark: #4d7a1f;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --gray: #8a9bb5;
  --gray-light: #dce6f0;
  --text: #1a2a3a;
}

html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--white); color: var(--text); line-height: 1.6; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,38,71,0.97); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 68px; border-bottom: 1px solid rgba(106,162,46,0.25);
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-symbol { height: 38px; width: auto; }
.nav-wordmark { height: 30px; width: auto; }

.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--gray); text-decoration: none; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; transition: color .2s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green); color: var(--white) !important; padding: 0.45rem 1.1rem;
  border-radius: 4px; font-weight: 700 !important; letter-spacing: 0.04em !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--green-dark) !important; color: var(--white) !important; }

/* HERO */
#hero {
  min-height: 100vh; background: var(--navy); display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 0 4rem; padding-top: 68px; gap: 4rem; position: relative; overflow: hidden;
}
#hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(106,162,46,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-text { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; background: rgba(106,162,46,0.15); border: 1px solid rgba(106,162,46,0.4);
  color: var(--green); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.35rem 0.9rem; border-radius: 2px; margin-bottom: 1.5rem;
}
.hero-title { font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.05; color: var(--white); margin-bottom: 1.5rem; }
.hero-title em { font-style: normal; color: var(--green); }
.hero-sub { color: var(--gray); font-size: 1.05rem; font-weight: 400; max-width: 480px; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--green); color: var(--white); padding: 0.85rem 2rem; border-radius: 4px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none; letter-spacing: 0.04em;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.3); color: var(--white); padding: 0.85rem 2rem; border-radius: 4px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none; letter-spacing: 0.04em;
  transition: border-color .2s, transform .15s;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }

/* HERO ICON */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.geo-icon { width: 340px; height: 340px; }
.ground-line { stroke: var(--white); stroke-width: 2.5; }
.ring-up { fill: none; stroke: var(--white); stroke-width: 1.8; opacity: 0; animation: ringUp 3s ease-out infinite; }
@keyframes ringUp { 0%{opacity:0;stroke-width:2.5;} 15%{opacity:0.9;} 80%{opacity:0.2;stroke-width:1;} 100%{opacity:0;} }
.ring-down { fill: none; stroke: var(--green); stroke-width: 2; opacity: 0; animation: ringDown 3s ease-out infinite; }
@keyframes ringDown { 0%{opacity:0;} 20%{opacity:0.85;} 80%{opacity:0.2;} 100%{opacity:0;} }
.geo-icon circle { fill: rgba(106,162,46,0.25); }

/* STATS */
.stats-bar { background: var(--off-white); padding: 2.2rem 4rem; display: flex; justify-content: space-around; border-bottom: 1px solid var(--gray-light); flex-wrap: wrap; gap: 1.5rem; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 900; color: var(--navy); letter-spacing: -1px; }
.stat-label { font-size: 0.78rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; }

/* SECTION COMMON */
section { padding: 5.5rem 4rem; }
.section-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); margin-bottom: 0.75rem; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; color: var(--navy); line-height: 1.15; margin-bottom: 1rem; }
.section-sub { color: var(--gray); font-size: 1rem; max-width: 560px; line-height: 1.7; margin-bottom: 3rem; }

/* SERVICES */
#services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.service-card { border: 1.5px solid var(--gray-light); border-radius: 8px; padding: 2rem; transition: border-color .2s, box-shadow .2s, transform .2s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { border-color: var(--green); box-shadow: 0 4px 24px rgba(106,162,46,0.12); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 48px; height: 48px; background: rgba(106,162,46,0.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.service-icon svg { width: 26px; height: 26px; }
.service-name { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 0.6rem; }
.service-desc { font-size: 0.87rem; color: #5a6a7a; line-height: 1.65; }

/* ABOUT */
#about { background: var(--navy); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
#about .section-title { color: var(--white); }
#about .section-sub { color: var(--gray); }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.about-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(255,255,255,0.75); font-size: 0.92rem; line-height: 1.55; }
.about-list li::before { content: '\25B8'; color: var(--green); font-size: 0.85rem; flex-shrink: 0; margin-top: 0.15rem; }
.about-portrait { background: rgba(255,255,255,0.05); border: 1.5px solid rgba(106,162,46,0.3); border-radius: 12px; padding: 2.5rem; text-align: center; }
.portrait-symbol { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 1.5rem; display: block; }
.portrait-name { color: var(--white); font-size: 1.25rem; font-weight: 800; margin-bottom: 0.25rem; }
.portrait-role { color: var(--green); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.2rem; }
.portrait-bio { color: var(--gray); font-size: 0.87rem; line-height: 1.65; }

/* CONTACT */
#kontakt { background: var(--off-white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.field { margin-bottom: 1.1rem; }
label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--navy); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.4rem; }
input, textarea, select { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--gray-light); border-radius: 5px; font-family: 'Montserrat', sans-serif; font-size: 0.92rem; color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(106,162,46,0.12); }
textarea { resize: vertical; min-height: 90px; }
.form-footer { margin-top: 1.5rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.btn-submit { background: var(--green); color: var(--white); border: none; padding: 0.9rem 2.4rem; border-radius: 5px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em; cursor: pointer; transition: background .2s, transform .15s; }
.btn-submit:hover:not(:disabled) { background: var(--green-dark); transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-note { font-size: 0.76rem; color: var(--gray); }
.form-status { margin-top: 1.5rem; padding: 1rem 1.2rem; border-radius: 6px; font-size: 0.9rem; font-weight: 600; display: none; }
.form-status.success { background: rgba(106,162,46,0.12); color: var(--green-dark); border: 1px solid rgba(106,162,46,0.4); }
.form-status.error { background: rgba(200,50,50,0.08); color: #b23030; border: 1px solid rgba(200,50,50,0.3); }
.form-status a { color: inherit; }

/* FOOTER */
footer { background: var(--navy); color: var(--gray); }
.footer-main { padding: 3rem 4rem 2rem; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo-img { height: 40px; width: auto; margin-bottom: 0.8rem; }
.footer-tagline { font-size: 0.85rem; max-width: 320px; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.88rem; }
.footer-contact a { color: var(--gray); text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: var(--green); }
.footer-bottom { padding: 1.2rem 4rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; }
.footer-copy { font-size: 0.78rem; color: var(--gray); }
.footer-legal { list-style: none; display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--gray); text-decoration: none; font-size: 0.78rem; transition: color .2s; }
.footer-legal a:hover { color: var(--green); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links li:nth-child(2), .nav-links li:nth-child(3) { display: none; }
  #hero { grid-template-columns: 1fr; padding: 0 1.5rem; padding-top: 100px; gap: 2rem; text-align: center; min-height: auto; padding-bottom: 4rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { order: -1; }
  .geo-icon { width: 240px; height: 240px; }
  section { padding: 3.5rem 1.5rem; }
  #about { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .stats-bar { padding: 2rem 1.5rem; }
  .footer-main, .footer-bottom { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 820px) { .form-grid { grid-template-columns: 1fr; } }
