:root {
  --primary: #00aaff;
  --primary-hover: #80d4ff;
  --background: #0a0a0a;
  --surface: #1a1a1a;
  --text: #f5f5f5;
  --text-secondary: #b3b3b3;
  --formula-bg: #1e2733;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  background: var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
}

/* ================= Navigation ================= */
.navigation {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navigation ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation a {
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.navigation a:hover {
  background: rgba(0, 170, 255, 0.1);
  color: var(--primary);
}

.navigation a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.navigation a:hover::after {
  width: 60%;
}

/* ================= Mobile Navigation ================= */
.mobile-menu {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: var(--text);
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 1002;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--surface);
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.4);
  padding-top: 4rem;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  visibility: hidden;
}

.mobile-nav.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav a {
  display: block;
  color: var(--text-secondary);
  padding: 1.25rem 2rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: rgba(0, 170, 255, 0.15);
  color: var(--primary) !important;
  transform: translateX(8px);
}

/* ================= Language Switcher ================= */
.language-switcher {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
}

.language-switcher a {
  font-size: 1.25rem;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.language-switcher a:hover {
  opacity: 1;
  transform: scale(1.1);
}

.language-switcher .separator {
  opacity: 0.3;
  font-size: 0.8rem;
}

/* Mobile Language Switcher */
.language-switcher-mobile {
  position: fixed;
  top: 1.5rem;
  right: 1rem;
  display: flex;
  gap: 1rem;
  z-index: 1003;
}

.flag {
  width: 24px;
  height: 18px;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  vertical-align: middle;
}

.flag.de {
  background: linear-gradient(
    0deg,
    #000000 33%,
    #dd0000 33%,
    #dd0000 66%,
    #ffce00 66%
  );
}

.flag.en {
  background: linear-gradient(
    0deg,
    #012169 40%,
    #C8102E 40%,
    #C8102E 60%,
    #FFFFFF 60%
  );
}

.lang-code {
  display: none;
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

/* ================= Responsive Design ================= */
@media (max-width: 768px) {
  .navigation {
    display: none;
  }

  .mobile-menu {
    display: block;
  }


  article, section {
    padding: 1.25rem;
    margin: 1.25rem 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  .lang-code {
    display: inline;
    font-size: 0.8rem;
  }

  .language-switcher-mobile {
    top: 1rem;
    right: 0.5rem;
  }

  .flag {
    width: 20px;
    height: 15px;
  }
}

/* ================= Content Styles ================= */
/*Intro Box */
/* Desktop Layout */
.intro-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.intro-text {
    flex: 2;
    text-align: left;
}

.intro-image {
    flex: 0 0 auto;
    text-align: right;
}

.intro-image img {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile Layout */
@media (max-width: 768px) {
    .intro-content {
        display: flex;
        flex-direction: column-reverse; /* Bild kommt VOR dem Text */
        align-items: center;		
		padding: 10px;
    }
    .intro-image {
        margin-bottom: 20px; /* bisschen Abstand, wenn das Bild jetzt oben ist */
		align-items: center;
    }
}
691297340



.formula {
  background: var(--formula-bg);
  border: 2px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 12px;
  font-family: 'Courier New', monospace;
  text-align: center;
  font-size: 1.25rem;
  color: var(--primary-hover);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.table-container {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

table {
  min-width: 600px;
  width: 100%;
  background: var(--surface);
  border-collapse: collapse;
}

table th {
  background: var(--primary);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
}

h1, h2, h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 1.5rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2rem;
  border-bottom: 2px solid rgba(0, 170, 255, 0.2);
  padding-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  color: var(--text-secondary);
}

a:hover {
  color: #ccc;
}

.visionaere {
  width: 200px!important;
  height: auto;
  border-radius: 16px;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

article, section {
  background: var(--surface);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), transparent);
  opacity: 0.1;
}

footer{
	text-align: center;
}

