/* =========================================================
   CLNmedia – Windows 98 Retro Theme
   Aktiviert via body.win98-mode
   Keine Microsoft-Marken – nur generischer Retro-Desktop-Stil
   ========================================================= */

/* === BOOT SCREEN (Desktop + Loading Window) =============== */

#win98-boot-screen {
  position: fixed;
  inset: 0;
  background-color: #008080;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "MS Sans Serif", "Microsoft Sans Serif", Arial, sans-serif;
  font-size: 11px;
  opacity: 1;
  transition: opacity 0.4s ease;
}

#win98-boot-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Desktop background pattern */
#win98-desktop-bg {
  position: absolute;
  inset: 0;
  background-color: #008080;
}

/* Desktop icons */
#win98-desktop-icons {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.win98-desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: default;
  width: 64px;
  user-select: none;
}

.win98-desktop-icon img,
.win98-desktop-icon .icon-img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.win98-desktop-icon .icon-emoji {
  font-size: 28px;
  line-height: 1;
  display: block;
}

.win98-desktop-icon span.icon-label {
  color: white;
  font-size: 11px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  line-height: 1.2;
}

/* Taskbar at the bottom */
#win98-taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  display: flex;
  align-items: center;
  padding: 0 4px;
  gap: 4px;
}

.win98-start-btn {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  padding: 2px 8px 2px 6px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
}

.win98-start-btn .start-logo {
  font-size: 14px;
}

.win98-taskbar-clock {
  margin-left: auto;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 2px 8px;
  font-size: 11px;
  font-family: "MS Sans Serif", Arial, sans-serif;
}

/* Loading Window Popup */
#win98-loading-window {
  position: relative;
  z-index: 10;
  width: 320px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  box-shadow: 2px 2px 0px #000000;
  font-family: "MS Sans Serif", "Microsoft Sans Serif", Arial, sans-serif;
}

.win98-window-titlebar {
  background: linear-gradient(to right, #000080, #1084d0);
  padding: 3px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.win98-window-titlebar .title-text {
  color: white;
  font-size: 11px;
  font-weight: bold;
  font-family: "MS Sans Serif", Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
}

.win98-window-titlebar .title-icon {
  font-size: 13px;
}

.win98-titlebar-btns {
  display: flex;
  gap: 2px;
}

.win98-titlebar-btn {
  width: 16px;
  height: 14px;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  font-family: "MS Sans Serif", Arial, sans-serif;
  line-height: 1;
}

.win98-window-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.win98-loading-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.win98-warning-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.win98-loading-text {
  font-size: 11px;
  line-height: 1.5;
  color: #000;
}

.win98-loading-text strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

/* Progress Bar */
.win98-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.win98-progress-label {
  font-size: 11px;
  color: #000;
}

.win98-progress-outer {
  height: 18px;
  background: #ffffff;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 1px;
}

.win98-progress-inner {
  height: 100%;
  background: #000080;
  width: 0%;
  transition: width 0.05s linear;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Striped blocks in progress bar (authentic Win98 style) */
.win98-progress-blocks {
  display: flex;
  height: 100%;
  gap: 1px;
  padding: 0 1px;
}

.win98-progress-block {
  width: 8px;
  height: 100%;
  background: #000080;
  flex-shrink: 0;
}

.win98-window-footer {
  display: flex;
  justify-content: center;
  padding: 4px 8px 12px;
}

.win98-btn {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  padding: 4px 20px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 11px;
  cursor: pointer;
  min-width: 80px;
  text-align: center;
}

.win98-btn:active {
  border-color: #808080 #ffffff #ffffff #808080;
}

/* ─── Coffee-Icon Nav-Link (modernes Design) ─── */
body:not(.win98-mode) .nav-link-coffee {
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
}

body:not(.win98-mode) .nav-link-coffee:hover {
  opacity: 1;
  transform: scale(1.15) rotate(-5deg);
  background: none !important;
}

/* =========================================================
   DESIGN SWITCH BUTTON (schwebendes Icon unten-rechts)
   ========================================================= */

#design-switch-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  padding: 6px 12px;
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 2px 2px 0 #000;
  white-space: nowrap;
  transition: none;
}

#design-switch-btn:hover {
  background: #d4d0c8;
}

#design-switch-btn:active {
  border-color: #808080 #ffffff #ffffff #808080;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #000;
}

/* Modern mode button style (before win98 is active) */
body:not(.win98-mode) #design-switch-btn {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 10px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

body:not(.win98-mode) #design-switch-btn:hover {
  background: linear-gradient(135deg, #16213e, #0f3460);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}

body:not(.win98-mode) #design-switch-btn:active {
  transform: translateY(0);
}

/* =========================================================
   WIN98 MODE GLOBAL OVERRIDES
   Alles unterhalb gilt nur wenn body.win98-mode aktiv ist
   ========================================================= */

body.win98-mode {
  background: #008080 !important;
  font-family: 'MS Sans Serif', 'Tahoma', sans-serif !important;
  font-size: 11px;
  color: #000 !important;
  cursor: default;
  overflow-x: hidden !important;
}

/* Compensate for taller navbar when clicking anchor links */
html:has(body.win98-mode) {
  scroll-padding-top: 100px !important;
}

body.win98-mode * {
  font-family: "MS Sans Serif", "Microsoft Sans Serif", Arial, sans-serif !important;
  box-sizing: border-box;
}

body.win98-mode h1,
body.win98-mode h2,
body.win98-mode h3,
body.win98-mode h4 {
  font-family: "MS Sans Serif", "Microsoft Sans Serif", Arial, sans-serif !important;
}

/* Scrollbar */
body.win98-mode ::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

body.win98-mode ::-webkit-scrollbar-track {
  background: #c0c0c0;
}

body.win98-mode ::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
}

body.win98-mode ::-webkit-scrollbar-button {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  height: 16px;
}

/* =========================================================
   NAVBAR → Win98 Menüleiste
   ========================================================= */

body.win98-mode #navbar {
  background: #c0c0c0 !important;
  border-bottom: 2px solid #808080 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  position: sticky !important;
  top: 0;
  padding: 0 !important;
  height: auto !important;
}

body.win98-mode .nav-inner {
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 0 !important;
  gap: 0 !important;
  max-width: 100% !important;
}

/* Title bar of the "browser window" nav */
body.win98-mode #win98-nav-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, #000080, #1084d0);
  padding: 3px 6px;
}

body.win98-mode #win98-nav-titlebar .title-text {
  color: white;
  font-weight: bold;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.win98-mode #win98-nav-titlebar .nav-win-btns {
  display: flex;
  gap: 2px;
}

body.win98-mode #win98-nav-titlebar .nav-win-btn {
  width: 16px;
  height: 14px;
  background: #c0c0c0;
  border: 1px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

/* Menu bar */
body.win98-mode #win98-menubar {
  display: flex;
  align-items: center;
  background: #c0c0c0;
  padding: 1px 4px;
  border-bottom: 1px solid #808080;
  gap: 0;
}

body.win98-mode .win98-menu-item {
  padding: 2px 8px;
  font-size: 11px;
  cursor: default;
  color: #000;
  text-decoration: none;
}

body.win98-mode .win98-menu-item:hover {
  background: #000080;
  color: #ffffff;
}

body.win98-mode .win98-menu-static {
  cursor: default;
  user-select: none;
  color: #000;
}

body.win98-mode .win98-menu-static:hover {
  background: transparent;
  color: #000;
}

/* Hilfe-Link darf hovern (ist klickbar) */
body.win98-mode .win98-hilfe {
  cursor: pointer;
  text-decoration: none;
}

body.win98-mode .win98-hilfe:hover {
  background: #000080 !important;
  color: #ffffff !important;
}

/* Bookmarks Bar */
#win98-bookmarksbar {
  display: none;
}

body.win98-mode #win98-bookmarksbar {
  display: flex;
  align-items: center;
  background: #c0c0c0;
  padding: 2px 4px;
  border-bottom: 1px solid #808080;
  gap: 4px;
}

.win98-bookmark-label {
  font-size: 11px;
  color: #000;
  margin-right: 4px;
  white-space: nowrap;
}

.win98-bookmark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 8px;
  font-size: 11px;
  color: #000;
  text-decoration: none;
  background: #c0c0c0;
  border: 1px solid transparent;
  white-space: nowrap;
}

.win98-bookmark:hover {
  background: #000080;
  color: #ffffff;
  border-color: transparent;
}

/* Address bar */
body.win98-mode #win98-addressbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px;
  background: #c0c0c0;
  border-bottom: 1px solid #808080;
}

body.win98-mode #win98-addressbar label {
  font-size: 11px;
  white-space: nowrap;
}

body.win98-mode #win98-addressbar .address-input {
  flex: 1;
  background: white;
  border: 2px solid;
  border-color: #808080 #ffffff #ffffff #808080;
  padding: 1px 4px;
  font-size: 11px;
  color: #000;
}

/* Hide original nav elements */
body.win98-mode .nav-logo,
body.win98-mode .nav-links,
body.win98-mode .nav-burger {
  display: none !important;
}

/* =========================================================
   HERO SEKTION → Win98 Window
   ========================================================= */

body.win98-mode #hero {
  background: #008080 !important;
  min-height: auto !important;
  padding: 24px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.win98-mode .hero-bg-grid,
body.win98-mode .hero-orb,
body.win98-mode .hero-scroll-hint {
  display: none !important;
}

body.win98-mode .hero-content {
  width: 100%;
  max-width: 520px;
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  box-shadow: 2px 2px 0 #000;
  padding: 0;
}

body.win98-mode .hero-content::before {
  content: "⚠️  CLNmedia – Home";
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #000080, #1084d0);
  color: white;
  font-weight: bold;
  font-size: 11px;
  padding: 3px 6px;
  width: 100%;
}

body.win98-mode .hero-title {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #000 !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
  text-shadow: none !important;
  padding: 16px 16px 4px !important;
  margin: 0 !important;
}

body.win98-mode .hero-highlight {
  color: #000 !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
  text-decoration: underline;
}

body.win98-mode .hero-sub {
  color: #000 !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
  padding: 0 16px 16px !important;
  margin: 0 !important;
}

body.win98-mode .hero-actions {
  padding: 0 16px 16px !important;
  gap: 8px !important;
  display: flex !important;
  flex-wrap: wrap;
}

/* =========================================================
   GENERELLE BUTTONS im Win98-Stil
   ========================================================= */

body.win98-mode .btn {
  background: #c0c0c0 !important;
  color: #000 !important;
  border: 2px solid !important;
  border-color: #ffffff #808080 #808080 #ffffff !important;
  border-radius: 0 !important;
  padding: 4px 16px !important;
  font-size: 11px !important;
  font-weight: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: none !important;
  min-width: 80px;
  justify-content: center;
}

body.win98-mode .btn:hover {
  background: #d4d0c8 !important;
  color: #000 !important;
  transform: none !important;
  box-shadow: none !important;
}

body.win98-mode .btn:active {
  border-color: #808080 #ffffff #ffffff #808080 !important;
}

body.win98-mode .btn-primary {
  background: #c0c0c0 !important;
}

body.win98-mode .btn-ghost {
  background: #c0c0c0 !important;
}

body.win98-mode .btn-disabled {
  color: #808080 !important;
  border-color: #808080 !important;
  cursor: not-allowed !important;
}

/* =========================================================
   SECTIONS → Win98 Windows
   ========================================================= */

body.win98-mode section {
  background: #008080 !important;
  padding: 16px !important;
}

body.win98-mode .container {
  max-width: 760px !important;
  margin: 0 auto !important;
  background: none !important;
}

/* Section label */
body.win98-mode .section-label {
  display: none !important;
}

/* Section titles */
body.win98-mode .section-title {
  font-size: 14px !important;
  font-weight: bold !important;
  color: #000 !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
  text-shadow: none !important;
  margin-bottom: 8px !important;
}

body.win98-mode .text-red {
  color: #000 !important;
  text-decoration: underline;
}

/* Win98 Window frame for sections */
body.win98-mode #about .container,
body.win98-mode #projects .container,
body.win98-mode #news .container,
body.win98-mode #support .container {
  background: #c0c0c0 !important;
  border: 2px solid !important;
  border-color: #ffffff #808080 #808080 #ffffff !important;
  box-shadow: 2px 2px 0 #000 !important;
  padding: 0 !important;
}

/* Fake title bar for section windows */
body.win98-mode #about .container::before {
  content: "📋  Über mich";
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #000080, #1084d0);
  color: white;
  font-weight: bold;
  font-size: 11px;
  padding: 3px 6px;
  width: 100%;
}

body.win98-mode #projects .container::before {
  content: "📱  Meine Apps";
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #000080, #1084d0);
  color: white;
  font-weight: bold;
  font-size: 11px;
  padding: 3px 6px;
  width: 100%;
}

body.win98-mode #news .container::before {
  content: "📰  Aktuelle News";
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #000080, #1084d0);
  color: white;
  font-weight: bold;
  font-size: 11px;
  padding: 3px 6px;
  width: 100%;
}

body.win98-mode #support .container::before {
  content: "☕  Support";
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #000080, #1084d0);
  color: white;
  font-weight: bold;
  font-size: 11px;
  padding: 3px 6px;
  width: 100%;
}

/* Padding inside section windows */
body.win98-mode #about .about-grid,
body.win98-mode #projects .projects-grid,
body.win98-mode #news .news-container,
body.win98-mode #support .support-card,
body.win98-mode #projects > .container > .section-title,
body.win98-mode #projects > .container > .section-sub,
body.win98-mode #news > .container > .section-title,
body.win98-mode #news > .container > .section-sub,
body.win98-mode #about > .container > .section-title {
  padding: 12px !important;
}

body.win98-mode #projects > .container > h2,
body.win98-mode #projects > .container > p,
body.win98-mode #news > .container > h2,
body.win98-mode #news > .container > p {
  padding: 4px 12px 4px !important;
  margin: 0 !important;
}

/* Subtitle text "Kleine Helferlein..." – in Win98 schwarz statt grau */
body.win98-mode .section-sub {
  color: #000000 !important;
  font-size: 11px !important;
  margin-bottom: 0 !important;
}

/* =========================================================
   ABOUT SEKTION
   ========================================================= */

body.win98-mode .about-grid {
  gap: 12px !important;
}

body.win98-mode .about-text {
  padding: 12px !important;
}

body.win98-mode .about-text p {
  font-size: 11px !important;
  line-height: 1.5 !important;
  color: #000 !important;
  margin-bottom: 8px !important;
}

body.win98-mode .about-text h2 {
  margin-bottom: 12px !important;
}

/* =========================================================
   PROJEKTE / CARDS → Win98 Fenster-Stil
   ========================================================= */

body.win98-mode .projects-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 12px !important;
}

body.win98-mode .project-card {
  background: #c0c0c0 !important;
  border: 2px solid !important;
  border-color: #808080 #ffffff #ffffff #808080 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 8px !important;
  position: relative !important;
}

body.win98-mode .project-card-glow {
  display: none !important;
}

/* Project logo – Rahmen passt sich dynamisch an Logo-Größe an */
body.win98-mode .project-logo-wrap {
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 1px solid #808080 !important;
  padding: 3px !important;
  line-height: 0 !important;
  overflow: visible !important;
}

body.win98-mode .project-logo-img {
  height: 40px !important;
  width: auto !important;
  max-width: none !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
}

/* Badges */
body.win98-mode .badge {
  background: #c0c0c0 !important;
  color: #000 !important;
  border: 1px solid #808080 !important;
  border-radius: 0 !important;
  font-size: 10px !important;
  padding: 1px 6px !important;
}

body.win98-mode .badge-beta {
  background: #000080 !important;
  color: #fff !important;
}

/* Project showcase → simple image */
body.win98-mode .project-showcase {
  border: 2px solid !important;
  border-color: #808080 #ffffff #ffffff #808080 !important;
  border-radius: 0 !important;
  height: 120px !important;
  overflow: hidden !important;
  cursor: pointer !important;
  position: relative !important;
}

body.win98-mode .showcase-glass-overlay {
  display: none !important;
}

body.win98-mode .showcase-content {
  background: rgba(0,0,0,0.5) !important;
}

body.win98-mode .showcase-badge,
body.win98-mode .showcase-hint {
  color: #fff !important;
  font-size: 10px !important;
  text-shadow: 1px 1px 0 #000 !important;
}

/* Project description */
body.win98-mode .project-desc {
  font-size: 11px !important;
  color: #000 !important;
  line-height: 1.5 !important;
  border-top: 1px solid #808080 !important;
  padding-top: 8px !important;
  margin-top: 8px !important;
}

/* Feature list */
body.win98-mode .project-features {
  list-style: disc !important;
  padding-left: 20px !important;
}

body.win98-mode .project-features li {
  font-size: 11px !important;
  color: #000 !important;
  margin-bottom: 2px !important;
}

body.win98-mode .feature-dot {
  display: none !important;
}

/* Coming soon card */
body.win98-mode .project-card-soon {
  border-color: #808080 #ffffff #ffffff #808080 !important;
}

body.win98-mode .soon-title {
  font-size: 12px !important;
  color: #000 !important;
}

body.win98-mode .soon-desc {
  font-size: 11px !important;
  color: #444 !important;
}

body.win98-mode .soon-icon {
  font-size: 24px !important;
}

body.win98-mode .soon-dots .soon-dot {
  background: #808080 !important;
}

/* Project footer */
body.win98-mode .project-footer {
  gap: 4px !important;
  flex-wrap: wrap !important;
  border-top: 1px solid #808080 !important;
  padding-top: 8px !important;
  margin-top: 8px !important;
}

/* =========================================================
   SUPPORT SEKTION
   ========================================================= */

body.win98-mode .support-card {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 12px !important;
}

body.win98-mode .support-orb {
  display: none !important;
}

body.win98-mode .support-title {
  font-size: 14px !important;
  color: #000 !important;
  font-weight: bold !important;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

body.win98-mode .support-desc {
  font-size: 11px !important;
  color: #000 !important;
  line-height: 1.5 !important;
}

body.win98-mode .support-emoji {
  font-size: 24px !important;
}

body.win98-mode .support-ways {
  gap: 8px !important;
  flex-direction: column !important;
}

body.win98-mode .support-way {
  background: #c0c0c0 !important;
  border: 2px solid !important;
  border-color: #808080 #ffffff #ffffff #808080 !important;
  border-radius: 0 !important;
  padding: 6px 10px !important;
  gap: 8px !important;
}

body.win98-mode .support-way-icon {
  font-size: 18px !important;
  width: 24px !important;
  height: 24px !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.win98-mode .support-way-text strong {
  font-size: 11px !important;
  color: #000 !important;
}

body.win98-mode .support-way-text span {
  font-size: 10px !important;
  color: #444 !important;
}

body.win98-mode .support-actions {
  gap: 6px !important;
  flex-wrap: wrap !important;
}

/* =========================================================
   FOOTER
   ========================================================= */

body.win98-mode #footer {
  background: #c0c0c0 !important;
  border-top: 2px solid !important;
  border-color: #ffffff !important;
  padding: 8px 0 !important;
}

body.win98-mode .footer-inner {
  gap: 16px !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
}

body.win98-mode .footer-logo .logo-cln {
  color: #000 !important;
}

body.win98-mode .footer-logo .logo-media {
  color: #000 !important;
}

body.win98-mode .footer-tagline {
  color: #444 !important;
  font-size: 10px !important;
}

body.win98-mode .footer-link,
body.win98-mode .footer-link-legal {
  color: #000080 !important;
  text-decoration: underline !important;
  font-size: 11px !important;
}

body.win98-mode .footer-link:hover,
body.win98-mode .footer-link-legal:hover {
  color: #0000ff !important;
}

body.win98-mode .footer-bottom {
  background: #c0c0c0 !important;
  border-top: 1px solid #808080 !important;
  color: #444 !important;
  font-size: 10px !important;
}

body.win98-mode .footer-heart {
  color: #444 !important;
}

/* =========================================================
   MODALS → Win98 Dialoge
   ========================================================= */

body.win98-mode .modal-backdrop {
  background: rgba(0, 0, 0, 0.3) !important;
}

body.win98-mode .modal-box {
  background: #c0c0c0 !important;
  border: 2px solid !important;
  border-color: #ffffff #808080 #808080 #ffffff !important;
  box-shadow: 4px 4px 0 #000 !important;
  border-radius: 0 !important;
}

body.win98-mode .modal-header {
  background: linear-gradient(to right, #000080, #1084d0) !important;
  padding: 4px 8px !important;
  border-radius: 0 !important;
}

body.win98-mode .modal-header h2 {
  color: white !important;
  font-size: 11px !important;
  font-weight: bold !important;
}

body.win98-mode .modal-header .modal-subtitle {
  color: #c0d0ff !important;
  font-size: 10px !important;
}

body.win98-mode .modal-header .modal-icon {
  font-size: 16px !important;
}

body.win98-mode .modal-close {
  background: #c0c0c0 !important;
  color: #000 !important;
  border: 1px solid !important;
  border-color: #ffffff #808080 #808080 #ffffff !important;
  border-radius: 0 !important;
  width: 16px !important;
  height: 14px !important;
  font-size: 9px !important;
  top: 4px !important;
  right: 4px !important;
  position: absolute !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  box-shadow: none !important;
}

body.win98-mode .modal-close:hover {
  background: #d4d0c8 !important;
}

body.win98-mode .modal-scroll-body {
  background: #c0c0c0 !important;
}

body.win98-mode .legal-section h3 {
  font-size: 12px !important;
  color: #000 !important;
  border-bottom: 1px solid #808080 !important;
  padding-bottom: 4px !important;
  margin-bottom: 8px !important;
}

body.win98-mode .legal-section h4 {
  font-size: 11px !important;
  color: #000 !important;
  font-weight: bold !important;
}

body.win98-mode .legal-section p,
body.win98-mode .legal-section li {
  font-size: 11px !important;
  color: #000 !important;
  line-height: 1.5 !important;
}

body.win98-mode .legal-address-card {
  background: #ffffff !important;
  border: 2px solid !important;
  border-color: #808080 #ffffff #ffffff #808080 !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  color: #000 !important;
}

body.win98-mode .modal-link-inline {
  color: #000080 !important;
}

body.win98-mode .legal-footer-info {
  color: #808080 !important;
  font-size: 10px !important;
  border-top: 1px solid #808080 !important;
}

/* Details modal */
body.win98-mode .details-gallery .gallery-main {
  border: 2px solid !important;
  border-color: #808080 #ffffff #ffffff #808080 !important;
}

body.win98-mode .gallery-thumb {
  border: 2px solid !important;
  border-color: #808080 #ffffff #ffffff #808080 !important;
  border-radius: 0 !important;
  font-size: 10px !important;
}

body.win98-mode .gallery-thumb.active {
  border-color: #000080 !important;
}

body.win98-mode .gallery-caption {
  font-size: 10px !important;
  color: #444 !important;
}

body.win98-mode .detail-feature-card {
  background: #d4d0c8 !important;
  border: 2px solid !important;
  border-color: #808080 #ffffff #ffffff #808080 !important;
  border-radius: 0 !important;
  padding: 8px !important;
}

body.win98-mode .detail-feature-card h4 {
  font-size: 11px !important;
  font-weight: bold !important;
  color: #000000 !important;
}

body.win98-mode .detail-feature-card p {
  font-size: 10px !important;
  color: #000000 !important;
}

body.win98-mode .details-block h3 {
  font-size: 12px !important;
  color: #000000 !important;
  font-weight: bold !important;
  margin-bottom: 6px !important;
}

body.win98-mode .details-block p {
  font-size: 11px !important;
  color: #000000 !important;
  line-height: 1.5 !important;
}

/* =========================================================
   WIN98 NAVBAR EXTRA ELEMENTS (initially hidden)
   ========================================================= */

#win98-nav-titlebar,
#win98-menubar,
#win98-addressbar {
  display: none;
}

body.win98-mode #win98-nav-titlebar,
body.win98-mode #win98-menubar,
body.win98-mode #win98-addressbar {
  display: flex;
}

/* =========================================================
   NEWS SECTION (WIN98)
   ========================================================= */

body.win98-mode .news-container {
  margin-top: 8px !important;
  padding-top: 4px !important;
}

body.win98-mode .news-card {
  background: #c0c0c0 !important;
  border: 2px solid !important;
  border-color: #808080 #ffffff #ffffff #808080 !important;
  border-radius: 0 !important;
  padding: 10px !important;
  box-shadow: none !important;
  transform: none !important;
}

body.win98-mode .news-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

body.win98-mode .news-header {
  border-bottom: 1px solid #808080 !important;
  padding-bottom: 5px !important;
  margin-bottom: 10px !important;
}

body.win98-mode .news-title {
  font-family: 'Pixelated MS Sans Serif', Tahoma, sans-serif !important;
  font-size: 13px !important;
  color: #000080 !important;
  font-weight: bold !important;
}

body.win98-mode .news-date {
  font-family: 'Pixelated MS Sans Serif', Tahoma, sans-serif !important;
  font-size: 11px !important;
  color: #808080 !important;
}

body.win98-mode .news-content {
  font-family: 'Pixelated MS Sans Serif', Tahoma, sans-serif !important;
  font-size: 12px !important;
  color: #000000 !important;
  line-height: 1.4 !important;
}

body.win98-mode .news-content img {
  border: 2px solid !important;
  border-color: #808080 #ffffff #ffffff #808080 !important;
  border-radius: 0 !important;
  margin: 10px 0 !important;
}

body.win98-mode .news-content h2,
body.win98-mode .news-content h3 {
  color: #000000 !important;
  font-size: 12px !important;
  margin-top: 15px !important;
  margin-bottom: 5px !important;
}

/* =========================================================
   MOBILE ANPASSUNGEN im Win98-Modus
   ========================================================= */

@media (max-width: 600px) {
  body.win98-mode #hero {
    padding: 12px 8px !important;
  }

  body.win98-mode .hero-content {
    max-width: 100% !important;
  }

  body.win98-mode .hero-actions {
    flex-direction: column !important;
  }

  body.win98-mode .hero-actions .btn {
    width: 100% !important;
  }

  body.win98-mode .projects-grid {
    padding: 8px !important;
  }

  #win98-loading-window {
    width: 280px;
  }

  #design-switch-btn {
    bottom: 12px;
    right: 12px;
  }
}
