body {
    margin: 0;
    padding: 0;
    font-family: Helvetica, Verdana, sans-serif;
    background-color: #999;
    color: #5F5F5F;
}

#wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 1px;
    overflow: hidden;
}

/* Header */
header {
    color: #000;
}

/* Obere Header-Leiste hell */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #f5f5f5;
}

.header-text {
  flex: 1;              /* nimmt den restlichen Platz */
  display: flex;
  justify-content: flex-start; /* Inhalt rechts ausrichten */
  align-items: center;
}
.header-text .slideshow-container {
  margin-left: auto;
}

.btn-shoutsend {
  display: inline-block;
  background: #4C99AB; /* Beispiel: dunkelblau */
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-shoutsend:hover,
.btn-shoutsend:focus {
  background-color: #285e8c;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

/* ############################################################ */
/* Slider mySlides */
/* ############################################################ */
.mySlides {
        display: none;
}
/* Slideshow container */
.slideshow-container {
  width: 100%;
  max-width: 400px;
  height: 100px;
  background-color: #fff;
  position: relative;
}

/* Caption text */
.slidetext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.active {
  background-color: #fff;
  width: 400px;
  height: 70px;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .slidetext {font-size: 11px}
}


/* Radio Panel */
.radio-panel {
    width: 150px;
    background: #1b1b1b;
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    font-family: Arial, sans-serif;
    text-align: center;
}

.radio-panel h3 {
    margin: 0;
    font-size: 20px;
}

.radio-panel small {
    color: #bbb;
}

.radio-panel img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin: 10px auto;
    display: block;
}

.radio-controls {
    margin-top: 8px;
}

.radio-btn {
    background: #2a8cff;
    border: none;
    padding: 8px 14px;
    color: white;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
}

.radio-btn.stop {
    background: #ff3333;
}

.radio-status {
    margin-top: 10px;
    font-size: 13px;
    color: #bbb;
}

/* Home Wrapper für Bild + Panel nebeneinander */
.home-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Startbild Container */
.responsive-image-container {
    padding: 0;
    text-align: left;
    flex: 1; /* flexibler Platz */
}

.responsive-image-container img {
    width: 100%;
    max-width: 640px;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 0;
}

/* Logo */
.logo {
    height: 80px;
}

.header-text {
    flex: 1;
    padding-left: 20px;
}

.toptext {
    font-size: 2em;
    font-weight: bold;
    color: #4C99AB;
}

.toptextklein {
    font-size: 1em;
    font-style: italic;
    color: #555;
}

/* Navigation dunkel */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3F3F3F;
    padding: 10px 20px;
    gap: 15px;
}

/* Links: Menü */
.nav-left {
    display: flex;
    gap: 15px;
}

/* Rechts: Login */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: 0.3s;
}

.nav a:hover {
    background-color: #4C99AB;
}

/* Hamburger */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* Loginbox */
.login-box form {
    display: flex;
    gap: 8px;
}

.login-box input {
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #fff;
    font-size: 0.9em;
}

.login-box button {
    padding: 6px 12px;
    background-color: #4C99AB;
    border: none;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* User Menu */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #fff;
}

.user-menu-trigger .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ccc;
    flex-shrink: 0;
}

.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 3px;
}

.user-dropdown {
    position: absolute;
    right: 0;
    top: 42px;
    background: #222;
    color: #fff;
    border: 1px solid #444;
    display: none;
    flex-direction: column;
    min-width: 160px;
    z-index: 999;
}

.user-dropdown a {
    padding: 10px;
    color: #fff;
    text-decoration: none;
    display: block;
}

.user-dropdown a:hover {
    background: #4C99AB;
}

.user-menu.open .user-dropdown {
    display: flex;
}

/* Main Content */
.main-content {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
}

aside {
    flex: 1 1 220px;
    background-color: #4C99AB;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
}

main {
    flex: 3 1 600px;
}

/* Footer */
footer {
    background-color: #3F3F3F;
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.9em;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    color: #4C99AB;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
        display: none;
        width: 100%;
    }

    .nav.open {
        display: flex;
    }

    .nav-left, .nav-right {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    .menu-toggle {
        display: block;
        margin: 10px 0 0 0;
    }

    .nav a {
        width: 100%;
        text-align: left;
        margin: 2px 0;
    }

    .login-box form {
        flex-direction: column;
        width: 300px;
        gap: 5px;
    }

    .login-box input,
    .login-box button {
        width: 300px;
        box-sizing: border-box;
    }

    .main-content {
        flex-direction: column;
    }

    .home-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .radio-panel {
        width: 100%;
        max-width: 340px;
        margin-top: 20px;
    }
    .radio-panel h3 {
    color: #4C99AB;
    }
}