/* Grundlayout & Body */
body, html {
  margin: 0; padding: 0; height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0fbfc;
  color: #222;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header & Navigation */
header.header {
  background: linear-gradient(to right, #00c6ff, #0072ff);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 1px;
  user-select: none;
}

nav.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

nav.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

nav.nav a:hover,
nav.nav a.active {
  background-color: rgba(255,255,255,0.25);
}

.menu-icon {
  font-size: 1.6rem;
  cursor: pointer;
  user-select: none;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  background-color: rgba(255,255,255,0.15);
  transition: background 0.3s ease;
}

.menu-icon:hover {
  background-color: rgba(255,255,255,0.3);
}

/* Overlay Menü */
.overlay-menu {
  display: none;
  position: fixed;
  top: 60px;
  right: 10px;
  width: 220px;
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1100;
}

.overlay-menu.active {
  display: flex;
}

.overlay-menu a {
  font-weight: bold;
  color: #00bcd4;
  text-decoration: none;
  transition: color 0.3s;
}

.overlay-menu a:hover {
  color: #00796b;
  text-decoration: underline;
}

.close-menu-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #999;
}

/* Hauptinhalt */
main.main, .community-main, .profil-main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  color: #222;
  font-size: 1rem;
  line-height: 1.5;
}

/* Buttons */
button {
  background-color: #00bcd4;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease;
  user-select: none;
}

button:hover:not(:disabled) {
  background-color: #0097a7;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Eingabefelder */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  max-width: 400px;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  resize: vertical;
  font-family: inherit;
  color: #222;
}

input::placeholder,
textarea::placeholder {
  color: #777;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #00bcd4;
  box-shadow: 0 0 5px rgba(0,188,212,0.5);
}

/* Community Beiträge */
.post-box, .community-post, .profil-beitrag {
  background: #fafafa;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.post-box-top, .post-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.post-avatar, .profil-bild {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00bcd4;
  flex-shrink: 0;
}

.post-box-top textarea {
  flex-grow: 1;
  min-height: 80px;
  border-radius: 10px;
  border: 1px solid #ccc;
  padding: 0.7rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.post-box-top textarea:focus {
  border-color: #00bcd4;
}

.post-actions, .community-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.post-actions button {
  background: none;
  border: none;
  color: #00bcd4;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.post-actions button:hover {
  color: #00796b;
}

/* Profil Seite */
.profil-container {
  text-align: center;
  padding: 1.5rem 1rem;
}

.profil-name {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #00bcd4;
}

.profil-bio {
  font-style: italic;
  color: #555;
  margin-bottom: 1rem;
}

.profil-statistik {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  font-weight: bold;
  color: #008a8f;
}

.btn-delete {
  background-color: #e53935;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 6px;
}

.btn-delete:hover {
  background-color: #c62828;
  color: white;
}

/* Chat System */
.chat-container, .chat-main {
  max-width: 900px;
  margin: 2rem auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  display: flex;
  height: 600px;
  font-family: inherit;
}

.chat-sidebar {
  width: 280px;
  background: #f0f2f5;
  border-radius: 12px;
  padding: 1rem;
  overflow-y: auto;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.05);
}

.friend-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.friend-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.4rem;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.friend-item:hover, .friend-item.active {
  background-color: #d8eafd;
}

.friend-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0078ff;
}

.chat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  padding: 1rem 1.5rem;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.6rem;
}

.back-button {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #0078ff;
  font-weight: 600;
  padding: 0;
}

.back-button:hover {
  text-decoration: underline;
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  background: #e5ddd5;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chat-message {
  max-width: 70%;
  padding: 8px 12px 20px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  line-height: 1.3;
  position: relative;
  word-wrap: break-word;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}

.chat-message.self {
  align-self: flex-end;
  background-color: #dcf8c6;
  border-bottom-right-radius: 4px;
  color: #202c33;
}

.chat-message.other {
  align-self: flex-start;
  background-color: #ffffff;
  border-bottom-left-radius: 4px;
  color: #303030;
}

.chat-text {
  white-space: pre-wrap;
}

.chat-img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 12px;
  margin-bottom: 6px;
  cursor: pointer;
  object-fit: cover;
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-input-row input[type="text"] {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid #ddd;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-input-row input[type="text"]:focus {
  border-color: #0078ff;
  box-shadow: 0 0 5px rgba(0,120,255,0.5);
}

.chat-input-row button {
  background: #0078ff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease;
}

.chat-input-row button:hover {
  background: #005bb5;
}

/* Emoji Picker */
.emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding: 6px;
  border-radius: 12px;
  background: #f0f0f0;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.emoji-picker button {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.emoji-picker button:hover {
  transform: scale(1.3);
}

/* Login/Register */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  overflow: hidden;
}

.login-container {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 360px;
  max-width: 90%;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  color: white;
}

.login-container .logo {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  user-select: none;
}

.login-container .slogan {
  font-size: 1.1rem;
  margin-bottom: 35px;
  color: #dbe9ff;
}

.login-container input[type="email"],
.login-container input[type="password"],
.login-container input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.25);
  color: #000;
  font-weight: 600;
}

.login-container input::placeholder {
  color: #555;
}

.login-container input:focus {
  box-shadow: 0 0 10px 2px #66a6ff;
  background: rgba(255, 255, 255, 0.4);
}

.login-container button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
  user-select: none;
  box-shadow: 0 4px 15px rgba(0,114,255,0.6);
}

.login-container button:hover {
  background: linear-gradient(45deg, #0072ff, #00c6ff);
}

.login-container .forgot-password {
  margin-top: 15px;
  display: block;
  color: #dbe9ff;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
}

.login-container .register-section {
  margin-top: 25px;
  font-size: 0.95rem;
  color: #dbe9ff;
}

.login-container .register-section button {
  background: none;
  box-shadow: none;
  color: #66a6ff;
  font-weight: 700;
  padding: 0;
  margin-left: 6px;
  border-radius: 0;
  width: auto;
  cursor: pointer;
}

.login-container .register-section button:hover {
  text-decoration: underline;
  background: none;
  box-shadow: none;
}

/* Responsive */
@media (max-width: 600px) {
  main.main, .community-main, .profil-main {
    margin: 1rem;
    padding: 1rem;
  }

  nav.nav {
    gap: 0.5rem;
  }

  .login-container {
    width: 100%;
    padding: 30px 20px;
  }

  .post-avatar, .profil-bild {
    width: 40px;
    height: 40px;
  }
}

/* Dashboard Container */
main.main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f0fbfc;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 205, 214, 0.15);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #003c5a;
}

/* Überschriften */
main.main h2, main.main h3 {
  color: #00bcd4;
  margin-bottom: 1rem;
}

/* Motivations-Spruch Box */
.spruchbox {
  background: linear-gradient(90deg, #b3e5fc, #81d4fa);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 1rem;
  color: #003c5a;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

/* Dashboard-Karten */
.dashboard-box {
  background: white;
  border-left: 5px solid #00bcd4;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

/* Farbvarianten der Boxen */
.dashboard-box.green {
  border-left-color: #4caf50;
}

.dashboard-box.yellow {
  border-left-color: #ffc107;
}

/* Überschriften in Box */
.dashboard-box h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: #00796b;
}

/* Text in Box */
.dashboard-box p {
  margin: 0.4rem 0;
  line-height: 1.5;
  font-size: 1rem;
}

/* Fortschrittsbalken Container */
.progress-bar-container {
  background-color: #e0f7fa;
  border-radius: 20px;
  height: 20px;
  width: 100%;
  overflow: hidden;
  margin: 1rem 0 0.5rem 0;
}

/* Fortschrittsbalken selbst */
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #00acc1, #26c6da);
  width: 0%;
  transition: width 0.6s ease-in-out;
  border-radius: 20px 0 0 20px;
}

/* Buttons */
button {
  background-color: #00bcd4;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0097a7;
}

/* Responsive */
@media (max-width: 600px) {
  main.main {
    padding: 1rem;
    margin: 1rem;
  }
  .dashboard-box {
    padding: 1rem;
  }
}

/* Fortschrittsbalken Container */
.progress-bar {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 12px;
  height: 20px;
  margin: 10px 0;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

/* Fortschritt selbst */
.progress {
  height: 100%;
  background: linear-gradient(to right, #4bd4c6, #7dd8f7);
  transition: width 0.5s ease;
  border-radius: 12px 0 0 12px;
}

/* Hintergrund und Zentrierung */
.login-background {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Container für Login / Registrierung */
.login-container {
  background: rgba(255, 255, 255, 0.15);
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  width: 360px;
  max-width: 90%;
  text-align: center;
  color: #fff;
  backdrop-filter: blur(10px);
}

/* Logo Bild */
.login-logo {
  width: 80px;
  margin-bottom: 1rem;
  user-select: none;
}

/* Logo-Text */
.login-container h1 {
  font-size: 2.8rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
  user-select: none;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

/* Slogan */
.login-slogan {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #dbe9ff;
  font-weight: 500;
}

/* Inputs */
.login-container input[type="email"],
.login-container input[type="password"],
.login-container input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.7);
  color: #000;
  font-weight: 600;
}

.login-container input::placeholder {
  color: #555;
}

.login-container input:focus {
  box-shadow: 0 0 10px 2px #66a6ff;
  background: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.login-container button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
  user-select: none;
  box-shadow: 0 4px 15px rgba(0,114,255,0.6);
}

.login-container button:hover {
  background: linear-gradient(45deg, #0072ff, #00c6ff);
}

/* Links */
.login-container .small a {
  color: #dbe9ff;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 10px;
}

/* Versteckte Formulare */
.login-form {
  margin-top: 1rem;
}
/* 📣 Feedback-Bereich */
.feedback-container {
  max-width: 800px;
  margin: 30px auto;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.feedback-container h2,
.feedback-container h3 {
  margin-bottom: 15px;
  color: #0088aa;
  font-weight: bold;
}

.feedback-container label {
  display: block;
  margin-top: 20px;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.feedback-container select,
.feedback-container textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  margin-bottom: 10px;
}

.feedback-container button {
  margin-top: 20px;
  padding: 12px 24px;
  background: #00bcd4;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.feedback-container button:hover {
  background: #009ab0;
}

.feedback-entry {
  background: #f0faff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid #cceeff;
}

.feedback-entry p {
  margin: 4px 0;
  font-size: 15px;
  color: #333;
}

#feedbackBestätigung {
  color: green;
  font-weight: bold;
}
/* ===== Feedback-Bereich ===== */
.feedback-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.feedback-container h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feedback-container textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: vertical;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.feedback-container button {
  background: #00bcd4;
  color: white;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.feedback-container button:hover {
  background: #0097a7;
}

.feedback-list {
  margin-top: 2rem;
}

.feedback-item {
  background: #f2f2f2;
  border-left: 4px solid #00bcd4;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 6px;
}

/* ===== Beratungsexport / PDF-Download ===== */
.beraterexport-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.beraterexport-container h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.beraterexport-container p {
  margin-bottom: 1rem;
}

.beraterexport-container button {
  background: #4caf50;
  color: white;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.beraterexport-container button:hover {
  background: #388e3c;
}
.feedback-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 25px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", sans-serif;
}

.feedback-container h2 {
  font-size: 1.5em;
  color: #007a99;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feedback-container h2::before {
  content: "🔔";
  font-size: 1.4em;
}

.feedback-container label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}

.feedback-container select,
.feedback-container textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1em;
}

.feedback-container textarea {
  resize: vertical;
  min-height: 100px;
}

.feedback-container button {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #00aabb;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}

.feedback-container button:hover {
  background-color: #007a99;
}

.feedback-success {
  text-align: center;
  font-weight: bold;
  color: green;
  margin-top: 20px;
}
.beraterexport-container {
  max-width: 800px;
  margin: 2em auto;
  padding: 2em;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.beraterexport-container h2 {
  text-align: center;
  color: #007b9e;
  font-size: 1.8em;
  margin-bottom: 1em;
}

.beraterexport-container p {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1em;
}

.beraterexport-container button {
  display: block;
  margin: 2em auto;
  padding: 0.7em 1.5em;
  font-size: 1.1em;
  background-color: #007b9e;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.beraterexport-container button:hover {
  background-color: #005f7d;
}

.beraterexport-logo {
  display: block;
  margin: 1em auto 2em auto;
  max-width: 150px;
  opacity: 0.8;
}
.content-box {
  background: white;
  margin: 2em auto;
  padding: 2em;
  border-radius: 16px;
  max-width: 800px;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
  text-align: center;
}

.content-box h2 {
  margin-bottom: 0.5em;
}

.primary-button {
  background-color: #00bcd4;
  color: white;
  border: none;
  padding: 0.8em 1.5em;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1em;
  transition: background-color 0.3s ease;
}

.primary-button:hover {
  background-color: #00acc1;
}

.export-box {
  max-width: 800px;
  background: white;
  margin: 2em auto;
  padding: 2em;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.export-box h2 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
  color: #222;
}

.export-box p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 1.5em;
  line-height: 1.6;
}

.export-button {
  background: #00bcd4;
  color: white;
  border: none;
  padding: 0.9em 1.8em;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.export-button:hover {
  background: #009eb3;
}

/* Beratungsexport Box */
.beraterexport-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.beraterexport-box {
  background: white;
  padding: 30px;
  border-radius: 20px;
  max-width: 700px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.beraterexport-box h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.beraterexport-box p {
  font-size: 16px;
  margin-bottom: 20px;
}

.beraterexport-box button {
  background-color: #00c6ff;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
}

.beraterexport-box button:hover {
  background-color: #00a8e0;
}
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #00cfd5, #7ae6f3);
  color: white;
  padding: 10px 20px;
  font-size: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
  font-weight: bold;
}

.menu-icon {
  cursor: pointer;
  font-size: 24px;
}

.overlay-menu {
  position: absolute;
  top: 60px;
  right: 20px;
  background: white;
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  z-index: 1000;
}

.overlay-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.overlay-menu li {
  padding: 8px 0;
  cursor: pointer;
}

.main-container {
  padding: 30px;
  display: flex;
  justify-content: center;
}

.export-box {
  background: white;
  padding: 30px 40px;
  border-radius: 20px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.1);
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.export-box h2 {
  color: #00bcd4;
  font-weight: bold;
  margin-bottom: 20px;
}

.export-box button {
  background-color: #00cfd5;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
}

.export-box button:hover {
  background-color: #00b0bd;
}
.brief-liste {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brief-box {
  background: #f8f9fa;
  border: 1px solid #cbd5e0;
  padding: 1rem;
  border-radius: 8px;
}
.brief-eintrag {
  background: #f0faff;
  border: 1px solid #a0d8ef;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.brief-eintrag strong {
  color: #0088aa;
  font-size: 1.1rem;
}

.brief-eintrag textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.5rem;
  resize: vertical;
  font-family: monospace;
  font-size: 0.9rem;
  background: #fff;
  color: #333;
}

.brief-eintrag .button {
  margin-top: 0.5rem;
  background: #00bcd4;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.brief-eintrag .button:hover {
  background: #0097a7;
}
.overlay-menu {
  position: fixed;
  top: 60px; /* unter dem Header */
  right: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 16px;
  z-index: 999;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}


.overlay-menu {
  position: fixed;
  top: 60px; /* Abstand vom Header */
  right: 0;
  width: 250px;
  background-color: #ffffff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: none;
  flex-direction: column;
  z-index: 999;
}

.overlay-menu.active {
  display: flex;
}

.overlay-menu a {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.overlay-menu a:hover {
  text-decoration: underline;
}

.close-menu-btn {
  margin-top: 20px;
  padding: 10px;
  background-color: #eee;
  border: none;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
}

/* Freunde Container */
.freunde-container {
  max-width: 600px;
  margin: 1rem auto;
  padding: 1rem;
  background: #e0f7fa; /* helles Babyblau/Türkis */
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

/* Freundes-Item */
.freund, .freund-anfrage {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  margin-bottom: 0.6rem;
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Profilbild der Freunde - kleiner */
.freund-bild {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  margin-right: 1rem;
  border: 2px solid #00796b; /* dunkles Türkis */
  transition: transform 0.2s ease;
}

.freund-bild:hover {
  transform: scale(1.1);
}

/* Name */
.freund-name {
  flex-grow: 1;
  font-weight: 600;
  color: #004d40; /* dunkles Türkis */
  cursor: pointer;
  user-select: none;
}

/* Buttons */
button.btn-remove-friend,
button.btn-accept-request,
button.btn-decline-request {
  margin-left: 0.5rem;
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background-color 0.3s ease;
}

button.btn-remove-friend {
  background-color: #e57373; /* rot */
  color: white;
}

button.btn-remove-friend:hover {
  background-color: #ef5350;
}

button.btn-accept-request {
  background-color: #81c784; /* grün */
  color: white;
}

button.btn-accept-request:hover {
  background-color: #66bb6a;
}

button.btn-decline-request {
  background-color: #ef9a9a; /* hellrot */
  color: #b71c1c;
}

button.btn-decline-request:hover {
  background-color: #e57373;
}

/* Überschriften */
.freunde-container h2,
.freunde-container h3 {
  color: #004d40;
  margin-bottom: 0.8rem;
  user-select: none;
}

/* Responsive */
@media (max-width: 480px) {
  .freund, .freund-anfrage {
    flex-direction: column;
    align-items: flex-start;
  }
  .freund-bild {
    margin-bottom: 0.4rem;
  }
  button {
    margin-left: 0;
    margin-top: 0.4rem;
  }
}
/* Community Container */
.community-container {
  max-width: 700px;
  margin: 2rem auto;
  background: #f5fcff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

/* Neue Beitrag Box */
.new-post {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.new-post textarea {
  flex-grow: 1;
  min-height: 60px;
  resize: vertical;
  padding: 8px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: inherit;
}

.btn-upload {
  cursor: pointer;
  background: #14bde9;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: 600;
  user-select: none;
  transition: background-color 0.2s ease;
}

.btn-upload:hover {
  background: #0ea0cc;
}

#postBtn {
  background: #14bde9;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-left: auto;
  height: 40px;
}

#postBtn:hover {
  background: #0ea0cc;
}

/* Profilbilder klein */
.profil-bild-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #14bde9;
}

/* Posts */
.community-post {
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.07);
  padding: 1rem;
  margin-bottom: 1.2rem;
}

/* Post Header (Bild + Name) */
.post-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.post-username {
  font-weight: 700;
  color: #14bde9;
}

/* Post Medien */
.post-media {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 0.7rem;
}

/* Like Button Bereich */
.like-section {
  margin-top: 0.8rem;
}

.like-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #14bde9;
  user-select: none;
  transition: color 0.2s ease;
}

.like-btn:hover {
  color: #0ea0cc;
}

/* Kommentare Sektion */
.comments-section {
  margin-top: 1rem;
  border-top: 1px solid #eee;
  padding-top: 0.7rem;
}

/* Einzelner Kommentar */
.comment {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Kommentarnamen klickbar */
.comment strong {
  cursor: pointer;
}

/* Kommentarzeit */
.comment-time {
  color: #aaa;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

/* Kommentar Eingabe */
.comment-input {
  width: 75%;
  padding: 0.4rem 0.6rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
  margin-right: 0.5rem;
  font-family: inherit;
}

/* Kommentar Button */
.comment-btn {
  background: #14bde9;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.3rem 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.comment-btn:hover {
  background: #0ea0cc;
}
/* Profil Container */
.profil-container {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
  background: #f9fcff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

/* Profilbild */
.profil-bild {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
  border: 3px solid #3db2ff;
}

/* Buttons */
button, .btn-upload {
  background-color: #3db2ff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
  margin: 0.3rem 0.2rem 0.5rem 0;
}

button:hover, .btn-upload:hover {
  background-color: #1796ff;
}

.btn-upload {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-upload input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* Eingabefelder */
input[type="text"], textarea {
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 1rem;
  box-sizing: border-box;
  margin-top: 4px;
  margin-bottom: 10px;
  resize: vertical;
}

/* Beiträge Container */
#postsContainer {
  margin-top: 1.5rem;
}

/* Einzelner Beitrag */
.profil-beitrag {
  background: #e9f4ff;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(61,178,255,0.2);
}

/* Beitrag Text */
.profil-beitrag p {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  white-space: pre-wrap;
}

/* Medien im Beitrag */
.post-media {
  max-width: 100%;
  max-height: 320px;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  display: block;
}

/* Like & Löschen Buttons Container */
.profil-beitrag > div {
  margin-bottom: 0.8rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Like Button */
.like-btn {
  background-color: transparent;
  color: #ff3864;
  border: 1.5px solid #ff3864;
  font-weight: bold;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.like-btn:hover {
  background-color: #ff3864;
  color: white;
}

/* Löschen Button */
.btn-delete {
  background-color: #ff3864;
  border: none;
  color: white;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.25s ease;
}

.btn-delete:hover {
  background-color: #e22d5b;
}

/* Kommentarbereich */
.comments-section {
  margin-top: 1rem;
  background: #dbeeff;
  padding: 0.8rem;
  border-radius: 6px;
  max-height: 220px;
  overflow-y: auto;
}

/* Einzelner Kommentar */
.comment {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  word-wrap: break-word;
}

/* Kommentar Nutzername */
.comment strong {
  cursor: pointer;
  color: #2a6edb;
  text-decoration: underline;
}

/* Kommentar Zeit */
.comment-time {
  color: #666;
  font-size: 0.8rem;
  margin-left: 8px;
}

/* Kommentar Eingabe */
.comment-input {
  width: 100%;
  padding: 6px;
  margin-top: 6px;
  margin-bottom: 6px;
  border-radius: 5px;
  border: 1px solid #aaa;
  font-size: 0.95rem;
  box-sizing: border-box;
}

/* Kommentar Button */
.comment-btn {
  background-color: #3db2ff;
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.comment-btn:hover {
  background-color: #1796ff;
}

/* Menü schließen Button */
.close-menu-btn {
  background-color: #3db2ff;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
  display: block;
  width: 100%;
  font-weight: bold;
}

.close-menu-btn:hover {
  background-color: #1796ff;
}
/* Community Container */
.community-container {
  max-width: 700px;
  margin: 1rem auto;
  padding: 0 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Einzelner Beitrag */
.community-post {
  background: #f0faff;
  border: 1px solid #b2d8f7;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* User Info oben im Beitrag */
.post-user-info {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
}

/* Profilbild im Beitrag */
.post-user-bild {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #00b4d8;
  transition: transform 0.2s ease;
}

.post-user-bild:hover {
  transform: scale(1.1);
}

/* Nutzername */
.post-user-name {
  font-weight: 600;
  color: #0077b6;
  cursor: pointer;
  user-select: none;
}

/* Beitragstext */
.community-post p {
  font-size: 1rem;
  margin: 0.5rem 0 1rem;
  white-space: pre-wrap;
  color: #03045e;
}

/* Medien (Bild, Video) */
.post-media {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  display: block;
  object-fit: contain;
}

/* Buttons unter dem Beitrag */
.post-buttons {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

/* Like & Löschen Buttons */
.like-btn,
.btn-delete {
  padding: 0.3rem 0.7rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  user-select: none;
  transition: background-color 0.3s ease;
}

.like-btn {
  background-color: #caf0f8;
  color: #0077b6;
}

.like-btn:hover {
  background-color: #90e0ef;
}

.btn-delete {
  background-color: #ffccd5;
  color: #d00000;
}

.btn-delete:hover {
  background-color: #f94144;
  color: white;
}

/* Kommentarbereich */
.comments-section {
  border-top: 1px solid #90e0ef;
  padding-top: 0.8rem;
}

/* Einzelner Kommentar */
.comment {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #023e8a;
  word-break: break-word;
}

/* Kommentar Nutzername */
.comment strong {
  font-weight: 700;
  cursor: pointer;
  color: #0077b6;
  text-decoration: underline;
  user-select: none;
}

/* Kommentar Zeit */
.comment-time {
  font-size: 0.75rem;
  color: #555;
  margin-left: 0.3rem;
}

/* Kommentar Eingabefeld */
.comment-input {
  width: 100%;
  padding: 0.35rem 0.5rem;
  font-size: 0.9rem;
  border: 1px solid #90e0ef;
  border-radius: 5px;
  margin-bottom: 0.4rem;
  box-sizing: border-box;
}

/* Kommentar Button */
.comment-btn {
  background-color: #00b4d8;
  color: white;
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.comment-btn:hover {
  background-color: #0077b6;
}

/* Neuer Beitrag Bereich */
#newPostText {
  width: 100%;
  height: 70px;
  font-size: 1rem;
  padding: 0.5rem;
  border: 1px solid #90e0ef;
  border-radius: 5px;
  resize: vertical;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}

.btn-upload {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background-color: #48cae4;
  color: white;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 1rem;
  user-select: none;
  transition: background-color 0.3s ease;
}

.btn-upload:hover {
  background-color: #0096c7;
}
/* Profilbild in Community-Beiträgen kleiner machen */
.community-post .profil-bild,
.profil-beitrag img.post-media {
  width: 40px;        /* kleineres Profilbild */
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

/* Beitrag-Container */
.community-post {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

/* Text und Medien innerhalb Beitrag */
.community-post .post-content {
  flex: 1;
}

/* Beitragstext */
.community-post p {
  margin: 0 0 8px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

/* Medien im Beitrag (Bilder/Videos) */
.community-post img.post-media,
.community-post video.post-media {
  max-width: 100%;
  max-height: 180px;
  border-radius: 8px;
  margin-top: 5px;
}

/* Like-Button und Buttons gruppieren */
.community-post .actions {
  margin-top: 8px;
  display: flex;
  gap: 12px;
}

/* Like Button Styling */
.community-post button.like-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

/* Kommentare Bereich */
.community-post .comments-section {
  margin-top: 10px;
  padding-left: 50px; /* Einzug passend zum Profilbild */
  font-size: 13px;
  color: #555;
}

/* Kommentar User-Name als Link */
.community-post .comments-section strong {
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;
}

/* Kommentar Eingabefeld und Button */
.community-post .comment-input {
  width: 80%;
  padding: 5px 8px;
  margin-top: 6px;
  font-size: 13px;
}

.community-post .comment-btn {
  padding: 5px 10px;
  margin-left: 6px;
  font-size: 13px;
  cursor: pointer;
}

/* Responsives Verhalten */
@media (max-width: 600px) {
  .community-post {
    flex-direction: column;
  }

  .community-post .comments-section {
    padding-left: 0;
  }
}
.community-container {
  max-width: 800px;
  margin: 1rem auto;
  padding: 1rem;
  background-color: #f0fafc;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
  font-family: Arial, sans-serif;
}

.new-post-section {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

#newPostText {
  flex: 1 1 300px;
  min-height: 60px;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
}

.btn-upload {
  background-color: #28b8d8;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 600;
}

#addPostBtn {
  background-color: #28b8d8;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
}

#addPostBtn:hover {
  background-color: #1d94aa;
}

.posts-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Einzelner Beitrag */
.community-post {
  background-color: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 6px #ddd;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  word-break: break-word;
}

/* Nutzer-Info (Profilbild + Name) */
.post-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.profil-bild-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #28b8d8;
  cursor: pointer;
}

.post-username {
  font-weight: 700;
  color: #0288a8;
  cursor: pointer;
}

/* Text des Beitrags */
.post-text {
  font-size: 1rem;
  color: #333;
  margin-left: 45px; /* damit Text nicht am Bild klebt */
}

/* Medien (Bilder, Videos) */
.post-media {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  margin-left: 45px; /* damit Medien auch nicht am Bild klebt */
  object-fit: contain;
}

/* Like-Button */
.like-btn {
  align-self: flex-start;
  background-color: transparent;
  border: none;
  color: #0288a8;
  cursor: pointer;
  font-weight: 600;
  margin-left: 45px;
}

/* Kommentare-Section */
.comments-section {
  margin-left: 45px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Einzelner Kommentar */
.comment {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Kommentar Profilbild */
.profil-bild-comment {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #28b8d8;
  cursor: pointer;
}

/* Kommentar Name */
.comment-username {
  font-weight: 600;
  color: #027d9e;
  cursor: pointer;
}

/* Kommentar Text */
.comment .comment-time {
  color: #888;
  font-size: 0.75rem;
  margin-left: auto;
}

/* Kommentar Input */
.comment-input {
  padding: 0.3rem 0.5rem;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  flex: 1;
}

/* Kommentar Button */
.comment-btn {
  background-color: #28b8d8;
  border: none;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* Eingabefelder und Buttons in Kommentarzeile horizontal */
.comments-section > input,
.comments-section > button {
  display: inline-block;
  vertical-align: middle;
}
.community-container {
  max-width: 700px;
  margin: 2rem auto;
  background: #f5faff;
  padding: 1rem;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

.new-post {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.5rem;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
}

.profilbild-small {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: cover;
}

.new-post textarea {
  flex-grow: 1;
  resize: vertical;
  height: 60px;
  padding: 8px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.btn-upload {
  background: #25b9d9;
  color: white;
  border-radius: 6px;
  padding: 7px 12px;
  cursor: pointer;
  user-select: none;
}

#btnPosten {
  background: #25b9d9;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 15px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
}

.posts-container .post {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 0 6px rgb(0 0 0 / 0.05);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
}

.post-header .profilbild-small {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: cover;
}

.post-user-info {
  cursor: pointer;
  user-select: none;
}

.post-user-info strong {
  font-size: 1.1rem;
  color: #0078b9;
}

.post-text {
  margin: 10px 0;
  white-space: pre-wrap;
  font-size: 1rem;
  color: #333;
}

.post-media {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
}

.post-actions {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
}

.btn-like,
.btn-comments {
  cursor: pointer;
  border: none;
  background: none;
  color: #0078b9;
  font-weight: 600;
  user-select: none;
}

.btn-like:hover,
.btn-comments:hover {
  text-decoration: underline;
}

.comments-container {
  margin-top: 8px;
  max-height: 150px;
  overflow-y: auto;
}

.comment {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.comment-profilbild {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: cover;
}

.comment-content {
  background: #e8f0fe;
  padding: 6px 10px;
  border-radius: 10px;
  flex-grow: 1;
  word-wrap: break-word;
}

.comment-name {
  color: #0078b9;
  cursor: pointer;
  user-select: none;
}

.comment-time {
  color: #666;
  font-size: 0.75rem;
}

.add-comment-container {
  margin-top: 6px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.comment-input {
  flex-grow: 1;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

.btn-add-comment {
  background: #0078b9;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.btn-add-comment:hover {
  background: #005f7d;
}

.clickable {
  cursor: pointer;
}
/* ========== MOBILE OPTIMIERUNG ========== */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }

  .nav a {
    font-size: 16px;
    padding: 6px 10px;
    display: inline-block;
  }

  .menu-icon {
    font-size: 28px;
    padding: 8px 12px;
    cursor: pointer;
    background-color: #fff;
    color: #007acc;
    border-radius: 6px;
    border: 1px solid #ccc;
  }

  .overlay-menu {
    position: fixed;
    top: 60px;
    right: 0;
    width: 80%;
    max-width: 320px;
    background: white;
    border-left: 2px solid #ddd;
    box-shadow: -2px 0 6px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .overlay-menu.active {
    transform: translateX(0);
  }

  .overlay-menu a,
  .overlay-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    font-size: 17px;
    border-bottom: 1px solid #eee;
    background: none;
    border: none;
    cursor: pointer;
  }

  .main {
    padding: 16px;
  }

  .dashboard-box {
    font-size: 16px;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 10px;
  }

  .spruchbox {
    font-size: 17px;
    font-style: italic;
    margin-bottom: 20px;
  }

  .progress-bar {
    height: 16px;
  }

  .progress {
    height: 100%;
  }
}
/* ========== ADMINBEREICH ========== */
.admin-container {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Segoe UI", sans-serif;
}

.admin-title {
  font-size: 28px;
  font-weight: bold;
  color: #007acc;
  margin-bottom: 20px;
  text-align: center;
}

.admin-user-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-user-card {
  background: #e8f7ff;
  border: 2px solid #cdefff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.admin-user-card:hover {
  transform: scale(1.01);
}

.admin-user-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.admin-user-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.admin-user-email {
  font-size: 14px;
  color: #666;
}

.admin-info {
  font-size: 15px;
  color: #444;
  margin-top: 6px;
}

.admin-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-actions button {
  background: #007acc;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.admin-actions button:hover {
  background: #005fa3;
}

.admin-label {
  font-weight: bold;
  color: #555;
}

@media (max-width: 600px) {
  .admin-user-card {
    padding: 12px;
  }

  .admin-user-name {
    font-size: 16px;
  }

  .admin-user-email {
    font-size: 13px;
  }

  .admin-info {
    font-size: 14px;
  }

  .admin-actions button {
    font-size: 13px;
    padding: 7px 12px;
  }
}
.admin-panel {
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

.nutzer-card {
  border: 1px solid #ccc;
  background: #f9f9f9;
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
}

.nutzer-card button {
  margin-right: 10px;
  margin-top: 10px;
}
.search-input {
  width: 100%;
  max-width: 400px;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.feedback-card {
  background: #f0f8ff;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 0 3px #ccc;
}
.search-input {
  width: 100%;
  max-width: 400px;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.feedback-card {
  background: #f0f8ff;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 0 3px #ccc;
}
