:root {
  --sbb-red: #eb0000;
  --text-dark: #111;
  --bg-light: #f5f5f5;
}

/* ===== RESET / BASE ===== */
* {
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  margin: 0;
  color: var(--text-dark);
  background: white;
}

/* ===== HEADER ===== */
header {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid #e5e5e5;
  background: white;
}

.nav-left {
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

.nav-right {
  display: flex;
  align-items: center;
}

/* 🔒 SBB LOGO – FIX */
.sbb-logo {
  height: 32px;
  width: auto;
  max-height: 32px;
  display: block;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: calc(100vh - 72px);
  min-height: 520px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-red {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 34%;
  min-width: 320px;
  height: 70%;
  background: var(--sbb-red);
  clip-path: polygon(0 0, 92% 5%, 100% 100%, 0 95%);
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 56px;
  color: white;
}

.hero-content h1 {
  font-size: 40px;
  margin-bottom: 24px;
}

.hero-content a {
  color: white;
  text-decoration: none;
  border-bottom: 2px solid white;
}

/* ===== GENERIC CONTENT ===== */
.content {
  padding: 64px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.content h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.content p {
  color: #555;
}

/* ===== MODULES (Cards) ===== */
.module {
  display: grid;
  grid-template-columns: 50% 50%;
  margin: 48px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.module > div {
  padding: 48px;
}

.module h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.module p {
  margin-bottom: 16px;
  color: #444;
}

.module a {
  color: var(--sbb-red);
  font-weight: 500;
  text-decoration: none;
}

.module a:hover {
  text-decoration: underline;
}

.module img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== SIDE MENU ===== */
.side-menu {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background: white;
  z-index: 1000;
  padding: 32px;
  box-shadow: 4px 0 16px rgba(0,0,0,0.15);
  transition: left 0.3s ease;
}

.side-menu h3 {
  margin-top: 0;
}

.side-menu a {
  display: block;
  margin-bottom: 16px;
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

.side-menu.open {
  left: 0;
}

/* ===== MENU OVERLAY ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 900;
  display: none;
}

.menu-overlay.show {
  display: block;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  header {
    padding: 0 16px;
  }

  .hero-red {
    width: 80%;
  }

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

  .module > div {
    padding: 32px;
  }

  .sbb-logo {
    height: 28px;
  }
}
