@charset "UTF-8";
/* ==============================
   The ZL Flap Club: Global Styles
   Datei: all.css
============================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Inter:wght@300;400;500&display=swap');

html {
  scroll-behavior: smooth;
}


/* Reset & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;  
}

body {
  background: none;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  margin: 0;
  line-height: 1.6;	
}


a {
  color: #b89161;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #a47a50;
}




/* =====================
   Buttons (Global Style)
====================== */
.cta-btn,
button {
  background-color: #d4af7f;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover,
button:hover {
  background-color: #b89161;
}
/* Ausnahme fÃƒÆ’Ã‚Â¼r Wechselklappen-Buttons */
.wechselklappe-btn {
  all: unset;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background-color: #efebe5;
  cursor: pointer;
  border: 1px solid #ccc;
  padding: 0;
  box-sizing: border-box;
}


/* Kleine Variante fÃƒÆ’Ã‚Â¼r Inline-Buttons */
.cta-btn.small {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 40px;
}



/* =====================
   Neuer Header (Facebook-Style)
====================== */


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #ddd;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);	
}

.navbar-left, .navbar-center, .navbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  max-height: 40px;
  height: auto;
}

.nav-icon-link {
  font-size: 1.25rem;
  color: #333;
  position: relative;
  text-decoration: none;
}

.nav-icon-link:hover {
  color: #b89161;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  background: #d9534f;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: bold;
  min-width: 16px;
  text-align: center;
}

.profile-pic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

.profile-dropdown {
  position: relative;
}

.profile-menu {
  display: none;
  position: absolute;
  top: 120%;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 6px;
  overflow: hidden;
  z-index: 2000;
  min-width: 180px;
}

.profile-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: #a47a50;
  text-decoration: none;
  font-size: 0.95rem;
}

.profile-menu a:hover {
  background: #f8f5f0;
  color: #b89161;
}

.circle-button {
  width: 40px;
  height: 40px;
  background-color: #f2f2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b89161;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
}

.circle-button:hover {
  background-color: #e7e7e7;
  transform: scale(1.05);
}

.circle-button i {
  font-size: 1.1rem;
  color: #b89161;
}

.profile-pic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  position: relative; /* notwendig fÃ¼r ::after */
  z-index: 1;
}


.profile-dropdown:hover .profile-pic {
  box-shadow: 0 0 0 2px #b89161;
  transition: box-shadow 0.2s ease;
}



.profile-pic {
  position: relative;
  z-index: 1;
}


.navbar-center .nav-icon-link i {
  color: #b89161;
  transition: color 0.3s ease;
}

.navbar-center .nav-icon-link:hover i {
  color: #a47a50;
}

.navbar-center {
  display: flex;
  align-items: center;
  gap: 4rem; /* â¬…ï¸ Hier kannst du den Abstand anpassen */
}


.nav-icon-link {
  position: relative;
}

.nav-icon-link::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px); /* etwas mehr Abstand */
  left: 50%;
  transform: translateX(-50%);
  background-color: #8A8888;
  color: white;
  padding: 6px 10px; /* â¬…ï¸ grÃ¶ÃŸerer Tooltip */
  font-size: 0.8rem;  /* â¬…ï¸ etwas grÃ¶ÃŸerer Text */
  white-space: nowrap;
  border-radius: 8px; /* â¬…ï¸ grÃ¶ÃŸerer Radius */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* optional: weicher Schatten */
}



.nav-icon-link:hover::after {
  opacity: 1;
}

.profile-dropdown.circle-button {
  background: transparent;       /* kein grauer Button-Kreis */
  box-shadow: none;              /* Schatten entfernen */
  padding: 0;                    /* kein Innenabstand */
}

.profile-dropdown {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* gleiche HÃ¶he wie .circle-button */
  width: 40px;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.profile-dropdown {
  position: relative; /* Wichtig, damit der Pfeil sich daran orientiert */
}

.profile-arrow {
  position: absolute;
  bottom: 0px;
  right: -2px;
  width: 18px;
  height: 18px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.profile-arrow::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #b89161;
  position: relative;
  top: 1px;
}




.profile-pic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}









/* =====================
   Footer ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Å“ Flap Club Elegant Look
====================== */

footer::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(to right, transparent, #d4af7f, transparent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* Footer Container */
footer {
  background: #f8f5f0;
  padding: 2.5rem 1rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #5a4b44;
  position: relative;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.footer-links a {
  color: #5a4b44;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #b89161;
  text-decoration: underline;
}

/* Kleine Credits-Zeile darunter */
.footer-credits {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.8rem;
  line-height: 1.5;
}


/* =====================
   Scroll-To-Top Button
====================== */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 1.2rem;
  border: none;
  outline: none;
  background-color: #d4af7f;
  color: white;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #b89161;
  transform: scale(1.05);
}


.nav-icon {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}



.notification-link {
  display: inline-block;
  position: relative;
}

.notification-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  color: #b89161; /* Signature Gold */
  stroke: #b89161;
}

.notification-link:hover .notification-icon {
  stroke: #a47a50; /* dunkleres Gold beim Hover */
  transform: scale(1.1);
  transition: all 0.3s ease;
}



.notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #d9534f;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: bold;
}
/* Bei neuen Nachrichten: Hintergrund-Kreis */
.notification-link.has-new {
  background-color: #fff5e9;
  box-shadow: 0 0 4px rgba(180, 140, 90, 0.2);
}

/* ÃƒÂ°Ã…Â¸Ã¢â‚¬ÂÃ‚Â´ Der rote ZÃƒÆ’Ã‚Â¤hler-Badge */
.notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #d9534f;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: bold;
  line-height: 1;
  min-width: 18px;
  text-align: center;
}



/* =====================
   User-Badges
====================== */

.badge-icon {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.85em;
  color: #b89161;
}
.badge-icon[title] {
  cursor: help;
}

.user-badges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 0.4rem;
}

.badge-online {
  width: 8px;
  height: 8px;
  background-color: #3bb043;
  border-radius: 50%;
  display: inline-block;
  margin-left: 4px;
}

.badge-icon[data-tooltip] {
  position: relative;
  cursor: default;
}

.badge-icon[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -42px; /* über dem Badge */
  left: 50%;
  transform: translateX(-50%);
  background-color: #8A8888;
  color: white;
  padding: 6px 10px;
  font-size: 0.8rem;
  white-space: nowrap;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-family: 'Inter', sans-serif; /* ← jetzt wie im Header */
  font-weight: 400;
}



.badge-icon[data-tooltip]:hover::after {
  opacity: 1;
}



/* =====================
   Chat-Panel
====================== */


#notification-panel {
  position: fixed;
  top: 60px;
  right: 0;
  width: 420px;
  max-height: 80vh; /* maximal 80% der FensterhÃƒÂ¶he */
  background: #fff;
  box-shadow: none;
  border-left: 1px solid #ccc;
  padding: 1em;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
    overflow-y: auto;

}

#notification-panel.visible {
  transform: translateX(0);
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
}

#notification-content {
  max-height: 65vh; /* HÃƒÂ¶he fÃƒÂ¼r scrollbaren Nachrichtenbereich */
  overflow-y: auto;
  padding-right: 6px; /* Platz fÃƒÂ¼r Scrollbar */
}


#notification-panel .panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
}

#notification-panel #close-panel {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

.notification-item.system-highlight {
  background-color: #FFF7F7; /* hellrot */
}


.hidden {
  display: none;
}

.notification-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notification-list li {
  margin-bottom: 1rem;
  border-bottom: 1px solid #f0e9e0;
  padding-bottom: 0.5rem;
}

.notification-list a {
  color: #b89161;
  text-decoration: none;
  display: block;
}

.notification-list a:hover .notification-from,
.notification-list a:hover .notification-preview,
.notification-list a:hover .notification-thread,
.notification-list a:hover .notification-time {
  color: #a47a50;
}



.notification-date {
  font-size: 0.8rem;
  color: #999;
}
#notification-panel h3 {
  font-size: 1.2rem;
  color: #b89161;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

#notification-panel a {
  color: #5a4b44;
  font-size: 0.85rem;
  font-weight: 300;	
  line-height: 1.2;
  display: block;
  text-decoration: none;
  transition: color 0.3s ease;
}
.notification-preview {
  font-size: 0.8rem;
  color: #777;
}


.notification-time {
  font-size: 0.65rem;
  color: #aaa;
}

.notification-item {
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
}


#notification-panel a:hover {
  color: #b89161;
  /* HintergrundÃƒÂ¤nderung entfernen */
  background: none;
}
.notification-item.unread .notification-from {
  font-weight: bold;
  color: #b89161;
}
.notification-item.unread-message a {
  font-weight: bold;
}


.notification-entry {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.notification-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.notification-text {
  flex: 1;
}

.notification-from {
  font-weight: 500;
  color: #b89161;
  margin-bottom: 4px;
}

.notification-preview {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 4px;
  line-height: 1.3;
}

.notification-time {
  font-size: 0.75rem;
  color: #999;
}



.notification-avatar-wrapper {
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-block;
}

.notification-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.notification-type-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.badge-message {
  background-color: #4caf50; /* GrÃƒÂ¼n fÃƒÂ¼r Nachrichten */
}

.badge-reply {
  background-color: #1877f2; /* Blau fÃƒÂ¼r Threadantworten */
}

.badge-system {
  background-color: #ff9800; /* Orange fÃƒÂ¼r System */
}
.badge-system {
  background-color: #ff9800; /* Orange */
}

.notification-item.unread .notification-from,
.notification-item.unread .notification-thread,
.notification-item.unread .notification-preview {
  font-weight: bold;
}

#notification-panel .notification-text,
#notification-panel .notification-preview,
#notification-panel .notification-from,
#notification-panel .notification-thread,
#notification-panel .notification-time {
  text-align: left;
}





.hamburger {
  width: 26px; /* schmaler als vorher */
  height: 20px; /* minimal kleiner */
   margin-left: auto; /* ðŸ”¹ schiebt ihn ganz nach rechts */	
  position: relative;
  cursor: pointer;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px; /* zusÃ¤tzlicher Abstand zwischen den Linien */
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px; /* dÃ¼nner */
  background-color: #b89161; /* dein Signature-Gold */
  border-radius: 1px;
  transition: all 0.3s ease-in-out;
}


.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}


@media (max-width: 768px) {
  [data-tooltip]::after,
  [data-tooltip]::before {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
  }
}



@media (max-width: 768px) {
.nav-container {
  width: 100%;
  max-width: 100%;
  padding: 0; /* â¬…ï¸ kein Abstand mehr */
  display: flex;
  flex-direction: column;
}

.nav-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ðŸ‘ˆ wichtig */
  width: 100%;
}

.nav-icons-right {
  margin-left: auto; /* ðŸ‘ˆ das schiebt alles nach ganz rechts */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

  .notification-toggle,
  .profile-dropdown,
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
	 }

@media (max-width: 768px) {
  .navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 100px !important;
  }
}

 
	 
.nav-links {
  position: fixed;
  top: 60px;                 /* unter der Navbar */
  right: 1rem;               /* etwas Abstand zum Rand */
  height: auto;
  max-height: 85vh;
  width: 80vw;
  max-width: 300px;
  background-color: #fffdf9;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: none;
}

.nav-links.show {
  display: flex;
  transform: translateX(0);
}

.nav-links li {
  list-style: none;
  margin-bottom: 1.2rem;
}

.nav-links a {
  color: #b89161;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  display: block;
}

.nav-links a:hover {
  color: #a47a50;
}

}

  /* Panel: links öffnen */
  #notification-panel {
    left: 0 !important;
    right: auto !important;
    transform: translateX(-100%) !important;
    width: 70vw !important;
    top: 64px !important;
    max-height: 70vh !important;
    border-radius: 10px !important;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    border-right: 1px solid #ccc;
    border-left: none !important;
    z-index: 3000 !important;
	overflow-y: auto !important;
  
  }

  #notification-panel.visible {
    transform: translateX(0) !important;
  }

  .main-content {
    margin-top: 130px;
  }
}

}
	
	
	

	
	


[data-tooltip] {
  position: relative;
  cursor: pointer;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #8A8888;
  color: white;
  padding: 6px 10px;
  font-size: 0.8rem;
  white-space: nowrap;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[data-tooltip]:hover::after {
  opacity: 1;
}


[data-tooltip]:hover::before {
  opacity: 1;
}


.profile-dropdown[data-tooltip] {
  position: relative;
}





