/* ================================
   FONTS
================================ */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ================================
   VARIABLES
================================ */
:root{
  --c1:#1c2c3c;
  --c2:#244c68;
  --highlight:#3bb6b0;
  --white:#ffffff;

  --muted: rgba(28,44,60,.75);
  --line: rgba(28,44,60,.12);
  --soft: rgba(36,76,104,.06);

  --shadow: 0 16px 34px rgba(28,44,60,.16);
}

/* ================================
   BASE
================================ */
*{ box-sizing:border-box; }

body{
  margin:0;
  font-family:"Roboto", system-ui, sans-serif;
  color:var(--c1);
  background:#fff;
  line-height:1.55;
}

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

/* ================================
   NAVIGATION
================================ */
.navwrap{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.navinner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}

.brand img{
  height:58px;
}

.navlinks{
  display:flex;
  gap:12px;
}

.pilllink{
  padding:8px 18px;
  border-radius:999px;
  text-decoration:none;
  color:var(--c1);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  transition:all .25s ease;
}

.pilllink:hover{
  background:var(--highlight);
  color:#fff;
}

/* ================================
   HERO
================================ */
.hero{
  background:linear-gradient(180deg,var(--c1),var(--c2));
  color:#fff;
  padding:72px 0;
}

.heroGrid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:48px;
  align-items:center;
}

.pill{
  padding:6px 16px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  background:rgba(255,255,255,.16);
}

.heroText h1{
  font-size:66px;
  margin:14px 0;
}

.heroImg{
  max-width:720px;
  width:100%;
}

/* ================================
   SECTIONS – ZENTRIERT
================================ */
.section{
  padding:90px 0;
  text-align:center;
}

.section.alt{
  background:var(--soft);
}

.pilltitle{
  display:inline-block;
  padding:10px 22px;
  border-radius:999px;
  background:var(--c2);
  color:#fff;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:14px;
  margin-bottom:24px;
}

.sectionIntro{
  max-width:760px;
  margin:0 auto 40px;
  color:var(--muted);
}

/* ================================
   DOMAINS & FEATURES
================================ */
.domainGrid,
.featureGrid{
  display:grid;
  gap:18px;
  justify-content:center;
}

.domainGrid{ grid-template-columns:repeat(3,1fr); }
.featureGrid{ grid-template-columns:repeat(4,1fr); }

.domainBlock,
.feature{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px;
  transition:.25s ease;
}

.domainBlock:hover,
.feature:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

/* ================================
   VALUES PILLS
================================ */
.valuesPills{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  margin-top:32px;
}

.valuePill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 18px;
  border-radius:999px;
  font-size:14px;
  color:#fff;
}

.valuePill.blue{ background:var(--c1); }
.valuePill.teal{ background:var(--c2); }

.pillIcon{
  width:16px;
  height:16px;
  filter:invert(1);
}

/* ================================
   DOWNLOAD
================================ */
.download{
  padding:90px 0;
  background:linear-gradient(180deg,var(--c2),var(--c1));
  color:#fff;
}

/* ================================
   FOOTER – CLEAN
================================ */
.footer{
  background:var(--c1);
  padding:36px 0;
  text-align:center;
  color:#fff;
}

.footerLinks{
  display:flex;
  gap:18px;
  justify-content:center;
}

.footer .linkBtn{
  background:none;
  border:none;
  color:#fff;
  cursor:pointer;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
}

.footerMark img{
  height:18px;
  width:auto;
  margin-top:14px;
  opacity:.55;
  filter:none;
}


.copyright{
  font-size:12px;
  color:rgba(255,255,255,.6);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width:960px){
  .heroGrid{ grid-template-columns:1fr; }
  .domainGrid{ grid-template-columns:1fr; }
  .featureGrid{ grid-template-columns:1fr; }
}
/* FIX: FEATURE ICON SIZE */
.feature .icon{
  width:36px;
  height:36px;
  margin:0 auto 6px;
}

.feature .icon svg{
  width:22px;
  height:22px;
}
/* HERO IMAGE MOTION */
.heroImg{
  transition: transform .35s ease, filter .35s ease;
  will-change: transform;
}

.heroVisual:hover .heroImg{
  transform: translateY(-6px);
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.22));
}

/* BOX HOVER (Domains + Features) */
.domainBlock:hover,
.feature:hover{
  transform: translateY(-4px);
}
/* LANGUAGE PILLS */
.langbtn{
  height:36px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--c1);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  cursor:pointer;
  transition:.25s ease;
}

.langbtn:hover{
  background:var(--soft);
}

.langbtn.is-active{
  background:var(--c2);
  color:#fff;
  border-color:transparent;
}
/* DOWNLOAD CENTER FIX */
.downloadGrid{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:22px;
}

.downloadBadges{
  justify-content:center;
}

.badge img{
  height:46px;
  max-height:46px;
  width:auto;
}
.footerMark img{
  height:16px;
  width:auto;
  border-radius:0;
  background:none;
  box-shadow:none;
  filter:invert(1);
}


/* ================================
   FINAL FIXES
================================ */

/* MODALS */
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:9999;
}
.modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.modalPanel{
  background:#fff;
  width:min(900px,92%);
  max-height:82vh;
  overflow:auto;
  padding:28px;
  border-radius:18px;
  box-shadow:0 40px 80px rgba(0,0,0,.35);
}

/* FEATURE ICONS */
.feature .icon{
  color:#3bb6b0;
}
.feature .icon svg{
  stroke:currentColor;
}

/* DOWNLOAD CENTER */
.downloadGrid{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:24px;
}
.downloadBadges{
  justify-content:center;
}
.badge img{
  height:46px;
  max-height:46px;
}

/* FOOTER SIGNET */
.footerMark img{
  height:16px;
  border-radius:0;
  background:none;
}

/* VALUE ICONS */
.pillIcon{
  width:16px;
  height:16px;
  background-color:#3bb6b0;
  mask-size:contain;
  mask-repeat:no-repeat;
  mask-position:center;
  -webkit-mask-size:contain;
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
}
/* ================================
   VALUES – FINAL (wie Screenshot)
================================ */
.valuesWrap{
  background:#3bb6b0;
  border-radius:28px;
  padding:32px 28px;
  margin-top:32px;
}

.valuesPills{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
}

.valuePill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 18px;
  background:#ffffff;
  border-radius:999px;
  font-size:14px;
  font-weight:500;
  color:#1c2c3c;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
}

.valuePill img{
  width:16px;
  height:16px;
  flex:0 0 16px;
  filter:
    invert(63%)
    sepia(31%)
    saturate(557%)
    hue-rotate(128deg)
    brightness(95%)
    contrast(90%);
}
.valuePill{
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.valuePill:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(0,0,0,.16);
}


/* ================================
   FOOTER – CLEAN WHITE
================================ */
.footer{
  background:#ffffff;
  color:#1c2c3c;
  padding:36px 0;
  border-top:1px solid rgba(28,44,60,.12);
  text-align:center;
}

.footer .linkBtn{
  background:none;
  border:none;
  color:#1c2c3c;
  font-size:14px;
  cursor:pointer;
}

.footer .linkBtn:hover{
  text-decoration:underline;
}

.copyright{
  margin-top:12px;
  font-size:13px;
  color:rgba(28,44,60,.6);
}

/* ================================
   LEGAL TEXT FORMATTING
================================ */
.legal{
  white-space:pre-wrap;
  font-family:"Roboto", system-ui, sans-serif;
  font-size:14px;
  line-height:1.7;
  color:#1c2c3c;
  max-width:720px;
}
/* ================================
   VALUES – FINAL ICON FIX
================================ */

.valuePill img{
  width:16px;
  height:16px;
  flex:0 0 16px;

  /* echtes Türkis */
  filter:
    invert(63%)
    sepia(31%)
    saturate(557%)
    hue-rotate(128deg)
    brightness(95%)
    contrast(90%);

  transition:
    transform .25s ease,
    filter .25s ease;
}

/* Bewegung bei Hover */
.valuePill:hover img{
  transform:scale(1.15) rotate(-4deg);
}
.valuePill img{
  width:16px;
  height:16px;
  flex:0 0 16px;

  /* Türkis */
  filter:
    invert(63%)
    sepia(31%)
    saturate(557%)
    hue-rotate(128deg)
    brightness(95%)
    contrast(90%);

  /* KEINE Bewegung */
  transform:none !important;
}


/* ================================
   MOBILE NAV + HERO FIX
================================ */
.burger{display:none;background:none;border:0;width:40px;height:40px;cursor:pointer}
.burger span{display:block;width:22px;height:2px;background:#1c2c3c;margin:5px auto}

@media (max-width:820px){
  .burger{display:block}
  .navlinks{
    position:fixed;
    top:70px;
    right:16px;
    background:#fff;
    padding:16px;
    border-radius:14px;
    box-shadow:0 18px 40px rgba(0,0,0,.18);
    display:none;
    flex-direction:column;
    gap:12px;
    z-index:999;
  }
  .navlinks.is-open{display:flex}
  .langswitch{margin-top:10px;justify-content:center}
  .heroImg{max-width:95%;margin:0 auto}
}
/* ================================
   MOBILE HEADER CLEANUP
================================ */

@media (max-width: 820px){
  .brand img{
    height:36px;   /* vorher ~58px */
  }

  .navinner{
    padding:10px 0;
    gap:10px;
  }
}
.langswitch,
.langbtn{
  position:relative;
  z-index:5;
}
/* ================================
   HERO – MOBILE IMAGE SWITCH
================================ */

@media (max-width: 820px){
  .heroVisual{
    justify-content:center;
  }

  .heroImg{
    content: url("../img/hero-mobile.png");
    max-width: 92%;
    margin: 0 auto;
  }
}
