/* ======================
   Allgemeine Einstellungen
====================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ======================
   Header
====================== */
.header {
  background: #1a1a1a;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 40px;
}

nav a {
  margin-left: 20px;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #ff8c00;
}

/* ======================
   Hero-Bereich
====================== */
.hero {
  position: relative;
  background: url('../images/hero.jpg') center/cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.btn {
  background: #ff8c00;
  color: white;
  padding: 14px 25px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #e67e00;
}

/* ======================
   Abschnittstitel
====================== */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #1a1a1a;
}

/* ======================
   Grid & Karten
====================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.card img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}

.card h3 {
  margin: 15px;
  font-size: 1.2rem;
  color: #1a1a1a;
}

.card p {
  margin: 0 15px 15px;
  color: #555;
  flex-grow: 1;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ======================
   Call to Action
====================== */
.cta {
  background: #ff8c00;
  color: white;
  text-align: center;
  padding: 50px 20px;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* ======================
   Kontaktformular
====================== */
.contact-form {
  max-width: 600px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background: #ff8c00;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #e67e00;
}

/* ======================
   WhatsApp Button
====================== */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  font-weight: bold;
  z-index: 1000;
  transition: transform 0.2s;
}

.whatsapp:hover {
  transform: scale(1.05);
}

/* ======================
   Footer
====================== */
footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* ======================
   Iframes (Google Maps)
====================== */
iframe {
  border: 0;
  border-radius: 10px;
}

/* ======================
   Responsive
====================== */
@media(max-width:1024px){
  .hero {
    height: 400px;
  }
}

@media(max-width:768px){
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media(max-width:480px){
  .hero h1 {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: 0 15px;
  }

  .btn {
    padding: 12px 20px;
  }

  .grid {
    grid-template-columns: 1fr; /* Karten untereinander auf Handy */
    gap: 20px;
  }
}





/* Forum Teaser Box – auffällige Variante */
.forum-teaser {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px 25px 25px 15px;
  margin-top: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  border-left: 8px solid #0072bc; /* farbiger Balken links */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: Arial, sans-serif;
}

.forum-teaser:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.forum-teaser .icon {
  font-size: 35px;
  flex-shrink: 0;
  background-color: #0072bc;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forum-teaser h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.9em;
  color: #0072bc;
}

.forum-teaser p {
  margin: 0 0 15px 0;
  font-size: 1.1em;
  line-height: 1.5;
}

.forum-teaser a {
  display: inline-block;
  padding: 12px 25px;
  background-color: #0072bc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.forum-teaser a:hover {
  background-color: #005a99;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
  .forum-teaser {
    flex-direction: column;
    text-align: center;
    align-items: center;
    border-left: none;
    border-top: 8px solid #0072bc; /* Balken oben auf mobile */
  }

  .forum-teaser .icon {
    font-size: 50px;
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
}