:root {
  --navy: #06284b;
  --navy-deep: #031c36;
  --blue: #0878ef;
  --blue-light: #eaf5ff;
  --gold: #d7a044;
  --gold-light: #f6d48c;
  --ink: #0b2340;
  --muted: #60738a;
  --line: rgba(9, 47, 82, 0.12);
  --surface: #ffffff;
  --soft: #f6f9fc;
  --success: #1d9b68;
  --shadow: 0 24px 70px rgba(2, 32, 62, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 585px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(
      180deg,
      rgba(2, 31, 59, 0.72) 0%,
      rgba(3, 52, 91, 0.45) 46%,
      rgba(2, 32, 62, 0.72) 100%
    ),
    url("./swiss-alps-rigi.jpg") center 56% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(2, 29, 55, 0.52)
    );
  pointer-events: none;
}

.header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 31, 58, 0.28);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 80px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}





.emblem {
  width: 54px;
  height: 54px;
  display: block;
  flex: 0 0 54px;
  overflow: hidden;
  border: 2px solid #efc667;
  border-radius: 50%;
  background: #062f59;
  box-shadow:
    0 0 0 3px rgba(218, 168, 68, 0.15),
    0 9px 24px rgba(0, 0, 0, 0.22);
}

.emblem img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.brand-wordmark {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}


.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 31px);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  opacity: 0.92;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(1, 20, 38, 0.16);
}

.button-gold {
  color: #fff;
  background:
    linear-gradient(
      135deg,
      #e0ac50,
      #c78628
    );
  box-shadow: 0 12px 28px rgba(196, 126, 26, 0.27);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  color: white;
  background: rgba(0, 26, 50, 0.25);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 0 150px;
  text-align: center;
}

.hero h1 {
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.28);
}

.hero-lead {
  margin: 18px 0 31px;
  font-size: clamp(16px, 1.45vw, 19px);
  color: rgba(255, 255, 255, 0.88);
}

.search-shell {
  max-width: 800px;
  margin: 0 auto;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 19px;
  background: white;
  box-shadow: var(--shadow);
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr) auto;
  align-items: center;
}

.search-field {
  min-height: 57px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 18px;
  color: var(--ink);
}

.search-field + .search-field {
  border-left: 1px solid var(--line);
}

.search-icon {
  color: var(--blue);
  font-size: 20px;
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-submit {
  min-height: 53px;
  padding: 0 28px;
  border: 0;
  border-radius: 13px;
  color: white;
  background:
    linear-gradient(
      135deg,
      #e0ac50,
      #c9872d
    );
  font-weight: 800;
  cursor: pointer;
}

.trust-row {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 650;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row i {
  color: var(--gold-light);
  font-style: normal;
}

.main {
  position: relative;
  z-index: 3;
  margin-top: -62px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.stat {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 24px 18px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat-icon {
  color: var(--blue);
  font-size: 31px;
}

.stat strong {
  display: block;
  font-size: 22px;
}

.stat small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.section {
  padding: 48px 0 4px;
}

.section-head {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.section-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.category {
  min-height: 135px;
  display: grid;
  place-items: center;
  padding: 18px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  background: white;
  box-shadow: 0 10px 30px rgba(12, 47, 78, 0.05);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.category:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(12, 47, 78, 0.11);
}

.category-icon {
  color: var(--gold);
  font-size: 31px;
}

.category strong {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}

.category small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.company {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: white;
  box-shadow: 0 12px 35px rgba(12, 47, 78, 0.06);
}

.company-image {
  position: relative;
  height: 155px;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #d9e9f3,
      #f5f0df
    );
}

.company-image::before,
.company-image::after {
  content: "";
  position: absolute;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.company-image::before {
  width: 63%;
  height: 72%;
  left: 11%;
  bottom: -13%;
  box-shadow:
    85px -17px 0 rgba(215, 160, 68, 0.2),
    142px 14px 0 rgba(9, 72, 123, 0.18);
}

.company-image::after {
  width: 31%;
  height: 43%;
  right: 9%;
  top: 14%;
  background: rgba(8, 76, 126, 0.14);
}

.company:nth-child(2) .company-image {
  background:
    radial-gradient(circle, #f4d48d 0 5%, transparent 6%) 0 0 / 58px 58px,
    linear-gradient(135deg, #4c3b2f, #d2b079);
}

.company:nth-child(3) .company-image {
  background:
    linear-gradient(135deg, #d8e4e8, #f8faf9 55%, #bbb3a5);
}

.company:nth-child(4) .company-image {
  background:
    radial-gradient(circle at 30% 70%, #4c8a45, transparent 30%),
    radial-gradient(circle at 70% 35%, #a8cc79, transparent 32%),
    linear-gradient(135deg, #42693d, #d7e3b6);
}

.verified {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #13724e;
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
}

.company-body {
  padding: 17px;
}

.company h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.company-meta {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

.company-rating {
  margin-top: 13px;
  color: #f0a313;
  font-size: 13px;
  font-weight: 800;
}

.company-rating span {
  color: var(--muted);
  font-weight: 500;
}

.promo {
  margin: 50px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 32px;
  padding: 35px 40px;
  overflow: hidden;
  border: 1px solid #d2e6f5;
  border-radius: 25px;
  background:
    linear-gradient(
      135deg,
      #eaf6ff,
      #fff8eb
    );
}

.promo h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 38px);
}

.promo p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.6;
}

.promo-visual {
  position: relative;
  height: 190px;
}

.promo-screen {
  position: absolute;
  width: 250px;
  height: 150px;
  right: 15px;
  bottom: 0;
  border: 8px solid #17344d;
  border-radius: 12px;
  background:
    linear-gradient(
      90deg,
      #eaf5ff 31%,
      #fff 31%
    );
  box-shadow: 0 25px 45px rgba(10, 47, 78, 0.18);
  transform: perspective(600px) rotateY(-8deg);
}

.promo-screen::before {
  content: "";
  position: absolute;
  inset: 14px;
  background:
    repeating-linear-gradient(
      180deg,
      #dbeaf4 0 8px,
      transparent 8px 21px
    );
}

.promo-plant {
  position: absolute;
  width: 40px;
  height: 70px;
  left: 10px;
  bottom: 0;
  border-radius: 50% 50% 13px 13px;
  background:
    repeating-linear-gradient(
      75deg,
      #2e914f 0 7px,
      #6dbc7e 7px 13px
    );
}

.footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.license {
  margin-top: 15px;
  font-size: 11px;
  opacity: 0.72;
}

@media (max-width: 1100px) {
  .nav {
    grid-template-columns: 200px minmax(0, 1fr) auto;
    gap: 18px;
  }

  .nav-links {
    gap: 15px;
    font-size: 13px;
  }

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

@media (max-width: 880px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 65px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-field + .search-field {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .search-submit {
    margin-top: 6px;
  }

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

  .stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

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

  .promo-visual {
    display: none;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    min-height: 70px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 58px 0 155px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .trust-row {
    gap: 16px;
  }

  .main {
    margin-top: -80px;
  }

  .stats,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .stat + .stat {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .promo {
    padding: 26px 22px;
  }
}


/* ========================================================
   PREMIUM V4 – HERO TEXT FINAL COMPACT
   ======================================================== */

.hero-content {
  max-width: 980px !important;
  padding-top: 62px !important;
  padding-bottom: 132px !important;
}

.hero h1 {
  max-width: 880px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 42px !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  font-weight: 780 !important;
}

.hero-lead {
  margin-top: 16px !important;
  margin-bottom: 27px !important;
  font-size: 17px !important;
  line-height: 1.45 !important;
  font-weight: 450 !important;
}

@media (max-width: 880px) {
  .hero h1 {
    font-size: 36px !important;
  }

  .hero-lead {
    font-size: 16px !important;
  }
}

@media (max-width: 580px) {
  .emblem {
    width: 47px;
    height: 47px;
    flex-basis: 47px;
  }

  .brand-wordmark {
    font-size: 21px;
  }

  .hero-content {
    padding-top: 48px !important;
  }

  .hero h1 {
    font-size: 30px !important;
    line-height: 1.16 !important;
  }

  .hero-lead {
    font-size: 15px !important;
  }
}


/* ========================================================
   ECHTES OFFIZIELLES MICRO MIND HEADER-LOGO
   ======================================================== */

.brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 320px !important;
}

@media (max-width: 1100px) {
  }

@media (max-width: 880px) {
  }

@media (max-width: 580px) {
  }


/* ========================================================
   OFFIZIELLES EMBLEM AUS HOCHGELADENER LOGODATEI
   ======================================================== */

.brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 320px !important;
}

.official-emblem {
  position: relative !important;
  display: block !important;
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px !important;
  overflow: hidden !important;
  border: 2px solid #efc667 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow:
    0 0 0 3px rgba(218, 168, 68, 0.15),
    0 9px 24px rgba(0, 0, 0, 0.20) !important;
}

.official-emblem img {
  position: absolute !important;
  display: block !important;
  width: 132px !important;
  height: auto !important;
  max-width: none !important;
  left: 50% !important;
  top: 0 !important;
  transform: translateX(-50%) !important;
  object-fit: initial !important;
}

/* Sicherheitsmaske gegen sichtbaren weissen Kasten */
.official-emblem::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  box-shadow: inset 0 0 0 9999px transparent !important;
}

.official-wordmark {
  color: #ffffff !important;
  font-size: 25px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
}

@media (max-width: 1100px) {
  .official-emblem {
    width: 54px !important;
    height: 54px !important;
    flex-basis: 54px !important;
  }

  .official-emblem img {
    width: 123px !important;
  }

  .official-wordmark {
    font-size: 23px !important;
  }
}

@media (max-width: 580px) {
  .official-emblem {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
  }

  .official-emblem img {
    width: 105px !important;
  }

  .official-wordmark {
    font-size: 20px !important;
  }
}

/* ========================================================
   PREMIUM V4 – LOGO FINAL POLISH
   ======================================================== */

.official-emblem {
  width: 52px !important;
  height: 52px !important;
  flex-basis: 52px !important;
}

.official-emblem img {
  width: 118px !important;
}

.official-wordmark {
  font-size: 23px !important;
  font-weight: 760 !important;
  letter-spacing: -0.035em !important;
}

@media (max-width: 580px) {
  .official-emblem {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
  }

  .official-emblem img {
    width: 100px !important;
  }

  .official-wordmark {
    font-size: 20px !important;
  }
}


/* ========================================================
   MICROMIND OFFIZIELLES HORIZONTALES HEADER-LOCKUP
   ======================================================== */

.brand {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 235px !important;
  overflow: visible !important;
}

.official-header-lockup {
  display: block !important;
  width: auto !important;
  height: 54px !important;
  max-width: 225px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: drop-shadow(
    0 7px 16px rgba(0, 0, 0, 0.18)
  ) !important;
}

@media (max-width: 1100px) {
  .official-header-lockup {
    height: 50px !important;
    max-width: 210px !important;
  }
}

@media (max-width: 580px) {
  .official-header-lockup {
    height: 44px !important;
    max-width: 185px !important;
  }
}


/* ========================================================
   MICROMIND FINALES HOCHGELADENES HEADER-LOGO
   ======================================================== */

.brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: 260px !important;
  overflow: visible !important;
}

.micromind-final-logo {
  display: block !important;
  width: auto !important;
  height: 66px !important;
  max-width: 245px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: drop-shadow(
    0 8px 18px rgba(0, 0, 0, 0.20)
  ) !important;
}

@media (max-width: 1100px) {
  .micromind-final-logo {
    height: 58px !important;
    max-width: 220px !important;
  }
}

@media (max-width: 580px) {
  .micromind-final-logo {
    height: 48px !important;
    max-width: 185px !important;
  }
}

/* ========================================================
   MICROMIND HEADER-LOGO – MAXIMALE SINNVOLLE GRÖSSE
   ======================================================== */

.header .nav {
  min-height: 96px !important;
  grid-template-columns: 330px minmax(0, 1fr) auto !important;
}

.brand {
  max-width: 325px !important;
}

.micromind-final-logo {
  width: auto !important;
  height: 88px !important;
  max-width: 320px !important;
  object-fit: contain !important;
}

@media (max-width: 1200px) {
  .header .nav {
    grid-template-columns: 280px minmax(0, 1fr) auto !important;
  }

  .micromind-final-logo {
    height: 78px !important;
    max-width: 275px !important;
  }
}

@media (max-width: 980px) {
  .header .nav {
    grid-template-columns: 1fr auto !important;
    min-height: 84px !important;
  }

  .micromind-final-logo {
    height: 72px !important;
    max-width: 255px !important;
  }
}

@media (max-width: 580px) {
  .header .nav {
    min-height: 74px !important;
  }

  .micromind-final-logo {
    height: 62px !important;
    max-width: 215px !important;
  }
}

/* ========================================================
   PREMIUM V4 – MOBILE FINAL POLISH
   ======================================================== */

@media (max-width: 580px) {
  .header .nav {
    min-height: 82px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  .micromind-final-logo {
    height: 72px !important;
    max-width: 245px !important;
  }

  .hero {
    min-height: 670px !important;
  }

  .hero-content {
    padding-top: 42px !important;
    padding-bottom: 120px !important;
  }

  .hero h1 {
    max-width: 360px !important;
    font-size: 30px !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
  }

  .hero-lead {
    margin-top: 18px !important;
    margin-bottom: 24px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .menu-toggle {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
    font-size: 25px !important;
  }
}

/* ========================================================
   PREMIUM V4 – DESKTOP HEADER FINAL
   ======================================================== */

@media (min-width: 881px) {
  .nav {
    grid-template-columns:
      minmax(235px, 285px)
      minmax(610px, 1fr)
      auto !important;
    gap: 22px !important;
  }

  .nav-links {
    gap: clamp(18px, 1.55vw, 29px) !important;
  }

  .nav-links a {
    white-space: nowrap !important;
  }

  .nav-actions {
    white-space: nowrap !important;
  }
}
