/* =========================================================
   BASE TYPOGRAPHY
   ========================================================= */
body {
  scroll-behavior: smooth;
  font-size: 1.25em;       /* etwas größer als vorher */
  color: #333;
  font-family: 'Lora', serif;
  line-height: 1.6;        /* für bessere Lesbarkeit */
}

p, li, a, input, textarea, select, button {
  font-family: 'Lora', serif;
  font-size: 1em;          /* relative zu body */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Vidaloka', serif;
  line-height: 1.2;
}

h1 { font-size: 3em; margin-bottom: 25px; }
h2 { font-size: 2.2em; margin-bottom: 20px; }
h3 { font-size: 1.8em; margin-bottom: 15px; }
h4 { font-size: 1.4em; margin-bottom: 12px; font-weight: normal; }
h5 { font-size: 1.2em; margin-bottom: 10px; }
h6 { font-size: 1em; margin-bottom: 8px; }

p {
  max-width: 700px;
  text-align: center;
  font-size: 1.05em;      /* etwas größer */
  margin-bottom: 20px;
}

/* Sections */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;     /* mehr Platz oben/unten und seitlich */
}
/* =========================================================
   HEADER
   ========================================================= */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
}

.main-header.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Top Promo Bar ---- */

.top-promo-link {
  text-decoration: none;
  display: block;
}

.top-promo-bar {
  width: 100%;
  background: #ff4081;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95em;
  line-height: 1.4;
  cursor: pointer;
}

.top-promo-bar strong {
  font-size: 1.05em;
}

.promo-separator {
  margin: 0 8px;
  opacity: 0.8;
}

.top-promo-bar:hover {
  background: #e63673;
}

@media (max-width: 600px) {
  .top-promo-bar {
    font-size: 0.85em;
    padding: 8px 12px;
  }
}

.top-promo-bar::after {
  content: " →";
  opacity: 0;
  transition: opacity 0.2s;
}

.top-promo-bar:hover::after {
  opacity: 1;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
}

.header-logo img {
  height: 92px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  gap: 18px;
}

.header-nav a {
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 180ms, color 180ms;
}

.header-nav a.active {
  background: rgba(255, 64, 129, 0.08);
  color: #ff4081;
}

.header-nav a:hover {
  background: rgba(255, 64, 129, 0.15);
  color: #ff4081;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  background: url('../img/photobooth.jpg') center/cover no-repeat;
  color: white;
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  padding-top: 80px; /* match header height */
}

.hero-seo-text {
  font-size: 0.85rem;
  opacity: 0.65;
  max-width: 500px;
  margin: 12px auto 0;
  line-height: 1.4;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.business-name {
  font-family: 'Vidaloka', serif;
  font-size: 2.5em;
  color: white;
}

.site-logo img {
  height: 180px;
  width: auto;
  margin-top: 15px;
}
.hero-content h1 {
  font-family: 'Vidaloka', serif;
  font-size: 3.2rem;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
}
.hero-content {
  position: relative;
  z-index: 2;
  margin-bottom: 100px;
  max-width: 800px;
}

.hero-btn-wrapper { margin-top: 32px; }

.btn {
  padding: 10px 20px;
  background: #ff4081;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
  text-decoration: none;
}
/* =========================================================
   SIDE STRIPS (fixed, behind content)
   ========================================================= */
/* Standard (Mobile / kleine Bildschirme) */
.side-strip {
  position: fixed;
  top: 0;
  width: 20px;      /* Standardbreite */
  height: 100vh;
  overflow: hidden;
  padding: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

@media (min-width: 1800px) {
  .side-strip {
    width: 250px;
  }
}


/* Ab 1900px Bildschirmbreite */
@media (min-width: 2000px) {
  .side-strip {
    width: 300px; 
  }
}

/* Sehr große Bildschirme z.B. ab 2500px */
@media (min-width: 2200px) {
  .side-strip {
    width: 350px;
  }
}

/* Sehr große Bildschirme z.B. ab 2500px */
@media (min-width: 2500px) {
  .side-strip {
    width: 400px;
  }
}
/* Sehr große Bildschirme z.B. ab 2500px */
@media (min-width: 2800px) {
  .side-strip {
    width: 450px;
  }
}

.strip-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;               /* Abstand zwischen Bildern */
}

.strip-inner img {
  width: 100%;
  height: auto;            /* Bild behält Proportionen */
  object-fit: cover;       /* füllt die Breite, schneidet evtl. oben/unten */
}

.left-strip {
  left: 0;
}

.right-strip {
  right: 0;
}
/* =========================================================
   SITE LOGO CORNER (sticky)
   ========================================================= */
.site-logo.corner {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 9999;
  height: 100px;
  width: 100px;
  transition: all 0.4s cubic-bezier(.4,1.7,.6,.97);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.site-logo.corner img {
  height: 100px !important;
  width: 100px !important;
  margin: 0 !important;
}

.hero-top .site-logo.corner {
  position: fixed;
}

.hero-top .site-logo:not(.corner) {
  transition: opacity 0.4s;
}

.hero-top.logo-in-corner .site-logo:not(.corner) {
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   FEATURES / GALLERY / PRICES / ADDONS
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  text-align: left;
}

/* Einblicke gallery - simple and consistent */

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  cursor: pointer;
}
.gallery {
  display: grid;
  gap: 12px; /* slightly larger gap looks nicer */
  grid-template-columns: repeat(4, 1fr);
}

.gallery img {
  width: 100%;       /* fill the grid cell */
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   SEO SECTION (clean + unauffällig)
   ========================================================= */

.seo-section {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.seo-section h2 {
  font-size: 1.6em;
  margin-bottom: 20px;
}

.seo-section p {
  font-size: 0.95em;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* ---- Price Cards ---- */
.price-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 32px 16px;
  text-align: center;
  flex: 1 1 300px;
  min-width: 280px;
  max-width: 350px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.card.featured {
  border: 2px solid #ff4081;
  transform: scale(1.05);
}

.price-features {
  text-align: left;
  padding-left: 24px;
  margin: 0 auto;
}

.price-features li {
  margin-bottom: 10px;   /* Abstand zwischen den Punkten */
  line-height: 1.5;      /* etwas mehr Luft im Text */
}

.card.featured {
  border: 2px solid #ff4081;
}

.price {
  font-size: 1.5em;
  color: #ff4081;
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.floating-contact-btn {
  position: fixed;
  bottom: 80px;
  right: 50%;
  transform: translateX(50%) translateY(0); /* translateY=0 als Ausgang */
  
  background: #ff4081;
  color: #fff;
  padding: clamp(8px, 2.5vw, 14px) clamp(12px, 4vw, 20px);
  font-size: clamp(11px, 3.2vw, 15px);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(255, 64, 129, 0.3);
  z-index: 999;
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.floating-contact-btn:hover {
  transform: translateX(50%) translateY(-3px); /* X bleibt konstant, Y ändert sich */
  background: #e73370;
  box-shadow: 0 10px 25px rgba(255, 64, 129, 0.4);
}
/* ---- Add-ons ---- */
/* Standard: 2 pro Reihe (Mobile) */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-items: center;       /* Zentriert die Items innerhalb der Zellen */
  justify-content: center;     /* Zentriert die letzte unvollständige Reihe */
  margin-top: 10px;
}

/* Ab größeren Bildschirmen (z.B. Tablets / Desktop) */
@media (min-width: 900px) {
  .addons-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;   /* letzte Reihe mittig */
  }
}
/* Auf kleinen Bildschirmen entfernen wir die Side Strips und passen den Body Margin an, damit es auf Handys gut aussieht */
@media (max-width: 1500px) {
  .side-strip {
    display: none;
  }

  body {
    margin: 0;
  }
}

.addon-card {
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 24px 18px 18px 18px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 260px;
}

.addon-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 16px;
}

.addon-card h3 { margin-bottom: 10px; font-size: 1.2em; }
.addon-card p { font-size: 1em; color: #444; }

.addon-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px rgba(255, 64, 129, 0.1);
}
.addon-hover {
  opacity: 0;
  transition: opacity 0.2s;
  margin-top: 14px;
  text-align: center;
}

/* Preis */
.addon-hover-price {
  font-size: 1.2em;
  font-weight: bold;
  color: #ff4081;
}

/* Beschreibung */
.addon-hover-price-ext {
  font-size: 0.8em;
  font-weight: normal;
  color: #ff4081;
  margin-top: 4px;
  line-height: 1.2;
}

/* Hover Effekt */
.addon-card:hover .addon-hover {
  opacity: 1;
}


.price-wrapper {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}

.old-price {
  font-size: 1.1em;
  color: #999;
  text-decoration: line-through;
}

.price.highlight {
  font-size: 2.2em;
  color: #ff4081;
}

.price-note {
  font-size: 0.85em;
  color: #555;
  margin-top: 8px;
  line-height: 1.4;
}

/* Badge */
.card {
  position: relative; /* required for badge */
}

.price-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #ff4081;
  color: #fff;
  padding: 6px 12px;
  font-size: 0.75em;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(255, 64, 129, 0.3);
}

.photobooth-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.image-container {
    position: relative;
    max-width: 500px;
}

.photobooth-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hotspot circles */
.hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #ff4081;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: 0.3s ease;
}

.hotspot:hover {
    transform: translate(-50%, -50%) scale(1.2);
    background: #ff0055;
}

/* Description box */
.feature-description {
    max-width: 350px;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* =========================================================
   FORM STYLES
   ========================================================= */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 400px;
}

input, textarea, select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
  background-color: white;
  color: #333;
  appearance: none;
}

input[type="checkbox"] {
  appearance: auto; /* zeigt das native Häkchen */
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}

button {
  padding: 12px;
  background: #ff4081;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
}

/* Success / Error messages */
.form-success, .form-error {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 500px;
  text-align: center;
}

.form-success { background: #d4edda; color: #155724; }
.form-error { background: #f8d7da; color: #721c24; }

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-checkbox input[type="checkbox"] {
  appearance: auto; /* native Checkbox */
  cursor: pointer;
  margin: 0;
}

.form-checkbox span {
  cursor: default; /* Text nicht klickbar für Checkbox */
}

.form-checkbox a {
  color: #ff4081;
  text-decoration: underline;
}

.form-checkbox a:hover {
  text-decoration: none;
}
/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: #222;
  color: white;
  padding: 20px;
  text-align: center;
  margin-top: 50px;
}

footer a {
  color: #ff4081;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================================================
   INSTAGRAM LINK
   ========================================================= */
.instagram-link {
  text-align: center;
  margin-top: 25px;
}

.instagram-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1.1em;
}

.instagram-link a svg {
  width: 36px;
  height: 36px;
  transition: transform 0.3s, filter 0.3s;
}

.instagram-link a:hover svg {
  transform: scale(1.2);
  filter: brightness(1.2);
}

.instagram-handle {
  color: #ff4081;
}

/* =========================================================
   MAP
   ========================================================= */
.liefergebiet { align-items: center; }

#mapid {
  flex-shrink: 0;
  width: 100%;
  max-width: 900px;
  height: 400px;
  margin: 20px auto;
  border-radius: 10px;
  min-height: 400px;
  z-index: 1;
}

/* ---- FAQ / SEO Section ---- */

.faq-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.faq-item {
  background: #f9f9f9;
  padding: 26px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  color: #ff4081;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.faq-item p {
  color: #444;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   STATIC PAGES (Impressum / Datenschutz)
   ========================================================= */
header {
  background: #ff4081;
  color: white;
  padding: 20px;
  text-align: center;
}

main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: left;
}

main h1 { font-size: 2.5em; margin-bottom: 20px; }
main h2 { font-size: 1.5em; margin-top: 30px; margin-bottom: 10px; }
main p, main ul { margin-bottom: 15px; text-align: left; }
main ul { margin-left: 20px; }
/* =========================================================
   RESPONSIVE MEDIA QUERIES (Clean, Device-Optimized)
   ========================================================= */

/* ---- Extra small phones (≤ 430px) ---- */
/* e.g. iPhone SE, older Androids */
@media (max-width: 430px) {
  body {
    font-size: 0.9em;
  }

  .business-name { font-size: 1.8em; }
  h1 { font-size: 1.6em; }
  h2 { font-size: 1.3em; }
  h3 { font-size: 1em; }

  .site-logo.corner img {
    height: 60px !important;
    width: auto !important;
  }

  .header-nav {
    gap: 3px;
  }

  .header-logo img { height: px; }

  .header-nav a {
    font-size: 0.65em;
    padding: 6px 4px;
  }

  .addon-card {
    font-size: 0.85em;
    padding: 10px 6px;
  }
}

/* ---- Small / standard phones (431px – 600px) ---- */
/* e.g. Galaxy S8+, iPhone 11–14, Pixel 7, etc. */
@media (min-width: 431px) and (max-width: 600px) {
  body {
    font-size: 1em;
  }

  .business-name { font-size: 2.2em; }
  h1 { font-size: 1.8em; }
  h2 { font-size: 1.4em; }

  .header-logo img { height: 50px; }
  .header-inner { gap: 6px; padding: 8px 8px; }

  .header-nav a {
    font-size: 0.75em;
    padding: 4px 6px;
  }

  .addon-card {
    font-size: 0.9em;
    padding: 14px 10px;
  }
}

/* ---- Tablets (601px – 1024px) ---- */
/* e.g. iPad Mini, iPad Pro, Galaxy Tab, Surface Go */
@media (min-width: 601px) and (max-width: 1024px) {
  body {
    font-size: 1.05em;
  }

  .hero {
    min-height: 85vh;
    padding-top: 70px;
    justify-content: center;
  }
    
  .business-name { font-size: 2.8em; }

  .header-logo img { height: 70px; }

  .header-inner { gap: 12px; }


  .addons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Laptops / desktops (1025px – 1399px) ---- */
@media (min-width: 1025px) and (max-width: 1399px) {
  body {
    font-size: 1.15em;
  }

  .hero {
    min-height: 90vh;
    padding-top: 80px;
  }

  .business-name { font-size: 3.2em; }

}

/* ---- Large desktop screens (≥ 1400px) ---- */
@media (min-width: 1400px) {
  body {
    font-size: 1.2em;
  }


  .hero {
    min-height: 95vh;
  }
}

@media (max-width: 768px) {
  .hero {
    background: url('../img/photobooth_mobile.jpg') center/cover no-repeat;
  }
}
