/* ===================================
   Global Styles & Font Import
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: royalblue;
  --accent-color: blue;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Urbanist', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

/* ===================================
   Typography
   =================================== */

h1 {
  font-size: 2.8rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
  color: var(--text-dark) !important;
}

h2 {
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-top: 2.5rem !important;
  margin-bottom: 1.2rem !important;
  color: var(--primary-color) !important;
}

h3 {
  font-size: 1.6rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-top: 1.8rem !important;
  margin-bottom: 1rem !important;
  color: var(--text-dark) !important;
}

p {
  font-size: 18px;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

strong {
  font-weight: 700;
  color: var(--primary-color);
}

/* ===================================
   Navigation Bar
   =================================== */

.navbar {
  background-color: var(--bg-white) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color) !important;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.navbar-brand img {
  width: 45px;
  height: 45px;
  filter: none !important;
  box-shadow: none !important;
}

.navbar-menu a.navbar-item {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: var(--transition);
  list-style: none !important;
}

.navbar-menu a.navbar-item::before,
.navbar-menu a.navbar-item::after {
  display: none !important;
  content: none !important;
}

.navbar-menu a.navbar-item:hover {
  color: var(--primary-color) !important;
  background-color: transparent !important;
}

.navbar-burger {
  color: var(--primary-color);
}

/* Remove any list styling from navbar */
.navbar ul,
.navbar li {
  list-style: none !important;
  list-style-type: none !important;
}

.navbar ul::before,
.navbar ul::after,
.navbar li::before,
.navbar li::after {
  display: none !important;
  content: none !important;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.95) 0%, rgba(0, 0, 255, 0.85) 100%),
              url('was-ist-ein-treueprogramm_6255751168.jpg') center/cover no-repeat !important;
  color: var(--text-light) !important;
  padding: 5rem 1.5rem !important;
  position: relative !important;
  min-height: 500px !important;
  display: flex !important;
  align-items: center !important;
}

.hero-body {
  padding: 3rem 1.5rem !important;
}

.hero h1.title {
  color: #ffffff !important;
  font-size: 3rem !important;
  font-weight: 800 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.2 !important;
}

.hero p.subtitle {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  margin-bottom: 2rem !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2) !important;
}

/* ===================================
   Buttons
   =================================== */

.button.is-primary.is-outlined {
  border-color: #ffffff !important;
  color: #ffffff !important;
  background-color: transparent !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  padding: 1.2rem 2.5rem !important;
  border-width: 2px !important;
  border-radius: var(--border-radius) !important;
  transition: var(--transition) !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.button.is-primary.is-outlined:hover {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.button.is-link.is-outlined {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  background-color: transparent !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  padding: 1rem 2rem !important;
  border-width: 2px !important;
  border-radius: var(--border-radius) !important;
  transition: var(--transition) !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.button.is-link.is-outlined:hover {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(65, 105, 225, 0.3);
}

/* ===================================
   Table of Contents
   =================================== */

.table-of-contents {
  background-color: var(--bg-white);
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.table-of-contents ul {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.table-of-contents li {
  margin-bottom: 0.8rem;
  list-style: none !important;
  list-style-type: none !important;
}

.table-of-contents li::before,
.table-of-contents li::after {
  display: none !important;
  content: none !important;
}

.table-of-contents a {
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  display: block;
  padding: 0.5rem 0;
}

.table-of-contents a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

/* ===================================
   Content Sections
   =================================== */

.section {
  padding: 3rem 1.5rem;
}

.content-section {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================
   Lists
   =================================== */

.content ul,
.content ol {
  margin-left: 0 !important;
  padding-left: 2rem !important;
  margin-bottom: 1.5rem !important;
  list-style: none !important;
  list-style-type: none !important;
}

.content ul li,
.content ol li {
  margin-bottom: 0.8rem;
  font-size: 18px;
  line-height: 1.7;
  position: relative;
  padding-left: 1.5rem;
  list-style: none !important;
  list-style-type: none !important;
}

.content ul li::before {
  content: '' !important;
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: block !important;
}

.content ol {
  counter-reset: item;
}

.content ol li::before {
  content: counter(item) '. ' !important;
  counter-increment: item;
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
  display: block !important;
}

/* ===================================
   Cards
   =================================== */

.card {
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.card-content {
  padding: 2rem;
}

.card-header {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 1.2rem;
  font-weight: 700;
}

.card-header-title {
  color: #ffffff !important;
  font-weight: 700;
}

/* ===================================
   Images
   =================================== */

.content img {
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  max-width: 100%;
  height: auto;
}

.content img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.image-container {
  text-align: center;
  margin: 2rem 0;
}

/* ===================================
   Tables
   =================================== */

.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.table {
  background-color: var(--bg-white);
  width: 100%;
  border-collapse: collapse;
}

.table thead {
  background-color: var(--primary-color);
  color: #ffffff;
}

.table thead th {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  padding: 1.2rem !important;
  text-align: left;
  border: none !important;
}

.table tbody tr {
  transition: var(--transition);
}

.table tbody tr:hover {
  background-color: rgba(65, 105, 225, 0.05);
}

.table tbody td {
  padding: 1rem !important;
  font-size: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* ===================================
   Icons
   =================================== */

.icon {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.icon.is-large {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ===================================
   Footer
   =================================== */

.footer {
  background-color: #1a1a2e !important;
  color: #ecf0f1 !important;
  padding: 3rem 1.5rem 2rem !important;
  margin-top: 4rem;
}

.footer h3 {
  color: #ffffff !important;
  font-size: 1.3rem !important;
  margin-bottom: 1rem !important;
  font-weight: 700 !important;
}

.footer p {
  color: #ecf0f1 !important;
  font-size: 1rem;
  line-height: 1.8;
}

.footer a {
  color: #ecf0f1 !important;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
}

.footer a:hover {
  color: var(--primary-color) !important;
}

.footer ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer li {
  margin-bottom: 0.6rem;
  list-style: none !important;
  list-style-type: none !important;
}

.footer ul::before,
.footer ul::after,
.footer li::before,
.footer li::after {
  display: none !important;
  content: none !important;
}

.footer .content ul li::before {
  display: none !important;
  content: none !important;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ecf0f1 !important;
}

/* ===================================
   Responsive Design
   =================================== */

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.6rem !important;
  }

  h3 {
    font-size: 1.3rem !important;
  }

  .hero h1.title {
    font-size: 2rem !important;
  }

  .hero p.subtitle {
    font-size: 1.1rem !important;
  }

  .hero {
    padding: 3rem 1rem !important;
    min-height: 400px !important;
  }

  .button.is-primary.is-outlined {
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
  }

  .content-section {
    padding: 1.5rem;
  }

  .table-container {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 1024px) {
  .navbar-menu {
    background-color: var(--bg-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
}

/* ===================================
   Animations
   =================================== */

.fade-in {
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===================================
   Utility Classes
   =================================== */

.has-text-centered {
  text-align: center !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.py-6 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}
