html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main-content-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
footer {
  flex-shrink: 0;
}
/* main.layout.css */

.value-card:nth-child(1) { animation-delay: 0ms; }
.value-card:nth-child(2) { animation-delay: 150ms; }
.value-card:nth-child(3) { animation-delay: 300ms; }
.value-card:nth-child(4) { animation-delay: 450ms; }
.stat-item:nth-child(1) { animation-delay: 0ms; }
.stat-item:nth-child(2) { animation-delay: 100ms; }
.stat-item:nth-child(3) { animation-delay: 200ms; }
.stat-item:nth-child(4) { animation-delay: 300ms; }
.stat-item:nth-child(5) { animation-delay: 400ms; }
.stat-item:nth-child(6) { animation-delay: 500ms; }
.time-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.activity-entry {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  border-left: 3px solid var(--accent-primary);
  transition: all 0.3s ease;
}
.activity-entry:hover {
  background: rgba(99, 102, 241, 0.05);
  transform: translateX(4px);
}
a:hover {
  color: var(--accent-secondary);
}
.gradient-text {
  color: var(--text-primary);
  /* Entfernung des Farbverlaufs */
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
  transition: all 0.3s ease;
}
.stat-item:hover .stat-icon {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 6px 12px rgba(99, 102, 241, 0.5));
}
.stat-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}
.stat-item:hover .stat-description {
  opacity: 1;
  color: var(--accent-primary);
}
.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
  border-color: var(--accent-primary);
}
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.value-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}
.value-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.value-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.stat-item.animate-in {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInScale 0.6s ease forwards;
}
.time-display {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.status-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.activity-time {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
  min-width: 60px;
  font-weight: 600;
}
.activity-message {
  color: var(--text-primary);
  font-size: 0.9rem;
  flex: 1;
}
.notification {
  position: fixed;
  top: 80px;
  right: -400px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 400px;
  z-index: 1002;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.notification.show {
  right: 1rem;
}
.notification-success {
  border-left: 4px solid #28a745;
}
.notification-info {
  border-left: 4px solid var(--accent-primary);
}
.notification-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.notification-message {
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: #4A89DC;
  color: white;
  border: 2px solid #4A89DC;
  box-shadow: 0 4px 15px rgba(74, 137, 220, 0.3);
}
.btn-primary:hover {
  background: transparent;
  border-color: #3a70b9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 137, 220, 0.4);
}
.btn-secondary {
  background: transparent;
  color: #4A89DC;
  border: 2px solid #4A89DC;
}
.btn-secondary:hover {
  background: #4A89DC;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 137, 220, 0.3);
}
.time-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 140px;
  justify-content: center;
}
.check-in-btn {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.check-in-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}
.check-out-btn {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  display: none;
}
.check-out-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}
.export-btn {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.export-btn:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: translateY(-1px);
}
.main-content {
  margin-top: 70px;
}
.section {
  padding: 4rem 0;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.section-title {
  text-align: center !important;
  margin: 0 auto 3rem auto;
  width: 100%;
  display: block;
}
.section-subtitle {
  text-align: center !important;
  color: var(--text-secondary);
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  width: 100%;
  max-width: 800px;
  display: block;
  line-height: 1.6;
}
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px var(--shadow);
  /* Transition nur für Hover-Effekte */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow);
}

.card-icon {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.card-title {
  color: var(--accent-primary) !important;
  margin: 5 0 0 0;
  font-size: 1.5rem !important;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
  position: relative;
  letter-spacing: -0.5px;
}
.card-text {
  color: var(--text-secondary);
}

.card-text-solution {
  margin-top: 1rem;
  padding: 0.5rem;
  background: var(--bg-tertiary);
  border-radius: 4px;
}

.card-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  opacity: 0.1;
  transition: opacity 0.3s ease;
}
.card-content {
  padding: 0 2rem 2rem 2rem;
}
.card-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 24px;
}.value-card {
  background: var(--bg-secondary);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  /* Initial animation state */
  opacity: 0;
  transform: translateY(30px);
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.value-card:hover::before {
  transform: scaleX(1);
}
.value-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.value-card:hover::after {
  width: 300px;
  height: 300px;
}
.value-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
  border-color: var(--accent-primary);
}
.value-card:hover .value-icon {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 8px 16px rgba(99, 102, 241, 0.4));
}
.value-card:hover .value-title {
  color: var(--accent-primary);
}
.value-card:hover .value-description {
  color: var(--text-primary);
}
.value-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.flash-messages {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  max-width: 500px;
  width: 90%;
}
.flash-messages::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
  opacity: 0;
  animation: fadeInBackdrop 0.3s ease forwards;
}
.flash-message {
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: slideInCenter 0.4s ease;
  font-size: 1.1rem;
  line-height: 1.4;
}
.flash-success {
  background: #d4edda;
  color: #155724;
  border: 2px solid #28a745;
}
.flash-error {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #dc3545;
}
.flash-warning {
  background: #fff3cd;
  color: #856404;
  border: 2px solid #ffc107;
}
.flash-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}
.flash-close:hover {
  opacity: 1;
}

/* Print Media Query */
@media print {
  .flash-messages {
    display: none;
  }
}
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1rem;
  /* Transition nur für Focus-Effekt */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
}
.checkbox-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
.stat-label {
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
@keyframes fadeInBackdrop{
to {
    opacity: 1;
  }
}
@keyframes slideInCenter{
from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes fadeOut{
from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}
@keyframes slideIn{
from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeInUp{
from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInScale{
from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideInLeft{
from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight{
from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes pulse{
0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes shimmer{
0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes orbit{
0% {
    transform: translateX(0px) translateY(0px);
  }
  25% {
    transform: translateX(2px) translateY(-1px);
  }
  50% {
    transform: translateX(0px) translateY(-2px);
  }
  75% {
    transform: translateX(-2px) translateY(-1px);
  }
  100% {
    transform: translateX(0px) translateY(0px);
  }
}
@keyframes orbitReverse{
0% {
    transform: translateX(0px) translateY(0px);
  }
  25% {
    transform: translateX(-1px) translateY(-2px);
  }
  50% {
    transform: translateX(0px) translateY(-3px);
  }
  75% {
    transform: translateX(1px) translateY(-2px);
  }
  100% {
    transform: translateX(0px) translateY(0px);
  }
}
@keyframes orbitSlow{
0% {
    transform: translateX(0px) translateY(0px);
  }
  25% {
    transform: translateX(3px) translateY(-2px);
  }
  50% {
    transform: translateX(0px) translateY(-4px);
  }
  75% {
    transform: translateX(-3px) translateY(-2px);
  }
  100% {
    transform: translateX(0px) translateY(0px);
  }
}
/* Mobile Responsiveness für Section Titles */@keyframes smoothFadeIn{
0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   CTA SECTION CLASSES
   ======================================== */

/* CTA Section Container */
.cta-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

/* CTA Title */
.cta-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center !important;
}

/* CTA Subtitle */
.cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}