/* =========================================
   PARKPLATZEROTIK – DARK FOREST NEON
   Neues zentrales Design
   ========================================= */

:root {
    color-scheme: dark;
    --bg: #080d0a;
    --surface: #101812;
    --surface-2: #17231a;
    --surface-3: #203027;
    --border: #304536;
    --text: #edf3ee;
    --muted: #aab8ad;
    --red: #ff4055;
    --red-hover: #ff6373;
    --green: #8bd49a;
    --radius: 12px;
    --shadow: 0 12px 32px rgba(0, 0, 0, .28);
    --content-width: 1450px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: var(--text);
    background:
        radial-gradient(ellipse at 50% 0%, #183022 0%, transparent 52%),
        linear-gradient(180deg, #0b120d 0%, #080d0a 65%);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img,
video,
iframe,
object,
embed {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color .18s ease;
}

a:visited {
    color: #a6c9ad;
}

a:hover,
a:focus-visible {
    color: var(--red-hover);
    text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

h2 {
    font-size: clamp(1.35rem, 3vw, 2rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-block: 0 1rem;
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}

.rot {
    color: var(--red);
}

.sitetitle {
    color: var(--text);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.title {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 700;
}

.textboxtitle {
    color: var(--green);
    font-size: 1.2rem;
}

.navleft,
.arrowtextboxinfo {
    color: var(--green);
}

/* Hauptlayout */

.content {
    width: min(var(--content-width), calc(100% - 32px));
    margin-inline: auto;
    padding-bottom: 40px;
}

.content>img:first-child {
    display: block;
    width: auto;
    max-width: min(100%, 520px);
    max-height: 180px;
    object-fit: contain;
    object-position: left center;
    margin: 22px 0 18px;
}

/* Alte Seitencontainer weiter unterstützen */

#wrapper {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

#wrapper #top,
#wrapper #body,
#wrapper #body2 {
    width: 100%;
    height: auto;
}

#wrapper #body #textbox,
#wrapper #body2 #textbox,
#wrapper #zwischenbox,
#textbox {
    min-width: 0;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

#wrapper #body #textbox,
#wrapper #body2 #textbox {
    margin: 16px 0;
}

#wrapper #body #textboxalign,
#wrapper #body2 #textboxalign {
    margin: 0;
    padding: clamp(16px, 3vw, 32px);
}

#wrapper #zwischenbox {
    margin: 16px 0;
    padding: 12px;
    background: var(--surface-2);
}

#titel {
    margin: 24px 0;
    text-align: left;
}

#titel h1,
#titel h2 {
    margin: 0;
}

/* Allgemeine Boxen und Spalten */

div.Container,
div.banner {
    max-width: 100%;
    color: var(--text);
}

div.banner {
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

#spaltencontainer {
    width: 100%;
    max-width: 100%;
    border-color: var(--border);
}

#linkespalte,
#rechtespalte {
    width: calc(50% - 12px);
    min-width: 0;
    margin: 8px 0;
}

#linkespalte {
    float: left;
}

#rechtespalte {
    float: right;
}

#spaltencontainer::after {
    content: "";
    display: block;
    clear: both;
}

/* Navigation */

#nav-toggle {
    display: none;
}

#nav {
    position: relative;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    margin: 12px 0 24px;
    padding: 8px;
    background: rgba(13, 21, 15, .96);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

#nav>ul,
#nav>.nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

#nav li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

#nav a {
    display: block;
    padding: 11px 14px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-shadow: none;
    border: 1px solid transparent;
    border-radius: 8px;
}

#nav a:hover,
#nav a:focus-visible,
#nav .current>a {
    color: var(--red-hover);
    background: var(--surface-2);
    border-color: var(--border);
    text-decoration: none;
    box-shadow: none;
}

#nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1010;
    min-width: 230px;
    max-width: min(340px, 90vw);
    max-height: 75vh;
    overflow: visible;
    margin: 0;
    padding: 7px;
    background: #101812;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .5);
}

#nav li:hover>ul,
#nav li:focus-within>ul {
    display: block;
}

#nav ul li {
    width: 100%;
}

#nav ul a {
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 400;
    white-space: normal;
}

#nav ul ul {
    top: 0;
    left: 100%;
    margin-left: 3px;
}

/* Sticky-Navigation: JavaScript setzt .menu */

#nav.menu {
    position: fixed;
    top: 0;
    left: 50%;
    width: min(var(--content-width), calc(100% - 24px));
    max-width: calc(100% - 24px);
    margin: 0;
    transform: translateX(-50%);
    background: rgba(8, 13, 10, .97);
    backdrop-filter: blur(12px);
}

/* Formulare */

form {
    width: 100%;
    max-width: 100%;
}

input,
select,
textarea {
    max-width: 100%;
    color: var(--text);
    background: #0b120d;
    border: 1px solid #3b5141;
    border-radius: 6px;
    font: inherit;
}

input,
select {
    min-height: 40px;
    padding: 8px 10px;
}

textarea {
    width: 100%;
    min-height: 120px;
    padding: 10px;
    resize: vertical;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="gps"],
input[type="plz"],
input[type="klein10"],
input[type="klein15"],
input[type="klein20"],
input[type="klein30"],
input[type="klein50"] {
    max-width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    min-height: auto;
    accent-color: var(--red);
}

input[type="submit"],
input[type="button"],
button,
.button,
.ButtonRosa {
    min-height: 40px;
    padding: 9px 16px;
    color: #fff;
    background: #a91c31;
    border: 1px solid var(--red);
    border-radius: 7px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover,
.ButtonRosa:hover {
    color: #fff;
    background: #c9253d;
    text-decoration: none;
}

.radiocontainer {
    width: auto;
    max-width: 100%;
    margin: 12px;
}

.floatr {
    position: relative;
    float: right;
}

.absoluter {
    position: absolute;
    right: 0;
    border: 1px solid var(--border);
    background: var(--surface);
}

.bannerwerbung {
    padding-left: 0;
}

#divbewertenradio {
    margin-top: 0;
}

/* Mobile und Tablet */

@media (max-width: 1199px) {
    #nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin: 10px 0;
        padding: 11px 15px;
        color: var(--text);
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 8px;
        font-weight: 700;
        cursor: pointer;
    }

    .hamburger-icon {
        font-size: 20px;
        line-height: 1;
    }

    #nav {
        display: none;
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 90px);
        max-height: calc(100dvh - 90px);
        margin: 0 0 20px;
        padding: 7px;
        overflow: auto;
        border-radius: 10px;
    }

    #nav.mobile-open {
        display: block;
    }

    #nav>ul,
    #nav>.nav-list {
        display: block;
    }

    #nav li {
        display: block;
        width: 100%;
    }

    #nav a {
        padding: 11px 48px 11px 13px;
        white-space: normal;
    }

    #nav li:hover>ul {
        display: none;
    }

    #nav li.submenu-open>ul {
        display: block;
    }

    #nav ul,
    #nav ul ul {
        position: static;
        display: none;
        width: 100%;
        max-width: 100%;
        max-height: none;
        margin: 0;
        padding: 0 0 5px 12px;
        overflow: visible;
        background: #0b120d;
        border: 0;
        border-left: 1px solid var(--border);
        border-radius: 0;
        box-shadow: none;
    }

    #nav ul a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .mobile-submenu-toggle {
        position: absolute;
        top: 2px;
        right: 2px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        color: var(--text);
        background: transparent;
        border: 0;
        border-radius: 6px;
        z-index: 5;
    }

    #nav.menu {
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        width: min(420px, calc(100% - 20px));
        max-width: calc(100% - 20px);
        max-height: 100vh;
        max-height: 100dvh;
        margin: 0 0 0 10px;
        overflow-y: auto;
        transform: none;
    }

    #linkespalte,
    #rechtespalte {
        float: none;
        width: 100%;
        margin: 8px 0;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    .content {
        width: calc(100% - 20px);
    }

    .content>img:first-child {
        max-height: 120px;
        margin: 14px 0;
    }

    #titel {
        margin: 18px 0;
    }

    #wrapper #body #textboxalign,
    #wrapper #body2 #textboxalign {
        padding: 16px;
    }

    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    select,
    textarea {
        width: 100%;
    }

    .radiocontainer {
        float: none;
        margin: 10px 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* =========================================
   Dark Forest Neon – Navigation
   ========================================= */

#nav,
#nav.menu {
    background: #101510 !important;
    border: 1px solid #29372b;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

/* Hauptnavigation */
#nav>li,
#nav li {
    background-color: transparent;
    color: #f0f0f0;
}

/* Navigationslinks */
#nav a,
#nav a:link,
#nav a:visited {
    color: #eeeeee !important;
    background-color: transparent !important;
    text-decoration: none;
}

/* Hover und aktiver Menüpunkt */
#nav a:hover,
#nav a:focus,
#nav li:hover>a {
    color: #ffffff !important;
    background-color: #263629 !important;
    text-decoration: none;
}

/* Dropdown-Untermenüs */
#nav ul,
#nav li ul,
#nav .submenu {
    background: #151d16 !important;
    border: 1px solid #354936;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

/* Trennlinien zwischen Untermenüpunkten */
#nav ul li,
#nav li ul li {
    border-color: #2c392d;
}

/* Rote Neon-Akzente */
#nav a:hover,
#nav a:focus {
    box-shadow: inset 3px 0 0 #c62828;
}

/* Hamburger-Schaltfläche für Mobilgeräte */
#nav-toggle {
    color: #ffffff;
    background: #151d16;
    border: 1px solid #354936;
}

#nav-toggle:hover,
#nav-toggle:focus {
    background: #263629;
    border-color: #c62828;
}

/* Mobile Untermenü-Pfeile */
#nav .mobile-submenu-toggle {
    color: #ff6262;
    background: #151d16;
    border-color: #354936;
}

/* Geöffnete mobile Navigation */
@media (max-width: 1199px) {

    #nav,
    #nav.mobile-open {
        background: #101510 !important;
    }

    #nav li {
        border-bottom: 1px solid #29372b;
    }

    #nav ul,
    #nav li ul {
        background: #151d16 !important;
        box-shadow: none;
    }
}

/* ===== Mobile Navigation: dunkler Hintergrund ===== */

/* Hamburger-Button */
#nav-toggle,
button#nav-toggle {
    background: #101510 !important;
    background-color: #101510 !important;
    color: #ffffff !important;
    border: 1px solid #354936 !important;
    box-shadow: none !important;
}

/* Hamburger-Symbol, auch wenn es in spans liegt */
#nav-toggle span,
#nav-toggle i,
#nav-toggle svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Geöffnetes mobiles Hauptmenü */
#nav.mobile-open,
#nav.mobile-open>li,
#nav.mobile-open li {
    background: #101510 !important;
    background-color: #101510 !important;
    color: #eeeeee !important;
}

/* Links im mobilen Menü */
#nav.mobile-open a,
#nav.mobile-open a:link,
#nav.mobile-open a:visited {
    color: #eeeeee !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Mobile Untermenüs */
#nav.mobile-open ul,
#nav.mobile-open li ul,
#nav.mobile-open li ul li {
    background: #182219 !important;
    background-color: #182219 !important;
    color: #eeeeee !important;
    border-color: #354936 !important;
}

/* Hover und Fokus */
#nav.mobile-open a:hover,
#nav.mobile-open a:focus {
    background: #293b2b !important;
    color: #ffffff !important;
}

/* Pfeile zum Öffnen der Untermenüs */
#nav .mobile-submenu-toggle,
#nav button.mobile-submenu-toggle {
    background: #182219 !important;
    background-color: #182219 !important;
    color: #ff6262 !important;
    border-color: #354936 !important;
}

/* Mobile Menü bei schmalen Displays */
@media (max-width: 1199px) {
    #nav {
        background: #101510 !important;
    }

    #nav.mobile-open {
        background: #101510 !important;
    }

    #nav.mobile-open li ul {
        background: #182219 !important;
    }
}

/* ==========================================
   DARK FOREST NEON – Gesamtes Seitendesign
   ========================================== */

:root {
    --df-bg: #0b0f0c;
    --df-panel: #131a15;
    --df-panel-alt: #19231b;
    --df-border: #2b3b2e;
    --df-text: #e8eee9;
    --df-muted: #aab7ac;
    --df-red: #d63838;
    --df-red-hover: #ff4b4b;
    --df-green: #5b9865;
}

/* Grundlayout */
html {
    background: var(--df-bg);
}

body {
    background: var(--df-bg);
    color: var(--df-text);
}

/* Hauptcontainer */
.content {
    background: transparent;
    color: var(--df-text);
}

/* Überschriften */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #f4f7f4;
}

h1,
h2 {
    text-shadow: 0 0 12px rgba(91, 152, 101, 0.16);
}

h1 {
    border-bottom: 2px solid var(--df-red);
    padding-bottom: 10px;
}

h2 {
    border-bottom: 1px solid var(--df-border);
    padding-bottom: 7px;
}

/* Allgemeine Textfarben */
p,
li,
label,
.text,
.textbox {
    color: var(--df-text);
}

/* Links */
.content a,
body a {
    color: #ff6868;
    transition: color 0.2s ease;
}

.content a:hover,
body a:hover {
    color: #ffffff;
}

/* Inhaltsboxen und Textbereiche */
.textbox,
.box,
.panel,
.content-box {
    background: var(--df-panel);
    color: var(--df-text);
    border: 1px solid var(--df-border);
    border-radius: 8px;
    padding: 16px;
}

/* Der vorhandene body2-Wrapper */
.body2 {
    color: var(--df-text);
}

/* Formulare und Eingabefelder */
input,
select,
textarea {
    background: #101611;
    color: var(--df-text);
    border: 1px solid #405342;
    border-radius: 4px;
    padding: 8px;
    max-width: 100%;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--df-red);
    box-shadow: 0 0 0 2px rgba(214, 56, 56, 0.18);
}

/* Buttons */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    background: #202d22;
    color: #ffffff;
    border: 1px solid #49634d;
    border-radius: 5px;
    padding: 9px 14px;
    cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background: #293b2b;
    border-color: var(--df-red);
}

/* Tabellen */
table {
    color: var(--df-text);
    border-color: var(--df-border);
}

th {
    background: var(--df-panel-alt);
    color: #ffffff;
}

td,
th {
    border-color: var(--df-border);
}

/* Trennlinien */
hr {
    border: 0;
    border-top: 1px solid var(--df-border);
}

/* Bilder nicht aus dem Layout laufen lassen */
.content img {
    max-width: 100%;
    height: auto;
}

/* Footer – gängige Footer-Elemente */
footer,
.footer,
#footer {
    background: #0e140f;
    color: var(--df-muted);
    border-top: 1px solid var(--df-border);
}

footer a,
.footer a,
#footer a {
    color: #ff6868;
}

/* Markierter Text */
::selection {
    background: #8f2525;
    color: #ffffff;
}

/* Mobile Darstellung */
@media (max-width: 768px) {
    .content {
        width: auto;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .textbox,
    .box,
    .panel,
    .content-box {
        padding: 12px;
        border-radius: 6px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    input,
    select,
    textarea {
        box-sizing: border-box;
    }
}

/* ==========================================
   DARK FOREST NEON – Anpassung alter CSS-Boxen
   ========================================== */

/* Alte graue und weiße Container */
#wrapper #zwischenbox {
    background-color: #111812 !important;
    border-color: #2b3b2e !important;
    color: #e8eee9;
}

#wrapper #body #textbox,
#wrapper #body2 #textbox {
    background-color: #151d16 !important;
    border-color: #2b3b2e !important;
    color: #e8eee9 !important;
}

/* Texte in den alten Boxen */
#textbox,
#textboxalign,
#arrowtextboxalign,
#arrowboxleft,
#arrowboxinfo,
#spaltencontainer,
#linkespalte,
#rechtespalte {
    color: #e8eee9;
}

/* Alte Titelklassen */
.textboxtitle,
.arrowtextboxinfo,
.navleft {
    color: #8fbf96 !important;
}

.sitetitle,
.title {
    color: #f0f4f0 !important;
}

/* Allgemeine Links – alte Regeln überschreiben */
a:link,
a:visited {
    color: #ff6868;
}

a:hover,
a:focus {
    color: #ffffff;
}

/* Rote Hervorhebungen */
.rot {
    color: #ff5555 !important;
}

/* Bannerbereiche */
div.banner {
    background: #151d16;
    color: #e8eee9;
    border-color: #354936;
}

/* Formulare im dunklen Design */
input,
textarea,
select {
    background-color: #101611 !important;
    color: #e8eee9 !important;
    border: 1px solid #405342 !important;
}

/* Buttons */
.button,
.ButtonRosa,
input[type="submit"] {
    background-color: #202d22 !important;
    color: #ffffff !important;
    border: 1px solid #49634d !important;
}

/* Spalten und Tabellen */
#spaltencontainer {
    border-right-color: #2b3b2e;
    border-left-color: #2b3b2e;
}

table,
td,
th {
    color: #e8eee9;
    border-color: #2b3b2e;
}

/* Platzhalter und dezente Hinweise */
::placeholder {
    color: #9ba99d;
    opacity: 1;
}

/* Kleine Bildschirme */
@media (max-width: 768px) {
    #wrapper #zwischenbox {
        margin-left: 4px;
        margin-right: 4px;
    }

    #wrapper #body #textbox,
    #wrapper #body2 #textbox {
        margin-left: 4px;
        margin-right: 4px;
    }

    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="password"],
    textarea,
    select {
        box-sizing: border-box;
        max-width: 100%;
    }
}

/* ==========================================
   DARK FOREST NEON – Seitenlayout
   ========================================== */

/* Einheitlicher Seitenhintergrund */
html,
body {
    margin: 0;
    min-height: 100%;
    background: #0b0f0c;
    color: #e8eee9;
}

/* Hauptinhalt */
.content {
    width: calc(100% - 32px);
    max-width: 1545px;
    margin: 0 auto;
    box-sizing: border-box;
    color: #e8eee9;
}

/* Logo */
.content>a img,
.content>img {
    max-width: 100%;
    height: auto;
}

/* Alte Inhaltsboxen */
#wrapper #zwischenbox,
#wrapper #body #textbox,
#wrapper #body2 #textbox {
    background: #141b15 !important;
    border: 1px solid #2b3b2e !important;
    border-radius: 8px;
    color: #e8eee9;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
}

/* Textabstände */
#wrapper #body #textboxalign,
#wrapper #body2 #textboxalign {
    line-height: 1.65;
}

/* Überschriften */
h1,
h2,
h3 {
    color: #f3f6f3;
    line-height: 1.3;
}

h1 {
    padding-bottom: 10px;
    border-bottom: 2px solid #c93636;
}

h2 {
    padding-bottom: 7px;
    border-bottom: 1px solid #2b3b2e;
}

/* Links im Inhalt */
.content a {
    color: #ff6868;
    text-decoration: none;
}

.content a:hover,
.content a:focus {
    color: #ffffff;
    text-decoration: underline;
}

/* Bilder */
.content img {
    max-width: 100%;
    height: auto;
}

/* Footer-Grundgestaltung */
footer,
.footer,
#footer {
    margin-top: 30px;
    padding: 18px;
    background: #101510;
    color: #aab7ac;
    border-top: 1px solid #2b3b2e;
}

/* Responsive Abstände */
@media (max-width: 768px) {
    .content {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    #wrapper #body #textbox,
    #wrapper #body2 #textbox {
        margin: 10px 0;
        padding: 10px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }
}

/* PC-Navigation: Breite und abgerundete Ecken korrigieren */
@media (min-width: 1200px) {
    #nav {
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 8px !important;
        overflow: visible;
    }

    #nav.menu {
        border-radius: 8px !important;
    }
}