/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #1a3c5e;
  --primary-light: #204f7a;
  --accent:    #4db89e;
  --accent-dark: #3a9a82;
  --gold:      #f0b429;
  --white:     #ffffff;
  --light:     #f4f7fb;
  --gray:      #6b7a8d;
  --dark:      #111c2d;
  --text:      #2d3748;
  --border:    #d7e3f0;
  --shadow:    0 4px 24px rgba(26,60,94,.10);
  --radius:    12px;
  --radius-sm: 6px;
  --transition: .22s ease;
  --nav-height: 70px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.section-label {
  display: inline-block;
  background: linear-gradient(135deg,var(--accent),var(--accent-dark));
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35em .9em;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--light); }

/* ===== NAV ===== */
.navbar {
  position: sticky;
  top: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: -.02em;
}
.nav-logo .logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg,var(--primary),var(--accent));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; font-weight: 900;
  flex-shrink: 0;
}
.nav-logo span strong {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-menu a {
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.nav-menu a:hover, .nav-menu a.active {
  background: var(--light);
  color: var(--primary);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: .5rem 1.1rem !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #1e5f5a 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  max-width: 700px;
}
.hero .section-label {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.hero h1 { color: #fff; margin: 1rem 0 1.5rem; }
.hero p { font-size: 1.15rem; opacity: .88; margin-bottom: 2rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-dark {
  background: var(--primary);
  color: #fff;
}
.btn-dark:hover { background: var(--primary-light); }

.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 36px rgba(26,60,94,.14);
}
.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--gray); font-size: .95rem; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-header p { color: var(--gray); font-size: 1.05rem; margin-top: .75rem; }

/* ===== TWO-COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.content-block p { color: var(--gray); margin-bottom: 1rem; line-height: 1.75; }
.content-block p:last-child { margin-bottom: 0; }

/* ===== CHECKLIST ===== */
.checklist { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--text);
}
.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  margin-top: .15rem;
}

/* ===== STATS ===== */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: .82rem; color: var(--gray); margin-top: .3rem; }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 3rem;
}
.highlight-box h2, .highlight-box h3 { color: #fff; }
.highlight-box p { opacity: .88; }

/* ===== NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.news-card:hover { transform: translateY(-3px); }
.news-card-header {
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  padding: 1.5rem;
  color: #fff;
}
.news-card-header .date {
  font-size: .8rem;
  opacity: .75;
  margin-bottom: .5rem;
}
.news-card-header h3 { color: #fff; font-size: 1.05rem; }
.news-card-body { padding: 1.5rem; }
.news-card-body p { color: var(--gray); font-size: .92rem; line-height: 1.65; }
.news-card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
  margin-top: 1rem;
  transition: gap var(--transition);
}
.news-card-body .read-more:hover { gap: .7rem; }

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--gray); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text strong { display: block; font-size: .85rem; color: var(--gray); margin-bottom: .1rem; }
.contact-item-text a { color: var(--primary); font-weight: 500; }
.contact-item-text a:hover { color: var(--accent); }

.contact-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-box h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(77,184,158,.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== MODELS TABLE ===== */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.model-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.model-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.model-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .3em .8em;
  border-radius: 4px;
  margin-bottom: 1rem;
  letter-spacing: .05em;
}
.model-card h3 { font-size: 1rem; margin-bottom: .6rem; }
.model-card p { color: var(--gray); font-size: .88rem; line-height: 1.6; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { }
.footer-brand .logo { color: #fff; font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  padding: .2rem 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: .85rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
  text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-top: .75rem; }

/* ===== ALERT ===== */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  margin-bottom: 1.5rem;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ===== IMPRESSUM / LEGAL ===== */
.legal-content h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
.legal-content h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; color: var(--primary); }
.legal-content p { color: var(--gray); margin-bottom: .75rem; line-height: 1.75; }
.legal-content a { color: var(--accent); }
.legal-content ul { list-style: disc; padding-left: 1.5rem; }
.legal-content ul li { color: var(--gray); margin-bottom: .4rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem; }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3rem; }
  .page-hero { padding: 3rem 0 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr; }
  .stats-row { justify-content: center; }
}
