@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --red: #ef181e;
  --blue: #1a3553;
  --blue-dark: #102c48;
  --ink: #162b40;
  --light: #f3f6f8;
  --line: #dfe5ea;
  --shadow: 0 10px 30px rgba(16, 44, 72, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: #20252a;
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  height: 86px;
  background: linear-gradient(100deg, #fff 0%, #eef2f5 25%, var(--blue) 62%, var(--blue-dark) 100%);
  border-bottom: 3px solid #fff;
  position: relative;
  z-index: 5;
}
.header-inner {
  width: min(1180px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link { display: flex; align-items: center; padding: 8px; }
.logo { width: 116px; height: auto; }
.header-tools { display: flex; align-items: center; gap: 34px; }
.main-nav { display: flex; align-items: center; gap: 52px; }

.menu-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.menu-toggle {
  display: none;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.language-switch a { color: inherit; text-decoration: none; }
.language-switch a:hover,
.language-switch a.active { color: #fff; }
.language-switch .language-sep { opacity: .45; }

.main-nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  padding: 29px 0 23px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  height: 4px;
  background: transparent;
}
.main-nav a:hover::after,
.main-nav a.active::after { background: var(--red); }

.hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #e8eef2;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(241,246,249,.98) 0%, rgba(241,246,249,.92) 35%, rgba(241,246,249,.18) 62%, rgba(241,246,249,0) 100%), url("../images/image_slider_2.jpg");
  background-size: cover;
  background-position: center;
}
.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  min-height: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.hero-copy { width: min(570px, 55%); padding: 42px 0 54px; }
.kicker {
  display: inline-block;
  height: 6px;
  width: 88px;
  background: var(--red);
  margin: 16px 0 24px;
}
h1, h2, h3 { color: var(--blue); line-height: 1.1; }
h1 { font-size: clamp(42px, 5vw, 64px); margin: 0; letter-spacing: -.025em; }
.hero-copy p { font-size: 21px; max-width: 560px; margin: 0 0 18px; }

.content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  flex: 1;
}

.home-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 28px 0 36px;
}
.feature-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 145px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid #edf0f2;
  text-decoration: none;
  overflow: hidden;
}
.feature-card .visual { min-height: 145px; background-size: cover; background-position: center; }
.feature-card.product .visual { background-image: url("../images/gruppe_neu.jpg"); }
.feature-card.contact .visual { background-image: url("../images/image_slider_3.jpg"); }
.feature-copy { padding: 25px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.feature-copy h2 { font-size: 28px; margin: 0 0 2px; }
.feature-copy p { margin: 0; font-size: 17px; }
.arrow {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--red); color: white;
  font-size: 32px; line-height: 1;
}

.page-hero {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #e8eef2;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .92;
}
.page-hero.products::before { background-image: linear-gradient(90deg, rgba(242,246,249,.97) 0%, rgba(242,246,249,.82) 42%, rgba(242,246,249,.12) 78%), url("../images/gruppe_neu.jpg"); }
.page-hero.contact::before { background-image: linear-gradient(90deg, rgba(242,246,249,.97) 0%, rgba(242,246,249,.80) 44%, rgba(242,246,249,.10) 80%), url("../images/image_slider_3.jpg"); }
.page-hero.legal::before { background-image: linear-gradient(90deg, rgba(242,246,249,.98), rgba(242,246,249,.70)), url("../images/image_slider_2.jpg"); }
.page-hero-inner { position: relative; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 46px 0 38px; }
.page-hero h1 { font-size: clamp(38px, 4.5vw, 58px); margin: 0; }
.page-hero .kicker { margin: 14px 0 12px; }
.page-hero p { margin: 0; font-size: 21px; }

.page-content { padding: 42px 0 70px; }
.page-content p { max-width: 920px; }
.page-content h2 { font-size: 30px; margin: 32px 0 12px; }
.page-content h3 { font-size: 23px; margin: 30px 0 10px; }

.download-panel {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 36px;
  align-items: center;
  max-width: 900px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 26px;
}
.download-preview { width: 250px; box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.download-copy h2 { margin-top: 0; }
.download-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 15px 22px;
  border-radius: 2px;
}
.download-button:hover { background: #cf0f15; }
.download-icon { font-size: 24px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-details { font-size: 18px; }
.contact-details strong { color: var(--blue); }
.contact-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.contact-details a { text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }

.legal-copy { max-width: 980px; }
.legal-copy p { margin: 0 0 18px; }
.legal-copy .section-title { color: var(--blue); font-size: 22px; font-weight: 800; margin: 30px 0 8px; }
.legal-copy .numbered { margin: 0 0 16px 0; padding-left: 1.6em; }
.legal-copy .numbered li { padding-left: .25em; margin-bottom: 13px; }

.site-footer {
  background: var(--blue);
  color: #fff;
  border-top: 4px solid var(--red);
  margin-top: auto;
}
.footer-inner { width: min(1180px, calc(100% - 48px)); min-height: 64px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.footer-nav { display: flex; align-items: center; gap: 18px; font-size: 16px; font-weight: 500; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: #dce7ef; text-decoration: underline; }
.footer-sep { opacity: .65; }

@media (max-width: 900px) {
  .site-header { height: auto; }
  .header-inner { min-height: 78px; flex-wrap: wrap; gap: 8px; }
  .header-tools { gap: 20px; }
  .main-nav { gap: 24px; }
  .main-nav a { font-size: 16px; padding: 26px 0 20px; }
  .hero, .hero-inner { min-height: 520px; }
  .hero-image { background-position: 64% center; }
  .hero-copy { width: 64%; }
  .hero-copy p { font-size: 18px; }
  .download-panel, .contact-grid { grid-template-columns: 1fr; }
  .download-preview { width: min(320px, 100%); }
}

@media (max-width: 640px) {
  .header-inner, .hero-inner, .content, .page-hero-inner, .footer-inner { width: min(100% - 28px, 1180px); }
  .header-inner { padding: 7px 0; }
  .logo { width: 92px; }
  .logo-link { padding: 8px; }
  .header-tools { gap: 14px; position: relative; }
  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    padding: 8px 7px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 2px;
    background: rgba(16,44,72,.28);
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    transition: transform .18s ease, opacity .18s ease;
  }
  .main-nav {
    display: none;
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: 0;
    width: min(230px, calc(100vw - 28px));
    padding: 8px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--blue-dark);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    border-top: 3px solid var(--red);
  }
  .menu-toggle-input:checked ~ .main-nav { display: flex; }
  .menu-toggle-input:checked + .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle-input:checked + .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-toggle-input:checked + .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav a {
    display: block;
    font-size: 16px;
    padding: 13px 18px;
  }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.08); }
  .language-switch { font-size: 12px; gap: 5px; }
  .hero, .hero-inner { min-height: 570px; }
  .hero-image { background-image: linear-gradient(90deg, rgba(241,246,249,.98) 0%, rgba(241,246,249,.92) 58%, rgba(241,246,249,.25) 100%), url("../images/image_slider_2.jpg"); background-position: 65% center; }
  .hero-copy { width: 100%; padding-top: 35px; align-self: flex-start; }
  h1 { font-size: 42px; }
  .hero-copy p { font-size: 17px; }
  .home-panels { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { grid-template-columns: 38% 1fr; min-height: 125px; }
  .feature-card .visual { min-height: 125px; }
  .feature-copy { padding: 18px; }
  .feature-copy h2 { font-size: 23px; }
  .feature-copy p { font-size: 15px; }
  .arrow { width: 40px; height: 40px; flex-basis: 40px; }
  .page-hero { min-height: 220px; }
  .page-hero-inner { padding: 35px 0 28px; }
  .page-hero p { font-size: 18px; }
  .page-content { padding: 30px 0 50px; }
  .download-panel { padding: 18px; gap: 24px; }
  .footer-inner { min-height: 60px; }
  .footer-nav { gap: 10px; font-size: 14px; }
}
