:root {
  --nav-height: 7rem;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

/* Hauptbereich nimmt den restlichen Platz */
main {
  flex: 1;
  padding-top: var(--nav-height);
}

/* Footer bleibt ganz unten */
footer {
  text-align: center;
  padding: 2rem;
  background: #eee;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: #577a6a;
  text-decoration: underline;
  font-weight: 500;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  z-index: 999;
  border-bottom: 1px solid #ddd;
  height: var(--nav-height);
}

nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 4rem;
  text-align: center;
  background-color: #e6f0ec;
  background-image: url('images/portrait2.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #333;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.6); /* halbtransparentes Weiß */
  z-index: 0;
}

.hero * {
  position: relative;
  z-index: 1;
}

section:not(.split) {
  padding: 6rem 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}


section img {
  width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 8px;
}

.portrait {
  width: 300px;
  max-width: 90%;
  border-radius: 50%;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background-color: #577a6a;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 0.5rem 0;
  }
}

/* Scroll-Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cookie-Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #333;
  color: white;
  padding: 1rem;
  text-align: center;
  z-index: 1000;
}
#cookie-banner button {
  margin-left: 1rem;
  background: #fff;
  color: #333;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 3px;
}

/* Impressum Seite */
main.legal {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Impressum Styling */
main.legal {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  background-color: #fdfdfd;
  color: #222;
}

main.legal h1 {
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 4rem;
}

main.legal a.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.7rem 1.5rem;
  background-color: #577a6a;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}


.malen-section {
  padding: 6rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.malen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.malen-text {
  flex: 1 1 50%;
  min-width: 280px;
}

.malen-header-image {
  flex: 1 1 45%;
  min-width: 280px;
}

.malen-header-image img {
  width: 100%;
  border-radius: 8px;
  max-width: 480px;
  object-fit: cover;
}

.malen-gallery {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.malen-gallery img {
  flex: 1 1 30%;
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: auto;
}

.malen-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
  text-align: left;
}


@media (max-width: 768px) {
  .malen-header {
    flex-direction: column;
    text-align: center;
  }

  .malen-gallery {
    flex-direction: column;
    gap: 1rem;
  }

  .malen-gallery img {
    width: 100%;
  }
}

.uebermich-section {
  padding: 6rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.uebermich-top,
.uebermich-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.uebermich-text {
  flex: 1 1 50%;
  min-width: 280px;
}

.uebermich-image {
  margin-top: 25px;
  flex: 1 1 45%;
  min-width: 250px;
}

.uebermich-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin: auto;
}

@media (max-width: 768px) {
  .uebermich-top,
  .uebermich-bottom {
    flex-direction: column;
    text-align: center;
  }

  .uebermich-heading {
    text-align: center;
  }

  .uebermich-image img {
    max-width: 100%;
  }
}

/* Burger Menü Basis */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
}

.logo a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
}

.logo-img {
  height: 6rem;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}


.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  gap: 5px;
  z-index: 1001;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
}

/* Menü */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }

  .nav-container {
    position: relative;
    justify-content: space-between;
  }
}

/* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: zoom-out;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  cursor: default;
}


.reiki-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
  text-align: left;
}

.reiki-box h3 {
  margin-top: 2.5rem;
  color: #577a6a;
  font-size: 1.2rem;
}

.reiki-list {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.reiki-list p {
  position: relative;
  text-indent: -1.3em;
  padding-left: 1.3em;
  margin: 0.4em 0;
}

.contact-link {
  display: inline-block;
  margin: 0.5rem 0;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact-link.phone {
  background-color: #f0f7f5;
  color: #2d4a40;
}

.contact-link.mail {
  background-color: #eaf4ff;
  color: #2a4b73;
}

.contact-link:hover {
  background-color: #dcebe7;
  text-decoration: underline;
}
