html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  font-size: 16px;
  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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
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;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}
.contact-actions p {
  margin: 0;
}
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 220px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.contact-actions a:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.whatsapp-link,
.action-link,
.email-link,
.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 220px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.whatsapp-link {
  background: #25D366;
  color: #fff;
}
.action-link {
  background: #1f7a5f;
  color: #fff;
}
.email-link {
  background: #3b82f6;
  color: #fff;
}
.instagram-link {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
}
.whatsapp-link:hover,
.action-link:hover,
.email-link:hover,
.instagram-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.whatsapp-link svg,
.action-link svg,
.email-link svg,
.instagram-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
#hero .hero-image {
  flex: 0 0 180px;
  max-width: 180px;
}
#hero .hero-image svg {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-position: center top;
  }

  header {
    padding: 12px 14px;
  }

  nav {
    gap: 8px;
    margin-top: 8px;
  }

  nav a {
    padding: 8px 10px;
    font-size: 0.95rem;
  }

  main {
    padding: 16px;
    max-width: 100%;
  }

  #hero {
    padding: 18px;
    gap: 18px;
    margin-bottom: 24px;
    justify-content: center;
    text-align: center;
  }

  #hero .hero-text h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.1;
  }

  #hero .hero-image {
    flex: 0 0 140px;
    max-width: 140px;
    margin: 0 auto;
  }

  #about h1,
  #services h1,
  #faq h1,
  #impressum h1,
  #datenschutz h1 {
    font-size: clamp(1.7rem, 6vw, 2.3rem);
  }

  .contact-actions {
    width: 100%;
    align-items: stretch;
    gap: 8px;
    margin-top: 12px;
  }

  .contact-actions a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: none;
    min-height: 52px;
    padding: 13px 16px;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
  }

  .contact-actions a:active {
    transform: scale(0.98);
  }

  .whatsapp-link,
  .action-link,
  .email-link,
  .instagram-link {
    width: 100%;
    max-width: none;
    min-height: 52px;
    padding: 13px 16px;
    font-size: 0.9rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
  }

  .whatsapp-link {
    background: #25D366;
  }

  .action-link {
    background: #1f7a5f;
  }

  .email-link {
    background: #3b82f6;
  }

  .instagram-link {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  }

  .whatsapp-link svg,
  .action-link svg,
  .email-link svg,
  .instagram-link svg {
    width: 16px;
    height: 16px;
  }

  .tabs {
    flex-wrap: wrap;
    gap: 6px;
  }

  .tab {
    padding: 8px 12px;
    font-size: 0.95rem;
  }

  input,
  textarea,
  select,
  button {
    font-size: 16px;
  }

  button {
    width: 100%;
    max-width: 100%;
  }
}

@supports (-webkit-touch-callout: none) {
  .contact-actions a {
    min-height: 48px;
    padding: 12px 14px;
  }
}
.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;
}
