body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
}

h1, h2, h3 {
  font-family: 'Lato', sans-serif;
  font-size: 22.0px;
  font-weight: 300;
}

p {
  font-family: 'Lato', sans-serif;
  font-size: 17.0px;
  font-weight: 300;
}

header {
  background: #216477;
  padding: 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
}

main {
  padding: 2rem;
}

footer {
  background: #f2f2f2;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Logo positioned with vertical spacing */
.svg-logo {
  height: 25vh;
  width: auto;
  margin-top: 10rem;
}

.svg-logo svg path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  /*animation: none;*/
  stroke: white;
  fill: transparent;
  stroke-width: 0.25; /* Add this line */
  transition: fill 1s ease-in-out;
}

.fill-in svg path {
  fill: white;
  transition: fill 1s ease-in-out;
}

.hero {
  background: url('/assets/images/lieblingsbild.jpg') center center / cover no-repeat;
  height: 400px;
}

.background {
  background: url('/assets/images/schervin_altmann2.jpg') center center / cover no-repeat fixed;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.segment {
  min-height: 100vh;
  padding: 4rem 2rem;
  box-sizing: border-box;
}

.segment.white {
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;
}

.segment.blue {
  background-color: rgba(33, 100, 119, 0.85);
}

.segment.black {
  background-color: rgba(0, 0, 0, 0.7);
}

.segment.transparent {
  background-color: rgba(0, 0, 0, 0.0);
}

#intro {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem; /* space for fixed icon + nav */
  box-sizing: border-box;
}

/* Centered nav text at top of section */
.intro-nav {
  margin-bottom: 2rem;
  text-align: center;
}

.scroll-nav {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15;
  text-decoration: none;
  color: #fff;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  letter-spacing: 0.1em;
}

.scroll-nav:hover {
  background: #fff;
  color: #216477;
}

.nav-icon {
  width: 30px;
  height: auto;
  filter: brightness(0) invert(1); /* Make white if it's a dark SVG */
  transition: transform 0.3s ease;
}

.intro-nav:hover .nav-icon {
  transform: scale(1.1);
}

/* Menu Icon in top-left corner, fixed on screen */
/* Fixed top-left menu icon */
.menu-icon {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 33px;
  height: auto;
  cursor: pointer;
  z-index: 1001;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 100, 119, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.menu-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu-overlay li {
  margin: 1.5rem 0;
}

.menu-overlay a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s ease;
}

.menu-overlay a:hover {
  color: #fffdd0;
}

/* ---------- Leistungen Section Styles ---------- */

#claim {
  padding: 4rem 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  color: #000;
}

.claim-text-block {
  max-width: 50%;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
}

.claim-text-block p {
  margin-bottom: 2rem;
  font-size: 17px;
}

.claim-text-block p strong {
  font-weight: bold;
}

.claim-text-block.quote {
  font-family: 'Lato', sans-serif;
  font-size: 21px;
  margin-top: 3rem;
  color: #333;
  text-transform: uppercase;
  width: 75%;
}

.claim-logo {
  margin-top: 2rem;
}

.claim-logo img {
  width: 215px;
  height: auto;
}

/* Optional animation for "fade-in" paragraph */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Animated Background Styles ---------- */
.background-slideshow {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s ease-in-out, visibility 0s linear 2s;
  z-index: 0;
}

.bg-image.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 2s ease-in-out, visibility 0s;
  z-index: 1;
}

/* --- Responsive Leistungen Grid --- */

/* Wider container for the section */
.claim-text-block {
  max-width: 1400px; /* was 800px before */
  margin: 0 auto;
  padding: 0 2rem;
}

/* Grid container */
.claim-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 1s ease-out forwards;
}

/* Trigger the animation with a class */
.animate-columns .claim-grid {
  animation-delay: 0.3s;
}

/* Individual column animation (optional stagger) */
.claim-col {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 0.8s ease-out forwards;
}

.claim-col:nth-child(1) { animation-delay: 0.3s; }
.claim-col:nth-child(2) { animation-delay: 0.6s; }
.claim-col:nth-child(3) { animation-delay: 0.9s; }

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive: switch to 3 columns */
@media (min-width: 900px) {
  .claim-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Hero Section ---------- */

.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url('/assets/images/lieblingsbild.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
  box-sizing: border-box;
}

.hero-content p {
  margin: 0.5rem 0;
}

.hero-line-1 {
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-line-2 {
  font-size: 20px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 5.0;
}

.hero-signature {
  font-family: 'Parisienne', cursive;
  font-size: 27px;
  margin-top: 2rem;
  opacity: 0.5;
}

/* Responsive typography */
@media (max-width: 768px) {
  .hero-line-1,
  .hero-line-2 {
    font-size: 1.4rem;
  }

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

/* ---------- About Section ---------- */

#about {
  padding: 4rem 2rem;
  background-color: rgba(33, 100, 119, 0.9);
  color: #fff;
}

.about-text-block {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.about-heading {
  /*font-size: 2rem;*/
  margin-bottom: 1rem;
}

.about-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.about-logo {
  width: 50px;
  height: auto;
}

/* Responsive grid for paragraphs */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 1s ease-out forwards;
}

.animate-columns .about-grid {
  animation-delay: 0.3s;
}

.about-col {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 0.8s ease-out forwards;
}

.about-col:nth-child(1) { animation-delay: 0.3s; }
.about-col:nth-child(2) { animation-delay: 0.6s; }
.about-col:nth-child(3) { animation-delay: 0.9s; }

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional anchor helper */
.scroll-anchor {
  display: block;
  height: 0;
  visibility: hidden;
}

/* ---------- Contact Section ---------- */

#contact {
  background-color: rgba(255, 255, 255, 0.85);
  color: #000;
  padding: 4rem 2rem;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-col {
  font-size: 1rem;
  line-height: 1.6;
}

.contact-col a {
  color: #fff;
  text-decoration: none;
}

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

/* Icon row */
.contact-icons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.contact-icons img {
  width: 24px;
  height: 24px;
  filter: none
  transition: transform 0.2s ease;
}

.contact-icons img:hover {
  transform: scale(1.1);
}

/* Decorative SVG at bottom */
.contact-decoration {
  margin-top: 3rem;
}

.contact-decoration img {
  width: 300px;
  height: auto;
}

/* Responsive layout: 2 cols on wide */
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 3x3 Contact Grid ---------- */

.contact-grid-3x3 {
  display: grid;
  grid-template-columns: auto 40px auto;
  gap: 1rem 1.5rem;
  justify-content: center;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  margin-top: 2rem;
}

.contact-cell {
  font-size: 1rem;
  color: #000;
}

.contact-cell a {
  color: #000;
  text-decoration: none;
}

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

.contact-cell.icon img {
  width: 24px;
  height: 24px;
  filter: none;
}

.contact-circle-image {
  position: relative;
  width: 160px; /* or responsive value */
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 2rem auto; /* centers it */
  display: block;
}

.circle-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* scales and centers the image inside */
  object-position: center; /* centers image inside the circle */
  transition: opacity 0.6s ease-in-out;
}

.img-default {
  opacity: 1;
  z-index: 1;
}

.img-hover {
  opacity: 0;
  z-index: 2;
}

.contact-circle-image:hover .img-hover {
  opacity: 1;
}

.contact-circle-image:hover .img-default {
  opacity: 0;
}

/* ---------- Artverwandt Section ---------- */

.artverwandt {
  background-color: rgba(33, 100, 119, 0.9);
  text-align: center;
  padding: 3rem 2rem;
  color: #fff;
}

.artverwandt-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.artverwandt-tagline {
  font-size: 9px;
  color: #fff;
  text-transform: uppercase;
  opacity: 0.5;
}

.artverwandt-logo-link {
  display: inline-block;
  transition: transform 0.2s ease;
}

.artverwandt-logo-link:hover {
  transform: scale(1.05);
}

.artverwandt-logo {
  width: 80px;
  height: auto;
  opacity: 0.5;
}

/* ---------- Go to top ---------- */

.go-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: none; /*block;*/
  width: 40px;
  height: 40px;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.go-to-top:hover {
  opacity: 1;
  transform: scale(1.1);
}

.go-to-top img {
  width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

#lightgallery {
  column-count: 3;
  column-gap: 1rem;
  padding: 2rem;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  break-inside: avoid;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Responsive fallback */
@media (max-width: 900px) {
  #lightgallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  #lightgallery {
    column-count: 1;
  }
}

