/* ===== Cloud TSE - FMS CI Design ===== */
/* Colors: Dunkelblau #0f1b3d, Blau #3DB4E8, Orange #F5911E */

:root {
  --primary: #0f1b3d;
  --blue: #3DB4E8;
  --orange: #F5911E;
  --white: #ffffff;
  --light-bg: #f8f9fc;
  --dark-bg: #0f1b3d;
  --text: #333333;
  --text-light: #e0e0e0;
  --shadow: 0 4px 20px rgba(15, 27, 61, 0.1);
  --radius: 12px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(15, 27, 61, 0.08);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--blue);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a2d5a 100%);
  color: var(--white);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-content h1 .highlight-orange {
  color: var(--orange);
}

.hero-content h1 .highlight-blue {
  color: var(--blue);
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 8px;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 145, 30, 0.3);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 0;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-light {
  background: var(--light-bg);
}

.section-white {
  background: var(--white);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 48px;
}

.section-dark .section-subtitle {
  color: var(--text-light);
}

/* ===== SIGNIERUNG SECTION ===== */
.signierung {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.signierung-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signierung-content h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.signierung-content h2 .highlight-blue {
  color: var(--blue);
}

.signierung-list {
  list-style: none;
  padding: 0;
}

.signierung-list li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  font-size: 1.05rem;
}

.signierung-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ===== VORTEILE ===== */
.vorteile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vorteile-content h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.vorteile-content h2 .highlight-blue {
  color: var(--blue);
}

.vorteile-list {
  list-style: none;
  padding: 0;
}

.vorteile-list li {
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  font-size: 1.02rem;
}

.vorteile-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--orange);
  font-weight: 700;
  font-size: 1.4rem;
}

.vorteile-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== ZEIT & GELD ===== */
.zeit-geld {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.zeit-geld-content h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.zeit-geld-content h2 .highlight-orange {
  color: var(--orange);
}

.zeit-geld-content h2 .highlight-blue {
  color: var(--blue);
}

.zeit-geld-bullets {
  list-style: none;
  padding: 0;
}

.zeit-geld-bullets li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  font-size: 1.02rem;
}

.zeit-geld-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.zeit-geld-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ===== MODULE SECTION ===== */
.module-overview {
  text-align: center;
}

.module-overview .section-title {
  color: var(--white);
}

.module-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.module-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(61, 180, 232, 0.3);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: left;
  transition: var(--transition);
}

.module-card:hover {
  background: rgba(61, 180, 232, 0.1);
  border-color: var(--blue);
  transform: translateY(-4px);
}

.module-card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: var(--white);
}

.module-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--white);
}

.module-card h3 .highlight-blue {
  color: var(--blue);
}

.module-card h3 .highlight-orange {
  color: var(--orange);
}

.module-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== MODULE DETAILS ===== */
.module-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.module-detail:last-child {
  margin-bottom: 0;
}

.module-detail.reverse {
  direction: rtl;
}

.module-detail.reverse > * {
  direction: ltr;
}

.module-detail-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.module-detail-content h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.module-detail-content h2 .highlight-blue {
  color: var(--blue);
}

.module-detail-content h2 .highlight-orange {
  color: var(--orange);
}

.module-detail-content .detail-intro {
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.module-detail-content ul {
  list-style: none;
  padding: 0;
}

.module-detail-content ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.module-detail-content ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ===== COCKPIT SECTION ===== */
.cockpit-section {
  text-align: center;
}

.cockpit-section .cockpit-intro {
  max-width: 700px;
  margin: 0 auto 40px;
}

.cockpit-section .cockpit-intro h5 {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 8px;
}

.cockpit-section .cockpit-intro h2 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.cockpit-section .cockpit-intro p {
  font-size: 1.05rem;
  color: #666;
}

.cockpit-section img {
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== VIDEO PAGE ===== */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a2d5a 100%);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(15, 27, 61, 0.15);
}

.video-embed {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-content {
  padding: 24px;
}

.video-card-content h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.video-card-content p {
  font-size: 0.95rem;
  color: #666;
}

/* ===== CONTACT / ANFRAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e4ec;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--light-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.form-checkbox label {
  font-size: 0.9rem;
  color: #666;
}

.form-checkbox a {
  color: var(--blue);
}

.contact-info h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 32px;
}

.partner-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border-left: 4px solid var(--blue);
}

.partner-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.partner-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 4px;
}

.partner-card a {
  color: var(--blue);
  text-decoration: none;
}

.partner-card a:hover {
  color: var(--orange);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  text-align: center;
  padding: 60px 0;
  background: url('../img/sub-title-background.png') center/cover no-repeat;
  color: var(--white);
  position: relative;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 27, 61, 0.25);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
}

.cta-banner .btn:hover {
  background: var(--orange);
  color: var(--white);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links ul a:hover {
  color: var(--blue);
}

.footer-contact h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.footer-contact a {
  color: var(--blue);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--blue);
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: var(--white);
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--blue);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* ===== DATENSCHUTZ / IMPRESSUM ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

.legal-content h2 {
  color: var(--primary);
  margin: 32px 0 12px;
  font-size: 1.5rem;
}

.legal-content h3 {
  color: var(--primary);
  margin: 24px 0 8px;
  font-size: 1.2rem;
}

.legal-content p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-content ul {
  margin-bottom: 12px;
  padding-left: 24px;
}

.legal-content ul li {
  margin-bottom: 6px;
}

/* ===== DOWNLOADS ===== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.download-card {
  display: block;
  background: var(--light-bg);
  border: 2px solid #e0e4ec;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.download-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.download-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.download-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 16px;
}

.download-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
}

.download-card:hover .download-link {
  color: var(--orange);
}

/* ===== FORM MESSAGES ===== */
.form-success {
  background: #d4edda;
  color: #155724;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

.form-error {
  background: #f8d7da;
  color: #721c24;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .signierung,
  .vorteile-grid,
  .zeit-geld,
  .module-detail,
  .module-detail.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .module-detail.reverse {
    direction: ltr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: flex;
    order: -1;
    margin-right: 12px;
  }

  .nav-logo {
    flex: 1;
    min-width: 0;
  }

  .nav-logo img {
    height: 36px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-form {
    padding: 24px;
  }
}
