/* Made AP - Eventdekoration Liechtenstein v1.0.0 */
/* Design tokens from original Loveable/Tailwind setup */
:root {
  --background: hsl(30, 25%, 97%);
  --foreground: hsl(25, 15%, 20%);
  --card: hsl(30, 20%, 95%);
  --primary: hsl(350, 35%, 62%);
  --primary-foreground: hsl(30, 25%, 97%);
  --secondary: hsl(30, 20%, 92%);
  --muted: hsl(30, 15%, 93%);
  --muted-foreground: hsl(25, 10%, 50%);
  --accent: hsl(38, 40%, 70%);
  --border: hsl(30, 15%, 88%);
  --ring: hsl(350, 35%, 62%);
  --radius: 0.75rem;
  --champagne: hsl(38, 45%, 82%);
  --rose-light: hsl(350, 40%, 92%);
  --beige-warm: hsl(30, 30%, 94%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
}

/* Main */
.main {
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1152px;
}

.container-narrow {
  max-width: 896px;
}

.container-small {
  max-width: 672px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.navbar.scrolled {
  background: rgba(250, 248, 246, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border-bottom: 1px solid rgba(222, 212, 200, 0.3);
}

.nav-container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-logo-img {
  height: 2.5rem;
  display: block;
}

.nav-desktop {
  display: none;
}

.nav-desktop button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav-desktop button:hover,
.nav-desktop a:hover {
  color: var(--foreground);
}

.nav-desktop a {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted-foreground);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle-bar {
  width: 1.25rem;
  height: 1px;
  background: var(--foreground);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

.nav-mobile {
  display: none;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav-mobile button:hover {
  color: var(--foreground);
}

.nav-mobile-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.nav-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-contact-link:hover {
  opacity: 0.85;
}

.nav-contact-link svg {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile-contact {
    display: none;
  }
}

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: url('../floral-pattern.svg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-blur {
  position: absolute;
  border-radius: 9999px;
  filter: blur(48px);
}

.hero-blur-1 {
  top: 5rem;
  right: 2.5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(242, 224, 224, 0.4);
}

.hero-blur-2 {
  bottom: 5rem;
  left: 2.5rem;
  width: 12rem;
  height: 12rem;
  background: rgba(230, 216, 188, 0.3);
}

.hero-line {
  position: absolute;
  width: 1px;
  background: var(--border);
}

.hero-line-1 {
  top: 33%;
  left: 25%;
  height: 8rem;
  transform: rotate(12deg);
}

.hero-line-2 {
  bottom: 33%;
  right: 25%;
  height: 6rem;
  transform: rotate(-12deg);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-subtitle {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.hero-title-accent {
  font-style: italic;
  color: var(--primary);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  font-weight: 300;
  line-height: 1.6;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: inherit;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: 0 10px 15px -3px rgba(194, 100, 130, 0.2);
}

.hero-cta:hover {
  opacity: 0.9;
}

.hero-line-bottom {
  margin-top: 4rem;
  margin-left: auto;
  margin-right: auto;
  width: 6rem;
  height: 1px;
  background: var(--champagne);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.375rem;
  }
  .hero-desc {
    font-size: 1.25rem;
  }
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.section-desc {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 auto;
}

.legal-content { line-height: 1.7; }
.legal-content p { margin-bottom: 1rem; }
.back-link { color: var(--primary); text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.mt-2 { margin-top: 1.5rem; }

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
  .section-title {
    font-size: 3rem;
  }
}

/* Services */
.section-services .section-desc {
  max-width: 36rem;
}

.services-grid {
  display: grid;
  gap: 2rem;
}

.service-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(248, 245, 242, 0.6);
  border: 1px solid rgba(222, 212, 200, 0.5);
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 10px 15px -3px rgba(194, 100, 130, 0.05);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--muted-foreground);
  font-weight: 300;
  line-height: 1.6;
  font-size: 0.875rem;
}

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

/* Über mich */
.section-about {
  background: rgba(248, 242, 235, 0.5);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-image {
  order: 2;
}

.about-image img {
  width: 100%;
  max-width: 20rem;
  border-radius: 1rem;
  object-fit: cover;
  aspect-ratio: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-content {
  order: 1;
}

.about-text {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
  }
  .about-image { order: 1; }
  .about-content { order: 2; }
  .about-image img { max-width: 100%; }
}

/* Mieten */
.section-mieten {
  background: linear-gradient(180deg, rgba(248, 242, 235, 0.5) 0%, transparent 100%);
}

.mieten-pdf-wrap {
  margin-top: 1.5rem;
}

.btn-mieten-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

.btn-mieten-pdf:hover {
  opacity: 0.9;
}

/* Aktuelles */
.section-news {
  background: linear-gradient(180deg, rgba(242, 224, 224, 0.2) 0%, transparent 100%);
}

.news-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.news-gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.news-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .news-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Gallery */
.section-gallery {
  background: rgba(248, 242, 235, 0.5);
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.75rem;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s;
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.1);
}

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

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted-foreground);
  padding: 2rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--muted-foreground);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.gallery-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.gallery-load-more {
  text-align: center;
  margin-top: 2rem;
}

.gallery-load-more-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-load-more-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: hsla(30, 20%, 12%, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--champagne);
  font-size: 1.75rem;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  z-index: 2;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 44px;
  min-height: 44px;
  margin: 0 0.25rem;
  background: none;
  border: 1px solid hsla(38, 45%, 82%, 0.35);
  border-radius: 50%;
  color: var(--champagne);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s, border-color 0.2s, color 0.2s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  border-color: hsla(38, 45%, 82%, 0.6);
}

.lightbox-prev.hidden,
.lightbox-next.hidden {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 640px) {
  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-content { padding: 0 3rem; }
}

/* Process */
.process-steps {
  position: relative;
  display: grid;
  gap: 3rem;
}

.process-line {
  display: none;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 10;
}

.process-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: var(--rose-light);
  border: 4px solid var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.process-number {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--champagne);
  margin-bottom: 0.5rem;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.process-desc {
  color: var(--muted-foreground);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .process-line {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
    transform: translateY(-50%);
  }
}

/* Contact */
.section-contact {
  background: rgba(242, 224, 224, 0.3);
}

.contact-social {
  margin-top: 0.5rem;
}

.contact-facebook-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-facebook-link:hover {
  text-decoration: underline;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form {
  background: rgba(250, 248, 246, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(222, 212, 200, 0.5);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(110, 95, 85, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(194, 100, 130, 0.3);
}

.form-group textarea {
  resize: none;
  min-height: 6rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: inherit;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: 0 10px 15px -3px rgba(194, 100, 130, 0.2);
}

.btn-submit:hover {
  opacity: 0.9;
}

@media (min-width: 768px) {
  .contact-form {
    padding: 2.5rem;
  }
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  height: 3rem;
  display: block;
}

.footer-tagline {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 300;
  margin-top: 0.25rem;
}

.footer-contact {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 300;
  line-height: 1.5;
}

.footer-contact a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--foreground);
  text-decoration: underline;
}

.footer-facebook-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.footer-facebook-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(222, 212, 200, 0.5);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(110, 95, 85, 0.6);
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
  .footer-brand {
    text-align: left;
  }
  .footer-contact {
    text-align: right;
  }
}

/* Toast */
.toast {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background: var(--foreground);
  color: var(--background);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  z-index: 100;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.toast.show {
  display: block;
  animation: toastIn 0.3s ease-out;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
