* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

:root {
    --dark-bg: #660008;
    --darker-bg: #280104;
    --accent: #f5f5f5;
    --accent-glow: rgba(46, 204, 113, 0.4);
    --text: #fff; 
}

body {    
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--dark-bg);
    color: var(--text);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-text{
    font-size: 3rem;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

 .profil-dropdown {
        position: relative;
        display: inline-block;
    }
    .profil-dropdown-content {
        display: none;
        position: absolute;
        right: 0;
        background-color: #f1f1f1;
        min-width: 200px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
        z-index: 999;
    }
    .profil-dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    .profil-dropdown-content a:hover { background-color: #ddd; }
    .profil-dropdown:hover .profil-dropdown-content { display: block; }
    .profil-button {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
    }
    .profil-button img {
        height: 40px;
        width: 40px;
        border-radius: 50%;
    }

.btn {
    background-color: var(--dark-bg);
    color: var(--text);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid #000;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e0e0e0;
}

.btn.spenden {
    background-color: #ffcc00;
    color: #000;
    border: none;
    font-weight: bold;
}

.btn.chat {
    background-color: #25D366; /* WhatsApp-Grün als Standard */
    color: white;
    border: none;
}

.btn.chat:last-child {
    background-color: #0088cc; /* Telegram-Blau */
}

.logo img {
    width: 75px;
    height: 75px;
    object-fit: cover; /* Schneidet das Bild passend zu, ohne Verzerrung */
    border-radius: 8px; /* Optional: abgerundete Ecken */
}
nav {
    background-color: var(--darker-bg);
    color: var(--text);
    display: flex;
    gap: 1rem;
    padding: 0.5rem 1rem;
    text-align: center;
    justify-content: center;
}

nav a {
    color: white;
    text-decoration: none;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0078D4;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: #005fa3;
}

.btn-primary:active {
  background-color: #004f87;
}
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: #f5f5f5;
    text-align: center;
}

main h2 {
    margin-bottom: 1.5rem;
}

.card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    background-color: #fff;
    max-width: 500px;
    text-align: left;
}

.card img {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
}

.info-box {
    background: #e6f4ff;
    color: #1a73e8;
    padding: 12px 16px;
    border-left: 4px solid #1a73e8;
    border-radius: 4px;
    margin-bottom: 20px;
}

h1 {
    text-align: center;
    font-size: 2rem;
}
section {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
}

section h2, section h1 {
  color: #003366;
  margin-bottom: 1rem;
}

footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: #ffffff;
  margin: 0 0.5rem;
  text-decoration: underline;
}
