/* body {
    margin: 0;
    font-family: sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100vh;
} */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-image: url("../images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  color: #f9fafb;
  min-height: 100vh;
}

.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #222;
    color: white;
    padding: 10px 20px;
    z-index: 10;
}

.card {
    padding: 20px;
    background: #121212;
    color: rgb(245, 227, 227);
}

.card-text a {
  color: #93c5fd;
  text-decoration: underline;
  font-weight: 600;
}

.card-text a:hover {
  color: #bfdbfe;
}

.carousel-container {
    position: relative;
    margin-top: 0px; /* Höhe der Topbar */
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.content {
    flex: 1;
    overflow-y: auto;
    background: #f0f0f0;
    padding: 0px;
}

.textblock {
    padding: 20px;
    background: #222;
    color: white;
}

.tabs-container {
    padding: 20px;
    background: #222;
}

.tabs {
    color: white;
    text-decoration: none;
    border: 2px solid black;
    padding: 10px;
    display: inline-block;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tabs:hover {
    font-size: 24px;
    color: white;
    background-color: #707070;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.contact-section {
  max-width: 760px;
  margin: 4rem auto;
  padding: 2.5rem;
  background: #1f2937;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.contact-section h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2.4rem;
}

.contact-section p {
  margin-bottom: 2rem;
  color: #d1d5db;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.4rem;
  font-weight: bold;
  color: #f3f4f6;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #4b5563;
  border-radius: 10px;
  background: #111827;
  color: #f9fafb;
  font: inherit;
}

.form-group textarea {
  min-height: 170px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

.form-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 1rem;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 10px;
  color: #d1d5db;
}

.form-check input {
  width: auto;
  margin-top: 0.25rem;
}

.form-check label {
  margin: 0;
  line-height: 1.5;
}

button,
.submit-button {
  align-self: flex-start;
  width: auto;
  padding: 0.9rem 1.4rem;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: white;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
}

button:hover,
.submit-button:hover {
  background: #1d4ed8;
}

.honeypot {
  display: none;
}

@media (max-width: 800px) {
  .contact-section {
    margin: 1rem;
    padding: 1.5rem;
  }

  button,
  .submit-button {
    width: 100%;
  }
}

.legal-page {
  min-height: 100vh;
  padding: 4rem 1rem;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem;
  background: #1f2937;
  color: #f9fafb;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.legal-card h1 {
  margin-top: 0;
  font-size: 2.4rem;
}

.legal-card h2 {
  margin-top: 2rem;
  color: #ffffff;
}

.legal-card p,
.legal-card li {
  line-height: 1.7;
  color: #d1d5db;
}

.legal-card a {
  color: #93c5fd;
}

.legal-card a:hover {
  color: #bfdbfe;
}

.form-check a {
  color: #93c5fd;
  text-decoration: underline;
  font-weight: 600;
}

.form-check a:hover {
  color: #bfdbfe;
}

.back-button {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid #4b5563;
  border-radius: 10px;
  background: #111827;
  color: #f9fafb;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
}

.back-button:hover {
  background: #374151;
  border-color: #60a5fa;
  color: #ffffff;
  transform: translateY(-1px);
}