@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* Global Reset: WICHTIG für Layout-Berechnung */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Responsive Medien und Inputs verhindern Overflow */
img,
video,
iframe,
input,
textarea,
select,
button {
  max-width: 100%;
}

:root {
  --primary: #003366;
  --accent: #ff6600;
  --bg: #f7f7f7;
  --text: #333;
  --text-header: #003366;
  --link-color: #003366;
  --link-hover: #ff6600;
  --bg-card: #ffffff;
  --border-color: rgba(0, 0, 0, 0.05);
  --text-muted: #666;
  --input-bg: #fff;
  --input-border: #ccc;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
  --table-even: #faf4f0;
  --table-hover: #ffe5cc;
  --msg-err-bg: #fde7eb;
  --msg-err-border: #f6c5cf;
  --msg-err-text: #b00020;
  --msg-succ-bg: #d4edda;
  --msg-succ-border: #c3e6cb;
  --msg-succ-text: #155724;
}

:root.dark-mode {
  --primary: #102a43; /* slightly lighter deep blue */
  --accent: #ff944d;
  --bg: #121212;
  --text: #e0e0e0;
  --text-header: #ffffff;
  --link-color: #4da3ff;
  --link-hover: #80bfff;
  --bg-card: #1e1e1e;
  --border-color: rgba(255, 255, 255, 0.1);
  --text-muted: #aaa;
  --input-bg: #2a2a2a;
  --input-border: #444;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.5);
  --table-even: #252525;
  --table-hover: #33261a;
  --msg-err-bg: #4a151b;
  --msg-err-border: #721c24;
  --msg-err-text: #f5c6cb;
  --msg-succ-bg: #153e21;
  --msg-succ-border: #1e5a32;
  --msg-succ-text: #c3e6cb;
}

/* Vollflächige Höhe und Box-Sizing */
html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Open Sans', 'Segoe UI', Tahoma, Verdana, sans-serif;
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Körper als Flexbox Container (für Sticky Footer) */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Wrapper, das den Hauptinhalt und Footer trennt */
.page-container {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

/* Hauptinhalt wächst und füllt freien Platz */
main {
  flex: 1;
}

/* Header und Footer schrumpfen nicht */
header,
footer {
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  padding: 16px;
  text-align: center;
}

/* Footer extra Stil */
footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 24px 12px 40px;
  font-size: 0.9rem;
  color: #ffffff;
  background: var(--primary);
  text-align: center;
}

/* Links im Footer */
footer a:link,
footer a:focus,
footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer a:visited {
  color: #ffd580;
  text-decoration: underline;
}

/* Navigation & Burger Menü */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  /* Logo links, Rest verteilt */
  align-items: center;
  min-height: 60px;
  padding: 0 20px;
  /* Abstand an den Seiten */
}

nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  flex: 1;
  /* Nimmt den Platz ein, damit justify-content: center wirkt */
}

nav a {
  color: #fff;
  font-weight: 600;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 70%;
}

nav a:hover,
nav a:focus {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

/* CSS Variablen für Header Animation */
header {
  --logo-height: 54px;
  /* Standardhöhe */
  background-color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

header.menu-open {
  --logo-height: 40px;
  /* Zielhöhe bei offenem Menü */
}

/* Logo in Navbar */
.nav-logo {
  height: var(--logo-height);
  /* Nutzt Variable */
  width: auto;
  margin-right: 20px;
  position: relative;
  z-index: 1002;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Weiche Animation */
}

/* Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: absolute;
  right: 20px;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: white;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    flex: none;
    /* Reset flex-grow vom Desktop */
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--primary);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 10px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  nav.active {
    transform: translateX(0);
  }

  nav a {
    font-size: 1.2rem;
    width: 80%;
    text-align: center;
    padding: 15px;
  }
}

/* Hero-Bereich */
.hero {
  background: linear-gradient(rgba(17, 0, 255, 0.8), rgba(255, 123, 0, 0.774));
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 70px 15px;
  text-align: center;
}

/* Sektionen */
section {
  max-width: 750px;
  margin: 36px auto;
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

/* Info-Boxen */
.info-boxes {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 10px;
}

.info-boxes .box {
  background-color: var(--bg-card);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 30px;
  width: 280px;
  height: auto;
  min-height: 250px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.info-boxes .box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.info-boxes .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 102, 0, 0.2);
}

.info-boxes .box:hover::before {
  transform: scaleX(1);
}

.info-boxes .box h3 {
  margin: 10px 0;
  color: var(--text-header);
  font-size: 1.4rem;
  font-weight: 800;
}

.info-boxes .box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Responsive Anpassungen */
@media (max-width: 800px) {
  .info-boxes {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin: 20px auto;
  }

  .info-boxes .box {
    width: 90%;
    max-width: 320px;
    height: auto;
    margin-bottom: 20px;
  }
}

/* Überschriften */
h1,
h2 {
  color: var(--text-header);
  margin-top: 0;
}

h1 {
  font-size: clamp(1.8rem, 8vw, 2.5rem);
}

h2 {
  font-size: clamp(1.4rem, 6vw, 1.8rem);
  margin-bottom: 1rem;
}

/* Buttons */
.btn,
button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 1.1em;
  cursor: pointer;
  font-weight: 700;
  display: inline-block;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
  user-select: none;
  align-items: center;
}

.btn:hover,
button:hover,
.btn:focus,
button:focus {
  background: #e65c00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 102, 0, 0.4);
}

.btn:active,
button:active {
  transform: translateY(1px);
}

/* Link als Button */
.btn-link {
  background: none;
  border: none;
  color: var(--link-color);
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s;
}

.btn-link:hover,
.btn-link:focus {
  color: var(--accent);
  outline: none;
  text-decoration: none;
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.4);
}

/* Download-Link */
.downloadlink {
  color: var(--link-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.downloadlink:hover,
.downloadlink:focus {
  color: var(--accent);
  text-decoration: underline;
  outline-offset: 3px;
  outline: 3px solid var(--accent);
}

/* Formulare */
form input[type="text"],
form input[type="email"],
form input[type="number"],
form input[type="password"],
form textarea {
  width: 90%;
  margin: 12px auto 22px auto;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: var(--text);
  font-size: 1em;
  transition: border-color 0.25s ease, background-color 0.4s ease, color 0.4s ease;
}

/* Checkbox wieder normal darstellen */
form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0 8px 0 0;
  vertical-align: middle;
  box-shadow: none;
  border-radius: 4px;
  accent-color: var(--primary, #003366);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 5px var(--accent);
}

form button {
  width: 50%;
  margin: 0 auto 16px auto;
  cursor: pointer;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.checkbox-row label {
  margin: 0;
  font-weight: 500;
}

/* Listen für Dateiliste */
.file-list {
  margin: 12px 0 24px;
  padding-left: 20px;
}

.file-list li {
  margin-bottom: 8px;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
  section {
    padding: 20px 12px;
    margin: 20px 8px;
  }

  ul#termine {
    padding-left: 20px;
  }

  ul#termine li {
    font-size: 1.15em;
    line-height: 1.5;
    margin-bottom: 12px;
  }
}

#termine {
  max-width: 100%;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Allgemeines Link-Styling */
a {
  color: var(--link-color);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  cursor: pointer;
}

a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline;
  outline-offset: 3px;
  outline: 3px solid var(--link-hover, #ff6600);
}

a:focus-visible {
  outline-offset: 3px;
  outline: 3px solid var(--accent);
}

label {
  display: block;
  margin-bottom: 20px;
  font-weight: 100;
}

/* --- New Consolidated Styles --- */

/* Utility: Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Card / Content Box Wrapper */
.content-box,
.card,
.mainbox {
  width: 92%;
  max-width: 900px;
  margin: 30px auto;
  background: var(--bg-card);
  padding: 30px 40px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.content-box.narrow,
.card {
  max-width: 420px;
  padding: 28px 26px;
}

.content-box.medium {
  max-width: 600px;
}

/* Specific Header in Cards */
.card-header {
  text-align: center;
  margin-bottom: 22px;
}

.card-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

/* Message Alerts */
.message {
  padding: 12px 14px;
  margin: 0 0 16px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
  font-size: 0.98rem;
  border: 1px solid transparent;
}

.message.error {
  color: var(--msg-err-text);
  background: var(--msg-err-bg);
  border-color: var(--msg-err-border);
}

.message.success {
  color: var(--msg-succ-text);
  background: var(--msg-succ-bg);
  border-color: var(--msg-succ-border);
}

/* Input Wrappers (for Password Toggle) */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap input {
  width: 100%;
  padding-right: 44px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text);
}

.toggle-btn {
  position: absolute;
  right: 8px;
  background: transparent;
  border: 0;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: #666;
  font-weight: 600;
}

.toggle-btn:hover,
.toggle-btn:focus {
  background: #f0f0f0;
  color: #222;
  outline: none;
}

/* Data Tables */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
}

table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
}

th,
td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  vertical-align: middle;
}

th {
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

tr:nth-child(even) {
  background: var(--table-even);
}

tr:hover {
  background: var(--table-hover);
  transition: background-color 0.2s;
}

/* Buttons actions */
.delete-btn {
  background: #b00020 !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(176, 0, 32, 0.2);
}

.delete-btn:hover {
  background: #7a000f !important;
}

.button-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* No Events State */
.no-events {
  text-align: center;
  font-size: 1.3rem;
  color: #777;
  padding: 40px 0;
}

/* Responsive Overrides */
@media (max-width: 600px) {

  .content-box,
  .card,
  .mainbox {
    padding: 24px 15px;
    margin: 15px auto;
    width: 95%;
  }
}

.actions {
  display: flex;
  gap: 18px;
}

/* News Slider Styles */
#news-slider {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider-wrapper {
  width: 100%;
  flex: 1;
}

.slide {
  text-align: center;
  padding: 20px;
}

.slide-image {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.slide-image img {
  max-width: 100%;
  max-height: 280px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Form & Admin Layout Utilities ===== */
.responsive-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.form-row > * {
  flex: 1;
  min-width: 250px;
}

/* Mobile Overrides für Formulare und Admin-Bereich */
@media (max-width: 768px) {
  .responsive-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-row > button {
    width: 100% !important;
  }
}

/* ===== Bildverwaltung (Admin) ===== */
.image-management-box {
  max-width: 900px;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 15px;
}

.image-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.image-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
}

.image-info {
  margin-bottom: 12px;
}

.image-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 5px;
  word-break: break-word;
}

.image-info small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.image-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.btn-small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  border: 1px solid var(--primary);
  background: var(--bg-card);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  width: 100%;
  font-weight: 500;
}

.btn-small:hover {
  background: var(--primary);
  color: #fff;
}

.btn-danger {
  border-color: #d32f2f;
  color: #d32f2f;
}

.btn-danger:hover {
  background: #d32f2f !important;
  color: #fff !important;
  border-color: #d32f2f !important;
}

@media (max-width: 768px) {
  .image-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }

  .image-card img {
    height: 120px;
  }
}

/* ===== Scroll Animations ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

/* ===== THEME TOGGLE (PREMIUM) ===== */
.theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  position: relative;
  width: 56px;
  height: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 15px;
  overflow: hidden;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle .toggle-knob {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  height: 20px;
  width: 20px;
  position: absolute;
  left: 4px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
  z-index: 2;
}

:root.dark-mode .theme-toggle .toggle-knob {
  transform: translateX(28px);
  background: #f0f0f0;
}

.theme-toggle .toggle-icon {
  width: 14px;
  height: 14px;
  z-index: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.theme-toggle .icon-sun {
  margin-left: 4px;
  color: #ffcc33;
}

.theme-toggle .icon-moon {
  margin-right: 4px;
  color: #a5c3ff;
  opacity: 0.3;
}

:root.dark-mode .theme-toggle .icon-sun {
  opacity: 0.3;
  transform: scale(0.8);
}

:root.dark-mode .theme-toggle .icon-moon {
  opacity: 1;
  transform: scale(1);
}

/* ===== PREMIUM UI UPGRADES ===== */

.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  overflow: hidden;
  background: var(--primary);
  /* Fallback */
  background: linear-gradient(135deg, var(--primary) 0%, #001a33 100%);
  color: #fff;
  margin-top: -60px;
  /* Überlappung mit Header wenn gewünscht */
  padding-top: 160px;
}

/* Dunkelverlauf über dem Hintergrundbild für bessere Lesbarkeit */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero_bg.png?v=2.2');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  /* Subtiles Bild */
  z-index: 0;
  filter: brightness(0.7) contrast(1.1);
}

.hero > * {
  position: relative;
  z-index: 2; /* Über das Overlay heben */
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.25rem;
  opacity: 0.9;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

/* Glass Card für Dashboard & Login */
.premium-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  margin: 40px auto;
  animation: fadeIn 0.6s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Verfeinerung Buttons */
.btn {
  border-radius: 50px;
  /* Rundere Buttons für Premium-Look */
  padding: 14px 36px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: translateZ(0);
  /* GPU Beschleunigung */
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 102, 0, 0.3);
}

