/* =====================================================================
   KONOVA ONE-PAGER – STYLES
   Primary-Color: #06004f · Font: Proxima Nova (Adobe Fonts / Typekit)
   ===================================================================== */

:root {
  --primary: #06004f;
  --primary-light: #03b180;
  --ink: #1a1a2e;
  --muted: #5b5b73;
  --line: #e6e6ef;
  --bg: #ffffff;
  --bg-alt: #f6f6fb;
  --radius: 14px;
  --maxw: 1320px;
  --font: "proxima-nova", "Proxima Nova", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  padding-top: 50px;
  overflow-x: clip;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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



#linkedin-widget {
  min-height: 575px;
}

#linkedin-widget iframe {
  max-width: 100% !important;
  width: 100% !important;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- Typografie ---------- */
h1, h2, h3 { color: var(--primary); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
h3 { font-size: 1.25rem; }

.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section__intro { max-width: 920px; margin-bottom: 48px; margin-left: auto; margin-right: auto; text-align: center; }
.section__intro p { color: var(--muted); font-size: 1.08rem; margin-left: auto; margin-right: auto; text-align: center;margin-bottom:10px;}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
  border:1px solid var(--primary);
}
.btn:hover { background: var(--primary-light); text-decoration: none; border-color: var(--primary-light); }
.btn--ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 12px 26px;
}
.btn--ghost:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Konova Header ---------- */
#konova-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  transition: transform 0.3s ease;
}

#konova-header .konova-header-inner {
  display: flex;
  align-items: center;
  height: 50px;
  gap: 24px;
  min-width: 0;
}

#konova-header .konova-header-logo {
  flex-shrink: 0;
  display: inline-flex;
  line-height: 0;
}

#konova-header .konova-header-logo img {
  max-height: 24px;
  width: auto;
  display: block;
}

#konova-header .konova-header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

#konova-header .konova-header-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

#konova-header .konova-header-nav a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

#konova-header .konova-header-phone {
  flex-shrink: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

#konova-header .konova-header-phone:hover {
  color: var(--primary-light);
  text-decoration: none;
}

#konova-header .konova-header-phone i {
  margin-right: 4px;
  font-style: normal;
}

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 90px;
  background: linear-gradient(160deg, #f6f6fb 0%, #ffffff 60%);

  @media (max-width: 620px) {
    padding: 40px 0 60px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__title { margin: 8px 0 20px; max-width: 600px}
.hero__text { font-size: 1.18rem; color: var(--muted); max-width: 100%; margin-bottom: 32px; }

.hero .btn {
  align-self: flex-start;
  width: auto;

  @media (max-width: 620px) {
    width: 100%;
    text-align: center;
  }
}

.hero-trust {
  margin-top: 42px;
}

.hero-trust__label {
  margin-bottom: 14px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--muted);

  @media(max-width: 767px) {
      text-align: center;
  }
}

.hero-trust-slider {
  display: flex;
  gap: 14px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.hero-trust-track {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  min-width: max-content;
  animation: hero-logo-scroll 32s linear infinite;
}

.hero-trust-item {
  width: 180px;
  min-height: 76px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-trust-item img {
  max-height: 30px;
  width: auto;
  opacity: 0.9;
}

@keyframes hero-logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 14px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-trust-track {
    animation: none;
  }
}

/* ---------- Lösungen ---------- */
.solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.solution {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.solution:hover { box-shadow: 0 12px 32px rgba(6,0,79,0.08); transform: translateY(-3px); }
.solution__logo { height: 48px; margin-bottom: 22px; }
.solution__logo img { height: 100%; width: auto; }
.solution h3 { margin-bottom: 12px; }
.solution p { color: var(--muted); flex: 1; margin-bottom: 22px; font-size: 0.98rem; }
.solution__link { font-weight: 600; }
.solution__link:hover { font-weight: 600; color: var(--primary-light);text-decoration: none; }

/* ---------- Team ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  justify-items: center;
}
.member {
  width: 100%;
  max-width: 230px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(230, 230, 239, 0.7);
  border-radius: 18px;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(2px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.member:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(6, 0, 79, 0.07);
}
.member__img {
  width: 128px;
  height: 128px;
  aspect-ratio: auto;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--bg-alt);
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(6, 0, 79, 0.12);
}
.member__img img { width: 100%; height: 100%; object-fit: cover; }
.member__body { padding: 0; width: 100%; }
.member__name { font-size: 1.15rem; margin-bottom: 2px; }
.member__role { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.member__contact { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; align-items: center; }
.member__contact a { color: var(--ink); }
.member__contact a:hover { color: var(--primary-light); }

/* ---------- Foto-Impressionen ---------- */
.impressions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.impression-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.impression-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ---------- Newsletter ---------- */
.newsletter-form {
  max-width: 520px;
  margin: 0 auto 48px;
}

.newsletter-form__row {
  display: flex;
  gap: 10px;
}

.newsletter-form__input {
  flex: 1;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form__btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.newsletter-form__msg {
  margin-top: 12px;
  font-size: 0.95rem;
  min-height: 1.4em;
}

.newsletter-form__msg--success { color: #1a7a4a; }
.newsletter-form__msg--error   { color: #c0392b; }

@media (max-width: 480px) {
  .newsletter-form__row { flex-direction: column; }
  .newsletter-form__btn { width: 100%; text-align: center; }
}

/* ---------- Kontakt ---------- */
.contact__box {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact__box h2 { color: #fff; }
.contact__box p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.contact__details a { color: #fff; font-weight: 600; }
.contact__details a:hover { color: var(--primary-light); font-weight: 600;text-decoration: none; }
.contact__cta { text-align: right; }
.contact__cta .btn {
  background: #fff; color: var(--primary); font-size: 1.05rem;
}
.contact__cta .btn:hover { background: var(--primary-light); color: #fff; text-decoration: none; }

@media (max-width: 900px) {
  .contact__cta .btn {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Konova Footer ---------- */
#konova-footer {
  font-family: inherit;
  font-size: 16px;
  color: #25282a;
}

#konova-footer a {
  color: #001f60;
  text-decoration: none;
}

#konova-footer a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

#konova-footer address {
  font-style: normal;
  margin: 0;
}

.konova-footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

#konova-footer-contact {
  padding: 60px 0;
  border-top: 1px solid #e5e5e5;
}

.konova-footer-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 40px;
}

.konova-footer-logo-col img {
  max-width: 250px;
  height: auto;

  @media (max-width: 767px) {
    margin-left: auto;
    margin-right: auto;
  }
}

.konova-footer-logo-col img:hover {
  opacity: 0.8;
}

.konova-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

#konova-footer .konova-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #001f60;
  color: #fff;
  transition: background-color 0.2s;
}

#konova-footer .konova-footer-social a:hover {
  background-color: var(--primary-light);
  color: #fff;
}

#konova-footer-copyright {
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
  font-size: 13px;
}

.konova-footer-copyright-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

#konova-footer-copyright a {
  font-weight: 600;
  color: #25282a;
}

/* ---------- Legal page ---------- */
.legal { padding: 60px 0 88px; max-width: 820px; padding-left:15px;padding-right:15px; }
.legal h1 { margin-bottom: 28px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal p { color: var(--ink); margin-bottom: 14px; }
.legal a { word-break: break-word; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .solutions { grid-template-columns: repeat(1, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .contact__box { grid-template-columns: 1fr; }
  .contact__cta { text-align: left; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-image {
    aspect-ratio: 16 / 10;
  }

  .hero-trust-item {
    width: 160px;
    min-height: 70px;
    padding: 14px 10px;
  }

  .impressions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #konova-header .konova-header-nav {
    display: none;
  }

  #konova-header .konova-header-phone {
    margin-left: auto;
  }
}
@media (max-width: 620px) {
  .solutions { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 60px 0; }

  .hero-trust {
    margin-top: 34px;
  }

  .hero-trust-item {
    width: 140px;
    min-height: 64px;
  }

  .impressions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #konova-header .konova-header-inner {
    gap: 12px;
  }

  #konova-header .konova-header-phone {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .konova-footer-contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .konova-footer-social {
    justify-content: center;
  }

  .konova-footer-copyright-grid {
    flex-direction: column;
    text-align: center;
  }
}
