/* -----------------------------
   BASISLAYOUT & TYPOGRAFIE
------------------------------ */
body {
    margin: 0;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f8fc;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    text-align: center;
    color: #5a2d91;
    margin: 30px 0 20px;
}

.container {
    flex: 1 0 auto;
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    box-sizing: border-box;
}

.aboutus-content {
    text-align: center;
}

/* -----------------------------
   TELEGRAM / ABDL_KRABBELGRUPPE
------------------------------ */

.telegram-page-title {
  color: #7e5bef;
  text-align: center;
  margin-top: 1.5rem;
}

.telegram-intro-text {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.telegram-widget-wrapper {
  margin: 30px auto;
  max-width: 600px;
  text-align: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(126, 91, 239, 0.15);
}

.telegram-rules-box {
  background: #f4f1fb;
  border-radius: 16px;
  padding: 20px;
  margin: 20px auto;
  max-width: 700px;
  box-shadow: 0 2px 10px rgba(126, 91, 239, 0.1);
}

.telegram-rules-box ul {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 15px 0;
}

.telegram-rules-box li {
  margin: 6px 0;
}

.telegram-join-button {
  text-align: center;
  margin: 30px 0 50px 0;
}

.telegram-join-button a {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #8A4BED;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
    align-self: center;
}

.telegram-join-button a:hover {
  background: #7235a5;
}

/* -----------------------------
   FORMULARE & FELDER
------------------------------ */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    margin-bottom: 20px;
}

form label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    background: #fff;
}

form fieldset {
    width: 95%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 15px 0;
    background-color: #faf9fd;
    box-sizing: border-box;
}

form fieldset input,
form fieldset select,
form fieldset textarea {
    margin-top: 5px;
    margin-bottom: 5px;
}

form legend {
    font-weight: bold;
    color: #8A4BED;
    font-size: 15px;
}

/* Buttons */
form button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #8A4BED;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
    align-self: center;
}

form button:hover {
    background-color: #7235a5;
}

.form-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.success-message,
#updateMessage {
    background-color: #e6ffed;
    color: #276738;
    border: 1px solid #b2d8b2;
    padding: 1em;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.error-message {
  color: #b00020;
  background: #fdd;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #b00020;
  border-radius: 5px;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
  justify-content: center;
}

.linktree-button {
  display: inline-block;
  background-color: #8A4BED;
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s ease;
}

.linktree-button:hover {
  background-color: #7235a5;
}

/* -----------------------------
   NAVIGATION & SUCHE
------------------------------ */
.topnav {
    background-color: #f0e6f6;
    border-bottom: 1px solid #ccc;
    padding: 0.8em 0;
    text-align: center;
    border-radius: 12px 12px 12px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-inner {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.nav-inner a,
.dropbtn {
    background: none;
    border: 0px solid #ccc;
    border-radius: 8px;
    color: #663399;
    font-weight: bold;
    font-size: 1.05em;
    text-decoration: none;
    cursor: pointer;
    padding: 0.5em 1em;
    transition: background-color 0.2s ease;
}

.nav-inner a:hover,
.dropbtn:hover {
    background-color: #f0e6f6;
    text-decoration: none;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 180px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-content a {
    color: #663399;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #f0e6f6;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Aktiv-Status */
.topnav a.active,
.topnav .dropbtn.active {
  background-color: #8A4BED;
  color: white;
  border-radius: 6px;
}

.search-form {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 600px;
}

.search-form input[type="text"],
.search-form button {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* -----------------------------
   MARKER, KARTE, EINTRÄGE & KALENDER
------------------------------ */
#map {
    height: 600px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 2em 0;
}

.markers {
    max-width: 960px;
    margin: 0 auto;
}

.marker-item {
    border: 1px solid #ddd;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.marker-item h3 {
    margin-top: 0;
    color: #8A4BED;
}

.marker-item p {
    margin: 5px 0;
}

.no-results {
    text-align: center;
    font-style: italic;
    color: #999;
}

/* Karten-Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
    max-width: 1000px;
    margin: auto;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
}

.card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 2px solid #8A4BED;
}

.card h3 {
    margin: 0;
    font-size: 18px;
    color: #8A4BED;
}

.card p {
    margin: 5px 0;
    font-size: 14px;
}

.card-link {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background-color: #8A4BED;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.card-link:hover {
    background-color: #7235a5;
}

#calendar { 
    height: 600px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 2em 0;
}

/* --------------------------------------
   FULLCALENDAR STYLE ANPASSUNG
----------------------------------------- */
.fc {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #333;
}

.fc-toolbar-title {
    font-size: 20px;
    font-weight: bold;
    color: #8A4BED;
}

.fc-button {
    background-color: #8A4BED !important;
    border: none !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-weight: bold;
    transition: background 0.3s ease;
}

.fc-button:hover {
    background-color: #7235a5 !important;
}

.fc-button-primary:not(:disabled).fc-button-active,
.fc-button-primary:not(:disabled):active {
    background-color: #5a2d91 !important;
}

.fc-button-group > .fc-button {
    margin-right: 5px;
}

.fc-daygrid-day-number {
    font-weight: bold;
    color: #5a2d91;
}

.fc-daygrid-event {
    background-color: #e9ddfb;
    border: 1px solid #c8afff;
    color: #5a2d91;
    border-radius: 6px;
    padding: 2px 4px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 2px;
    transition: background 0.3s ease;
}

.fc-daygrid-event:hover {
    background-color: #d7c2f8;
    cursor: pointer;
}

.fc-event-time {
    font-weight: bold;
    color: #444;
}

/* Popover-Stil für Tagesansicht */
.fc-popover {
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border: none;
}

/* Wochen- und Tagesansicht */
.fc-timegrid-slot-label {
    color: #888;
}

.fc-timegrid-event {
    background-color: #8A4BED;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    padding: 4px;
}

.fc-timegrid-event:hover {
    background-color: #6d38b2;
}

/* Heute-Hintergrund */
.fc-day-today {
    background-color: #fdf3ff !important;
}

/* Wochenende optional abgrauen */
.fc-day-sat, .fc-day-sun {
    background-color: #fafafa;
}

/* --------------------------------------
   MODAL
----------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.6);
    }

    .modal-content {
      background-color: #fff;
      margin: 5% auto;
      padding: 20px;
      border-radius: 12px;
      width: 90%;
      max-width: 600px;
      max-height: 80vh;
      overflow-y: auto;
      box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    }

    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: #000;
      text-decoration: none;
    }

/* -----------------------------
   PAGINIERUNG
------------------------------ */
.pagination {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.pagination a,
.pagination span {
    margin: 0 5px;
    padding: 6px 10px;
    text-decoration: none;
    border: 1px solid #ccc;
    color: #333;
    font-size: 13px;
    border-radius: 4px;
}

.pagination span.current,
.pagination a.active {
    background-color: #8A4BED;
    color: white;
    font-weight: bold;
    border-color: #7235a5;
}

/* -----------------------------
   INTRO-BOX
------------------------------ */
.intro-box {
    background-color: #f0e6f6;
    border: 2px solid #b57edc;
    border-radius: 8px;
    padding: 20px;
    margin: 30px auto;
    max-width: 800px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

/* -----------------------------
   SPENDENBOX
------------------------------ */
.spendenbox {
    background-color: #f0e6f6;
    border: 2px solid #b57edc;
    border-radius: 8px;
    padding: 20px;
    margin: 30px auto;
    max-width: 600px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

/* -----------------------------
   EINTRAG-LINK
------------------------------ */
.eintrag-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: #8A4BED;
    text-decoration: none;
    border: 2px solid #8A4BED;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.eintrag-link:hover {
    background-color: #8A4BED;
    color: white;
}

/* -----------------------------
   KATEGORIEN-LEGENDE
------------------------------ */
.legend-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 1em auto;
    font-family: sans-serif;
    font-size: 14px;
    text-align: center;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
    border: 1px solid #ccc;
}

.legend-dot.blue { background: blue; border: none; }
.legend-dot.pink { background: pink; border: none; }
.legend-dot.green { background: green; border: none; }
.legend-dot.purple { background: purple; border: none; }
.legend-dot.aqua { background: aqua; border: none; }
.legend-dot.brown { background: brown; border: none; }
.legend-dot.gray { background: gray; border: none; }
.legend-dot.orange { background: orange; border: none; }
.legend-dot.yellow { background: yellow; }
.legend-dot.red { background: red; border: none; }
.legend-dot.teal { background: teal; border: none; }

/* -----------------------------
   FEEDBACK
------------------------------ */
.feedbackbox {
    background-color: #f0e6f6;
    border: 2px solid #b57edc;
    border-radius: 8px;
    padding: 20px;
    margin: 30px auto;
    max-width: 600px;
    text-align: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
    gap: 4px;
}

.rating input[type="radio"] {
    display: none;
}

.rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.rating input[type="radio"]:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
    color: gold;
}

/* -----------------------------
   FOOTER-NAV
------------------------------ */
.footer-nav {
  flex-shrink: 0;
  background-color: #f0e6f6;
  color: #663399;
  font-size: 13px;
    border-bottom: 1px solid #ccc;
  padding: 0.8em 0;
  text-align: center;
  border-radius: 12px 12px 12px 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);

}

.footer-inner a {
  color: #663399;
  text-decoration: none;
  font-weight: bold;

}

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

/* -----------------------------
   HONEYPOT
------------------------------ */
.honeypot {
    display: none;
}


.top100-entry {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 25px auto;
    border-radius: 10px;
    max-width: 650px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    text-align: center;
    justify-content: center;
}

.top100-entry .rank {
    font-size: 1.2em;
    font-weight: bold;
    color: #8A4BED;
    margin-bottom: 10px;
}

.top100-banner {
    max-width: 80%;
    height: 60px;
    border-radius: 6px;
    margin: 10px 0;
}

.top100-meta-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    font-weight: bold;
    color: #555;
}

.link-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: center;
  justify-content: center;
}

.link-entry {
  background: #f8f3ff;
  border: 1px solid #e2d4f7;
  border-radius: 12px;
  padding: 1rem;
  width: 95%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  justify-content: center;
}

.link-banner {
  max-width: 80%;
  height: 60px;
  border-radius: 6px;
  margin: 0.5rem 0;
}

.link-description {
  font-size: 0.9rem;
  color: #444;
  margin-top: 0.5rem;
}

.meta-box {
    padding: 6px 12px;
    background: #f0e6f6;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* -----------------------------
   GUESTBOOK
------------------------------ */

.guestbook-entries {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.entry-box {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 25px auto;
    border-radius: 10px;
    max-width: 650px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    text-align: center;
}



.entry-header {
    font-size: 1rem;
    color: #4a2c5b;
    margin-bottom: 0.5rem;
}

.entry-date {
    font-size: 0.85rem;
    color: #777;
    margin-left: 0.4rem;
}

.entry-message {
    font-size: 1rem;
    line-height: 1.4;
    color: #333;
}
