/* ===== SAP T-Code Hub — Fully Responsive Styles ===== */
/* Mobile-first: base styles for 320px+, scale up via breakpoints  */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Source+Code+Pro:wght@400;600&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --royal:       #1a3a8f;
  --royal-dark:  #0f2560;
  --royal-deep:  #081540;
  --royal-mid:   #2550c0;
  --royal-light: #3a6fd8;
  --royal-pale:  #c8d8ff;
  --gold:        #ffc107;
  --gold-light:  #ffe082;
  --white:       #ffffff;
  --text-light:  #e8eeff;
  --text-dim:    #8fa8e0;
  --border:      rgba(100,140,255,0.22);
  --shadow:      0 8px 32px rgba(10,30,100,0.22);
  --glass:       rgba(255,255,255,0.06);
  --row-alt:     rgba(255,255,255,0.025);
  --row-hover:   rgba(37,80,192,0.2);

  /* Fluid type — scales smoothly from mobile to desktop */
  --fs-xs:   clamp(9.5px,  1.8vw, 11px);
  --fs-sm:   clamp(11px,   2vw,   12.5px);
  --fs-base: clamp(12px,   2.2vw, 13.5px);
  --fs-md:   clamp(13px,   2.5vw, 15px);
  --fs-lg:   clamp(15px,   3vw,   18px);
  --fs-2xl:  clamp(24px,   5.5vw, 52px);

  /* Fluid spacing */
  --sp-xs:  clamp(4px,   1vw,   8px);
  --sp-sm:  clamp(8px,   1.5vw, 14px);
  --sp-md:  clamp(14px,  2.5vw, 24px);
  --sp-lg:  clamp(22px,  4vw,   36px);
  --sp-xl:  clamp(32px,  6vw,   64px);

  /* Container side padding: 14px on phone → 28px tablet → 40px desktop */
  --pad: clamp(14px, 3vw, 40px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img  { max-width: 100%; height: auto; display: block; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--royal-deep);
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.6;
  font-size: var(--fs-base);
  overflow-x: hidden;
}

/* ════════════════════════════════════
   GDPR BANNER
════════════════════════════════════ */
#gdpr-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(8,21,64,0.97);
  border-top: 2px solid var(--royal-light);
  padding: var(--sp-sm) var(--pad);
  display: flex; align-items: center; gap: var(--sp-sm); flex-wrap: wrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
#gdpr-banner p { font-size: var(--fs-sm); color: var(--text-dim); flex: 1; min-width: 200px; line-height: 1.5; }
#gdpr-banner a { color: var(--gold); text-decoration: underline; }
.gdpr-btn {
  padding: 8px 18px; border-radius: 6px;
  font-family: 'Montserrat', sans-serif; font-size: var(--fs-sm); font-weight: 700;
  cursor: pointer; border: none; transition: all .2s;
  min-height: 40px; min-width: 80px; /* min touch target */
  white-space: nowrap;
}
.gdpr-accept  { background: var(--gold); color: var(--royal-deep); }
.gdpr-accept:hover { background: var(--gold-light); }
.gdpr-decline { background: transparent; color: var(--text-dim); border: 1px solid var(--border); }
.gdpr-decline:hover { background: var(--glass); color: var(--white); }

/* ════════════════════════════════════
   HEADER
════════════════════════════════════ */
header {
  background: linear-gradient(135deg, var(--royal-deep) 0%, var(--royal-dark) 55%, var(--royal) 100%);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--pad);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; gap: 8px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), #ff9800);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--royal-deep);
  box-shadow: 0 3px 12px rgba(255,193,7,0.35);
  font-family: 'Source Code Pro', monospace;
}
.logo-title { font-size: clamp(13px, 3vw, 17px); font-weight: 800; color: var(--white); line-height: 1.15; }
.logo-sub   { font-size: clamp(7px, 1.5vw, 9px); color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }

/* Desktop nav (shown 900px+) */
nav.desktop-nav {
  display: none;
  align-items: center; gap: 4px;
}
nav.desktop-nav a {
  color: var(--text-dim); text-decoration: none;
  font-size: clamp(11px, 1.4vw, 13px); font-weight: 600;
  padding: 6px 11px; border-radius: 6px; transition: all .2s;
  white-space: nowrap;
}
nav.desktop-nav a:hover, nav.desktop-nav a.active {
  background: var(--glass); color: var(--white);
}
nav.desktop-nav a.active { border: 1px solid var(--border); }

/* Module select in header (desktop) */
.nav-module-wrap { position: relative; display: inline-block; }
.nav-module-wrap select {
  background: rgba(255,255,255,0.08); border: 1px solid var(--border);
  color: var(--white); font-family: 'Montserrat', sans-serif;
  font-size: clamp(10px, 1.3vw, 12px); font-weight: 600;
  padding: 6px 24px 6px 10px; border-radius: 6px; cursor: pointer; outline: none;
  appearance: none; -webkit-appearance: none;
  max-width: 190px;
}
.nav-module-wrap select option { background: var(--royal-dark); }
.nav-arrow { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--gold); font-size: 11px; }

/* ── Hamburger (mobile only) ── */
.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; padding: 9px; flex-shrink: 0; transition: background .2s;
}
.hamburger span { display: block; height: 2px; background: var(--text-light); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger:hover { background: var(--glass); }

/* ── Mobile nav drawer ── */
.mobile-nav {
  display: none;
  position: fixed; top: 58px; left: 0; right: 0; bottom: 0; z-index: 98;
  background: rgba(6,16,50,0.98);
  backdrop-filter: blur(18px);
  padding: var(--sp-sm) var(--pad) 80px; /* 80px bottom clears GDPR if shown */
  flex-direction: column; gap: 3px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  animation: slideDown .22s ease;
}
@keyframes slideDown { from { opacity:0; transform: translateY(-8px); } to { opacity:1; transform: translateY(0); } }
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-dim); text-decoration: none;
  font-size: var(--fs-md); font-weight: 600;
  padding: 12px 16px; border-radius: 9px; transition: all .2s;
  border: 1px solid transparent;
  min-height: 46px; display: flex; align-items: center;
}
.mobile-nav a:hover, .mobile-nav a.active { background: var(--glass); color: var(--white); border-color: var(--border); }
.mob-section-label {
  font-size: var(--fs-xs); color: var(--gold); font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px 16px 4px;
}
.mobile-nav .module-link { font-size: var(--fs-sm); padding: 10px 16px 10px 28px; min-height: 42px; }
.mobile-nav hr { border: none; border-top: 1px solid var(--border); margin: 6px 0; }

/* ════════════════════════════════════
   AD BANNERS
════════════════════════════════════ */
.ad-top {
  background: rgba(255,255,255,0.025); border-bottom: 1px solid var(--border);
  text-align: center; min-height: 70px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6px var(--pad); gap: 3px;
}
.ad-label { font-size: var(--fs-xs); color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.5px; }
.ad-mid {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; min-height: 70px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 6px var(--pad); gap: 3px;
  margin: var(--sp-lg) 0;
}

/* ════════════════════════════════════
   BREADCRUMB
════════════════════════════════════ */
.breadcrumb {
  max-width: 1280px; margin: 0 auto;
  padding: var(--sp-sm) var(--pad) 0;
  font-size: var(--fs-sm); color: var(--text-dim);
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .current { color: var(--royal-pale); font-weight: 600; }

/* ════════════════════════════════════
   MODULE PAGE HERO
════════════════════════════════════ */
.module-hero {
  background: linear-gradient(135deg, var(--royal-dark) 0%, var(--royal-mid) 100%);
  padding: var(--sp-lg) var(--pad) var(--sp-md);
  border-bottom: 1px solid var(--border);
}
.module-hero-inner { max-width: 1280px; margin: 0 auto; }
.back-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.09); border: 1px solid var(--border);
  color: var(--text-light); text-decoration: none;
  padding: 9px 15px; border-radius: 8px;
  font-size: var(--fs-sm); font-weight: 600; transition: all .2s;
  margin-bottom: var(--sp-md);
  min-height: 42px; /* touch target */
}
.back-btn:hover { background: rgba(255,255,255,0.15); color: var(--white); border-color: var(--royal-light); }
.module-hero h1 { font-size: clamp(17px, 3.5vw, 36px); font-weight: 800; color: var(--white); margin-bottom: 8px; line-height: 1.2; }
.module-hero p  { color: var(--text-dim); font-size: var(--fs-base); max-width: 720px; line-height: 1.7; }
.module-meta    { display: flex; gap: 8px; margin-top: var(--sp-sm); flex-wrap: wrap; }
.module-meta span {
  background: rgba(255,255,255,0.07); border: 1px solid var(--border);
  padding: 3px 11px; border-radius: 20px;
  font-size: var(--fs-xs); color: var(--royal-pale); font-weight: 600;
  white-space: nowrap;
}
.module-meta span b { color: var(--gold); }

/* ════════════════════════════════════
   T-CODE TABLE SECTION
════════════════════════════════════ */
.tcode-section { max-width: 1280px; margin: 0 auto; padding: var(--sp-lg) var(--pad) 0; }
.tcode-section h2 {
  font-size: var(--fs-sm); font-weight: 700; color: var(--gold);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: var(--sp-sm); padding-bottom: 9px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.tcode-section h2::before { content: ''; display: block; width: 4px; height: 15px; background: var(--gold); border-radius: 2px; flex-shrink: 0; }

/* Horizontally scrollable table on small screens */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px; border: 1px solid var(--border);
  margin-bottom: var(--sp-lg);
  position: relative;
}
/* Subtle right-fade scroll hint on small screens */
@media (max-width: 680px) {
  .table-wrap::after {
    content: '';
    position: absolute; top: 40px; right: 0; bottom: 0; width: 28px;
    background: linear-gradient(to right, transparent, rgba(8,21,64,0.65));
    pointer-events: none; border-radius: 0 10px 10px 0;
  }
}

table { width: 100%; border-collapse: collapse; min-width: 480px; }
thead tr { background: linear-gradient(90deg, var(--royal-dark), var(--royal)); }
thead th {
  padding: clamp(9px, 1.8vw, 13px) clamp(9px, 1.8vw, 15px);
  text-align: left; font-size: var(--fs-xs); font-weight: 700;
  color: var(--gold); letter-spacing: 1px; text-transform: uppercase;
  white-space: nowrap; border-bottom: 1px solid var(--border);
}
tbody tr { border-bottom: 1px solid rgba(100,140,255,0.09); transition: background .15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover  { background: var(--row-hover); }
tbody tr:nth-child(even) { background: var(--row-alt); }
tbody tr:nth-child(even):hover { background: var(--row-hover); }
tbody td {
  padding: clamp(9px, 1.8vw, 13px) clamp(9px, 1.8vw, 15px);
  font-size: var(--fs-sm); vertical-align: top; line-height: 1.55;
}

.t-code  { font-family: 'Source Code Pro', monospace; font-weight: 600; color: var(--gold); font-size: clamp(11.5px, 2vw, 13.5px); white-space: nowrap; }
.t-name  { color: var(--white); font-weight: 600; font-size: var(--fs-sm); }
.t-desc  { color: var(--text-dim); font-size: var(--fs-sm); }
.t-scene { color: #a0b8e8; font-size: var(--fs-xs); margin-top: 2px; }

.badge { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.4px; white-space: nowrap; }
.b-common { background: rgba(255,193,7,0.14); color: var(--gold);  border: 1px solid rgba(255,193,7,0.28); }
.b-report { background: rgba(46,204,113,0.11); color: #2ecc71;     border: 1px solid rgba(46,204,113,0.22); }
.b-config { background: rgba(155,89,182,0.14); color: #bb8fce;     border: 1px solid rgba(155,89,182,0.28); }
.b-master { background: rgba(52,152,219,0.14); color: #5dade2;     border: 1px solid rgba(52,152,219,0.28); }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer {
  background: var(--royal-deep); border-top: 1px solid var(--border);
  padding: var(--sp-lg) var(--pad) var(--sp-md); margin-top: var(--sp-xl);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid  { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); margin-bottom: var(--sp-md); }
.footer-col h4 { color: var(--gold); font-size: var(--fs-xs); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 11px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a  { color: var(--text-dim); text-decoration: none; font-size: var(--fs-sm); transition: color .2s; line-height: 1.5; display: inline-block; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 5px; }
.footer-bottom p { font-size: var(--fs-xs); color: var(--text-dim); }
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ════════════════════════════════════
   HOME HERO
════════════════════════════════════ */
.home-hero {
  background: linear-gradient(160deg, var(--royal-deep) 0%, var(--royal-dark) 50%, #152e85 100%);
  padding: var(--sp-xl) var(--pad) var(--sp-lg);
  text-align: center; position: relative; overflow: hidden;
}
.home-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,80,192,0.28) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block; background: rgba(255,193,7,0.13); border: 1px solid rgba(255,193,7,0.38);
  color: var(--gold); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 13px; border-radius: 20px; margin-bottom: var(--sp-sm);
}
.home-hero h1 { font-size: var(--fs-2xl); font-weight: 800; color: var(--white); line-height: 1.12; margin-bottom: var(--sp-sm); }
.home-hero h1 span { color: var(--gold); }
.home-hero > p { font-size: var(--fs-md); color: var(--text-dim); max-width: 560px; margin: 0 auto var(--sp-md); line-height: 1.72; }

/* Search */
.search-wrap { max-width: 520px; margin: 0 auto var(--sp-md); position: relative; }
.search-wrap input {
  width: 100%; padding: 14px 52px 14px 16px;
  background: rgba(255,255,255,0.08); border: 1.5px solid var(--border);
  border-radius: 10px; color: var(--white); font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-md); outline: none; transition: all .3s;
  -webkit-appearance: none;
}
.search-wrap input::placeholder { color: var(--text-dim); }
.search-wrap input:focus { border-color: var(--royal-light); background: rgba(255,255,255,0.12); }
.search-wrap button {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  background: var(--gold); border: none; border-radius: 7px;
  padding: 7px 12px; cursor: pointer;
  color: var(--royal-deep); font-weight: 700; font-size: var(--fs-sm);
  transition: all .2s; min-height: 36px;
}
.search-wrap button:hover { background: var(--gold-light); }

/* Hero module select */
.hero-module-select { max-width: 400px; margin: 0 auto; }
.hero-module-select label { display: block; font-size: var(--fs-xs); color: var(--gold); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.hero-module-select .nav-module-wrap { display: block; }
.hero-module-select select {
  width: 100%; padding: 12px 36px 12px 16px;
  background: linear-gradient(135deg, rgba(26,58,143,0.8), rgba(15,37,96,0.9));
  border: 1.5px solid var(--royal-light);
  color: var(--white); font-family: 'Montserrat', sans-serif;
  font-size: var(--fs-md); font-weight: 600;
  cursor: pointer; outline: none;
  appearance: none; -webkit-appearance: none;
  border-radius: 10px; transition: all .3s;
}
.hero-module-select select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,193,7,0.15); }
.hero-module-select select option { background: var(--royal-dark); }

/* Module cards */
.section-label { max-width: 1280px; margin: 0 auto; padding: var(--sp-md) var(--pad) var(--sp-sm); }
.section-label h2 { font-size: var(--fs-xs); font-weight: 700; color: var(--text-dim); letter-spacing: 2px; text-transform: uppercase; }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2-col on mobile */
  gap: clamp(9px, 2vw, 18px);
  max-width: 1280px; margin: 0 auto;
  padding: 0 var(--pad) var(--sp-xl);
}
.module-card {
  background: linear-gradient(135deg, rgba(26,58,143,0.45), rgba(15,37,96,0.65));
  border: 1px solid var(--border); border-radius: 12px;
  padding: clamp(12px, 2.5vw, 22px) clamp(11px, 2vw, 18px);
  text-decoration: none; display: block; transition: all .3s;
  position: relative; overflow: hidden;
}
.module-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--royal-light), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.module-card:hover  { border-color: var(--royal-light); transform: translateY(-3px); box-shadow: var(--shadow); }
.module-card:hover::before { transform: scaleX(1); }
.card-icon  { font-size: clamp(20px, 4vw, 28px); margin-bottom: 7px; }
.card-code  { font-family: 'Source Code Pro', monospace; font-size: var(--fs-xs); font-weight: 600; color: var(--gold); letter-spacing: 1px; margin-bottom: 4px; }
.card-title { font-size: clamp(11.5px, 2.5vw, 14.5px); font-weight: 700; color: var(--white); margin-bottom: 4px; line-height: 1.3; }
.card-desc  { font-size: var(--fs-xs); color: var(--text-dim); line-height: 1.5; display: none; } /* hide on smallest phones */
.card-count { margin-top: 7px; font-size: var(--fs-xs); color: var(--royal-pale); font-weight: 600; }

/* SEO text block */
.seo-block { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad) var(--sp-lg); }
.seo-block h2 { color: var(--gold); font-size: var(--fs-md); font-weight: 800; margin-bottom: 10px; }
.seo-block p  { color: var(--text-dim); font-size: var(--fs-base); line-height: 1.85; max-width: 860px; margin-bottom: 10px; }

/* ════════════════════════════════════
   ABOUT / PRIVACY
════════════════════════════════════ */
.content-page { max-width: 860px; margin: 0 auto; padding: var(--sp-xl) var(--pad); }
.content-card {
  background: rgba(255,255,255,0.035); border: 1px solid var(--border);
  border-radius: 14px; padding: clamp(18px, 4vw, 36px); margin-bottom: var(--sp-md);
}
.content-card h2 { font-size: clamp(17px, 4vw, 24px); font-weight: 800; color: var(--white); margin-bottom: 13px; }
.content-card h3 { font-size: var(--fs-base); font-weight: 700; color: var(--gold); margin: 18px 0 7px; letter-spacing: 0.5px; }
.content-card p  { color: var(--text-dim); line-height: 1.8; margin-bottom: 10px; font-size: var(--fs-base); }
.content-card a  { color: var(--gold); text-decoration: none; }
.content-card a:hover { text-decoration: underline; }
.contact-row { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 13px; }
.contact-icon  { font-size: 19px; margin-top: 2px; flex-shrink: 0; }
.contact-label { font-size: var(--fs-xs); color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.contact-value { font-size: var(--fs-md); color: var(--white); font-weight: 600; word-break: break-all; }

/* ════════════════════════════════════
   TABLET  480px+
════════════════════════════════════ */
@media (min-width: 480px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 2.5vw, 16px); }
  .card-desc { display: block; } /* show description on 480+ */
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════
   TABLET  680px+
════════════════════════════════════ */
@media (min-width: 680px) {
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .table-wrap::after { display: none; } /* no scroll hint needed */
  table { min-width: unset; } /* let table fill naturally */
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

/* ════════════════════════════════════
   DESKTOP  900px+ — show desktop nav
════════════════════════════════════ */
@media (min-width: 900px) {
  .header-inner { height: 66px; }
  nav.desktop-nav { display: flex; }
  .hamburger      { display: none; }
  .mobile-nav     { display: none !important; }

  .logo-icon  { width: 40px; height: 40px; font-size: 13px; }

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

/* ════════════════════════════════════
   LARGE DESKTOP  1100px+
════════════════════════════════════ */
@media (min-width: 1100px) {
  .modules-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ════════════════════════════════════
   REDUCED MOTION
════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .module-card:hover { transform: none; }
}

/* ════════════════════════════════════
   PRINT
════════════════════════════════════ */
@media print {
  #gdpr-banner, .ad-top, .ad-mid, header, .back-btn, .hamburger, .mobile-nav { display: none !important; }
  body { background: white; color: black; }
  .module-hero { background: none; padding: 16px 0; border-bottom: 1px solid #ccc; }
  .module-hero h1, .content-card h2 { color: black; }
  .t-code { color: #333; }
  a { color: #000; }
  .table-wrap { border: 1px solid #ccc; }
  thead tr { background: #eee; }
  thead th { color: #333; }
  tbody td { color: #333; }
  .t-desc, .t-scene { color: #555; }
}
