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

:root {
  --orange:  #E8973A;
  --blue:    #2a5f8f;
  --dark:    #0f1e2e;
  --mid:     #3a5068;
  --light:   #edf2f7;
  --silver:  #c8d8e8;
  --white:   #ffffff;
  --red:     #C8302A;
  --accent:  #2a7db5;
}

html { scroll-behavior: smooth; height: 100%; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

h1, h2, h3, .nav-links, .hero-eyebrow, .section-label {
  font-family: 'Syne', sans-serif;
}


.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-logo { height: 80px; width: auto; }
.nav a:has(.nav-logo), .footer a:has(.footer-logo) { line-height: 0; text-decoration: none; border: none; }
.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--mid); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--dark); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #1f6090 !important; }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5rem 4rem 3rem;
  background:
    linear-gradient(135deg, rgba(10,25,50,0.88) 0%, rgba(20,70,130,0.82) 50%, rgba(30,110,200,0.78) 100%),
    url('resources/hero-bg.jpg') center right / cover no-repeat;
  position: relative;
  overflow: hidden;
  gap: 4rem;
}
@media (max-width: 768px) {
  .hero { min-height: auto; padding-bottom: 4rem; }
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,125,181,0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('resources/vector-SEP-2020-69_generated.jpg');
  background-size: cover;
  background-position: center right;
  mix-blend-mode: soft-light;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.hero-content, .hero-graphic { position: relative; z-index: 1; }
.hero-content { flex: 1; max-width: 520px; }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 1.5rem;
}
.hero-accent { color: var(--silver); }
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(200,216,232,0.85);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #1f6090; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

.hero-graphic {
  flex-shrink: 0;
  position: relative;
  width: 260px; height: 260px;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
  align-self: center;
}
.hero-hex-outer, .hero-hex-mid, .hero-hex-inner {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hero-hex-outer { width: 260px; height: 260px; background: rgba(200,216,232,0.25); animation: spin 20s linear infinite; }
.hero-hex-mid   { width: 220px; height: 220px; background: rgba(42,125,181,0.6); animation: spin 20s linear infinite reverse; }
.hero-hex-inner { width: 160px; height: 160px; background: #0f1e2e; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.section { padding: 6rem 3rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--dark);
}

.about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
}
.about-stats { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.stat { border-left: 3px solid var(--accent); padding-left: 1.5rem; }
.stat-num { display: block; font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--dark); word-break: break-word; }
.stat-label { font-size: 13px; color: #888; }

.about-map {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  position: sticky;
  top: 6rem;
}
.map-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.map-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border: 1px solid rgba(42,95,143,0.1);
}

.what-we-do { background: #e8f0f8; }
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.pillar {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border-top: 4px solid var(--accent);
  border: 1px solid rgba(42,95,143,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.pillar-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 1rem;
}
.pillar h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--dark); }
.pillar p  { font-size: 13px; line-height: 1.7; color: #666; }

.partners { background: var(--white); }
.partners .section-inner { margin-bottom: 2rem; }

.scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
  padding-bottom: 40px;
  min-height: 260px;
  position: relative;
  transition: min-height 0.4s ease;
}
.scene.expanded { min-height: 560px; }

.our-products-btn {
  position: absolute;
  z-index: 20;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: #555;
  border: 5px solid #cc4400;
  outline: 6px solid #888;
  outline-offset: 3px;
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.our-products-btn:hover { transform: translate(-50%) scale(1.08); }
.our-products-btn .ht { font-size: 14px; font-weight: 600; color: #fff; }
.our-products-btn .hs { font-size: 10px; color: #ccc; margin-top: 2px; }

.outer {
  width: 420px; height: 360px;
  position: relative;
  clip-path: polygon(50% 0%, 93% 18%, 100% 62%, 74% 100%, 26% 100%, 0% 62%, 7% 18%);
  opacity: 0;
  transform: scale(0.1);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  flex-shrink: 0;
  margin-top: 0;
}
.outer.visible { opacity: 1; transform: scale(1); pointer-events: all; }
.outer.zoomed-out { transform: scale(0.7); transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1); }
.outer svg { position: absolute; top: 0; left: 0; }
.seg { transition: opacity 0.3s ease, filter 0.3s ease; }

.hub-ring2 { position: absolute; width: 158px; height: 158px; top: 101px; left: 131px; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background: #888; z-index: 8; }
.hub-ring  { position: absolute; width: 148px; height: 148px; top: 106px; left: 136px; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); background: #cc4400; z-index: 9; }
.hub-center {
  position: absolute; width: 120px; height: 120px; top: 120px; left: 150px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: #555;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  z-index: 10; cursor: pointer; transition: background 0.2s;
}
.hub-center:hover { background: #666; }
.hub-center .ht { font-size: 13px; font-weight: 500; color: #fff; }
.hub-center .hs { font-size: 10px; color: #ccc; margin-top: 2px; }

.hint {
  font-size: 11px;
  color: #888;
  text-align: center;
  width: 100%;
  position: absolute;
  top: 220px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.scene.expanded .hint {
  top: 450px;
}

.info-card {
  width: 460px; max-width: 96vw; max-height: 80vh;
  background: #fff; border-radius: 14px; border-top: 4px solid #888;
  padding: 18px 48px 14px; position: relative; margin-top: 18px;
  opacity: 0; transform: translateY(14px) scale(0.97);
  pointer-events: none; transition: opacity 0.4s ease, transform 0.4s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
}
.info-card.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }

.x-btn {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: #eee; border: none; color: #555; font-size: 13px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.x-btn:hover { background: #ddd; transform: scale(1.1); }

.nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: #f0f0f0; border: none; color: #444; font-size: 24px;
  cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.nav-btn:hover { background: #e0e0e0; }
.nav-left { left: 10px; }
.nav-left:hover { transform: translateY(-50%) scale(1.1); }
.nav-right { right: 10px; }
.nav-right:hover { transform: translateY(-50%) scale(1.1); }

.card-body { display: flex; align-items: center; gap: 16px; }

.card-logo-wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: none;
}

.card-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-text { flex: 1; min-width: 0; }
.card-tagline { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #999; margin-bottom: 4px; }
.card-title { font-size: 16px; font-weight: 700; color: #222; margin-bottom: 6px; line-height: 1.2; }
.card-desc { font-size: 12px; color: #555; line-height: 1.6;  white-space: pre-line;}

.card-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.cdot { width: 7px; height: 7px; border-radius: 50%; cursor: pointer; transition: background 0.3s, transform 0.2s; }
.cdot.active { transform: scale(1.5); }


.footer {
  background: #0a1828;
  color: #7a9ab8;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
.footer-logo { height: 60px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; }
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 12px;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.impressum-link { font-size: 12px; color: #888; text-decoration: underline; }
.impressum-link:hover { color: #fff; }
.privacy-link { font-size: 12px; color: #888; text-decoration: underline; }
.privacy-link:hover { color: #fff; }



.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #2a2a2a; color: #ddd;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  z-index: 1000; font-size: 12px; line-height: 1.5;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-banner a { color: var(--silver); text-decoration: underline; cursor: pointer; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn { padding: 7px 16px; border-radius: 6px; border: none; font-size: 12px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.cookie-btn.accept { background: var(--accent); color: #fff; }
.cookie-btn.accept:hover { background: #1f6090; }
.cookie-btn.decline { background: #444; color: #ccc; }
.cookie-btn.decline:hover { background: #555; }


@media (max-width: 768px) {
  .nav { padding: 0.875rem 1.25rem; }
  .nav-links { gap: 0; }
  .nav-links li:not(:last-child) { display: none; }

  .hero { flex-direction: column-reverse; padding: 6rem 1.25rem 3rem; gap: 1.5rem; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-graphic { display: none; }

  .section { padding: 3rem 1.25rem; }
  .section h2 { font-size: 1.6rem; }

  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-map { position: static; }
  .about-stats { flex-direction: column; gap: 1rem; }

  .pillars { grid-template-columns: 1fr; gap: 1rem; }
  .pillar { padding: 1.25rem; }

  .scene { min-height: 0; padding: 1rem 0.5rem; position: relative}
  .outer { width: 300px; height: 257px; margin-top: 0; }
  .outer svg { width: 300px; height: 257px; transform-origin: top left; transform: scale(0.714); }
  .hub-ring2 { width: 113px; height: 113px; top: 72px; left:  94px; }
  .hub-ring  { width: 106px; height: 106px; top: 76px; left:  97px; }
  .hub-center{ width:  86px; height:  86px; top: 86px; left: 107px; }
  .hub-center .ht { font-size: 11px; }
  .hub-center .hs { font-size: 9px; }
  .our-products-btn {
    position: absolute;
    z-index: 20;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .our-products-btn .ht { font-size: 12px; }
  .our-products-btn .hs { font-size: 9px; }

  .info-card {
    width: 96vw;
    padding: 14px 36px 12px;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    margin: 0;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    max-height: 60vh;
    overflow-y: auto;
  }
  .info-card.visible { transform: translateY(0); }
  .card-body { flex-direction: column; align-items: flex-start; }
  .card-logo-wrap { width: 100%; height: 50px; justify-content: flex-start; padding: 0; background: none; }
  .card-logo-wrap img { width: auto; height: 100%; }

  .footer { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.5rem 1.25rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 12px 16px; gap: 10px; }
  .cookie-btns { width: 100%; justify-content: flex-end; }
}

@media (max-width: 430px) {
  body { overflow-x: clip; }
  * { max-width: 100%; }

  .nav { padding: 0.75rem 1rem; }
  .nav-logo { height: 40px; }

  .hero { padding: 5rem 1rem 2.5rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size: 0.95rem; }
  .btn { padding: 12px 20px; font-size: 13px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; text-align: center; }

  .section { padding: 2.5rem 1rem; }
  .section h2 { font-size: 1.4rem; }

  .about-stats { flex-direction: column; gap: 1rem; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 12px; }

  .pillar { padding: 1rem; }
  .pillar h3 { font-size: 0.9rem; }
  .pillar p  { font-size: 12px; }

  .scene { padding: 0.5rem; min-height: 0; }
  .outer { width: 260px; height: 223px; margin-top: 0; }
  .outer svg { transform: scale(0.619); }
  .hub-ring2 { width:  98px; height:  98px; top: 63px; left: 81px; }
  .hub-ring  { width:  92px; height:  92px; top: 66px; left: 84px; }
  .hub-center{ width:  74px; height:  74px; top: 75px; left: 93px; }
  .hub-center .ht { font-size: 10px; }
  .hub-center .hs { font-size: 8px; }
  .our-products-btn { width: 86px; height: 86px; }
  .our-products-btn .ht { font-size: 11px; }
  .our-products-btn .hs { font-size: 8px; }

  .info-card { padding: 12px 28px 10px; }
  .card-title { font-size: 14px; }
  .card-desc  { font-size: 11px; }

  .footer { padding: 1.25rem 1rem; }
  .footer p { font-size: 11px; }

  .cookie-banner { padding: 10px 12px; font-size: 11px; }
  .cookie-btn { padding: 6px 12px; font-size: 11px; }
}