/* ================= VARIABLES Y BASE ======f1effa=========== */
:root {
  --blue: #1f4c5c;
  --yellow: #f6e9c3;     
  --orange: #f29c2b;
  --bg-light: #fafafa;
  --accent: #2aa1ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--blue);
  background: white;
  overflow-x: hidden;
}







/* ---------- HEADER ---------- */
/* ---------- HEADER ---------- */
/* ================= HEADER ================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  padding: 0.8rem 5%;

  backdrop-filter: blur(12px);

  background: rgba(246, 233, 195, 0.85);

  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  max-width: 1400px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- LOGO ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  font-weight: 600;

  text-decoration: none;

  color: var(--blue);
}

.logo img {
  height: 42px;

  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: rotate(-4deg) scale(1.05);
}


html {
  scroll-behavior: smooth;
}

.logo {
  text-decoration: none;
  color: inherit;
}






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

.nav a {
  text-decoration: none;

  color: var(--blue);

  font-weight: 500;

  transition: all 0.25s ease;

  position: relative;
}

/* ---------- botón Kontakt ---------- */

html {
  scroll-behavior: smooth;
}


.nav a:last-child {
  border: 2px solid var(--blue);

  border-radius: 999px;

  padding: 0.6rem 1.4rem;

  transition: all 0.3s ease;
}

/* hover general */
.nav a:hover {
  color: var(--orange);

  transform: translateY(-1px);
}

/* hover Kontakt */
.nav a:last-child:hover {
  background: var(--blue);

  color: white;

  transform: translateY(-2px);
}

/* click */
.nav a:last-child:active {
  transform: scale(0.95);

  background: var(--orange);

  border-color: var(--orange);

  color: white;
}

/* ================= HAMBURGER ================= */

.menu-toggle {
  display: none;

  flex-direction: column;

  gap: 5px;

  cursor: pointer;

  z-index: 2001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;

  background: var(--blue);

  border-radius: 2px;

  transition: all 0.3s ease;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;

    top: 0;
    right: -270px;

    width: 260px;
    height: 100vh;

    flex-direction: column;
    align-items: flex-start;

    padding: 5rem 2rem;

    gap: 1.5rem;

    background: white;

    box-shadow: -10px 0 30px rgba(0,0,0,0.15);

    transition: right 0.35s ease;

    z-index: 2000;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    font-size: 1.2rem;

    width: 100%;
  }

  /* versión móvil simplificada */
  .nav a:last-child {
    border: none;

    padding: 0;

    background: none;

    color: var(--blue);
  }

  .nav a:last-child:hover {
    background: none;

    color: var(--orange);
  }

  .logo img {
    height: 36px;
  }

  .logo span {
    font-size: 0.9rem;
  }

}

/* ---------- EXTRA SMALL ---------- */

@media (max-width: 480px) {

  .logo span {
    font-size: 0.8rem;
  }

  .nav a {
    font-size: 1.1rem;
  }

  .menu-toggle span {
    width: 24px;
  }

  .nav {
    width: 230px;

    padding: 4rem 1.5rem;
  }

}
/* ---------- HEADER ENDE ---------- */

/* ---------- HEADER ENDE ---------- */
















/* ---------- BOTONES ---------- */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--orange);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-outline {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover, .btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline:hover {
  background: var(--blue);
  color: white;
}




/* ---------- HERO (VERSIÓN FINAL PRO) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4rem 10%;
  gap: 2rem;
  background: var(--bg-light);
  min-height: 80vh;
  overflow: hidden;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(1.5rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 400px;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image::before {
  content: "";
  position: absolute;
  width: 105%;
  height: 90%;
  background: #f1effa;
  top: 50%;
  left: 50%;
  transform: translate(-55%, -45%) rotate(-3deg);
  z-index: 0;
  border-radius: 20px;
  opacity: 0.9;
  transition: transform 0.5s ease;
}

.hero-image img {
  position: relative;
  z-index: 1;
  width: 145%;
  max-width: 800px;
  height: auto;
  transform: translateX(-15%) translateY(10px);
  box-shadow: 40px 40px 80px rgba(0,0,0,0.12);
  opacity: 0;
  transform-origin: center;
  animation: heroReveal 1s ease-out forwards, heroFloat 6s ease-in-out infinite 1s;
  transition: transform 0.4s ease;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95) translateX(-10%);
  }
  to {
    opacity: 1;
    transform: translateY(10px) scale(1) translateX(-15%);
  }
}

@keyframes heroFloat {
  0% { transform: translateY(10px) translateX(-15%); }
  50% { transform: translateY(-10px) translateX(-15%); }
  100% { transform: translateY(10px) translateX(-15%); }
}

.hero-image:hover img {
  transform: scale(1.05) translateX(-15%) translateY(10px) rotate(0.5deg);
}

.hero-image:hover::before {
  transform: translate(-60%, -50%) rotate(-5deg);
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text {
    z-index: 2;
  }
  .hero-image img {
    width: 120%;
    max-width: 550px;
    transform: translateX(0);
  }
  .hero-image::before {
    width: 90%;
    height: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-2deg);
  }
  .hero-image:hover img {
    transform: scale(1.05);
  }
}

@media (max-width: 600px) {
  .hero-image img {
    width: 115%;
    max-width: 380px;
  }
  .hero-image::before {
    width: 95%;
    height: 80%;
    transform: translate(-50%, -50%) rotate(-1deg);
    opacity: 0.8;
  }
}


/* ---------- HERO  ENDE ---------- */





/* ================= GALERIE SECTION ================= */
.gallery-section {
  padding: 5rem 6%;
  background: linear-gradient(180deg, #fbfaf6 0%, #f5f1ed 100%);
}

/* ---------- HEADER ---------- */
.gallery-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.gallery-header h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--blue);
}

.gallery-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

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

/* ---------- ITEM ---------- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  height: 280px;
  background: #ddd;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ---------- IMAGE ---------- */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

/* ---------- OVERLAY ---------- */
.gallery-overlay {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0) 100%
  );

  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- TEXT ---------- */
.gallery-overlay h3 {
  margin: 0;
  font-size: 1.3rem;
}

.gallery-overlay p {
  font-size: 0.95rem;
  margin: 0.4rem 0 1rem;
  color: rgba(255,255,255,0.85);
}

/* ---------- SMALL BUTTON ---------- */
.btn-small {
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  background: var(--orange);
  color: white;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-small:hover {
  background: var(--blue);
}

/* ---------- ACTION BUTTONS ---------- */
.gallery-actions {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 0.9rem 1.6rem;
  background: var(--blue);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.btn-outline {
  padding: 0.9rem 1.6rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    height: 240px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 220px;
  }

  .gallery-header h2 {
    font-size: 2rem;
  }
}




/* ================= GALERIE SECTION             ENDE      ================= */






















/* ---------- WILLKOMMEN ---------- */
.welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6rem 10%;
  gap: 4rem;
  align-items: center;
}

.welcome-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transform: rotate(2deg);
  box-shadow: 20px 20px 0px  #f1effa;
}

.welcome-text h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.welcome-box {
  background:  #f1effa;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}



/* ---------- KARTEN / VALUES ---------- */
.values {
  padding: 6rem 10%;
  background: white;
}

.section-label {
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: #fafafa;
  padding: 2.5rem;
  border-left: 5px solid var(--orange);
  transition: 0.3s;
}

.card:hover {
  background:  #f1effa;
  transform: translateY(-5px);
}

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

@media (max-width: 1024px) {
  .hero, .welcome {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 5%;
  }
  .hero-text, .welcome-text {
    margin: 0 auto;
  }
  .hero-image, .welcome-image {
    order: -1;
    margin: 0 auto 2rem;
  }
  .welcome-image img {
    transform: none;
    box-shadow: 10px 10px 0px var(--yellow);
  }
}



/* ================= BOBI SECTION ================= */
.bobi {
  padding: 6rem 10%;
  background: var(--bg-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bobi h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.bobi h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}

.bobi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.bobi-grid img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bobi-grid img:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.bobi::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 0;
}

.bobi-grid, .bobi h2 {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .bobi {
    padding: 4rem 6%;
  }
  .bobi-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 500px) {
  .bobi h2 {
    font-size: 2rem;
  }
  .bobi::before {
    width: 180px;
    height: 180px;
    top: -60px;
    right: -60px;
  }
}



/* ================= HORT SECTION ================= */
.hort {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 5rem 10%;
  background: var(--yellow);
  position: relative;
  overflow: hidden;
}

.hort-image img {
  width: 100%;
  max-width: 500px;
  display: block;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.hort-image img:hover { transform: scale(1.03) rotate(-1deg); }

.hort-text { max-width: 500px; }

.hort-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: var(--blue);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

@media (max-width: 900px) {
  .hort { grid-template-columns: 1fr; padding: 4rem 2rem; text-align: center; }
  .hort-image img { margin: 0 auto; }
}

@media (max-width: 600px) {
  .hort { padding: 3rem 1.5rem; }
  .hort-text p { font-size: 1.05rem; }
}



/* ---------- DATES / TERMINE ---------- */
.dates {
  padding: 6rem 10%;
  background: var(--bg-light);
  text-align: center;
}

.dates h2 { font-size: clamp(2rem,4vw,3rem); margin-bottom:3rem; }
.dates ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 3rem;
  max-width: 500px;
}

.dates li {
  background: white;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  border-left: 5px solid var(--orange);
  text-align: left;
  box-shadow: 0 5px 15px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.dates li:hover { background: var(--yellow); transform: translateY(-3px); }

@media (max-width: 1024px) {
  .dates { padding: 4rem 5%; }
  .dates ul { max-width: 100%; }
}

@media (max-width: 600px) {
  .dates h2 { font-size: 2rem; }
  .dates li { padding: 1rem; }
}



/* ---------- KONTAKT SECTION ---------- */
.contact {
  padding: 6rem 8%;
  background: linear-gradient(135deg, #f6e9c3 0%, #ffffff 100%);
}

.contact-container { max-width: 1200px; margin: 0 auto; }

.contact-title {
  font-size: clamp(2.5rem,5vw,3.5rem);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.contact-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #f29c2b, transparent);
  border-radius: 2px;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
}

.contact-block {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.contact-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact-block a {
  color: var(--blue);
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

.contact-block a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}

.contact-block a:hover::after { width: 100%; }
.contact-block a:hover { color: var(--orange); }

@media (max-width: 900px) {
  .contact-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .contact { padding: 4rem 6%; }
  .contact-content { grid-template-columns: 1fr; }
  .contact-title { margin-bottom: 2rem; }
}



/* ---------- FOOTER ------------------ */
.footer {
  background: linear-gradient(135deg, #1f4c5c, #163944);
  padding: 4rem 8%;
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.footer::before {
  width: 400px;
  height: 400px;
  top: -150px;
  left: -150px;
}

.footer::after {
  width: 300px;
  height: 300px;
  bottom: -120px;
  right: -120px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

.footer-nav a {
  text-decoration: none;
  color: white;
  font-size: 0.95rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.footer-nav a:hover {
  background: #f29c2b;
  color: #1f4c5c;
  transform: translateY(-3px) scale(1.05);
}

@media (max-width: 768px) {
  .footer { padding: 3rem 2rem; }
  .footer-nav { gap: 0.8rem; }
  .footer-nav a {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }

  .footer-nav a {
    width: 100%;
    text-align: center;
  }
}
/* ---------- FOOTER ENDE ---------- */
