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

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --bg-light: #f9fafb;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(37,99,235,.12);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--blue); }

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav ul a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}
nav ul a:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all .2s;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue-light);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--blue); }

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Decorative orbs */
.hero-visual {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
}
.orb-1 {
  width: 400px; height: 400px;
  background: #93c5fd;
  top: -80px; right: -80px;
}
.orb-2 {
  width: 260px; height: 260px;
  background: #bfdbfe;
  bottom: -40px; right: 120px;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-light { background: var(--bg-light); }
.section-white { background: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .label {
  display: inline-block;
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== Info Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  color: var(--text-muted);
  font-size: .95rem;
}

/* ===== Blog Grid ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
  grid-column: span 6;
}
.blog-card.featured {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  align-items: start;
  background: var(--blue-light);
  border-color: #bfdbfe;
}
.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.blog-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  grid-column: 1 / -1;
}
.blog-tag {
  background: var(--blue);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .04em;
}
.blog-date {
  color: var(--text-muted);
  font-size: .85rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card h3 a {
  text-decoration: none;
  color: inherit;
  transition: color .15s;
}
.blog-card h3 a:hover { color: var(--blue); }

.blog-card p {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.read-more {
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: gap .15s;
}
.read-more:hover { text-decoration: underline; }

/* ===== Accent Section ===== */
.section-accent {
  background: var(--blue);
  padding: 72px 0;
}

.kontakt-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.kontakt-inner h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.kontakt-inner p { color: #bfdbfe; font-size: 1rem; }

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}
.newsletter-form input[type="email"] {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  font-size: .95rem;
  width: 260px;
  outline: none;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  transition: border-color .2s;
}
.newsletter-form input::placeholder { color: #93c5fd; }
.newsletter-form input:focus { border-color: #fff; background: rgba(255,255,255,.25); }
.newsletter-form .btn-primary {
  background: #fff;
  color: var(--blue);
}
.newsletter-form .btn-primary:hover {
  background: #eff6ff;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.form-success {
  display: none;
  color: #bbf7d0;
  font-weight: 600;
  font-size: .9rem;
  width: 100%;
}

/* ===== Footer ===== */
.footer {
  background: var(--text);
  color: #9ca3af;
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .logo { color: #fff; }
.footer p { font-size: .88rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  nav ul { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 64px 0 56px; }
  .hero-visual { opacity: .3; width: 100%; }
  .hero-content { max-width: 100%; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-card, .blog-card.featured { grid-column: span 1; }
  .blog-card.featured { grid-template-columns: 1fr; }

  .kontakt-inner { flex-direction: column; text-align: center; }
  .newsletter-form { justify-content: center; }
  .newsletter-form input[type="email"] { width: 100%; }

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 900px) {
  .blog-card { grid-column: span 12; }
  .blog-card.featured { grid-template-columns: 1fr; }
}
