html {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  background: url("logo1.png") no-repeat center center fixed;
  background-size: contain;
  background-color: #fafafa;
  color: #222;
}
header {
  background: #fff;
  padding: 16px 24px;
  border-bottom: 1px solid #e1e1e1;
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
nav a {
  color: #333;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
}
nav a:hover {
  background: #f2f2f2;
}

main {
  flex: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 24px;
}
#hero {
  display: flex;
  align-items: center;
  gap: 24px;
  background: transparent;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
#hero .hero-text {
  flex: 1 1 320px;
}
#hero .hero-text h1 {
  font-size: 4rem;
  line-height: 1.05;
  margin: 0 0 16px;
}
#about h1 {
  font-size: 3rem;
  margin: 0 0 16px;
}
#hero .hero-image {
  flex: 0 0 180px;
  max-width: 180px;
}
#hero .hero-image svg {
  width: 100%;
  height: auto;
  display: block;
}
.tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0;
  border-bottom: 1px solid #d6d6d6;
}
.tab {
  padding: 10px 16px;
  color: #333;
  background: #f3f3f3;
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
}
.tab.active {
  background: #fff;
  border-color: #d6d6d6;
  border-bottom-color: #fff;
  font-weight: 700;
}
form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
input, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
}
button {
  width: fit-content;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  background: #1f7a5f;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}
button:hover {
  background: #195f4d;
}
button:disabled {
  background: #aaa;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Formular Nachrichten */
.form-message {
  padding: 14px 16px;
  margin: 16px 0;
  border-radius: 6px;
  border-left: 4px solid #ccc;
  animation: slideIn 0.3s ease-out;
}

.form-message p {
  margin: 0;
  font-size: 0.95rem;
}

.form-message ul {
  margin: 10px 0 0 0;
  padding-left: 20px;
}

.form-message li {
  margin: 4px 0;
}

.form-message-success {
  background-color: #d4edda;
  color: #155724;
  border-color: #4caf50;
}

.form-message-success p {
  color: #155724;
  font-weight: 500;
}

.form-message-error {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

.form-message-error p {
  color: #721c24;
  font-weight: 500;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  text-align: center;
  padding: 18px 24px;
  background: #fff;
  border-top: 1px solid #e1e1e1;
}
