:root {
  --ozeanblau: #006eb6;
  --babyblau: #63b9e9;
  --weiss: #ffffff;
  --grau: #f5f5f5;
  --schrift: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--schrift);
  background-color: var(--grau);
  color: #1e1e1e;
}

.container {
  display: flex;
  min-height: 100vh;
  overflow: hidden;
}

.sidebar {
  width: 350px; /* Fixiert wie gewünscht */
  background-color: var(--ozeanblau);
  color: var(--weiss);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  margin-top: 3rem;
}

.sidebar .logo {
  height: 80px;
  margin-bottom: 1.5rem;
}

.sidebar h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.sidebar-footer {
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 2rem;
}

.sidebar-footer p {
  margin: 0.3rem 0;
}

.form-area {
  margin-left: 350px;
  flex: 1;
  padding: 4rem 3rem;
  background-color: var(--weiss);
}

.form-area h2 {
  font-size: 1.8rem;
  color: var(--ozeanblau);
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 1rem;
  font-weight: 500;
}

input,
textarea,
select {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 0.3rem;
  font-size: 1rem;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--babyblau);
  outline: none;
  background-color: #f0faff;
}

.form-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

button {
  background-color: var(--babyblau);
  color: var(--weiss);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: var(--ozeanblau);
}

/* Fortschrittsbalken */
.progress-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step {
  width: 35px;
  height: 35px;
  background-color: #ccc;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  font-weight: bold;
  transition: background-color 0.4s ease;
}

.step-active {
  background-color: var(--babyblau);
  box-shadow: 0 0 10px rgba(99, 185, 233, 0.8);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 185, 233, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(99, 185, 233, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 185, 233, 0);
  }
}

/* Responsive: Tablet + Mobile */
@media (max-width: 960px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1rem 2rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .sidebar-content {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 0;
  }

  .sidebar .logo {
    height: 50px;
    margin-bottom: 0;
  }

  .sidebar h1 {
    font-size: 1.4rem;
    margin: 0;
  }

  .sidebar-footer {
    display: none; /* Footer unten wird eingeblendet */
  }

  .form-area {
    width: 100%;
    margin-left: 0;
    padding: 2rem 1.5rem;
  }

  .form-buttons {
    justify-content: center;
  }

  footer.mobile-footer {
    display: block;
    background-color: var(--ozeanblau);
    color: var(--weiss);
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
  }

  footer.mobile-footer p {
    margin: 0.3rem 0;
  }
}

@media (min-width: 961px) {
  footer.mobile-footer {
    display: none;
  }
}

.checkbox-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.checkbox-label {
  display: block;
  font-weight: 500;
  line-height: 1.5;
}
/* Hauptcontainer zentriert */
.confirmation-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--babyblau), var(--ozeanblau));
  padding: 2rem;
}

/* Weiße Box */
.confirmation-card {
  background-color: var(--weiss);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  max-width: 480px;
  width: 100%;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon-Kreis */
.checkmark-circle {
  width: 80px;
  height: 80px;
  background-color: #dff6ea;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  animation: popIn 0.6s ease forwards;
}

.checkmark {
  font-size: 2.5rem;
  color: #2ecc71;
  font-weight: bold;
}

@keyframes popIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Text-Elemente */
.confirmation-card h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--ozeanblau);
}

.confirmation-card p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #333;
}

/* Button */
.confirmation-card .button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--babyblau);
  color: var(--weiss);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.confirmation-card .button:hover {
  background-color: var(--ozeanblau);
}

/* Responsive */
@media (max-width: 600px) {
  .confirmation-card {
    padding: 2rem 1.25rem;
  }

  .confirmation-card h1 {
    font-size: 1.5rem;
  }

  .confirmation-card p {
    font-size: 1rem;
  }

  .checkmark-circle {
    width: 65px;
    height: 65px;
  }

  .checkmark {
    font-size: 2rem;
  }

  .confirmation-card .button {
    width: 100%;
    padding: 0.75rem;
  }
}
