:root {
  --violett: #6a0dad;
  --gold: #f1c40f;
  --weiß: #ffffff;
  --dunkel: #1e1e1e;
  --hellgrau: #f9f9f9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: var(--hellgrau);
  color: var(--dunkel);
  scroll-behavior: smooth;
}

/* Fixierter Zirkel oben links */
.hero-section {
  position: relative; /* wichtig für absolute Kind-Positionierung */
  height: 50vh;
  background: url('/images/haus.jpg') center center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 0;
}

.hero-zirkel {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 1;
}

.hero-zirkel img {
  width: 80px;
  height: auto;
  opacity: 1;
}



.hero-text {
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 12px;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.hero-text p {
  font-size: 1.2rem;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  justify-content: center;
  background: var(--violett);
  gap: 2rem;
  padding: 1rem;
}
.main-nav a {
  color: var(--weiß);
  text-decoration: none;
  font-weight: bold;
}
.main-nav a:hover {
  text-decoration: underline;
}

.textpage {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
  color: #222;
  line-height: 1.7;
}
.textpage article {
  margin-bottom: 4rem;
}
.textpage h2 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
  text-align: center;
}
.textpage h3 {
  font-size: 1.75rem;
  color: var(--violett);
  color: #444;
  margin-bottom: 1rem;
}
.textpage p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.section-image {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.section-image h3{
  color: var(--violett);
}

.section-image.reverse {
  flex-direction: row-reverse;
}
.section-image img {
  flex: 1 1 300px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  max-width: 100%;
}

.image-crop {
  width: 100%;
  height: 800px; /* oder eine andere gewünschte Höhe */
  overflow: hidden;
  border-radius: 12px;
}

.image-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
}



.section-image .text {
  flex: 2 1 400px;
}

.fullwidth-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .section-image {
    flex-direction: column !important;
  }
  .section-image img,
  .section-image .text {
    flex: 1 1 100%;
  }
}

/* CTA (weiß statt violett) */
.cta-section.white {
  background: var(--weiß);
  color: var(--dunkel);
  text-align: center;
  padding: 3rem 2rem;
}
.cta-section.white h2 {
  color: var(--violett);
  font-size: 2rem;
  margin-bottom: 1em;
}

/* FOOTER */
footer {
  text-align: center;
  background: var(--violett);
  color: var(--weiß);
  padding: 2rem 1rem;
}
footer a {
  color: var(--gold);
  text-decoration: underline;
}


.impressum {
  background: var(--weiß);
  padding: 3rem 2rem;
  color: var(--dunkel);
  border-top: 1px solid #ccc;
}
.impressum h2 {
  color: var(--violett);
  text-align: center;
  margin-bottom: 1.5rem;
}
.impressum p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
