*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 93.75%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: #373737;
  background: #ffffff;
}

a {
  color: #213e98;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: #26a2e0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 700;
  color: #373737;
  line-height: 1.2;
}

h1 { font-size: 5.333rem; line-height: 1.1; }
h2 { font-size: 2.4rem; line-height: 1; }
h3 { font-size: 1.467rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.067rem; }
h6 { font-size: 0.933rem; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background-color: #213e98;
  color: #ffffff;
}

.btn {
  display: inline-block;
  color: #000000;
  background-color: #9fd900;
  border: 2px solid #9fd900;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 1.133rem;
  font-weight: 400;
  padding: 14px 34px;
  border-radius: 3px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.btn:hover,
.btn:focus {
  color: #000000;
  background-color: #b4d557;
  border-color: #b4d557;
}

.spacer-20 { height: 20px; }
.spacer-30 { height: 30px; }
.spacer-50 { height: 50px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-gray {
  background-color: #edeef0;
}

.section-title {
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #575757;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-branding {
  padding: 1em 0;
}

.custom-logo {
  max-width: 200px;
  height: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation .menu-toggle {
  display: none;
  background: #ffffff;
  color: #07018f;
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.nav-menu li a {
  display: block;
  padding: 0 1em;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 80px;
  transition: color 0.2s;
}

.nav-menu li a:hover {
  color: rgba(255,255,255,0.6);
}

.lang-item a.menu-link {
  border: 1px solid #ffffff;
  border-radius: 50%;
  width: 35px !important;
  height: 35px !important;
  text-align: center;
  line-height: 35px;
  padding: 0 !important;
  display: inline-block !important;
  margin-left: 1em;
}

.lang-item a.menu-link:hover {
  color: #213e98 !important;
  background-color: #ffffff;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 10px;
}

.header-social .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  line-height: 1;
}

.header-social .social-link svg {
  width: 18px;
  height: 18px;
  fill: #9fd900;
  transition: fill 0.2s;
}

.header-social .social-link:hover svg {
  fill: #07018f;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/images/IoT-datenschutz-scaled-1.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-full {
  min-height: 100vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-text p {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.btn-arrow {
  margin-left: 8px;
}

/* Media Text Sections */
.media-text {
  display: grid;
  grid-template-columns: 46% auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.media-text-reverse {
  grid-template-columns: auto 46%;
}

.media-text-reverse .media-text-image {
  order: 2;
}

.media-text-reverse .media-text-content {
  order: 1;
}

.media-text-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0;
}

.media-text-content h5 {
  color: #373737;
  margin-bottom: 10px;
}

.media-text-content h2 {
  margin-bottom: 20px;
}

.media-text-content p {
  color: #575757;
  line-height: 1.8;
}

/* Services Grid (3 columns with images) */
.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.service-card-3 {
  text-align: center;
}

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.service-card-3 h4 {
  font-size: 1.1rem;
  line-height: 1.3;
}

.services-description {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.services-description p {
  color: #575757;
  line-height: 1.8;
}

/* Solutions */
.solution-feature {
  text-align: center;
  margin-bottom: 40px;
}

.solution-name {
  color: #213e98;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.solution-tagline {
  color: #575757;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.solution-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.step-card {
  background: #ffffff;
  text-align: center;
  padding: 30px 20px;
}

.step-icon {
  margin-bottom: 15px;
  color: #213e98;
  display: flex;
  justify-content: center;
}

.step-icon svg {
  width: 48px;
  height: 48px;
}

.step-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.step-card p {
  color: #575757;
  font-size: 0.9rem;
  line-height: 1.6;
}

.solution-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.solution-product {
  text-align: center;
}

.solution-product h4 {
  color: #213e98;
  margin-bottom: 15px;
}

.solution-product img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.solution-description {
  max-width: 900px;
  margin: 0 auto;
}

.solution-description p {
  color: #575757;
  line-height: 1.8;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: #ffffff;
  padding: 25px 20px;
  text-align: center;
}

.testimonial-quote {
  font-style: italic;
  color: #575757;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
}

.testimonial-name {
  font-size: 1rem;
  margin-bottom: 5px;
}

.testimonial-job {
  color: #575757;
  font-size: 0.8rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-title {
  margin-bottom: 30px;
}

.contact-form .form-row {
  margin-bottom: 15px;
}

.form-row-2 {
  display: flex;
  gap: 15px;
}

.form-row-2 input {
  width: 50%;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #373737;
  background: #ffffff;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #213e98;
}

.contact-form textarea {
  resize: vertical;
}

.contact-detail {
  margin-bottom: 30px;
}

.contact-detail h4 {
  color: #213e98;
  margin-bottom: 10px;
}

.contact-detail p {
  color: #575757;
  line-height: 1.8;
}

.contact-socials {
  display: flex;
  gap: 12px;
}

/* Footer */
.site-footer {
  background-color: #ffffff;
}

.footer-primary {
  padding: 45px 0;
  text-align: center;
}

.footer-address {
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-email {
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: #000000;
  transition: fill 0.2s;
}

.social-link:hover svg {
  fill: #07018f;
}

.footer-below {
  padding: 20px 0;
  border-top: 1px solid #eeeeee;
  text-align: center;
}

.footer-copyright {
  color: #3a3a3a;
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 920px) {
  .main-navigation .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li a {
    color: #575757;
    line-height: 50px;
    padding: 0 20px;
    border-bottom: 1px solid #eee;
  }

  .nav-menu li a:hover {
    color: #07018f;
  }

  .lang-item a.menu-link {
    margin-left: 0;
    position: static !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0;
    border: none;
    text-align: left;
    line-height: 50px;
  }

  .lang-item a.menu-link:hover {
    background-color: transparent;
    color: #07018f !important;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }

  .media-text,
  .media-text-reverse {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }

  .media-text-reverse .media-text-image {
    order: 0;
  }

  .media-text-reverse .media-text-content {
    order: 0;
  }

  .media-text-image img {
    height: 250px;
  }

  .services-grid-3,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solution-steps {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row-2 {
    flex-direction: column;
  }

  .form-row-2 input {
    width: 100%;
  }

  .hero,
  .hero-full {
    min-height: 100vh;
  }

  .section {
    padding: 50px 0;
  }

  .header-inner {
    position: relative;
  }

  .site-header {
    position: relative;
    background: linear-gradient(135deg, rgb(7,1,143) 0%, rgb(132,4,206) 100%);
  }

  .header-social {
    display: none;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .custom-logo {
    max-width: 140px;
  }

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

  .hero-empty {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .solution-steps {
    grid-template-columns: 1fr;
  }

  .solution-product img {
    height: 200px;
  }

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