/* ===========================
   Global Styles & Reset
   =========================== */

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #6b3a5f;
  line-height: 1.6;
  background: linear-gradient(135deg, #fff5f9 0%, #ffe6f0 50%, #fff0f7 100%);
  position: relative;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Animated Background Flowers */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

/* Blumen-Animation im Hintergrund */
@keyframes float-flower {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-30px) rotate(5deg); opacity: 0.5; }
}

@keyframes drift {
  0% { transform: translateX(0px); }
  50% { transform: translateX(20px); }
  100% { transform: translateX(0px); }
}

/* ===========================
   Dark Mode Styles
   =========================== */

/* Begrüssung nach Tageszeit (U13) */
.begruessung {
  font-size: 0.82rem;
  font-weight: 600;
  color: #be185d;
  background: rgba(252, 231, 243, 0.85);
  border: 1px solid #f9a8d4;
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
  margin-top: -38px;
  pointer-events: none;
  user-select: none;
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #ff1493;
  color: white;
  border: 3px solid #ff69b4;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4), inset 0 0 10px rgba(255, 105, 180, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  outline: none;
  pointer-events: auto;
  z-index: 100;
  margin-top: -40px;
}

.dark-mode-toggle:hover {
  transform: scale(1.2) rotate(20deg);
  box-shadow: 0 8px 30px rgba(255, 20, 147, 0.6), inset 0 0 15px rgba(255, 105, 180, 0.3);
}

.dark-mode-toggle:active {
  transform: scale(0.9);
}

/* Dark Mode Styles */
html.dark,
html.dark ,
body.dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f1929 100%);
  color: #e2e8f0;
}

/* Dark Mode - Text & Headings */
html.dark h1, 
html.dark ,
body.dark h1,
html.dark h2, 
html.dark ,
body.dark h2, 
html.dark h3, 
html.dark ,
body.dark h3, 
html.dark h4, 
html.dark ,
body.dark h4, 
html.dark ,
body.dark h5, 
html.dark ,
body.dark h6 {
  color: #60a5fa;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

html.dark ,
body.dark p {
  color: #cbd5e1;
}

html.dark ,
body.dark a {
  color: #93c5fd;
  transition: all 0.2s ease;
}

html.dark ,
body.dark a:hover {
  color: #60a5fa;
}

/* Dark Mode - Header */
html.dark ,
body.dark header {
  background-color: rgba(15, 23, 42, 0.95);
  border-bottom-color: #334155;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

html.dark ,
body.dark header h1,
html.dark ,
body.dark header h2 {
  color: #60a5fa;
}

/* Dark Mode - Navigation */
html.dark nav,
body.dark nav {
  background-color: transparent;
  border-color: transparent;
}

html.dark nav a,
body.dark nav a {
  color: #1e3a5f;
  transition: color 0.2s ease;
}

html.dark nav a:hover,
body.dark nav a:hover,
html.dark nav a.active,
body.dark nav a.active {
  color: #1e40af;
}

/* Dark Mode - Main Content */
html.dark ,
body.dark main {
  background-color: transparent;
}

html.dark ,
body.dark section {
  background: rgba(30, 41, 59, 0.7);
  border-color: #334155;
  color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

html.dark ,
body.dark section h2,
html.dark ,
body.dark section h3 {
  color: #60a5fa;
}

/* Dark Mode - Cards & Components */
html.dark ,
body.dark .card {
  background: rgba(30, 41, 59, 0.8);
  border-color: #334155;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

html.dark ,
body.dark .card:hover {
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 8px 12px rgba(59, 130, 246, 0.2);
  border-color: #60a5fa;
}

html.dark ,
body.dark .card h3 {
  color: #60a5fa;
}

html.dark ,
body.dark .card p {
  color: #cbd5e1;
}

/* Dark Mode – Team-Beschreibung */
body.dark .team-description {
  color: #1e3a5f;
}

/* Dark Mode – Notenrechner Beschreibung */
body.dark .calculator-box p {
  color: #1e3a5f;
}

/* Dark Mode – Textanalyse Metriken Beschreibung */
body.dark .metric-card p {
  color: #1e3a5f;
}

/* Dark Mode - Buttons */
html.dark ,
body.dark button {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: #ffffff;
  border-color: #1e40af;
  transition: all 0.2s ease;
}

html.dark ,
body.dark button:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Dark Mode - Form Elements */
html.dark ,
body.dark input,
html.dark ,
body.dark textarea,
html.dark ,
body.dark select {
  background-color: rgba(51, 65, 85, 0.6);
  border-color: #475569;
  color: #e2e8f0;
  transition: all 0.2s ease;
}

html.dark ,
body.dark input::placeholder,
html.dark ,
body.dark textarea::placeholder {
  color: #94a3b8;
}

html.dark ,
body.dark input:focus,
html.dark ,
body.dark textarea:focus,
html.dark ,
body.dark select:focus {
  border-color: #60a5fa;
  background-color: rgba(51, 65, 85, 0.8);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
  outline: none;
}

/* Dark Mode - Progress Bars */
html.dark ,
body.dark .progress-bar {
  background: rgba(96, 165, 250, 0.2);
  border-color: #3b82f6;
}

html.dark ,
body.dark .progress-fill {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Dark Mode - Tables */
html.dark ,
body.dark table {
  background-color: rgba(30, 41, 59, 0.8);
  border-color: #334155;
}

html.dark ,
body.dark table thead {
  background-color: rgba(15, 23, 42, 0.9);
  color: #60a5fa;
}

html.dark ,
body.dark table tbody tr {
  border-color: #334155;
}

html.dark ,
body.dark table tbody tr:hover {
  background-color: rgba(59, 130, 246, 0.15);
}

html.dark ,
body.dark table td,
html.dark ,
body.dark table th {
  color: #cbd5e1;
  border-color: #334155;
}

/* Dark Mode - Badges & Lists */
html.dark ,
body.dark .badge,
html.dark ,
body.dark .tag {
  background-color: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border-color: #3b82f6;
}

html.dark ,
body.dark li {
  color: #cbd5e1;
}

/* Dark Mode - Footer */
html.dark ,
body.dark footer {
  background-color: rgba(15, 23, 42, 0.95);
  border-top-color: #334155;
  color: #94a3b8;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

html.dark ,
body.dark footer a {
  color: #93c5fd;
  transition: color 0.2s ease;
}

html.dark ,
body.dark footer a:hover {
  color: #60a5fa;
}

/* Dark Mode - Hero Section */
html.dark ,
body.dark .hero {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(30, 41, 59, 0.5) 100%);
  color: #e2e8f0;
}

html.dark ,
body.dark .hero h1 {
  color: #60a5fa;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Dark Mode Toggle Button in Dark Mode */
html.dark ,
body.dark .dark-mode-toggle {
  background: #3b82f6;
  border-color: #60a5fa;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), inset 0 0 10px rgba(96, 165, 250, 0.2);
}

html.dark ,
body.dark .dark-mode-toggle:hover {
  background: #60a5fa;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6), inset 0 0 15px rgba(96, 165, 250, 0.3);
}

/* Begrüssung – Dark Mode */
body.dark .begruessung {
  color: #f9a8d4;
  background: rgba(30, 30, 46, 0.85);
  border-color: #7c3aed55;
}

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

h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #d946ef;
}

h1 {
  font-size: 2.5rem;
  color: #d946ef;
  font-weight: 900;
  letter-spacing: 2px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h2 {
  font-size: 2rem;
  color: #d946ef;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h3 {
  font-size: 1.5rem;
  color: #ff1493;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #ff1493;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ff69b4;
  text-decoration: underline;
}

/* ===========================
   Header & Navigation
   =========================== */

header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 192, 203, 0.2) 100%);
  border-bottom: 2px solid rgba(255, 105, 180, 0.3);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(255, 20, 147, 0.1);
  backdrop-filter: blur(10px);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(255, 20, 147, 0.2));
  animation: bounce-logo 2s ease-in-out infinite;
}

@keyframes bounce-logo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.logo-text .institution {
  font-size: 0.85rem;
  color: #ff69b4;
  font-weight: 500;
  text-rendering: optimizeLegibility;
}

.logo-text .project {
  font-size: 1rem;
  background: linear-gradient(135deg, #ff1493 0%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-rendering: optimizeLegibility;
}

nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Dropdown "Start" ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  cursor: pointer;
  white-space: nowrap;
}

.nav-dropdown-menu {
  /* Versteckt – nur beim Hover sichtbar */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  /* Layout */
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 170px;
  background: rgba(255,255,255,0.98);
  border: 2px solid rgba(255,105,180,0.35);
  border-radius: 14px;
  padding: 0.4rem;
  gap: 0.1rem;
  box-shadow: 0 8px 28px rgba(255,20,147,0.15);
  z-index: 200;
  backdrop-filter: blur(14px);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open  .nav-dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 0.55rem 0.9rem;
  border-radius: 9px;
  font-size: 0.92rem;
  color: #ff1493;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(255,20,147,0.1);
}

.nav-dropdown-menu a.active {
  background: linear-gradient(135deg, #ff1493, #ff69b4);
  color: #fff;
  box-shadow: none;
}

/* Dark Mode dropdown */
body.dark .nav-dropdown-menu {
  background: rgba(15,23,42,0.97);
  border-color: #334155;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

body.dark .nav-dropdown-menu a {
  color: #93c5fd;
}

body.dark .nav-dropdown-menu a:hover {
  background: rgba(96,165,250,0.15);
}

body.dark .nav-dropdown-menu a.active {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: #fff;
}

nav a {
  color: #ff1493;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff1493, #ff69b4);
  transition: width 0.3s ease;
}

nav a:hover {
  background: rgba(255, 105, 180, 0.1);
  text-decoration: none;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  background: linear-gradient(135deg, #ff1493, #ff69b4);
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ===========================
   Main Content
   =========================== */

/* Main Content */
main {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: calc(100vh - 200px);
  position: relative;
  z-index: 2;
}

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

/* Sections & Content */

section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  border: 2px solid rgba(255, 105, 180, 0.2);
  box-shadow: 0 8px 32px rgba(255, 20, 147, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  animation: slideUp 0.6s ease-out;
}

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

section::before {
  content: '🌸';
  position: absolute;
  top: -20px;
  right: 30px;
  font-size: 2.5rem;
  opacity: 0;
  animation: float-flower 3s ease-in-out infinite;
  animation-delay: 0s;
}

section:nth-child(even)::before {
  content: '🌺';
  animation-delay: 0.3s;
}

section:nth-child(3n)::before {
  content: '🌷';
  animation-delay: 0.6s;
}

section h2 {
  margin-top: 0;
}

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

footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.9rem;
  color: #ff69b4;
  border-top: 2px solid rgba(255, 105, 180, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 192, 203, 0.15) 100%);
  margin-top: 4rem;
  backdrop-filter: blur(10px);
}

footer p {
  margin-bottom: 0.5rem;
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
}

/* ===========================
   Buttons & Links
   =========================== */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}

.btn:hover {
  background: linear-gradient(135deg, #ff69b4 0%, #ffc0cb 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(135deg, #ffc0cb 0%, #ffe6f0 100%);
  color: #d946ef;
  box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #ff69b4 0%, #ffc0cb 100%);
  color: white;
}

.btn-download {
  background: linear-gradient(135deg, #d946ef 0%, #ff1493 100%);
  box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
}

.btn-download:hover {
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
}

/* ===========================
   Forms
   =========================== */

form {
  max-width: 600px;
  margin: 2rem 0;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #d946ef;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 105, 180, 0.3);
  border-radius: 15px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #ff1493;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.15);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* ===========================
   Galerie & Bilder
   =========================== */

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.galerie img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid rgba(255, 105, 180, 0.3);
}

.galerie img:hover {
  transform: scale(1.08) rotate(2deg);
  border-color: #ff1493;
  box-shadow: 0 12px 28px rgba(255, 20, 147, 0.3);
}

/* ===========================
   Lightbox Modal
   =========================== */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  animation: fadeIn 0.3s ease;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  font-weight: bold;
}

.lightbox-close:hover {
  color: #e2e8f0;
}

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

/* ===========================
   Download Links & Files
   =========================== */

.download-section {
  background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 20, 147, 0.05) 100%);
  border-left: 4px solid #ff1493;
  padding: 1.5rem;
  border-radius: 15px;
  margin: 1.5rem 0;
}

.download-section p {
  margin: 0.5rem 0;
}

/* ===========================
   Impressum & Info
   =========================== */

.impressum-section {
  font-size: 0.95rem;
  line-height: 1.8;
}

.impressum-section h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.impressum-section p {
  margin-bottom: 0.5rem;
}

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

.hero {
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 50%, #ffc0cb 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 25px;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(255, 20, 147, 0.25);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '🌸 🌺 🌷';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.4;
  animation: float-flower 4s ease-in-out infinite;
}

.hero h1 {
  color: white;
  margin-top: 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 900;
  font-size: 2.8rem;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 10;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 247, 0.8) 100%);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 20, 147, 0.1);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 2rem;
  opacity: 0.2;
}

.card:nth-child(1)::before { content: '🌸'; }
.card:nth-child(2)::before { content: '🌺'; }
.card:nth-child(3)::before { content: '🌷'; }

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 36px rgba(255, 20, 147, 0.25);
  border-color: #ff1493;
}

.card h3 {
  margin-top: 0;
  color: #d946ef;
}

/* Hervorgehobene Adventure-Karte (U18) – direkter Einstieg von der Startseite */
.card-adventure {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: #f59e0b;
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.28);
}
.card-adventure::before { content: '🕹️' !important; opacity: 0.4; }
.card-adventure h3 { color: #f59e0b; }
.card-adventure p { color: #e5e7eb; }
.card-adventure .btn {
  background: #f59e0b;
  color: #111827;
  font-weight: 700;
}
.card-adventure:hover {
  border-color: #f59e0b;
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.45);
}
body.dark .card-adventure {
  background: linear-gradient(135deg, #1e293b 0%, #0b1220 100%);
  border-color: #f59e0b;
}

/* ===========================
   Team Page Styles
   =========================== */

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 2rem 0;
}

.team-card {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(255, 20, 147, 0.15);
  transition: all 0.3s ease;
  animation: slideUp 0.6s ease-out;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 20, 147, 0.25);
  border-color: rgba(255, 105, 180, 0.4);
}

.team-image {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid rgba(255, 105, 180, 0.3);
  background: linear-gradient(135deg, #ffc0cb 0%, #ffe6f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float-flower 3s ease-in-out infinite;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #ff1493;
}

.team-meta {
  font-size: 0.95rem;
  color: #b8659c;
  margin-bottom: 1rem;
  font-weight: 500;
}

.team-description {
  color: #6b3a5f;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.skill-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ffc0cb 0%, #ffe6f0 100%);
  color: #d946ef;
  padding: 0.4rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 105, 180, 0.2);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: linear-gradient(135deg, #ff69b4 0%, #ffc0cb 100%);
  color: #fff;
  transform: scale(1.05);
}

/* ===========================
   Notenrechner Styles
   =========================== */

.calculator-section {
  animation: slideUp 0.6s ease-out;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.info-card {
  background: rgba(255, 192, 203, 0.2);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 105, 180, 0.4);
  background: rgba(255, 192, 203, 0.3);
}

.info-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #ff1493;
}

/* ===========================
   Notenrechner DOM Version Styles
   =========================== */

.calculator-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.calculator-tabs .tab-btn {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 105, 180, 0.1);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 12px;
  color: #ff1493;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.calculator-tabs .tab-btn:hover {
  background: rgba(255, 105, 180, 0.2);
  border-color: #ff1493;
}

.calculator-tabs .tab-btn.active {
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
  color: white;
  border-color: #ff1493;
}

.tab-content {
  display: none;
  animation: slideUp 0.5s ease-out;
}

.tab-content.active {
  display: block;
}

.calculator-box {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(255, 20, 147, 0.15);
}

.calculator-box h3 {
  color: #ff1493;
  margin-bottom: 0.5rem;
}

.calculator-box p {
  color: #b8659c;
  margin-bottom: 1.5rem;
}

/* Simple Input Group */
.simple-input-group {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: end;
}

.input-field {
  display: flex;
  flex-direction: column;
}

.input-field label {
  font-weight: 600;
  color: #ff1493;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input {
  padding: 0.8rem;
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: #6b3a5f;
  background: white;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #ff1493;
  box-shadow: 0 0 12px rgba(255, 20, 147, 0.2);
}

.form-input::placeholder {
  color: #b8659c;
}

/* Result Box */
.result-box {
  background: rgba(255, 192, 203, 0.1);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  min-height: 80px;
}

.error-text {
  color: #dc143c;
  font-weight: 600;
  margin: 0;
}

.grade-result-inline {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.grade-note,
.grade-note-large {
  font-weight: 700;
  font-size: 1.5rem;
}

.grade-percent {
  font-weight: 600;
  font-size: 1.2rem;
  color: #b8659c;
  background: rgba(255, 192, 203, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.grade-result-detailed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 105, 180, 0.2);
}

.result-header h4 {
  margin: 0;
  color: #ff1493;
}

.grade-note-large {
  font-size: 2rem;
}

.result-details {
  color: #6b3a5f;
}

.result-details p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

/* Progress Bar */
.progress-bar-container {
  margin-top: 1.5rem;
}

/* Enhanced Progress Bar Container */
.progress-bar-container-enhanced {
  margin-bottom: 1rem;
}

.progress-bar-background {
  width: 100%;
  height: 40px;
  background: rgba(255, 192, 203, 0.2);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.8rem;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
  height: 100%;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  position: relative;
}

.progress-bar-text {
  display: inline-block;
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.progress-bar-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 5px;
  font-size: 0.75rem;
  color: #b8659c;
  font-weight: 600;
}

.progress-text {
  text-align: center;
  color: #6b3a5f;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.progress-emoji {
  font-size: 1.2rem;
}

/* Mini Progress Bar für Multiple Notes */
.mini-progress-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.mini-progress-bar-bg {
  flex: 1;
  height: 20px;
  background: rgba(255, 192, 203, 0.2);
  border: 1px solid rgba(255, 105, 180, 0.2);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mini-progress-bar-fill {
  height: 100%;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 6px;
}

.mini-progress-percent {
  min-width: 45px;
  text-align: right;
  font-weight: 600;
  font-size: 0.85rem;
  color: #6b3a5f;
  background: rgba(255, 192, 203, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* Result Details with Bar */
.result-details-with-bar {
  flex: 1;
}

.result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

/* Grades Container DOM */
.grades-container-dom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.grade-input-group-dom {
  animation: slideUp 0.4s ease-out;
}

.grade-input-wrapper-dom {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 192, 203, 0.1);
  padding: 1rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 105, 180, 0.15);
  transition: all 0.3s ease;
}

.grade-input-wrapper-dom:focus-within {
  border-color: rgba(255, 105, 180, 0.4);
  background: rgba(255, 192, 203, 0.2);
}

.grade-points-dom,
.grade-max-dom {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid rgba(255, 105, 180, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #6b3a5f;
  background: white;
  transition: all 0.3s ease;
}

.grade-points-dom:focus,
.grade-max-dom:focus {
  outline: none;
  border-color: #ff1493;
  box-shadow: 0 0 8px rgba(255, 20, 147, 0.2);
}

.grade-points-dom::placeholder,
.grade-max-dom::placeholder {
  color: #b8659c;
}

.grade-separator {
  font-weight: 600;
  color: #ff69b4;
  font-size: 1.2rem;
}

.grade-result-dom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 80px;
}

.grade-note-dom {
  font-weight: 700;
  font-size: 1.1rem;
  color: #6b3a5f;
}

.grade-percent-dom {
  font-weight: 600;
  font-size: 0.9rem;
  color: #b8659c;
  background: rgba(255, 192, 203, 0.3);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

.grade-remove-btn-dom {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #ff69b4;
  padding: 0.5rem;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.grade-remove-btn-dom:hover {
  background: rgba(255, 20, 147, 0.1);
  color: #ff1493;
  transform: scale(1.2);
}

/* Calculator Buttons */
.calculator-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn-add,
.btn-calculate,
.btn-reset {
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-add {
  background: rgba(255, 105, 180, 0.2);
  color: #ff1493;
  border: 2px solid rgba(255, 105, 180, 0.3);
}

.btn-add:hover {
  background: rgba(255, 105, 180, 0.3);
  border-color: #ff1493;
  transform: translateY(-2px);
}

.btn-calculate {
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}

.btn-calculate:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}

.btn-reset {
  background: rgba(200, 100, 150, 0.15);
  color: #b8659c;
  border: 2px solid rgba(200, 100, 150, 0.3);
}

.btn-reset:hover {
  background: rgba(200, 100, 150, 0.25);
  border-color: #b8659c;
  transform: translateY(-2px);
}

/* Results DOM */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.results-list h4 {
  margin-bottom: 0.5rem;
  color: #ff1493;
}

.result-item-dom {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 192, 203, 0.15);
  border-radius: 10px;
  border-left: 4px solid rgba(255, 105, 180, 0.3);
  transition: all 0.3s ease;
  animation: slideUp 0.5s ease-out;
}

.result-item-dom:hover {
  background: rgba(255, 192, 203, 0.25);
  border-left-color: #ff1493;
  transform: translateX(5px);
}

.result-number {
  font-weight: 700;
  color: #ff1493;
  min-width: 40px;
}

.result-details {
  flex: 1;
  color: #6b3a5f;
  font-weight: 500;
}

.result-grade-dom {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  min-width: 120px;
  text-align: center;
}

/* Average Box DOM */
.average-box-dom {
  background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 160, 180, 0.1) 100%);
  border: 2px solid rgba(255, 105, 180, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  animation: slideUp 0.6s ease-out;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.1);
  margin-top: 1rem;
}

.average-box-dom h4 {
  margin-bottom: 1rem;
  color: #ff1493;
}

.average-display-dom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

.average-percent-dom {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ff1493;
  background: rgba(255, 192, 203, 0.2);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.average-percent-dom:hover {
  transform: scale(1.1);
}

.average-note-dom {
  font-size: 1.8rem;
  font-weight: 700;
}

/* Average Progress Bar */
.average-progress-bar {
  width: 100%;
  height: 35px;
  background: rgba(255, 192, 203, 0.2);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem 0;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.average-progress-bg {
  width: 100%;
  height: 100%;
  position: relative;
}

.average-progress-fill {
  height: 100%;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.average-details-dom {
  margin-top: 1rem;
  color: #b8659c;
  font-weight: 500;
  font-size: 0.95rem;
}



/* Grade Scale Table */
.grade-scale-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.1);
}

.grade-scale-table thead {
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
  color: white;
}

.grade-scale-table th,
.grade-scale-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 105, 180, 0.15);
}

.grade-scale-table th {
  font-weight: 600;
  font-size: 1.05rem;
}

.grade-scale-table tbody tr:hover {
  background: rgba(255, 192, 203, 0.2);
}

.grade-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  color: white;
  font-size: 0.95rem;
}

.grade-badge.very-good {
  background: #ff1493;
}

.grade-badge.good {
  background: #ff69b4;
}

.grade-badge.satisfactory {
  background: #ffa500;
}

.grade-badge.adequate {
  background: #ff8c00;
}

.grade-badge.failed {
  background: #dc143c;
}

/* Calculator Container */
.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.grades-input-section,
.results-section {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(255, 20, 147, 0.15);
}

.grades-input-section h3 {
  margin-bottom: 1.5rem;
  color: #ff1493;
}

.grades-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.grade-input-group {
  animation: slideUp 0.4s ease-out;
}

.grade-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 192, 203, 0.1);
  padding: 1rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 105, 180, 0.15);
  transition: all 0.3s ease;
}

.grade-input-wrapper:focus-within {
  border-color: rgba(255, 105, 180, 0.4);
  background: rgba(255, 192, 203, 0.2);
}

.grade-points,
.grade-max {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid rgba(255, 105, 180, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #6b3a5f;
  background: white;
  transition: all 0.3s ease;
}

.grade-points::placeholder,
.grade-max::placeholder {
  color: #b8659c;
}

.grade-points:focus,
.grade-max:focus {
  outline: none;
  border-color: #ff1493;
  box-shadow: 0 0 8px rgba(255, 20, 147, 0.2);
}

.grade-separator {
  font-weight: 600;
  color: #ff69b4;
  font-size: 1.2rem;
}

.grade-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 80px;
}

.grade-note {
  font-weight: 700;
  font-size: 1.1rem;
  color: #6b3a5f;
}

.grade-percent {
  font-weight: 600;
  font-size: 0.9rem;
  color: #b8659c;
  background: rgba(255, 192, 203, 0.3);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
}

.grade-remove-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #ff69b4;
  padding: 0.5rem;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.grade-remove-btn:hover {
  background: rgba(255, 20, 147, 0.1);
  color: #ff1493;
  transform: scale(1.2);
}

/* Calculator Buttons */
.calculator-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn-add,
.btn-calculate,
.btn-reset {
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-add {
  background: rgba(255, 105, 180, 0.2);
  color: #ff1493;
  border: 2px solid rgba(255, 105, 180, 0.3);
}

.btn-add:hover {
  background: rgba(255, 105, 180, 0.3);
  border-color: #ff1493;
  transform: translateY(-2px);
}

.btn-calculate {
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}

.btn-calculate:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}

.btn-reset {
  background: rgba(200, 100, 150, 0.15);
  color: #b8659c;
  border: 2px solid rgba(200, 100, 150, 0.3);
}

.btn-reset:hover {
  background: rgba(200, 100, 150, 0.25);
  border-color: #b8659c;
  transform: translateY(-2px);
}

/* Results Section */
.result-container,
.average-container {
  min-height: 100px;
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.result-list h4 {
  margin-bottom: 0.5rem;
  color: #ff1493;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 192, 203, 0.15);
  border-radius: 10px;
  border-left: 4px solid rgba(255, 105, 180, 0.3);
  transition: all 0.3s ease;
  animation: slideUp 0.5s ease-out;
}

.result-item:hover {
  background: rgba(255, 192, 203, 0.25);
  border-left-color: #ff1493;
  transform: translateX(5px);
}

.result-number {
  font-weight: 700;
  color: #ff1493;
  min-width: 40px;
}

.result-details {
  flex: 1;
  color: #6b3a5f;
  font-weight: 500;
}

.result-grade {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  min-width: 120px;
  text-align: center;
}

.average-box {
  background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 160, 180, 0.1) 100%);
  border: 2px solid rgba(255, 105, 180, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  animation: slideUp 0.6s ease-out;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.1);
}

.average-box h4 {
  margin-bottom: 1rem;
  color: #ff1493;
}

.average-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

.average-percent {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ff1493;
  background: rgba(255, 192, 203, 0.2);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.average-note {
  font-size: 1.8rem;
  font-weight: 700;
}

.average-details {
  margin-top: 1rem;
  color: #b8659c;
  font-weight: 500;
  font-size: 0.95rem;
}

.error-message {
  color: #dc143c;
  background: rgba(220, 20, 60, 0.1);
  border: 2px solid rgba(220, 20, 60, 0.3);
  padding: 1rem;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}

/* Tips Box */
.tips-box {
  background: rgba(255, 192, 203, 0.15);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 1.5rem;
}

.tips-box ul {
  list-style: none;
  padding: 0;
}

.tips-box li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  color: #6b3a5f;
  line-height: 1.6;
}

.tips-box li::before {
  content: '✨';
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* ===========================
   Textanalyse Styles
   =========================== */

.analyzer-section {
  animation: slideUp 0.6s ease-out;
}

/* Tab Navigation */
.analyzer-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 105, 180, 0.1);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 12px;
  color: #ff1493;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.tab-btn:hover {
  background: rgba(255, 105, 180, 0.2);
  border-color: #ff1493;
}

.tab-btn.active {
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
  color: white;
  border-color: #ff1493;
}

/* Tab Content */
.tab-content {
  display: none;
  animation: slideUp 0.5s ease-out;
}

.tab-content.active {
  display: block;
}

/* Analyzer Container */
.analyzer-container {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(255, 20, 147, 0.15);
}

.input-section,
.compare-inputs,
.search-inputs {
  margin-bottom: 2rem;
}

.input-section h3,
.compare-input-group h4,
.search-input-group h4 {
  margin-bottom: 1rem;
  color: #ff1493;
}

.text-input,
.search-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 12px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  color: #6b3a5f;
  background: white;
  resize: vertical;
  transition: all 0.3s ease;
}

.text-input:focus,
.search-input:focus {
  outline: none;
  border-color: #ff1493;
  box-shadow: 0 0 12px rgba(255, 20, 147, 0.2);
}

.text-input::placeholder,
.search-input::placeholder {
  color: #b8659c;
}

.input-info {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
  padding: 0.8rem;
  background: rgba(255, 192, 203, 0.15);
  border-radius: 8px;
  font-size: 0.95rem;
  color: #6b3a5f;
  font-weight: 500;
}

/* Analyzer Buttons */
.analyzer-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn-analyze,
.btn-calculate {
  flex: 1;
  min-width: 150px;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}

.btn-analyze:hover,
.btn-calculate:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}

/* Compare Inputs */
.compare-inputs,
.search-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.compare-input-group,
.search-input-group {
  grid-column: 1 / -1;
}

.search-input {
  margin-top: 0.5rem;
}

/* Result Section */
.result-section {
  margin-top: 2rem;
  animation: slideUp 0.5s ease-out;
}

/* Analysis Results */
.analysis-result {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.analysis-result h4 {
  color: #ff1493;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat-card {
  background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 160, 180, 0.1) 100%);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 105, 180, 0.4);
  background: linear-gradient(135deg, rgba(255, 192, 203, 0.3) 0%, rgba(255, 160, 180, 0.2) 100%);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #ff1493;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #6b3a5f;
  font-weight: 500;
}

/* Text Transformations */
.text-transformations {
  margin-top: 1.5rem;
  border-top: 2px solid rgba(255, 105, 180, 0.15);
  padding-top: 1.5rem;
}

.text-transformations h5 {
  color: #ff1493;
  margin-bottom: 1rem;
}

.transformation-box {
  background: rgba(255, 192, 203, 0.1);
  border: 1px solid rgba(255, 105, 180, 0.2);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.transformation-box label {
  display: block;
  font-weight: 600;
  color: #ff1493;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.transformation-text {
  background: white;
  border: 1px solid rgba(255, 105, 180, 0.15);
  border-radius: 8px;
  padding: 0.8rem;
  margin-bottom: 0.8rem;
  word-break: break-word;
  max-height: 150px;
  overflow-y: auto;
  color: #6b3a5f;
  line-height: 1.6;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
}

.copy-btn {
  background: rgba(255, 105, 180, 0.15);
  border: 1px solid rgba(255, 105, 180, 0.3);
  color: #ff1493;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.copy-btn:hover {
  background: rgba(255, 105, 180, 0.25);
  border-color: #ff1493;
  transform: scale(1.05);
}

/* Comparison Results */
.comparison-result {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison-result h4 {
  color: #ff1493;
  font-size: 1.3rem;
}

.comparison-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.comparison-card {
  background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 160, 180, 0.1) 100%);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 105, 180, 0.4);
}

.comparison-card h5 {
  color: #ff1493;
  margin-bottom: 1rem;
}

.comparison-card p {
  color: #6b3a5f;
  margin: 0.5rem 0;
}

.comparison-result-box {
  grid-column: 1 / -1;
  background: rgba(255, 105, 180, 0.1);
  border: 2px solid rgba(255, 105, 180, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.comparison-result-box p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ff1493;
}

/* Search Results */
.search-result {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-result h4 {
  color: #ff1493;
  font-size: 1.3rem;
}

.search-summary {
  background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 160, 180, 0.1) 100%);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  color: #6b3a5f;
}

.search-summary p {
  margin: 0.8rem 0;
  font-size: 1.05rem;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 105, 180, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  animation: slideUp 0.6s ease-out;
}

.metric-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 105, 180, 0.4);
  box-shadow: 0 8px 25px rgba(255, 20, 147, 0.2);
}

.metric-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.metric-card h4 {
  color: #ff1493;
  margin-bottom: 0.5rem;
}

.metric-card p {
  color: #6b3a5f;
  font-size: 0.95rem;
  line-height: 1.6;
}

.error-message {
  background: rgba(220, 20, 60, 0.1);
  border: 2px solid rgba(220, 20, 60, 0.3);
  color: #dc143c;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
}

/* ===========================
   Kontaktformular Validierung
   =========================== */

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #d946ef;
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #dc2626;
  min-height: 1.1em;
}

input.input-error,
textarea.input-error {
  border-color: #dc2626 !important;
  background: #fff5f5;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

body.dark input.input-error,
body.dark textarea.input-error {
  background: rgba(220, 38, 38, 0.1);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}

body.dark .field-error {
  color: #fca5a5;
}

body.dark .form-group label {
  color: #60a5fa;
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
  border: 2px solid #16a34a;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
  font-size: 1rem;
  animation: fadeInUp 0.4s ease;
}

.form-success-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

body.dark .form-success {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(21, 128, 61, 0.2));
  color: #86efac;
  border-color: #16a34a;
}

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

/* ===========================
   Hamburger Menu Button
   =========================== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 20, 147, 0.1);
  border: 2px solid rgba(255, 20, 147, 0.3);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ff1493;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle:hover {
  background: rgba(255, 20, 147, 0.2);
  border-color: #ff1493;
}

/* Hamburger → X Animation */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.dark .nav-toggle {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.3);
}
body.dark .nav-toggle span {
  background: #60a5fa;
}

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

/* ---- Tablets (768px) ---- */
@media (max-width: 768px) {

  /* Header */
  header {
    padding: 0.75rem 1rem;
  }

  .header-container {
    flex-wrap: nowrap;
    gap: 0.75rem;
    align-items: center;
    position: relative;
  }

  .logo {
    flex: 1;
  }

  .logo img {
    height: 38px;
  }

  .logo-text .institution {
    font-size: 0.75rem;
  }

  .logo-text .project {
    font-size: 0.85rem;
  }

  /* Dark Mode Button kleiner */
  .dark-mode-toggle {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }

  /* Begrüssung auf kleinen Screens verkleinern */
  .begruessung {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
    margin-top: -32px;
  }

  /* Hamburger anzeigen */
  .nav-toggle {
    display: flex;
  }

  /* Navigation als Dropdown */
  nav#main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border: 2px solid rgba(255, 105, 180, 0.3);
    border-radius: 16px;
    padding: 0.75rem;
    flex-direction: column;
    gap: 0.25rem;
    box-shadow: 0 8px 32px rgba(255, 20, 147, 0.15);
    z-index: 150;
  }

  nav#main-nav.open {
    display: flex;
  }

  nav#main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    transition: background 0.2s ease;
  }

  nav#main-nav a:hover,
  nav#main-nav a.active {
    background: rgba(255, 20, 147, 0.1);
    text-decoration: none;
  }

  /* Mobile Dropdown: immer ausgeklappt im Hamburger-Menü */
  nav#main-nav .nav-dropdown {
    position: static;
  }

  nav#main-nav .nav-dropdown-trigger {
    font-weight: 700;
    color: #ff1493;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    pointer-events: none;
  }

  nav#main-nav .nav-dropdown-trigger::after {
    display: none;
  }

  nav#main-nav .nav-dropdown-menu {
    /* Im Hamburger immer sichtbar */
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    /* Layout */
    position: static;
    background: rgba(255,20,147,0.04);
    border: 1px solid rgba(255,105,180,0.2);
    border-radius: 10px;
    padding: 0.3rem 0.3rem 0.3rem 0.8rem;
    box-shadow: none;
    min-width: unset;
    margin-bottom: 0.25rem;
  }

  nav#main-nav .nav-dropdown-menu a {
    font-size: 0.95rem;
    padding: 0.55rem 0.75rem;
  }

  body.dark nav#main-nav {
    background: rgba(15, 23, 42, 0.98);
    border-color: #334155;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }

  body.dark nav#main-nav a:hover,
  body.dark nav#main-nav a.active {
    background: rgba(96, 165, 250, 0.15);
  }

  body.dark nav#main-nav .nav-dropdown-menu {
    background: rgba(96,165,250,0.05);
    border-color: #334155;
  }

  /* Typography */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  /* Main & Sections */
  main {
    padding: 1rem;
  }

  section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero {
    padding: 2rem 1.5rem;
  }

  /* Cards */
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .info-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* Galerie */
  .galerie {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
  }

  /* Team */
  .team-container {
    grid-template-columns: 1fr 1fr;
  }

  /* Notenrechner */
  .calculator-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .calculator-tabs,
  .analyzer-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tab-btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
  }

  .analyzer-buttons {
    flex-direction: column;
  }

  .btn-analyze,
  .btn-calculate {
    width: 100%;
  }

  .simple-input-group {
    grid-template-columns: 1fr;
  }

  .grade-input-wrapper {
    flex-wrap: wrap;
  }

  .grade-points,
  .grade-max {
    flex: 1;
    min-width: 100px;
  }

  .grade-result {
    order: 3;
    flex-basis: 100%;
    flex-direction: row;
    justify-content: space-around;
  }

  .grade-remove-btn { order: 2; }
  .grade-separator { display: none; }

  .average-display {
    flex-direction: column;
    gap: 1rem;
  }

  .compare-inputs,
  .search-inputs {
    grid-template-columns: 1fr;
  }

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

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

/* ---- Smartphones (480px) ---- */
@media (max-width: 480px) {

  /* Header */
  header {
    padding: 0.6rem 0.75rem;
  }

  .logo img {
    height: 32px;
  }

  .logo-text .institution {
    font-size: 0.7rem;
  }

  .logo-text .project {
    font-size: 0.8rem;
  }

  .dark-mode-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  /* Begrüssung auf sehr kleinen Screens ausblenden */
  .begruessung {
    display: none;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  /* Typography */
  h1 { font-size: 1.4rem; letter-spacing: 0; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.05rem; }

  /* Main */
  main {
    padding: 0.75rem;
  }

  section {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 12px;
  }

  .hero {
    padding: 1.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.3rem;
  }

  /* Inputs & Buttons – Finger-friendly */
  input, textarea, select {
    font-size: 16px; /* verhindert Auto-Zoom auf iOS */
    padding: 0.6rem 0.75rem;
  }

  button:not(.nav-toggle):not(.dark-mode-toggle) {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    min-height: 44px;
  }

  /* Cards – 1 Spalte */
  .cards,
  .info-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .card,
  .info-card {
    padding: 1rem;
  }

  /* Galerie */
  .galerie {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .galerie img {
    height: 130px;
  }

  /* Team */
  .team-container {
    grid-template-columns: 1fr;
  }

  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
  }

  .team-image {
    width: 120px;
    height: 120px;
  }

  /* Notenrechner */
  .grade-input-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .grade-points,
  .grade-max {
    width: 100%;
  }

  .grade-result {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .stat-card {
    padding: 0.75rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  /* Tabellen horizontal scrollbar */
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.85rem;
  }

  /* Footer */
  footer {
    padding: 1rem;
    font-size: 0.85rem;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   API Demo – api.html
   ═══════════════════════════════════════════════════════════════════════════ */

/* Info-Cards (Erklärung wie fetch funktioniert) */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.info-card {
  background: linear-gradient(135deg, #fff0f5, #fce7f3);
  border: 1px solid #f9a8d4;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.info-card h4 {
  color: #be185d;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.info-card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
}

.info-card code {
  background: #fce7f3;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.85em;
  color: #be185d;
}

/* API Controls (Button + Suchfeld) */
.api-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}

#api-search {
  flex: 1 1 220px;
  padding: 0.6rem 1rem;
  border: 2px solid #f9a8d4;
  border-radius: 25px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

#api-search:focus {
  border-color: #ec4899;
}

/* Lade-Indikator */
.api-loading {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  color: #be185d;
}

.api-loading[hidden] { display: none; }

.api-spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #fce7f3;
  border-top-color: #ec4899;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Fehlermeldung */
.api-error {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff0f0;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: #b91c1c;
  margin: 1rem 0;
}

.api-error[hidden] { display: none; }

.api-error span:first-child {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Benutzer-Liste */
.user-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* User-Karte */
.api-user-card {
  background: #fff;
  border: 1px solid #f9a8d4;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(236,72,153,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.api-user-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(236,72,153,0.15);
}

.api-user-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ec4899, #be185d);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.api-user-name {
  font-size: 1rem;
  font-weight: 700;
  color: #be185d;
  margin: 0 0 0.15rem;
}

.api-user-username {
  font-size: 0.85rem;
  color: #888;
  margin: 0 0 0.5rem;
}

.api-user-details {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: #444;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.api-user-details a {
  color: #ec4899;
  text-decoration: none;
}

.api-user-details a:hover {
  text-decoration: underline;
}

/* Ergebnis-Zähler */
.api-count {
  text-align: right;
  font-size: 0.9rem;
  color: #888;
  margin-top: 0.75rem;
}

/* Keine Ergebnisse */
.api-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: #aaa;
  font-size: 1rem;
}

/* Code-Block */
.code-block {
  background: #1e1e2e;
  color: #cdd6f4;
  border-radius: 12px;
  padding: 1.5rem;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.65;
  border: 1px solid #313244;
}

.code-block code {
  font-family: 'Courier New', Courier, monospace;
}

/* ── Dark Mode ── */
body.dark .info-card {
  background: linear-gradient(135deg, #1e1e2e, #2d2d3f);
  border-color: #7c3aed44;
}

body.dark .info-card h4 { color: #f9a8d4; }
body.dark .info-card p  { color: #aaa; }
body.dark .info-card code {
  background: #2d2d3f;
  color: #f9a8d4;
}

body.dark #api-search {
  background: #1e1e2e;
  color: #f0f0f0;
  border-color: #7c3aed55;
}

body.dark .api-loading { color: #f9a8d4; }
body.dark .api-spinner { border-color: #333; border-top-color: #f9a8d4; }

body.dark .api-error {
  background: #2d1515;
  border-color: #7f1d1d;
  color: #fca5a5;
}

body.dark .api-user-card {
  background: #1e1e2e;
  border-color: #7c3aed44;
}

body.dark .api-user-name    { color: #f9a8d4; }
body.dark .api-user-username { color: #777; }
body.dark .api-user-details  { color: #ccc; }
body.dark .api-user-details a { color: #f9a8d4; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .api-controls { flex-direction: column; align-items: stretch; }
  #api-search   { flex: unset; width: 100%; }
  .user-list    { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Kanban-Board – kanban.html
   ═══════════════════════════════════════════════════════════════════════════ */

/* Haupt-Layout */
.kanban-main {
  padding: 1.5rem 1rem 3rem;
  max-width: 100%;
  overflow-x: hidden;
}

/* Header-Leiste */
.kanban-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kanban-title h1 {
  margin: 0 0 0.2rem;
}

.kanban-title p {
  margin: 0;
  font-size: 0.9rem;
  color: #888;
}

/* Toolbar */
.kanban-toolbar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-kanban {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: filter 0.15s, transform 0.12s;
  background: linear-gradient(135deg, #ec4899, #be185d);
  color: #fff;
}

.btn-kanban:hover  { filter: brightness(1.1); transform: translateY(-1px); }
.btn-kanban:active { transform: translateY(0); }

.btn-kanban.btn-secondary {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.btn-kanban.btn-danger {
  background: linear-gradient(135deg, #f87171, #dc2626);
}

/* Board (horizontaler Scroll) */
.kanban-board {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: 1rem;
  min-height: 60vh;
  /* custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #f9a8d4 #fce7f3;
}

.kanban-board::-webkit-scrollbar       { height: 8px; }
.kanban-board::-webkit-scrollbar-track { background: #fce7f3; border-radius: 4px; }
.kanban-board::-webkit-scrollbar-thumb { background: #f9a8d4; border-radius: 4px; }

/* Einzelne Spalte */
.kanban-column {
  background: #fdf2f8;
  border: 2px solid #f9a8d4;
  border-radius: 16px;
  width: 280px;
  min-width: 260px;
  max-width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.kanban-column.drag-over {
  border-color: #ec4899;
  background: #fce7f3;
  box-shadow: 0 0 0 3px rgba(236,72,153,0.25);
}

/* Spalten-Header */
.kanban-col-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.85rem 0.6rem;
  border-bottom: 1px solid #f9a8d4;
}

.kanban-col-title {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #be185d;
  cursor: default;
  outline: none;
  border-radius: 4px;
  padding: 2px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kanban-col-title[contenteditable="true"] {
  cursor: text;
  background: #fff;
  outline: 2px solid #ec4899;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.kanban-col-badge {
  background: #ec4899;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  flex-shrink: 0;
}

.kanban-col-delete {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: #ccc;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.kanban-col-delete:hover { color: #dc2626; background: #fee2e2; }

/* Karten-Liste */
.kanban-card-list {
  list-style: none;
  padding: 0.6rem;
  margin: 0;
  flex: 1;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Drop-Placeholder */
.kanban-drop-placeholder {
  height: 56px;
  border: 2px dashed #f9a8d4;
  border-radius: 10px;
  background: rgba(249,168,212,0.15);
  flex-shrink: 0;
}

/* Karte */
.kanban-card {
  background: #fff;
  border: 1px solid #fce7f3;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(236,72,153,0.08);
  cursor: grab;
  transition: box-shadow 0.2s, transform 0.15s, opacity 0.15s;
  display: flex;
  flex-direction: column;
  position: relative;
}

.kanban-card:hover {
  box-shadow: 0 5px 15px rgba(236,72,153,0.18);
  transform: translateY(-2px);
}

.kanban-card.dragging {
  opacity: 0.4;
  cursor: grabbing;
  transform: rotate(2deg) scale(1.02);
}

/* Label-Streifen oben */
.kanban-card-label {
  height: 6px;
  border-radius: 10px 10px 0 0;
  flex-shrink: 0;
}

/* Karten-Text (contenteditable) */
.kanban-card-text {
  padding: 0.6rem 2rem 0.6rem 0.7rem;
  font-size: 0.9rem;
  color: #333;
  outline: none;
  min-height: 2.2rem;
  line-height: 1.5;
  word-break: break-word;
  cursor: text;
}

.kanban-card-text:focus {
  background: #fff9fc;
}

/* Löschen-Button */
.kanban-card-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  border: none;
  font-size: 0.75rem;
  color: #ddd;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
  opacity: 0;
}

.kanban-card:hover .kanban-card-delete,
.kanban-card-delete:focus {
  opacity: 1;
}

.kanban-card-delete:hover { color: #dc2626; background: #fee2e2; }

/* Spalten-Footer */
.kanban-col-footer {
  padding: 0.5rem 0.6rem 0.7rem;
}

.btn-add-card {
  width: 100%;
  padding: 0.45rem;
  background: none;
  border: 2px dashed #f9a8d4;
  border-radius: 8px;
  color: #be185d;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-add-card:hover {
  background: #fce7f3;
  border-color: #ec4899;
}

/* ── Label Picker (Kontext-Menü) ── */
.label-picker {
  position: absolute;
  z-index: 9999;
  background: #fff;
  border: 1px solid #f9a8d4;
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  min-width: 200px;
}

.label-picker[hidden] { display: none; }

.label-picker-title {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #be185d;
}

.label-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.label-swatch {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s, border-color 0.12s;
  padding: 0;
}

.label-swatch:hover { transform: scale(1.2); border-color: rgba(0,0,0,0.3); }

/* ── Dark Mode ── */
body.dark .kanban-column {
  background: #1a1a2e;
  border-color: #7c3aed55;
}

body.dark .kanban-column.drag-over {
  background: #1e1b3a;
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167,139,250,0.25);
}

body.dark .kanban-col-header {
  border-bottom-color: #7c3aed44;
}

body.dark .kanban-col-title { color: #f9a8d4; }
body.dark .kanban-col-delete:hover { background: #3d1515; }

body.dark .kanban-card {
  background: #16213e;
  border-color: #7c3aed33;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

body.dark .kanban-card:hover {
  box-shadow: 0 5px 15px rgba(167,139,250,0.2);
}

body.dark .kanban-card-text { color: #e0e0e0; }
body.dark .kanban-card-text:focus { background: #1c1c2e; }

body.dark .kanban-drop-placeholder {
  border-color: #7c3aed88;
  background: rgba(167,139,250,0.08);
}

body.dark .btn-add-card {
  border-color: #7c3aed55;
  color: #f9a8d4;
}

body.dark .btn-add-card:hover {
  background: #1e1b3a;
  border-color: #a78bfa;
}

body.dark .label-picker {
  background: #1e1e2e;
  border-color: #7c3aed55;
  color: #f0f0f0;
}

body.dark .label-picker-title { color: #f9a8d4; }

body.dark .kanban-title p { color: #777; }

body.dark .kanban-board {
  scrollbar-color: #7c3aed #1a1a2e;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .kanban-header   { flex-direction: column; }
  .kanban-toolbar  { width: 100%; }
  .btn-kanban      { flex: 1; text-align: center; }
  .kanban-column   { width: 260px; min-width: 240px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Quiz – quiz.html / quiz.js (U14)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Kopfzeile: Fortschritt + Live-Punkte */
.quiz-kopf {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.quiz-fortschritt {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.quiz-schritt {
  font-size: 0.85rem;
  font-weight: 600;
  color: #be185d;
}

.quiz-balken-wrapper {
  height: 8px;
  background: #fce7f3;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 320px;
}

.quiz-balken {
  height: 100%;
  background: linear-gradient(90deg, #ec4899, #be185d);
  border-radius: 8px;
  transition: width 0.4s ease;
}

.quiz-punkte-live {
  font-size: 0.9rem;
  font-weight: 700;
  color: #be185d;
  white-space: nowrap;
  background: rgba(252, 231, 243, 0.8);
  border: 1px solid #f9a8d4;
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
}

/* Frage-Card */
.quiz-card {
  background: #fff;
  border: 2px solid #f9a8d4;
  border-radius: 18px;
  padding: 2rem;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.1);
  animation: slideUp 0.35s ease-out;
}

.quiz-frage {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Antwort-Buttons */
.quiz-btn-gruppe {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.quiz-antwort-btn {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: #fff;
  border: 2px solid #f9a8d4;
  border-radius: 12px;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  font-family: inherit;
}

.quiz-antwort-btn:hover:not(:disabled) {
  background: #fce7f3;
  border-color: #ec4899;
  transform: translateX(4px);
}

.quiz-antwort-btn:disabled {
  cursor: default;
}

.quiz-antwort-btn.richtig {
  background: #dcfce7;
  border-color: #16a34a;
  color: #166534;
  font-weight: 700;
}

.quiz-antwort-btn.falsch {
  background: #fee2e2;
  border-color: #dc2626;
  color: #991b1b;
  font-weight: 700;
}

/* Feedback */
.quiz-feedback {
  min-height: 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  margin-top: 0.5rem;
  transition: all 0.2s;
}

.quiz-feedback-richtig {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.quiz-feedback-falsch {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Weiter-Button */
.quiz-weiter-btn {
  margin-top: 1rem;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
}

/* Auswertungsscreen */
.quiz-auswertung {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  animation: slideUp 0.4s ease-out;
}

.quiz-auswertung-titel {
  font-size: 2rem;
  color: #be185d;
  margin-bottom: 0.5rem;
}

.quiz-ergebnis-zahl {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e3a5f;
  margin: 0.5rem 0;
}

.quiz-nachricht {
  font-size: 1.05rem;
  color: #555;
  margin: 0.4rem 0 0.8rem;
}

.quiz-highscore {
  display: inline-block;
  background: linear-gradient(135deg, #fef9c3, #fde68a);
  border: 1px solid #fcd34d;
  color: #92400e;
  border-radius: 20px;
  padding: 0.4rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Rückblick */
.quiz-rueckblick {
  background: #fff;
  border: 2px solid #f9a8d4;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.quiz-rueckblick h3 {
  color: #be185d;
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.quiz-rueckblick-item {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  gap: 0.4rem;
  align-items: start;
  padding: 0.5rem 0;
  border-bottom: 1px solid #fce7f3;
  font-size: 0.9rem;
}

.quiz-rueckblick-item:last-child {
  border-bottom: none;
}

.rb-nr    { color: #be185d; font-weight: 700; }
.rb-frage { color: #333; }
.rb-richtig { color: #16a34a; font-weight: 600; white-space: nowrap; }

/* Neu-starten Button */
.quiz-neu-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
}

/* ── Dark Mode ── */
body.dark .quiz-card {
  background: #1a1a2e;
  border-color: #7c3aed55;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

body.dark .quiz-frage { color: #f9a8d4; }

body.dark .quiz-antwort-btn {
  background: #16213e;
  border-color: #7c3aed55;
  color: #e0e0e0;
}

body.dark .quiz-antwort-btn:hover:not(:disabled) {
  background: #1e1b3a;
  border-color: #a78bfa;
}

body.dark .quiz-antwort-btn.richtig {
  background: #14532d;
  border-color: #16a34a;
  color: #bbf7d0;
}

body.dark .quiz-antwort-btn.falsch {
  background: #450a0a;
  border-color: #dc2626;
  color: #fecaca;
}

body.dark .quiz-feedback-richtig {
  background: #14532d;
  color: #bbf7d0;
  border-color: #16a34a;
}

body.dark .quiz-feedback-falsch {
  background: #450a0a;
  color: #fecaca;
  border-color: #dc2626;
}

body.dark .quiz-schritt     { color: #f9a8d4; }
body.dark .quiz-punkte-live { color: #f9a8d4; background: rgba(30,30,46,0.85); border-color: #7c3aed55; }
body.dark .quiz-balken-wrapper { background: #1a1a2e; }

body.dark .quiz-auswertung-titel { color: #f9a8d4; }
body.dark .quiz-ergebnis-zahl    { color: #e0e0e0; }
body.dark .quiz-nachricht        { color: #aaa; }

body.dark .quiz-rueckblick {
  background: #1a1a2e;
  border-color: #7c3aed55;
}

body.dark .quiz-rueckblick h3    { color: #f9a8d4; }
body.dark .quiz-rueckblick-item  { border-bottom-color: #2d2d40; }
body.dark .rb-frage              { color: #ccc; }
body.dark .rb-richtig            { color: #86efac; }
body.dark .rb-nr                 { color: #f9a8d4; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .quiz-card    { padding: 1.25rem; }
  .quiz-frage   { font-size: 1rem; }
  .quiz-antwort-btn { font-size: 0.92rem; padding: 0.7rem 1rem; }
  .quiz-rueckblick-item { grid-template-columns: 1.2rem 1fr; }
  .rb-richtig   { grid-column: 2; }
}

/* Quiz Rückblick – falsche Antwort mit Korrektur */
.rb-falsch-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: right;
}
.rb-falsch {
  color: #dc2626;
  font-weight: 600;
}
.rb-richtig-klein {
  color: #16a34a;
  font-size: 0.8rem;
  font-weight: 600;
}
body.dark .rb-falsch       { color: #fca5a5; }
body.dark .rb-richtig-klein { color: #86efac; }

/* ===========================
   🎮 Fortnite-Experience Einstieg (linker Rand)
   =========================== */
.fortnite-launch {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 118px;
  padding: 0.6rem 0.55rem 0.7rem;
  background: linear-gradient(160deg, #8b5cf6 0%, #6d28d9 45%, #06b6d4 100%);
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-left: none;
  border-radius: 0 20px 20px 0;
  box-shadow: 0 10px 34px rgba(109, 40, 217, 0.5);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.35s ease;
}
.fortnite-launch:hover {
  transform: translateY(-50%) scale(1.07);
  box-shadow: 0 14px 44px rgba(6, 182, 212, 0.65);
}
.fortnite-launch:active {
  transform: translateY(-50%) scale(1.02);
}
.fortnite-launch-badge {
  position: absolute;
  top: -10px;
  right: -8px;
  background: #ff1493;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px rgba(255, 20, 147, 0.5);
}
.fortnite-launch-gif {
  width: 96px;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  animation: fortnite-glow 2.4s ease-in-out infinite;
}
.fortnite-launch-label {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  line-height: 1.12;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  letter-spacing: 0.02em;
}
.fortnite-launch-cta {
  font-size: 0.72rem;
  font-weight: 700;
  color: #f0abfc;
  background: rgba(0, 0, 0, 0.28);
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
@keyframes fortnite-glow {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(139, 92, 246, 0.6)); }
  50%      { filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.95)); }
}

/* Mobile: kompakter, damit nichts überdeckt wird */
@media (max-width: 768px) {
  .fortnite-launch {
    width: 78px;
    padding: 0.4rem 0.35rem 0.5rem;
    gap: 0.3rem;
    border-radius: 0 14px 14px 0;
  }
  .fortnite-launch-gif { width: 62px; border-radius: 10px; }
  .fortnite-launch-label { font-size: 0.62rem; }
  .fortnite-launch-cta { font-size: 0.58rem; padding: 0.15rem 0.5rem; }
  .fortnite-launch-badge { font-size: 0.52rem; top: -8px; right: -6px; }
}

/* Barrierefreiheit: Animationen reduzieren, wenn gewünscht */
@media (prefers-reduced-motion: reduce) {
  .fortnite-launch-gif { animation: none; }
  .fortnite-launch { transition: none; }
}

