/* ---------------------------------
   Base / Global
---------------------------------- */
@font-face {
  font-family: "text-font";
  src: url("../fonts/FiraSansCondensed-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "header-font";
  src: url("../fonts/HeptaSlab-Medium.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


html, body {
  font-family: "text-font", Arial, sans-serif;
  scroll-behavior: auto !important;
  overflow-x: hidden;
  margin: 0;
  color: #333;
}

body {
  margin: 0;
  font-family: Arial;
  color: #333;
}

.container {
  max-width: 1400px;
  margin: auto;
  padding: 0 30px;
}


/* ---------------------------------
   Header
---------------------------------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: transparent;
}

.site-name {
font-family: "header-font", Arial, sans-serif;
  text-decoration: none;
  color: #333;
  font-size: 1.4rem;
  font-weight: bold;
}

.hamburger {
  width: 30px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background: #333;
}

/* ----------------------------------------------------------
/* INTRO + TWO-COL
---------------------------------------------------------- */
.intro {
  max-width: 800px;
  font-size: 1.15rem;
}

.two-col {
  display: flex;
  gap: 40px;
  margin: 80px 0;
  align-items: flex-start;
}

.col-left {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.col-left img {
  width: 100%;
  object-fit: cover;
}

.col-right {
  flex: 1;
}


/* ---------------------------------
/* Side Menu + Overlay
---------------------------------- */
#sideMenu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,.1);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%); /* Menü ist außerhalb des Bildschirms */
  transition: transform .4s ease;
  z-index: 999;
}

#sideMenu.is-open {
  transform: translateX(0); /* Menü fährt sichtbar rein */
}

#sideMenu a {
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.3);
  display: none;
  z-index: 998;
}


/* ---------------------------------
   Hero
---------------------------------- */
.hero {
  position: relative;
  margin-bottom: 40px;
}

.hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  bottom: 30px;
  left: 40px;
  color: #fff;
  mix-blend-mode: difference;
}


/* ---------------------------------
   Content Sections
---------------------------------- */
.two-col {
  display: flex;
  gap: 40px;
  margin: 80px 0;
  align-items: flex-start;
}

.col-left {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.col-left img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.col-right {
  flex: 1;
}

.image-grid-4x2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.image-grid-4x2 img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ----------------------------------------------------------
   6. KONTAKTBEREICH
---------------------------------------------------------- */
.contact-section {
  margin: 120px auto;
  padding: 40px 0;
}

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

.contact-lead {
  max-width: 600px;
  margin-bottom: 40px;
  font-size: 1.15rem;
  color: #555;
}

.contact-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-info a {
  color: #333;
  text-decoration: none;
}

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

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #111;
  outline: none;
}

.contact-form button {
  margin-top: 10px;
}


/* ---------------------------------
/*  Animations
---------------------------------- */
[data-anim] {
  opacity: 1;
  transform: none;
}

/* Parallax */
[data-parallax] {
  will-change: transform;
  transform: translateY(0px);
  transition: transform 0s;
  opacity: 1;
}

/* Fade Sections */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(.23,1,.32,1);
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ---------------------------------
   Footer
---------------------------------- */
.footer-full {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .95rem;
  color: #666;
  border-top: 1px solid #eee;
  margin-top: 120px;
}

.footer-full a {
  text-decoration: none;
  color: #666;
}

/* ----------------------------------------------------------
   Image Grid Portfolio
---------------------------------------------------------- */

.image-grid-4x2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 60px 0;
}

/* 4:3 Verhältnis aktivieren */
.image-grid-4x2 a {
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
}

.image-grid-4x2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-grid-text {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}



/* ----------------------------------------------------------
   CTA-BEREICH
---------------------------------------------------------- */
.cta-section {
  margin: 120px 0;
  padding: 80px 40px;
  background: #111;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.03) 60%,
    rgba(255,255,255,0.00) 100%);
  pointer-events: none;
}

.cta-inner {
  max-width: 700px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ddd;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1.1rem;
  background: #fff;
  color: #111;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.cta-button:hover {
  background: #e4e4e4;
  transform: translateY(-2px);
}


/* ---------------------------------
   Responsive
---------------------------------- */
@media (max-width: 900px) {
  .two-col {
    flex-direction: column;
  }

  .image-grid-4x2 {
    grid-template-columns: repeat(2, 1fr);
  }

  header {
    margin-lef: 1rem;
  }
  .hero-text {
    top: 1rem;
    left: 1rem;
    bottom: auto;
  }
}

