:root {
  --bg-pink: #fff0f5;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --accent: #be185d;
  --accent-hover: #9d174d;
  --accent-light: #fce7f3;
  --white: #ffffff;
  --deep-berry: #831843;
  --radius: 16px;
  --shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  background-color: var(--white);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-color: var(--deep-berry);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color 0.5s ease;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

/* ICONS */
.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  fill: currentColor;
  color: var(--accent);
}

.check-icon {
  color: var(--accent);
  margin-right: 10px;
  width: 18px;
}

.chevron {
  transition: transform 0.3s;
  width: 18px;
  color: var(--accent);
}

header {
  background-color: var(--deep-berry);
  position: relative;
  /*background: var(--white);*/
  /* Startet Weiß wie der Hero */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: background-color 0.5s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO ANPASSUNG */
.logo-img img {
  height: 50px;
  /* Passt die Höhe an das Navigations-Design an */
  width: auto;
  /* Behält das Seitenverhältnis bei */
  display: block;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
}

.logo-img:hover img {
  transform: scale(1.05);
  /* Kleiner Effekt beim Drüberfahren */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white) !important;
}

.nav-links a:hover {
  color: var(--accent-light) !important;
}

/* BUTTONS */
.btn-primary {
  background-color: var(--accent);
  color: var(--white) !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 12px rgba(190, 24, 93, 0.25);
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(190, 24, 93, 0.35);
}

/* PROFILE ICON (MOBIL) */
.mobile-profile-link {
  display: none;
  /* Standardmäßig aus */
  color: var(--white) !important;
  /* Vorher war es --accent */
  width: 25px;
  height: 25px;
}

/* SECTIONS GENERAL */
.section-padding {
  padding: 100px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 25px;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero {
  /* Diese 4 Zeilen zentrieren den Inhalt perfekt */
  min-height: calc(100vh - 80px);
  /* 100% der Displayhöhe minus Header-Höhe */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 40px 20px;
  /* Etwas Padding für den Fall, dass der Text sehr lang ist */
  text-align: center;
  background: var(--white);
  position: relative;
  width: 100vw;
  border-bottom: none;
  overflow: hidden;
  overflow-x: clip;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(20px + env(safe-area-inset-left, 0px));
  padding-right: calc(20px + env(safe-area-inset-right, 0px));
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle,
      var(--accent-light) 0%,
      rgba(255, 255, 255, 0) 60%);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.hero>* {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-mobile-logo {
  display: block;
  height: 140px;
  width: auto;
  margin-bottom: 25px;
}

/* CARDS & GRIDS */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  padding: 35px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-light);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: var(--text-main);
  font-size: 0.95rem;
}

/* OPENING HOURS */
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 1rem;
}

.hours-row:last-child {
  border-bottom: none;
}

.closed {
  color: var(--accent);
  font-weight: 500;
}

/* PARKPLATZ BADGES */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 15px;
  background: var(--accent-light);
  color: var(--accent);
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.05rem;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-body);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #fafafa;
}

.faq-answer p {
  padding: 25px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .chevron {
  transform: rotate(180deg);
}

/* --- NEU: ZENTRIERTE KONTAKT SECTION --- */
/* Ersetze die alten Regeln für #contact und #about durch diese hier: */

#about {
  background-color: var(--bg-pink) !important;
}

#portfolio-section {
  /* Wir geben dem Portfolio eine ID für das CSS */
  background-color: var(--bg-pink);
}

#contact {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-pink) !important;
  /* Hier war vorher bg-body */
}

/* MODERN & ELEGANT FOOTER */
footer {
  background: #ffffff;
  padding: 80px 0 0 0;
  /* Wir setzen Padding unten auf 0 und regeln es im bottom-Teil */
  border-top: 1px solid var(--border);
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  text-align: left;
}

footer .footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 15px;
  display: block;
}

.footer-column h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  /* Wichtig für die Linie */
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  margin: 0;
  /* Override previous margin */
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  background-color: var(--deep-berry);
  color: #e5e7eb;
  /* Helles Grau für den Text, damit er gut lesbar ist */
  padding: 25px 20px calc(25px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  /* Damit der dunkle Balken über die volle Breite geht: */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.footer-bottom p {
  margin: 0;
}

/* Optional: Damit das Herz rot leuchtet */
.footer-bottom span.heart {
  color: #e11d48;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 35px;
  height: 35px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

/* --- SCATTER LAYOUT (Desktop - Collage ohne Text in der Mitte) --- */
.scatter-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 gleichmäßige Spalten */
  gap: 40px;
  align-items: center;
  justify-items: center;
  padding: 20px 0;
}

.scatter-item {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.4s,
    box-shadow 0.4s;
  width: 100%;
}

.scatter-item:hover {
  transform: translateY(-5px) scale(1.02) !important;
  /* Wichtig, überschreibt die normale Drehung beim Hover */
  box-shadow: 0 15px 35px -5px rgba(190, 24, 93, 0.25);
  z-index: 20;
  position: relative;
}

.scatter-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bilder dynamisch verschieben und leicht drehen für den "Scatter"-Look */
/* --- KORRIGIERTES SCATTER LAYOUT --- */
.item-0 {
  transform: translateY(20px) rotate(-2deg);
  width: 90%;
}

/* Oben links */
.item-1 {
  transform: translateY(-30px) rotate(1deg);
  width: 85%;
}

/* Oben mitte - *lassen wir so* */
.item-2 {
  transform: translateY(20px) rotate(-1deg);
  width: 95%;
}

/* Oben rechts */
.item-3 {
  transform: translateY(-10px) rotate(2deg);
  width: 80%;
}

/* Unten links - *lassen wir so* */
.item-4 {
  transform: translateY(30px) rotate(-2deg);
  width: 90%;
}

/* Unten mitte */

/* NEU: Bild 6 (unten rechts) wird jetzt nach unten geschoben (positive 40px) */
.item-5 {
  transform: translateY(40px) rotate(1deg);
  width: 85%;
}

/* --- ZOOM BUTTON AUF DEN BILDERN --- */
.scatter-item {
  position: relative;
  /* Wichtig, damit der Button im Bild bleibt */
}

.zoom-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
  color: var(--deep-berry);
}

.zoom-btn:hover {
  transform: scale(1.1);
  background: var(--white);
  color: var(--accent);
}

.zoom-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
}

/* --- LIGHTBOX (Das Fenster für das große Bild) --- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  /* Über dem Header und dem FAB-Kalender */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  object-fit: contain;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  background: transparent;
  border: none;
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  transition: transform 0.2s;
  line-height: 1;
}

.lightbox-close:hover {
  transform: scale(1.2);
  color: var(--accent-light);
}

/* --- MOBILE ANSICHT (wie bisher: 1 Spalte, max 3 Bilder) --- */
@media (max-width: 900px) {
  .scatter-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
  }

  .scatter-item {
    width: 100% !important;
    height: 250px;
    transform: none !important;
    /* Entfernt die wilden Drehungen am Handy */
  }

  /* Bild 4, 5 und 6 auf dem Handy verstecken */
  .item-3,
  .item-4,
  .item-5 {
    display: none;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-mobile-logo {
    display: block;
    /* Auf dem Handy anzeigen */
    height: 129px;
    /* Größe nach Wunsch anpassen */
    width: auto;
    margin-bottom: 20px;
    /* Abstand zum Namen ColorbySultan */
  }

  .hero {
    padding: 120px 20px 80px;
    /* 1. Hintergrund auf Weiß setzen */
    background: var(--white);
  }

  /* 2. Den pinken Glow-Effekt (Gradient) auf dem Handy entfernen */
  .hero::before {
    display: none;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-padding {
    padding: 70px 20px;
  }

  #contact {
    min-height: auto;
    padding: 80px 20px;
  }

  .hero,
  .footer-bottom {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Auf Handy normale Höhe */
}

@media (max-width: 450px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .card {
    padding: 25px;
  }
}

@media (max-width: 600px) {
  .fab-booking {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .fab-booking svg {
    width: 24px;
    height: 24px;
  }

  .footer-bottom .container {
    justify-content: center;
    text-align: center;
  }
}

@media screen and (max-width: 900px) {

  /* Versteckt die normale Menüleiste komplett */
  .nav-links {
    display: none !important;
  }

  /* Zeigt das Profil-Icon an */
  .mobile-profile-link {
    display: block;
  }

  .nav-container {
    padding: 10px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    /* Alles untereinander */
    text-align: center;
    /* Zentriert sieht mobil viel besser aus */
    gap: 50px;
  }

  /* Linie unter der Überschrift zentrieren */
  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Social Icons zentrieren */
  .social-links {
    justify-content: center;
  }
}

.footer-bottom {
  background-color: var(--deep-berry);
  color: #e5e7eb;
  /* Padding oben/unten 25px, links/rechts 0 (Container regelt das) */
  padding: 25px 0 calc(25px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;

  /* Full Width Hack */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.footer-bottom .container {
  /* Container im dunklen Balken braucht auch Padding */
  padding: 0 25px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

@media screen and (min-width: 601px) and (max-width: 1024px) {

  /* Zwingt den Kontakt-Bereich in ein 2-Spalten Raster */
  #contact .grid-3 {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px;
  }

  /* Das 1. Element (Adresse) soll sich über beide Spalten strecken */
  #contact .grid-3>div:nth-child(1) {
    grid-column: 1 / -1;
    /* Volle Breite */
    max-width: 80%;
    /* Damit der Text nicht zu breit wird */
    margin: 0 auto;
    /* Zentriert den Block */
  }

  /* Optional: Die Adresse selbst nochmal zentrieren */
  #contact .grid-3>div:nth-child(1) p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Anpassung für mobile Geräte, falls das Logo dort zu groß/klein ist */
@media screen and (max-width: 900px) {
  .logo-img img {
    height: 40px;
  }
}

/* --- FLOATING ACTION BUTTON (Kalender) --- */
.fab-booking {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(190, 24, 93, 0.4);
  z-index: 5000;
  /* Hoch genug, aber unter dem Announcement Modal (99999) */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.fab-booking:hover {
  transform: scale(1.1);
  background-color: var(--accent-hover);
  box-shadow: 0 8px 25px rgba(190, 24, 93, 0.6);
  color: var(--white);
}

/* Puls-Animation für Aufmerksamkeit */
.fab-booking::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(190, 24, 93, 0.7);
  animation: pulse-ring 2s infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(190, 24, 93, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(190, 24, 93, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(190, 24, 93, 0);
  }
}

/* Icon Größe */
.fab-booking svg {
  width: 28px;
  height: 28px;
  stroke-width: 2px;
}