.headerbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  padding: 0.5em 1.5em 0.3em 1.5em;
  box-sizing: border-box;
  flex-wrap: wrap;
  row-gap: 0.3em;
}
.header-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.header-right {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5em;
  min-width: 0;
}
@media (max-width: 700px) {
  .headerbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2em;
    padding: 0.3em 0.5em;
  }
  .header-right {
    justify-content: flex-start;
    gap: 0.7em;
  }
}
/* Footer-Bereich bereinigt */
.site-footer {
  background: #191919;
  color: #aaa;
  text-align: center;
  font-size: 1rem;
  margin-top: 2em;
  padding: 1.5em 0 1.2em 0;
  border: none;
  font-family: var(--font-main);
}
.site-footer a {
  color: var(--main-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer div {
  margin-bottom: 0.5em;
  font-size: 0.95em;
}
.site-footer div:last-child {
  margin-bottom: 0;
}

      .logo {
        display: none;
      }
      .logo-fullheight {
        height: 100%;
        max-height: 72px;
        width: auto;
        margin-right: 1.2em;
        display: block;
        filter: brightness(0.9) invert(0.9);
        box-shadow: none !important;
      }
/* --- MidiAndMore Community Dark Theme --- */
:root {
  --main-bg: #222;
  --main-fg: #fff;
  --main-accent: #ffb347;
  --main-accent-hover: #AA0000;
  --main-border: #444;
  --main-radius: 8px;
  --font-main: 'Segoe UI', 'Noto Sans', Arial, sans-serif;
}

body {
  background: var(--main-bg);
  color: var(--main-fg);
  font-family: var(--font-main);
  margin: 5px;
  min-height: 100vh;
}

header {
  background: #191919;
  color: var(--main-fg);
  text-align: center;
  padding: 2em 0 1em 0;
  border-bottom: 1px solid var(--main-border);
}

footer {
  background: #191919;
  color: #aaa;
  text-align: center;
  font-size: 0.95em;
  border: none;
  margin-top: 2em;
  padding: 1.5em 0 1em 0;
}
footer a {
  color: var(--main-accent);
  text-decoration: none;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-content {
  background: #232323;
  border: 1px solid var(--main-border);
  border-radius: var(--main-radius);
  box-shadow: none;
  padding: 1.5em 1.5em 1em 1.5em;
  margin-bottom: 1.5em;
  width: 100%;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}
nav ul li a {
  color: var(--main-accent);
  font-weight: 500;
  padding: 0.5em 1em;
  border-radius: 0;
  background: none;
  transition: color 0.2s;
  text-decoration: none;
  box-shadow: none;
}
nav ul li a:hover, nav ul li.current-menu-item a {
  color: var(--main-accent-hover);
  text-decoration: underline;
  background: none;
}

a {
  color: var(--main-accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #fff;
  text-decoration: underline;
}

button, input[type="submit"], .button {
  background: var(--main-accent);
  color: #222;
  border: none;
  border-radius: 4px;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-family: inherit;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
button:hover, input[type="submit"]:hover, .button:hover {
  background: var(--main-accent-hover);
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--main-accent);
  font-family: var(--font-main);
  font-weight: normal;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  text-shadow: none;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

input, textarea, select {
  background: #191919;
  color: var(--main-fg);
  border: 1px solid var(--main-border);
  border-radius: 4px;
  padding: 0.7em;
  margin-bottom: 1em;
  width: 100%;
  box-sizing: border-box;
  font-size: 1em;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--main-accent);
}

img, .post-thumbnail img {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 8px #0007;
}

blockquote {
  border-left: 4px solid var(--main-accent);
  background: #191919;
  color: #eee;
  margin: 1.5em 0;
  padding: 1em 1.5em;
  font-style: italic;
  border-radius: 4px;
}

pre, code {
  background: #191919;
  color: var(--main-accent);
  border-radius: 4px;
  padding: 0.2em 0.5em;
  font-family: 'Fira Mono', 'Consolas', monospace;
}
pre {
  padding: 1em;
  overflow-x: auto;
}

hr {
  border: none;
  border-top: 1px solid var(--main-border);
  margin: 2em 0;
}
/* Social-Icons: Farbschema und flexibles Umbrechen */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
  align-items: center;
  margin-left: 1em;
  margin-right: 1.5em;
  row-gap: 0.7em;
  justify-content: flex-start;
}
.social-icons a svg {
  stroke: #ffb347;
  transition: stroke 0.2s;
}
.social-icons a:hover svg {
  stroke: #fff;
}
@media (max-width: 700px) {
  .social-icons {
    margin-left: 0;
    margin-top: 0.5em;
    margin-right: 1.5em;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 0.7em;
  }
}
/* Titelleiste (headerbar) soll umbrechen, wenn nicht genug Platz, aber ohne Wortumbruch */
@media (max-width: 700px) {
  .headerbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2em;
    flex-wrap: wrap;
    padding: 0.3em 0.5em;
  }
}
/* Sidebar immer rechts vom Content */
.site-main-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  padding: 5px;
  box-sizing: border-box;
  width: 100vw;
  flex-wrap: wrap;
}
.site-content {
  flex: 1 1 320px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.widget-area {
  flex: 0 0 320px;
  max-width: 320px;
  min-width: 220px;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 2em 0 1em 0;
  border-bottom: none;
  box-shadow: none;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .site-main-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .widget-area {
    margin-left: 0;
    margin-top: 2em;
    max-width: 100%;
    min-width: 0;
  }
  .site-content {
    min-width: 0;
    width: 100%;
  }
}

.site-content {
  background: #232323;
  border-radius: var(--main-radius);
  box-shadow: var(--main-shadow);
  padding: 2em 2em 1.5em 2em;
  width: 100%;
}
main {
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--main-accent);
  font-family: var(--font-main);
  font-weight: bold;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

a {
  color: #ffb347;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #fff;
  text-decoration: underline;
}

nav {
  margin: 1.5em 0 2em 0;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}
nav ul li a {
  color: #ffb347;
  font-weight: 500;
  padding: 0.5em 1em;
  border-radius: 0;
  background: none;
  transition: color 0.2s;
  text-decoration: none;
  box-shadow: none;
}
nav ul li a:hover, nav ul li.current-menu-item a {
  color: #AA0000;
  text-decoration: underline;
  background: none;
}

button, input[type="submit"], .button {
  background: var(--main-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.7em 1.5em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: var(--main-shadow);
}
button:hover, input[type="submit"]:hover, .button:hover {
  background: var(--main-accent-dark);
}

input, textarea, select {
  background: #191919;
  color: var(--main-fg);
  border: 1px solid var(--main-border);
  border-radius: 4px;
  padding: 0.7em;
  margin-bottom: 1em;
  width: 100%;
  box-sizing: border-box;
  font-size: 1em;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--main-accent);
}

.sidebar, aside {
  background: #232323;
  color: var(--main-fg);
  border-radius: var(--main-radius);
  padding: 1.5em;
  margin: 2em 0;
  box-shadow: var(--main-shadow);
}

article {
  background: #232323;
  border-radius: var(--main-radius);
  box-shadow: none;
  padding: 2em;
  margin-bottom: 2em;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

img, .post-thumbnail img {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 8px #0007;
}

blockquote {
  border-left: 4px solid var(--main-accent);
  background: #191919;
  color: #eee;
  margin: 1.5em 0;
  padding: 1em 1.5em;
  font-style: italic;
  border-radius: 4px;
}

pre, code {
  background: #191919;
  color: #ffb347;
  border-radius: 4px;
  padding: 0.2em 0.5em;
  font-family: 'Fira Mono', 'Consolas', monospace;
}
pre {
  padding: 1em;
  overflow-x: auto;
}

hr {
  border: none;
  border-top: 1px solid var(--main-border);
  margin: 2em 0;
}

@media (max-width: 800px) {
  main, .site-content {
    padding: 1em;
  }
}
@media (max-width: 600px) {
  main, .site-content {
    margin: 1em;
    padding: 0.5em;
  }
  header, footer {
    padding: 1em 0;
  }
  nav ul {
    gap: 1em;
  }
}

/* --- MidiAndMore Community Style Anpassung --- */
.site-content {
  background: #232323;
  border: 1px solid #444;
  border-radius: 8px;
  box-shadow: none;
  padding: 1.5em 1.5em 1em 1.5em;
  margin-bottom: 1.5em;
  width: 100%;
}

article, .sidebar, .widget-area, .sidebar-wrapper {
  background: #232323;
  border: none;
  border-radius: 8px;
  box-shadow: none;
  padding: 1.5em 1.5em 1em 1.5em;
  margin-bottom: 1.5em;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

footer {
  background: #191919;
  color: #aaa;
  text-align: center;
  font-size: 0.95em;
  border: none;
  margin-top: 2em;
  padding: 1.5em 0 1em 0;
}
footer a {
  color: #ffb347;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Buttons */
button, input[type="submit"], .button {
  background: #ffb347;
  color: #222;
  border: none;
  border-radius: 4px;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-family: inherit;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
button:hover, input[type="submit"]:hover, .button:hover {
  background: #AA0000;
  color: #fff;
}

/* Überschriften */
h1, h2, h3, h4, h5, h6 {
  color: #ffb347;
  font-family: var(--font-main);
  font-weight: normal;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  text-shadow: none;
}

@media (max-width: 900px) {
  .site-main-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .widget-area {
    margin-left: 0;
    margin-top: 2em;
    max-width: 100%;
    min-width: 0;
  }
}