/* === Grundlayout === */
body {
  margin: 0;
  padding: 0;
  background-color: #111;
  color: white;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

/* === Logo === */
.logo {
  display: block;
  margin: 20px auto 10px;
  width: 180px;
  height: auto;
}

/* === Header === */
header {
  background: linear-gradient(to right, #0066B3, #7A297B, #E0311D);
  padding: 30px 15px;
  text-align: center;
}

header h1 {
  margin-bottom: 10px;
}

header p {
  margin: 0;
  font-size: 16px;
}

/* === Navigation === */
nav {
  background-color: #1a1a1a;
  padding: 10px 0;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #E0311D;
}

/* === Startbild === */
.startbild-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  animation: fadeIn 1.2s ease-in;
}

.startbild-container img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 6px 12px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease-in-out;
}

.startbild-container img:hover {
  transform: scale(1.02);
}

.start-button {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
  animation: slideUp 1s ease-in-out;
}

.start-button a {
  display: inline-block;
  background: linear-gradient(to right, #0066B3, #7A297B, #E0311D);
  color: white;
  font-size: 18px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.start-button a:hover {
  transform: scale(1.05);
  box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.3);
}

/* === Kontaktformular === */
.kontakt-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px;
  background: #1b1b1b;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.kontakt-section h2 {
  text-align: center;
  color: #E0311D;
  margin-bottom: 40px;
  font-size: 26px;
}

.kontakt-formular {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  flex-direction: row;
  gap: 25px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-full {
  display: flex;
  flex-direction: column;
  text-align: left;
}

label {
  font-weight: bold;
  margin-bottom: 6px;
}

input,
select,
textarea {
  padding: 14px;
  font-size: 16px;
  background: #2a2a2a;
  color: white;
  border: 1px solid #444;
  border-radius: 6px;
}

textarea {
  resize: vertical;
}

.form-submit {
  text-align: center;
}

.form-submit button {
  padding: 14px 30px;
  font-size: 18px;
  background: linear-gradient(to right, #0066B3, #7A297B, #E0311D);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.form-submit button:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

#loader,
#erfolg,
#fehler {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}

/* === Checkbox DSGVO === */
.checkbox {
  font-size: 14px;
  color: #ccc;
}

.checkbox a {
  color: #66bfff;
  text-decoration: underline;
}

.checkbox a:hover {
  color: #E0311D;
}

/* === AGB Inhaltsverzeichnis === */
.agb-toc {
  background: #222;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.agb-toc h3 {
  color: #E0311D;
  margin-bottom: 10px;
}

.agb-toc ul {
  list-style: none;
  padding-left: 0;
}

.agb-toc li a {
  color: #66bfff;
  text-decoration: none;
  display: block;
  padding: 6px 0;
}

.agb-toc li a:hover {
  text-decoration: underline;
  color: #E0311D;
}

/* === AGB/Impressum/Datenschutz/Leistung Seitenstil === */
.agb-section,
.leistung-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px;
  color: #ccc;
  background-color: #181818;
  border-radius: 10px;
  line-height: 1.6;
}

.agb-section h2,
.agb-section h3,
.leistung-section h2 {
  color: #E0311D;
  margin-top: 30px;
}

.agb-section p,
.agb-section li {
  color: #ddd;
}

/* === WhatsApp Button – jetzt kleiner! === */
.whatsapp-float {
  position: fixed;
  width: 45px;
  height: 45px;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  transition: transform 0.2s ease-in-out;
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* === Footer === */
footer {
  background-color: #1a1a1a;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  margin-top: 40px;
}

/* === Animationen === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* === Responsive === */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .kontakt-section,
  .agb-section {
    padding: 20px;
    margin: 30px 10px;
  }

  .logo {
    width: 140px;
  }

  nav ul li {
    margin: 5px 10px;
  }

  .whatsapp-float {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }
}
