/* =========================================
   RESET
========================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #F8F8F6;
  color: #111111;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   LAYOUT
========================================= */

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

section + section {
  border-top: 1px solid #E6E6E2;
}

/* =========================================
   TYPOGRAPHY
========================================= */

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 0;
  color: #111111;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: #222;
}

.lead {
  font-size: 1.2rem;
  color: #333;
  max-width: 700px;
}

/* =========================================
   NAVIGATION
========================================= */

nav {
  padding: 1.8rem 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links a {
  margin-left: 2rem;
  text-decoration: none;
  font-size: 0.95rem;
  color: #111;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #1C2A44;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* =========================================
   HERO
========================================= */

.hero {
  padding: 8rem 0 6rem 0;
}

.hero h1 {
  max-width: 700px;
}

.hero .lead {
  margin-bottom: 2.5rem;
}

.buttons {
  display: flex;
  gap: 1rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid #1C2A44;
  color: #1C2A44;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #1C2A44;
  color: #F8F8F6;
}

.button.secondary {
  border-color: #111;
  color: #111;
}

.button.secondary:hover {
  background-color: #111;
  color: #F8F8F6;
}

/* =========================================
   GRID SECTIONS
========================================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.grid-3 p {
  font-size: 0.95rem;
}

/* =========================================
   ARTICLE PREVIEW
========================================= */

.article-preview {
  margin-bottom: 2.5rem;
}

.article-preview h3 {
  margin-bottom: 0.5rem;
}

.article-preview a {
  text-decoration: none;
  color: #111;
}

.article-preview a:hover {
  color: #1C2A44;
}

/* =========================================
   FOOTER
========================================= */

footer {
  padding: 3rem 0;
  border-top: 1px solid #E6E6E2;
  font-size: 0.85rem;
  color: #555;
}

footer .footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 6rem 0 4rem 0;
  }

  .nav-links a {
    margin-left: 1rem;
  }

  .buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   SALES-FOCUSED IMPROVEMENTS
========================================= */

.button {
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.button:hover {
  transform: translateY(-1px);
}

.hero {
  background: linear-gradient(
    to bottom,
    #F8F8F6,
    #FFFFFF
  );
}

section:nth-child(even) {
  background-color: #FAFAF8;
}

/* CTA emphasis */
#kontakt .button {
  padding: 0.9rem 1.6rem;
  border-width: 2px;
}

/* Slightly stronger headings for scanability */
h2 {
  letter-spacing: 0.3px;
}

/* Improve readability for sales content */
p {
  max-width: 70ch;
}