:root {
  --violett: #932393;
  --lavendel: #AB76AB;
  --petrol: #23857E;
  --creme: #E5E4D0;
  --offwhite: #F7F5F0;
  --text: #2F3A2F;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Merriweather", serif;
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

.container { width: min(1100px, 90%); margin: auto; }

/* ─── HEADER ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  background: var(--offwhite);
  border-bottom: 1px solid #ddd;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 125px;
  padding: 0.6rem 0;
}

.logo img {
  height: 110px;
  width: auto;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav a {
  margin-left: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--violett);
}

.nav a.active {
  color: var(--petrol);
  border-bottom: 2px solid var(--petrol);
}

/* Wenn der URL-Hash #leistungen ist, soll der Nav-Link "Leistungen" wie active aussehen */
body:has(#leistungen:target) .nav a[href="index.html#leistungen"] {
  color: var(--petrol);
  border-bottom: 2px solid var(--petrol);
}

/* ...und "Start" soll dann wieder wie ein normaler Menüpunkt aussehen */
body:has(#leistungen:target) .nav a[href="index.html"].active {
  color: var(--text);
  border-bottom: none;
}

.nav .btn-outline {
  border: 2px solid var(--violett);
  color: var(--violett);
  padding: 0.45rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav .btn-outline:hover {
  background: var(--lavendel);
  color: #fff;
  border-color: var(--lavendel);
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  background: var(--lavendel);
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: filter 0.2s ease;
}

.btn:hover { filter: brightness(0.92); }

.btn.btn-outline {
  background: transparent;
  border: 2px solid var(--violett);
  color: var(--violett);
}

.btn.btn-outline:hover {
  background: var(--lavendel);
  color: #fff;
  border-color: var(--lavendel);
  filter: none;
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--creme), #fff 60%);
  padding: 3.5rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-size: 2rem;
  color: var(--petrol);
}

.claim {
  font-weight: 300;
  font-style: italic;
  color: var(--violett);
  font-size: 1.2rem;
  margin: 0.2rem 0;
}

.sub {
  color: var(--violett);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.hero-figure img {
  border-radius: 12px;
  width: 100%;
}

/* ─── GALERIE KARUSSELL ───────────────────────────────── */
.gallery-section {
  padding: 2rem 0;
  background: var(--creme);
  overflow: hidden;
}

.gallery-swiper {
  width: 100%;
  padding-bottom: 3rem; /* Platz für Pagination-Punkte */
}

.gallery-swiper .swiper-slide {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Pfeil-Farben anpassen */
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
  color: var(--violett);
}

.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover {
  color: var(--petrol);
}

/* Pagination-Punkte */
.gallery-swiper .swiper-pagination-bullet {
  background: var(--lavendel);
  opacity: 0.6;
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--violett);
  opacity: 1;
}

/* ─── SECTIONS ────────────────────────────────────────── */
.section { padding: 3rem 0; }

.section.light { background: var(--creme); }

.section.brand { background: rgba(35, 133, 126, 0.12); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.section h2 {
  color: var(--petrol);
  margin-top: 0;
}

.section h3 { color: var(--violett); }

blockquote {
  border-left: 4px solid var(--lavendel);
  padding-left: 1rem;
  color: var(--violett);
  font-style: italic;
  margin: 1.5rem 0;
}

.icons { padding-left: 0; }

.icons li {
  list-style: none;
  margin: 0.4rem 0;
  padding-left: 0.2rem;
}

.icons li::before {
  content: "♥ ";
  color: var(--lavendel);
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin: 1.2rem 0;
}

.price {
  color: var(--violett);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ─── LOGOS ───────────────────────────────────────────── */
.logos-headline {
  text-align: center;
  color: var(--lavendel);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 2rem;
}

.logos .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.logos img {
  max-height: 100px;
  margin: auto;
  transition: transform 0.2s ease;
}

.logos img:hover { transform: scale(1.05); }

/* ─── GRID-3 (allgemein) ──────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ─── KONTAKT ─────────────────────────────────────────── */
.contact-intro {
  font-style: italic;
  color: var(--lavendel);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 800px;
}

.contact h3 { color: var(--lavendel); font-size: 1.1rem; }

.contact a {
  color: var(--petrol);
  text-decoration: none;
  font-weight: 700;
}

.contact a:hover { text-decoration: underline; }

/* ─── CTA BLOCK ───────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: 2.5rem 1rem;
  background: rgba(35, 133, 126, 0.08);
  border-radius: 12px;
  margin: 2rem 0;
}

.cta-block h2, .cta-block h3 {
  color: var(--violett);
  margin-top: 0;
}

.cta-block p {
  color: var(--lavendel);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ─── ZERTIFIKAT REIHE ────────────────────────────────── */
.zertifikat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.zertifikat-row img {
  border-radius: 10px;
  max-height: 280px;
  width: auto;
  margin: auto;
}

/* ─── PROZESS-LISTE ───────────────────────────────────── */
.process-list {
  padding-left: 0;
  counter-reset: step;
}

.process-list li {
  list-style: none;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid var(--lavendel);
  position: relative;
}

.process-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--lavendel);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.process-list li strong {
  display: block;
  color: var(--petrol);
  margin-bottom: 0.3rem;
}

/* ─── HERO LABEL ──────────────────────────────────────── */
.hero-label {
  font-size: 2rem;
  color: var(--violett);
  font-weight: 700;
  margin: 0 0 0.8rem;
}

/* ─── FAQ KARTEN ──────────────────────────────────────── */
.faq-card {
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid var(--lavendel);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
}

.faq-card h3 {
  color: var(--petrol);
  margin-top: 0;
  font-size: 1rem;
}

.faq-card h3::before {
  content: "♥ ";
  color: var(--lavendel);
}

.faq-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

/* ─── KONTAKTFORMULAR ─────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: "Merriweather", serif;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--lavendel);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form label {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.2rem;
  display: block;
}

.contact-form .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
}

.contact-form .checkbox-row input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-form .btn {
  align-self: flex-start;
  background: var(--violett);
}

.contact-form .btn:hover {
  filter: brightness(0.9);
}

/* ─── HERO HINTERGRUNDBILD ────────────────────────────── */
.hero-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  color: #fff;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-bg .container {
  position: relative;
  z-index: 1;
}

.hero-bg h1 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-bg .claim {
  color: var(--lavendel);
}

/* ─── LEGAL PAGES ─────────────────────────────────────── */
.legal-section {
  background: var(--creme);
  padding: 3rem 0;
}

.legal-hero {
  background: var(--petrol);
  padding: 3rem 0;
  text-align: center;
}

.legal-hero h1 {
  color: #fff;
  margin: 0;
  font-size: 2.5rem;
}

.legal-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--lavendel);
}

.legal-card h2 {
  color: var(--petrol);
  margin-top: 0;
  font-size: 1.2rem;
}

.legal-card h3 {
  color: var(--violett);
  font-size: 1rem;
}

.legal-card a {
  color: var(--petrol);
  word-break: break-all;
}

.legal-card p,
.legal-card li {
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-card .uppercase-block {
  font-size: 0.85rem;
  line-height: 1.8;
  background: var(--creme);
  padding: 1rem;
  border-radius: 6px;
}

/* Bildnachweise */
.bildnachweis-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--lavendel);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bildnachweis-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.bildnachweis-card::before {
  content: "♥";
  color: var(--lavendel);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.bildnachweis-card a {
  color: var(--petrol);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.bildnachweis-card a:hover {
  text-decoration: underline;
}

/* ─── FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--petrol);
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer a {
  color: #fff;
  margin-left: 1.2rem;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner,
  .two-col,
  .logos .grid-3,
  .grid-3,
  .zertifikat-row,
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav { display: none; }

  .header-inner { min-height: 80px; }

  .logo img { height: 56px; }

  .gallery-swiper .swiper-slide {
    aspect-ratio: 4/3;
  }
}

@media (max-width: 640px) {
  .logo img { height: 48px; }
  .hero h1 { font-size: 1.5rem; }
  .legal-hero h1 { font-size: 1.8rem; }
}
