/* GierigCMS Theme - DSGVO konform */
:root { 
    --header-bg: #2c3e50; --main-bg: #ffffff; --text-color: #333333; 
    --footer-bg: #2c3e50; --footer-text: #ffffff;
    --font-family: 'Arial', sans-serif; --header-font: 'Arial', sans-serif; 
    --box-radius: 0px; --content-padding: 3rem 2rem; --footer-padding: 4rem 2rem 2rem 2rem;
    --site-margin-top: 0px;
    --base-size: 16px; --h1-size: 2.5rem; --h2-size: 2rem; --h3-size: 1.5rem;
    --link-color: #3182ce; --link-hover: #2b6cb0;
    --btn-bg: #38a169; --btn-text: #ffffff; --btn-hover: #2f855a; --btn-radius: 6px;
}
body { font-family: var(--font-family); font-size: var(--base-size); margin: 0; padding: 0; background: #f0f2f5; color: var(--text-color); line-height: 1.6; }

h1 { font-family: var(--header-font); font-size: var(--h1-size); margin-top: 0; }
h2 { font-family: var(--header-font); font-size: var(--h2-size); }
h3 { font-family: var(--header-font); font-size: var(--h3-size); }
.content a { color: var(--link-color); text-decoration: none; border-bottom: 1px dotted var(--link-color); transition: all 0.2s; }
.content a:hover { color: var(--link-hover); border-bottom: 1px solid var(--link-hover); }

.btn, button, input[type="submit"] { background: var(--btn-bg); color: var(--btn-text); border: none; padding: 10px 20px; border-radius: var(--btn-radius); cursor: pointer; font-size: 1rem; font-weight: bold; transition: background 0.3s, transform 0.2s; display: inline-block; text-decoration: none; }
.btn:hover, button:hover, input[type="submit"]:hover { background: var(--btn-hover); transform: translateY(-2px); }

.site-wrapper { max-width: 100%; margin: var(--site-margin-top) auto 0 auto; background: transparent; box-shadow: none; display: flex; flex-direction: column; min-height: 100vh; }

header { background-color: var(--header-bg); background-image: url('https://www.deimberg.de/assets/uploads/logo.png?v=1788850071'); background-size: cover; background-position: center; background-repeat: no-repeat; color: white; padding: 2rem 2rem 5rem 2rem; position: relative; z-index: 50; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 400px; border: 0px solid #000000; border-radius: 0; box-sizing: border-box; }

.branding { display: flex; flex-direction: row; align-items: center; gap: 20px; text-align: left; z-index: 2; margin-bottom: 3.5rem; }
.site-logo { max-height: 120px; width: auto; object-fit: contain; filter: drop-shadow(1px 1px 4px rgba(0,0,0,0.5)); transform: translate(0px, 0px); }

.branding-text { display: block; }
.branding-text h1 { font-family: var(--header-font); margin: 0; font-size: 3.5rem; text-shadow: 1px 1px 6px rgba(0,0,0,0.8); line-height: 1.1; transform: translate(0px, 0px); border: none; }
.branding-text .subtitle { font-family: var(--header-font); margin: 8px 0 0 0; font-size: 1.4rem; opacity: 0.95; text-shadow: 1px 1px 6px rgba(0,0,0,0.9); font-weight: normal; transform: translate(0px, 0px); }

nav { width: 100%; background: rgba(0,0,0, 0.6); position: absolute; bottom: 0; left: 0; display: flex; justify-content: center; z-index: 100; border-top: 1px solid rgba(255,255,255,0.1); }
nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
nav li { position: relative; }
nav > ul > li > a { font-family: var(--font-family); display: block; color: #ffffff; text-decoration: none; font-weight: bold; font-size: 1.1rem; padding: 15px 25px; transition: all 0.3s; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); border: none; }
nav > ul > li > a:hover { background: rgba(255,255,255, 0.2); color: #ffffff; border: none; }

nav ul ul { position: absolute; top: 100%; left: 0; background: rgba(0,0,0, 0.95); display: none; flex-direction: column; min-width: 220px; border-radius: 0 0 4px 4px; box-shadow: 0 4px 6px rgba(0,0,0,0.3); padding: 5px 0; z-index: 200; }
nav ul li:hover > ul { display: flex; }
nav ul ul li { width: 100%; }
nav ul ul a { padding: 12px 20px; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); font-weight: normal; color: #ffffff; font-family: var(--font-family); display: block; text-decoration: none; transition: all 0.3s; }
nav ul ul li:last-child > a { border-bottom: none; }
nav ul ul a:hover { background: rgba(255,255,255, 0.2); color: #ffffff; padding-left: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); }
nav ul ul ul { top: 0; left: 100%; border-radius: 4px; }

main { flex-grow: 1; padding: var(--content-padding); background-color: var(--main-bg);  z-index: 5; border: 0px solid #000000; box-shadow: none; position: relative; box-sizing: border-box; }
.page-title { max-width: 1000px; margin: 0 auto 1.5rem auto; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; color: var(--text-color); }
.content { max-width: 1000px; margin: 0 auto; width: 100%; }

main img { max-width: 100%; height: auto; border-radius: var(--box-radius); box-shadow: 0 10px 20px rgba(0,0,0,0.15); transition: transform 0.3s ease, box-shadow 0.3s ease; margin: 15px 0; }
main img:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(0,0,0,0.2); }
main img[style*="float: left"] { margin: 5px 25px 20px 0 !important; }
main img[style*="float: right"] { margin: 5px 0 20px 25px !important; }

.ql-align-center { text-align: center; } .ql-align-right { text-align: right; } .ql-align-justify { text-align: justify; }
.content ul { list-style-type: disc; margin-left: 1.5rem; margin-bottom: 1rem; } .content ol { list-style-type: decimal; margin-left: 1.5rem; margin-bottom: 1rem; }

footer { background-color: var(--footer-bg);  color: var(--footer-text); padding: var(--footer-padding); text-align: center; position: relative; z-index: 1; border: 0px solid #000000; border-radius: 0; box-sizing: border-box; margin: 0; }
.footer-links { font-size: 1.1rem; font-weight: bold; margin-bottom: 15px; position: relative; z-index: 20; }
.footer-links a { color: var(--footer-text); text-decoration: none; margin: 0 15px; transition: opacity 0.3s; border: none; }
.footer-links a:hover { opacity: 0.7; text-decoration: underline; border: none; }
.footer-text { font-size: 0.9rem; color: var(--footer-text); opacity: 0.8; position: relative; z-index: 20; }
.footer-subtext { margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; color: var(--footer-text); opacity: 0.8; position: relative; z-index: 20; }
.footer-subtext a { color: var(--footer-text); text-decoration: none; border: none; font-weight: bold; transition: opacity 0.3s; }
.footer-subtext a:hover { opacity: 1; text-decoration: underline; border: none; }