/* MIB public site: clear store front, compact navigation and dedicated product bands. */
:root { --mib-ink: #11181b; --mib-cyan: #048ca7; --mib-amber: #c58e33; --mib-line: #d6dcdd; --mib-muted: #5c686e; }
html, body { background: #0c1113; color: #f5f7f8; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; }
#root .rounded-3xl, #root .rounded-2xl { border-radius: 8px !important; }
#root .rounded-xl { border-radius: 6px !important; }
#root .shadow-2xl, #root .shadow-xl, #root .shadow-lg { box-shadow: none !important; }
#root button:focus-visible, #root a:focus-visible, #root input:focus-visible, #root select:focus-visible { outline: 3px solid var(--mib-cyan) !important; outline-offset: 3px; }
#root [class*="tracking-"] { letter-spacing: 0 !important; }
#root main > section { scroll-margin-top: 90px; }

#root > div > nav { background: rgba(10, 13, 15, .96) !important; border-bottom: 1px solid #2d3437; box-shadow: none !important; }
#root > div > nav [class*="text-white"], #root > div > nav [class*="text-zinc"], #root > div > nav [class*="text-foreground"] { color: #f3f5f6 !important; }
#root > div > nav .mib-secondary-nav-item { display: none !important; }
#root > div > nav a[href="/marktplatz"]:not(.mib-nav-more a):not(.mib-mobile-more a),
#root > div > nav a[href="/#kontakt"]:not(.mib-nav-more a):not(.mib-mobile-more a),
#root > div > nav a[href="/apps/"]:not(.mib-nav-more a):not(.mib-mobile-more a),
#root > div > nav a[href="/gutschein"]:not(.mib-nav-more a):not(.mib-mobile-more a) { display: none !important; }
.mib-nav-more { position: relative; color: #f3f5f6; }
.mib-nav-more summary { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; padding: 0 13px; border: 1px solid #343c40; border-radius: 5px; font-size: 14px; font-weight: 750; }
.mib-nav-more summary::-webkit-details-marker { display: none; }
.mib-nav-more summary::after { content: '⌄'; color: #7f8b90; }
.mib-nav-more[open] summary { background: #171d20; border-color: #4d5a5f; }
.mib-nav-more > div { position: absolute; top: calc(100% + 8px); right: 0; z-index: 100; min-width: 210px; padding: 7px; border: 1px solid #343c40; border-radius: 6px; background: #101517; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.mib-nav-more > div a { display: flex !important; min-height: 42px; align-items: center; padding: 0 12px !important; border: 0 !important; border-radius: 4px !important; background: transparent !important; color: #edf1f2 !important; font-size: 14px !important; text-decoration: none; }
.mib-nav-more > div a:hover { background: #1d2528 !important; }
.mib-mobile-more { display: none; }

#root > div > section:nth-of-type(1) { min-height: min(700px, calc(100svh - 32px)) !important; background: #090c0e !important; border-bottom: 1px solid #30383b; }
#root > div > section:nth-of-type(1) > div.absolute { display: block !important; }
#root > div > section:nth-of-type(1) > div.absolute img { filter: saturate(.82) contrast(1.04); }
#root > div > section:nth-of-type(1) > div.absolute > div[class*="bg-gradient"] {
  background: linear-gradient(90deg, rgba(3, 6, 7, .82) 0%, rgba(3, 6, 7, .66) 58%, rgba(3, 6, 7, .34) 100%) !important;
}
#root > div > section:nth-of-type(1) > div.absolute > div[class*="bg-radial"] { display: none !important; }
#root > div > section:nth-of-type(1) > div.relative { padding-top: 112px !important; padding-bottom: 58px !important; }
#root > div > section:nth-of-type(1) h1, #root > div > section:nth-of-type(1) [class*="text-white"] { color: #fff !important; }
#root > div > section:nth-of-type(1) [class*="text-zinc-300"], #root > div > section:nth-of-type(1) [class*="text-zinc-400"] { color: #c8d0d3 !important; }
#root > div > section:nth-of-type(1) [class*="border-zinc"] { border-color: #3d464a !important; }
#root > div > section:nth-of-type(1) h1 { max-width: 900px; font-size: clamp(36px, 5vw, 66px) !important; line-height: 1.05 !important; }
#root > div > section:nth-of-type(1) p { max-width: 720px; font-size: clamp(16px, 1.4vw, 19px) !important; line-height: 1.55 !important; }
#root > div > section:nth-of-type(1) a[class*="bg"] { border-radius: 6px !important; box-shadow: none !important; }
.mib-hero-app-card { display: none !important; }

.mib-front-section { width: 100%; }
.mib-front-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.mib-front-kicker { margin: 0 0 9px; color: var(--mib-cyan); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.mib-front-section h2 { margin: 0; letter-spacing: 0; font-size: clamp(30px, 3.6vw, 49px); line-height: 1.08; }
.mib-learning-section { background: #151a1d; color: #f7f9fa; border-bottom: 1px solid #31383b; }
.mib-learning-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 56px; align-items: center; padding: 58px 0; }
.mib-video-stage { min-width: 0; aspect-ratio: 16 / 9; background: #080b0c; overflow: hidden; border: 1px solid #3b4549; border-radius: 6px; }
.mib-video-stage iframe, .mib-video-launch { width: 100%; height: 100%; border: 0; display: block; }
.mib-video-launch { position: relative; padding: 0; cursor: pointer; color: #fff; background: #080b0c; }
.mib-video-launch img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .78; }
.mib-video-launch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78)); }
.mib-play-mark { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: #f4b63f; }
.mib-play-mark::after { content: ''; position: absolute; left: 27px; top: 20px; border-left: 18px solid #11181b; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.mib-video-label { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 17px; text-align: left; font-size: 14px; font-weight: 750; }
.mib-learning-copy > p:not(.mib-front-kicker) { color: #bdc7ca; line-height: 1.65; font-size: 17px; margin: 17px 0 0; }
.mib-learning-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 22px 0; color: #d8dfe1; font-size: 13px; border-bottom: 1px solid #394145; }
.mib-learning-facts span::before { content: '✓'; margin-right: 7px; color: #44c4dd; font-weight: 800; }
.mib-premium-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding-top: 20px; }
.mib-premium-row strong, .mib-premium-row span { display: block; }
.mib-premium-row strong { font-size: 17px; }
.mib-premium-row span { color: #aeb9bd; font-size: 13px; margin-top: 4px; line-height: 1.45; }
.mib-premium-row a { min-height: 48px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 5px; background: #f4b63f; color: #11181b; font-weight: 800; text-decoration: none; }

.mib-apps-section { --mib-line: #30383b; background: #0f1315; color: #f4f6f7; padding: 58px 0 66px; border-bottom: 1px solid #30383b; }
.mib-apps-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 25px; border-bottom: 1px solid var(--mib-line); }
.mib-text-link { color: #69d2e7; font-size: 14px; font-weight: 800; text-decoration: none; }
.mib-text-link::after { content: ' →'; }
.mib-app-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mib-app-item { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 20px; padding: 26px; border-right: 1px solid #30383b; }
.mib-app-item:first-child { padding-left: 0; }
.mib-app-item:last-child { padding-right: 0; border-right: 0; }
.mib-app-index { color: var(--mib-cyan); font-size: 12px; font-weight: 850; }
.mib-app-item h3 { margin: 0; font-size: 22px; letter-spacing: 0; }
.mib-app-item p { margin: 9px 0 0; color: #aeb9bd; line-height: 1.55; font-size: 14px; }
.mib-app-item a { width: fit-content; color: #f4f6f7; font-size: 14px; font-weight: 800; text-decoration: none; border-bottom: 2px solid #e4ae3d; padding-bottom: 3px; }

@media (max-width: 920px) {
  .mib-learning-grid { grid-template-columns: 1fr; gap: 32px; }
  .mib-app-list { grid-template-columns: 1fr; }
  .mib-app-item, .mib-app-item:first-child, .mib-app-item:last-child { grid-template-columns: 44px 1fr auto; grid-template-rows: auto; align-items: center; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--mib-line); }
  .mib-app-item:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  #root [class*="grid"] { min-width: 0; }
  #root [class*="overflow-x"] { scrollbar-width: thin; }
  #root > div > section:nth-of-type(1) { min-height: min(720px, calc(100svh - 24px)) !important; }
  #root > div > section:nth-of-type(1) > div.relative { padding: 92px 20px 42px !important; }
  #root > div > section:nth-of-type(1) h1 { font-size: 36px !important; }
  #root > div > section:nth-of-type(1) > div.absolute img { object-position: 56% center !important; filter: saturate(.92) contrast(1.08) brightness(1.08); }
  #root > div > section:nth-of-type(1) > div.absolute > div[class*="bg-gradient"] {
    background: linear-gradient(90deg, rgba(3, 6, 7, .78) 0%, rgba(3, 6, 7, .64) 68%, rgba(3, 6, 7, .44) 100%) !important;
  }
  #root > div > section:nth-of-type(1) .mt-6.flex { gap: 10px !important; }

  #root > div > nav:has([aria-expanded="true"]) > div:last-child { position: fixed; top: 64px; right: 0; bottom: auto; left: 0; width: 100%; height: calc(100dvh - 64px) !important; min-height: calc(100dvh - 64px); overflow-y: auto; background: #0d1012 !important; border-top: 1px solid #303638 !important; z-index: 50; }
  #root > div > nav:has([aria-expanded="true"]) > div:last-child > div { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; background: transparent !important; padding: 8px 20px 28px !important; }
  #root > div > nav:has([aria-expanded="true"]) > div:last-child a { min-height: 52px !important; margin: 0 !important; justify-content: flex-start !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid #292f32 !important; color: #f3f5f6 !important; padding: 0 4px !important; font-size: 16px !important; }
  #root > div > nav:has([aria-expanded="true"]) > div:last-child a:nth-of-type(6) { color: #6dd6e8 !important; }
  #root > div > nav:has([aria-expanded="true"]) > div:last-child a:nth-of-type(7) { color: #f2b847 !important; }
  #root > div > nav:has([aria-expanded="true"]) > div:last-child > div > div { grid-column: 1 !important; padding-top: 12px !important; }
  #root > div > nav:has([aria-expanded="true"]) .mib-nav-more { width: 100%; }
  #root > div > nav:has([aria-expanded="true"]) .mib-nav-more summary { width: 100%; min-height: 52px; justify-content: space-between; border: 0; border-bottom: 1px solid #292f32; border-radius: 0; padding: 0 4px; font-size: 16px; }
  #root > div > nav:has([aria-expanded="true"]) .mib-nav-more > div { position: static; min-width: 0; padding: 0 0 0 15px !important; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  #root > div > nav:has([aria-expanded="true"]) .mib-nav-more > div a { min-height: 46px !important; font-size: 14px !important; }
  #root > div > nav:has([aria-expanded="true"]) .mib-mobile-more { display: block; grid-column: 1 / -1; width: 100%; color: #f3f5f6; }
  #root > div > nav:has([aria-expanded="true"]) .mib-mobile-more summary { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; border-bottom: 1px solid #292f32; padding: 0 4px; font-size: 16px; font-weight: 750; }
  #root > div > nav:has([aria-expanded="true"]) .mib-mobile-more summary::-webkit-details-marker { display: none; }
  #root > div > nav:has([aria-expanded="true"]) .mib-mobile-more summary::after { content: '+'; color: #7f8b90; font-size: 20px; font-weight: 500; }
  #root > div > nav:has([aria-expanded="true"]) .mib-mobile-more[open] summary::after { content: '−'; }
  #root > div > nav:has([aria-expanded="true"]) .mib-mobile-more > div { display: grid !important; grid-template-columns: 1fr !important; padding: 0 0 4px 16px !important; }
  #root > div > nav:has([aria-expanded="true"]) .mib-mobile-more > div a { display: flex !important; min-height: 46px !important; border-bottom: 1px solid #252b2e !important; padding: 0 4px !important; color: #cbd3d6 !important; font-size: 14px !important; }

  .mib-front-inner { width: min(100% - 36px, 1180px); }
  .mib-learning-grid { padding: 38px 0 42px; }
  .mib-front-section h2 { font-size: 31px; }
  .mib-learning-copy > p:not(.mib-front-kicker) { font-size: 16px; }
  .mib-premium-row { grid-template-columns: 1fr; gap: 16px; }
  .mib-premium-row a { width: 100%; justify-content: center; }
  .mib-apps-section { padding: 42px 0; }
  .mib-apps-heading { align-items: start; flex-direction: column; gap: 14px; }
  .mib-app-item, .mib-app-item:first-child, .mib-app-item:last-child { grid-template-columns: 34px 1fr; gap: 14px; }
  .mib-app-item a { grid-column: 2; }
}
