:root {
  --bg: #f8f9fb;
  --primary: #1f3c88;
  --accent: #22c55e;
  --text: #1f2937;
  --muted: #6b7280;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

header {
  background: linear-gradient(135deg, #1f3c88, #274caa);
  color: white;
}

.hero {
  display: grid;
  gap: 20px;
  padding: 70px 20px;
  text-align: center;
}

.hero h1 { font-size: 2.4rem; }
.hero p { font-size: 1.1rem; opacity: 0.95; }

.button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.button:hover {
  background: #16a34a;
}

section {
  background: white;
  margin-top: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

section h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.08);
}

.steps li { margin-bottom: 10px; }

footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.navbar {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  color: var(--primary);
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 8px 14px;
  border-radius: 8px;
}

.hero {
  max-width: 800px;
  margin: 0 auto;
}

section {
  padding: 40px;
}

h2 {
  text-align: center;
}

.grid {
  margin-top: 20px;
}

.steps {
  max-width: 500px;
  margin: 0 auto;
}

#kontakt p {
  text-align: center;
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--accent);
  color: white;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 2000;
}

.floating-call:hover {
  transform: scale(1.05);
}


.social {
  margin-left: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
}

.social:hover {
  text-decoration: underline;
}


.social-icon {
  margin-left: 14px;
  color: var(--primary);
  font-size: 1.1rem;
  text-decoration: none;
}

.social-icon:hover {
  color: var(--accent);
}


.logo img {
  height: 36px;
}

.about {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#kontakt p {
  text-align: center;
}

footer img {
  display: block;
  margin: 0 auto 10px;
}

@media (max-width: 600px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    margin: 0 auto;
  }
}


html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .nav-links a {
    margin-left: 12px;
  }

  .button,
  .nav-cta,
  .floating-call {
    font-size: 1rem;
  }
}
