:root {
  --navy: #102b4d;
  --navy-deep: #0b2340;
  --blue: #2f6fc4;
  --muted: #6c7f95;
  --body: #51627a;
  --green: #2f7d50;
  --line: #e4ebf2;
  --line-strong: #c7d5e3;
  --bg: #ffffff;
  --soft-blue: #edf4fb;
  --soft-green: #edf7ef;
  --soft-slate: #f4f6f9;
  --soft-sun: #f8f1e8;
  --shadow: 0 24px 70px rgba(16, 43, 77, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--bg);
  font-family: Mulish, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.wrap {
  width: min(1336px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.site-nav {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  width: 36px;
  height: 42px;
  flex: 0 0 auto;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 760;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  border-color: currentColor;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--navy);
  border-radius: 9px;
  padding: 13px 22px;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(16, 43, 77, 0.16);
}

.btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn.secondary {
  color: var(--navy);
  background: #fff;
  box-shadow: none;
}

.btn.secondary:hover {
  color: var(--blue);
  background: #f6f9fc;
}

.btn.ghost {
  border-color: transparent;
  color: var(--navy);
  background: transparent;
  box-shadow: none;
}

.page-main {
  padding: 54px 0 34px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  padding: 26px 0;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
.page-title {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.subline {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.3;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--body);
  font-size: 18px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.hero-visual {
  min-height: 348px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f8f6;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 348px;
  display: block;
  object-fit: cover;
}

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.product-card {
  position: relative;
  min-height: 178px;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px 34px 36px;
  box-shadow: 0 18px 52px rgba(16, 43, 77, 0.06);
}

.product-card.strom {
  background: linear-gradient(135deg, #eaf2fb, #f8fbfd);
  border-color: #dbe7f5;
}

.product-card.solar {
  background: linear-gradient(135deg, #eaf4ec, #f8fbf8);
  border-color: #d9e7da;
}

.product-card.kfz {
  background: linear-gradient(135deg, #eef2f8, #f8fafc);
  border-color: #e0e8f1;
}

.product-card.haftpflicht {
  background: linear-gradient(135deg, #f0f1f4, #f9fafb);
  border-color: #e4e8ee;
}

.product-icon {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.strom .product-icon {
  color: var(--blue);
  background: #dbe8f7;
}

.solar .product-icon {
  color: var(--green);
  background: #dcecdd;
}

.kfz .product-icon {
  color: var(--navy);
  background: #dde6f2;
}

.haftpflicht .product-icon {
  color: #65768d;
  background: #e2e4ea;
}

.product-icon svg {
  width: 56px;
  height: 56px;
}

.product-card h2,
.product-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 31px;
  line-height: 1.08;
}

.product-card p {
  max-width: 330px;
  margin: 0 0 16px;
  color: var(--body);
  font-size: 17px;
  font-weight: 560;
  line-height: 1.42;
}

.mini-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 20px;
  color: #fff;
  background: var(--navy);
  font-weight: 820;
  font-size: 15px;
}

.mini-btn:hover {
  background: var(--navy-deep);
}

.arrow-btn {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--navy);
}

.strom .arrow-btn {
  background: #dbe8f7;
}

.solar .arrow-btn {
  background: #dcecdd;
}

.kfz .arrow-btn {
  background: #dde6f2;
}

.haftpflicht .arrow-btn {
  background: #d9e2f0;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.trust-icon {
  color: #718198;
  flex: 0 0 auto;
}

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.25;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 26px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.intro-panel {
  padding: clamp(28px, 5vw, 48px);
}

.side-note {
  padding: 28px;
  background: #fbfcfd;
}

.side-note h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.side-note p,
.side-note li {
  color: var(--body);
  line-height: 1.55;
}

.side-note ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.calculator {
  margin-top: 24px;
  padding: clamp(18px, 3vw, 30px);
}

.calculator-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.calculator-head h2 {
  margin: 0;
  font-size: 28px;
}

.compliance {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #ead9b9;
  border-radius: 12px;
  color: #71511d;
  background: #fff8eb;
  line-height: 1.5;
}

.placeholder {
  margin-top: 24px;
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
}

.placeholder h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  font-family: Georgia, "Times New Roman", serif;
}

.placeholder p {
  max-width: 660px;
  margin: 14px auto 0;
  color: var(--body);
  line-height: 1.6;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 34px;
  padding: 30px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.footer-links {
  display: flex;
  gap: 30px;
}

@media (max-width: 980px) {
  .site-nav {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .hero,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .products {
    grid-template-columns: 1fr;
  }

  .trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 24px, 1336px);
  }

  .page-main {
    padding-top: 28px;
  }

  .brand-name {
    font-size: 24px;
  }

  .nav-links {
    font-size: 15px;
  }

  h1,
  .page-title {
    font-size: clamp(38px, 11vw, 48px);
  }

  .subline {
    font-size: 21px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 230px;
  }

  .product-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
    padding: 22px;
  }

  .product-icon {
    width: 76px;
    height: 76px;
  }

  .product-icon svg {
    width: 38px;
    height: 38px;
  }

  .arrow-btn {
    display: none;
  }

  .product-card h2,
  .product-card h3 {
    font-size: 26px;
  }

  .product-card p {
    font-size: 15px;
  }

  .calculator-head,
  .site-footer {
    display: block;
  }

  .footer-links {
    margin-top: 12px;
    flex-wrap: wrap;
  }
}
