@charset "UTF-8";

@import url("https://use.typekit.net/ujy8skv.css");
html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

:root {
  --pink: #fa9ebb;
  --pink-rgb: 250, 158, 187;
  --bg: #070F2B;
  --text: #F9f2eb;
  --p: 0%;
  --t: 0s;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
}

p {
  font-size: 1.2rem;
}

.body-index{
  overflow: hidden;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.content{
  display: flex;
  justify-content: baseline;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
} 

.right img{
  max-width: 550px;
  height: auto;
  object-fit: cover;
}

.left{
  max-width: 600px;
  text-align: right;
}

.left h1{
  margin: 0;
  font-size: 4.8rem;
  color: var(--pink);
  font-family: "maku", sans-serif;
  font-weight: 700;
  font-style: normal;
  margin-bottom: -3.2rem;
}

.left p{
  margin: 1.1rem 0 0.1rem;
  margin-left: auto;
  padding-bottom: 1.5rem;
  color: var(--text);
  font-family: "futura-pt", sans-serif;
  font-weight: 300;
  font-style: normal;
  max-width: 450px;
}

.btn {
  position: relative;
  padding: 0.1rem 1.8rem 0;
  font-size: 1.2rem;
  color: var(--text);
  background: none;
  border: 1px solid var(--pink);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: "maku", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.liquid {
  background: linear-gradient(var(--pink) 0 0) no-repeat
    calc(200% - var(--p, 0%)) 100% / 200% var(--p, 0.2em);
  transition: 0.3s var(--t, 0s), background-position 0.3s calc(0.3s - var(--t, 0s));
}

.liquid:hover {
  --p: 100%;
  --t: 0.3s;
  color: var(--bg);
}

@media (max-width: 1300px) {
  .left h1{font-size: 3.6em;}
  p{font-size: 1rem;}
  .left p{padding-top: 0.5rem;}
  .right img{ max-width: 450px;}
  .btn{ font-size: 1rem; }
  .content{gap:0;}
}

@media (max-width: 1000px) {
  .content { flex-direction: column-reverse;}
  .left p{text-align: center;}
  .left {text-align: center;}
}

@media (max-width: 650px) {
  .left h1{font-size: 2.5rem; }
  .right img{ max-width: 260px;}
  .left p {max-width: 298px;}
}

/* ---------------- Burger Button ---------------- */

.burger {
  position: fixed;
  top: 40px;
  right: 45px;
  width: 48px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Linien */
.burger span {
  display: block;
  border-radius: 5px;
  height: 3px;
  width: 100%;
  background: #fff;
  transition: 
    transform 0.4s ease,
    opacity 0.25s ease,
    background 0.3s ease;
  transform-origin: center;
}

/* Hover: alle Linien pink */
.burger:hover span {
  background: var(--pink);
  transform: scaleX(1.1);
}

.burger.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ---------------- Overlay Navigation ---------------- */

.overlay-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1500;
}

.overlay-nav.active {
  transform: translateY(0);
}

/* ---------------- Menü Items ---------------- */

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

.overlay-nav li {
  opacity: 0;
  transform: translateY(-40px);
  animation: slideDown 0.7s ease forwards;
  animation-delay: calc(var(--i) * 0.18s);
}

.overlay-nav.active li {
  animation-play-state: running;
}

.overlay-nav a {
  font-family: "futura-pt", sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 1.9rem);
  font-weight: 300;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  margin: 22px 0;
  position: relative;
  transition: color 0.3s ease;
}

/* Unterstrich */
.overlay-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: var(--pink);
  transition: width 0.3s ease;
}

/* Hover Menüpunkt */
.overlay-nav a:hover {
  color: var(--pink);
}

.overlay-nav a:hover::after {
  width: 100%;
}

/* ---------------- Animation ---------------- */

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


/* Portfolio */

.portfolio-section{
  width: 100vw;
  height: 100vh;
  background: var(--bg);
  overflow: hidden; /* STANDARD: kein Scroll */
  display: flex;
}

.projects-grid{
  width: 100%;
  height: 100%;
  display: grid;
}

@media (min-width: 1001px){
  .projects-grid{
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr); /* exakt 2 Reihen */
  }
}

@media (max-width: 1000px) and (min-width: 651px){

  .portfolio-section{
    height: 100vh;
    overflow: hidden;
  }

  .projects-grid{
    height: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .card-link,
  .polaroid,
  .photo{
    height: 100%;
  }
}

@media (max-width: 650px){
  .portfolio-section{
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }

  .projects-grid{
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

.card-link{
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.polaroid{
  width: 100%;
  height: 100%;
  display: flex;
}

.photo{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #111;
}

/* WICHTIG: aspect-ratio MUSS WEG */
.photo{
  aspect-ratio: unset;
  line-height: 0;
}

.photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card-link:hover .photo img{
  transform: scale(1.08);
}

.overlay{
  position: absolute;
  inset: 0;
  background-color: rgba(var(--pink-rgb), 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-link:hover .overlay{
  opacity: 1;
}

.project-title{
  color: var(--bg);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-title{
  display: none;
  background-color: rgba(var(--pink-rgb), 0.95);
  color: var(--bg);

  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;

  padding: 
    clamp(0.6rem, 3vw, 0.9rem)
    clamp(0.7rem, 4vw, 1.1rem);

  margin: 0;
}

@media (max-width: 1000px){
  .project-title{font-size: 1rem;}
}

@media (max-width: 650px){

  .overlay{
    display: none;
  }

  .photo img{
    transform: none !important;
  }

  .mobile-title{
    display: block;
  }

  .polaroid{
    flex-direction: column;
    height: auto;
  }
}


/* Projekte */
.container{
  max-width: 1100px;
  margin: 0 auto;
}

.project{
  padding: 3.2rem 1rem 1rem;
}

.project p, .project-li {
  color: var(--text);
  font-family: "futura-pt", sans-serif;
  font-weight: 300;
  font-style: normal;
  width: 55% ;
}

.project h3{
  font-family: "maku", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 3rem;
  color: var(--pink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.project h4{
  font-family: "maku", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.8rem;
  color: var(--pink);
  margin-bottom:-1.8rem;
}

.project h5{
  font-family: "maku", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.9rem;
  color: var(--text);
  margin: -1.8rem 0 -1.8rem;
}

.project img{
  width: 450px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 1.5rem;
  display: block;
}

.link {
  font-family: "maku", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1.2rem;
  margin-top: 1.2rem;
  cursor: pointer;
  background-image: linear-gradient(to right, #fa9ebb, #fa9ebb 50%, #fff 50%);
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  margin-bottom: 2rem;
}

.link::before {
  content: '';
  background: #fa9ebb;
  display: block;
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}

.link:hover {
  background-position: 0;
  -webkit-text-fill-color: transparent;
}

.link:hover::before {
  width: 100%;
}

.link.active {
  background-position: 0;
  -webkit-text-fill-color: transparent;
}

.link.active::before {
  width: 100%;
}

.jp-logo{
  border: none !important; 
  object-fit: contain !important; 
  margin: -4rem 0 -4.5rem !important; 
  width: 350px !important;
}

.karte-img{
  width: 380px !important; 
  height: 450px !important;
  object-fit: contain !important; 
}

.farm-1{
  width: 300px !important;
  height: 450px !important;
  object-fit: contain !important; 
  margin: 0rem 0 -2rem !important;
}

.farm-2{
  border: none !important; 
  object-fit: contain !important; 
  margin-bottom: -3.5rem !important; 
  margin-top: -5rem !important; 
  width: 350px !important;
}

.farm-3{
  border: none !important; 
  object-fit: contain !important; 
  margin-bottom: -2rem  !important; 
  margin-top: -1.5rem !important;
}

.farm-4{
  border: none !important; 
  object-fit: contain !important; 
  margin-bottom: -1rem !important; 
  margin-top: -1rem !important; 
  width: 350px !important;
}

.maze{
  border: none !important;
  object-fit: contain !important;
}

.maze-1{
  margin-bottom: -3.5rem !important; 
  margin-top: -2rem !important; 
  margin-left: -1.5rem !important;
  width: 350px !important;
}

.maze-2{
  margin-bottom: -3rem !important; 
  margin-top: 1rem !important;
  margin-left: -3rem !important;
}

.maze-3{
  margin-bottom: -2.5rem !important; 
  margin-top: 0rem !important; 
  width: 400px !important;
}

.maze-4{
  margin-bottom: -1.5rem !important; 
  margin-top: 0rem !important; 
  width: 400px !important;
}

.maze-5{
  margin-top: -1rem !important;
}

.piktogramm-desktop{
  width: 600px !important; 
  height: 120px !important; 
  border:none !important; 
  object-fit: contain !important;
}

.piktogramm-mobile{
  display: none !important;
  object-fit: contain !important;
}

@media (max-width: 1300px) {
  .project{padding: 3.5rem 3rem 0.7rem;}
  .project h3{font-size: 2.5rem;}
  .project h4{font-size: 1.2rem; margin-bottom: -1.6rem;}
  .project h5{font-size: 1.6rem; margin: 0rem 0 -0.2rem; line-height: 1.3;}
  .link {font-size: 1.1rem;}
  .piktogramm-desktop{width: 500px !important;}
}

@media (max-width: 1000px) {
  .content-contact { flex-direction: column;}
  .project img{ width: 350px; height: 250px;   border-radius: 12px;}
  .jp-logo{width:300px !important; margin: -3rem 0 -3.5rem !important; }
  .karte-img{width: 330px !important; height: 400px !important;}
  .farm-1{width:250px !important; height: 400px !important;   margin: -1rem 0 -2rem !important;}
  .farm-2{width:300px !important; margin: -4rem 0 -2.5rem !important;}
  .farm-3{margin-bottom: -1rem; margin-top: -0.5rem;}
  .farm-4{width: 300px !important; margin: -1rem 0 !important;}
  .maze-1{width: 250px !important; margin-top:-2.8rem !important; margin-left: -1rem !important;}
  .maze-2{margin-top: 1rem !important; margin-bottom: -2rem !important; margin-left: -2rem !important;}
  .maze-3{margin-bottom: -2rem !important; margin-top: 0rem !important; width: 350px !important;}
  .maze-4{width: 300px !important; margin-top: -0.5rem !important; margin-bottom: -1.5rem !important;}
  .piktogramm-desktop{display: none !important;}
  .piktogramm-mobile{ display: block !important; width: 350px !important; height: 200px !important; margin-left: -1rem;}
  .k-m{margin-left: 0 !important;}
  .project p, .project-li {width:60%;}
  
}

@media (max-width: 650px) {
  .project{padding: 4rem 2rem 0.3rem;}
  .project h3{font-size: 2.2rem;}
  .project h4{font-size: 1.2rem;}
  .project h5{font-size: 1.3rem; margin: 0rem 0 -0.3rem; line-height: 1.3;}
  .project img{ width: 300px; height: 200px;   border-radius: 16px;}
  .jp-logo{width:250px !important; margin: -2rem 0 -2.5rem !important; }
  .karte-img{width: 260px !important; height: 330px !important;}
  .farm-1{width:200px !important; height: 350px !important;   margin: -1.5rem 0 -2rem !important;}
  .farm-2{width:250px !important; margin: -3rem 0 -2rem !important;}
  .farm-4{ width: 250px !important; height:300px !important; margin: -4.5rem 0 !important;}
  .maze-1{width: 200px !important; margin-top:-2.8rem !important; margin-left: -0.5rem !important;}
  .maze-3{margin-bottom: -1rem !important; margin-top: 1.5rem !important; width: 300px !important;}
  .maze-4{width: 250px !important; margin-top: 0rem !important; margin-bottom: -1rem !important;}
  .piktogramm-mobile{ display: block !important; width: 300px !important; height: 150px !important; margin-left: -2rem;}
  .k-m{margin-left: -1rem !important;}
  .link {font-size: 1rem;}
  .project p, .project-li {width:85%;}
}

/* contact */

.body-contact p{
  padding-bottom: 1.5rem;
  color: var(--text);
  font-family: "futura-pt", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.body-contact h3{
  font-family: "maku", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 3rem;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.body-contact h4{
  font-family: "maku", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.8rem;
  color: var(--pink);
  margin-bottom:-2rem;
  margin-top: -2rem;
}

.body-contact img {
  max-width: 550px;
  height: auto;
  object-fit: cover;
}

.body-contact .right{
  max-width: 500px;
  text-align: left;
}

.content-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.left-contact,
.right-contact {
  flex: 1;
  display: flex;
  justify-content: center;
}

.right-contact {
  flex-direction: column;
  max-width: 500px;
  text-align: left;
}


@media (max-width: 1300px) {
  .body-contact img{ max-width: 450px;}
  .body-contact h3{font-size:2.5rem;}
  .body-contact h4{font-size:1.4rem; margin-bottom: -1.5rem;}
  .content-contact {width: 90%;}
}

@media (max-width: 1000px) {
  .content-contact { flex-direction: column;}
}

@media (max-width: 650px) {
  .body-contact img{ max-width: 260px;}
  .body-contact h3{font-size:2.2rem;}
  .body-contact h4{font-size:1.2rem;}
}

/* GRUNDSTIL – gilt für ALLE Footer */
footer {
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 25px !important;
}

/* HR immer gleich breit */
footer hr {
  width: 200px; 
  opacity: 0.3;
  margin: 0 auto -4px auto;
}

/* Links */
.footer {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* NUR AUF FIXEN SEITEN */
body.footer-fixed footer {
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 0; /* sonst doppelt */
}

.footer a {
  text-decoration: none;
  color: var(--text);
  font-size: 1rem;
  opacity: 0.6;
}

.footer a:hover{
  opacity: 0.8;
  transition: 0.3s;
}

.impressum{
overflow: hidden;
margin-left: 7rem;
margin-top: 4rem;
height: 87vh;
}

.impressum h2{
  font-family: "maku", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 4rem;
  color: var(--pink);
  margin-bottom: -4rem;
}

.impressum h4{
  font-family: "maku", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2rem;
  color: var(--pink);
  margin-bottom: -2rem;
}

.impressum ul li{
  color: var(--text);
  list-style-type: none;
  line-height: 2;
}

.impressum-hero{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

@media (max-width: 1300px) {
  hr{bottom: -20%;}
  .footer{bottom: -21%;}
}

@media (max-width: 1000px) {
  hr{bottom: -8%;}
  .footer{bottom: -9%;}
  .footer a { font-size: 0.9rem;}
  footer hr {width: 160px;}

}

@media (max-width: 650px) {
  hr{bottom: -21%;}
}