/* ============================================
   Ausdrucksmalen Freiburg - Frontend Styles
   Based on legacy design, modernized
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-bg: #DF9E7F;
    --color-text: #efc588;
    --color-text-dark: #3d2b1f;
    --color-link: #efc588;
    --color-link-hover: #ffffff;
    --container-width: 800px;
    --content-width: 450px;
}

html, body {
    font-family: Geneva, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: var(--color-text);
    background-color: var(--color-bg);
    text-align: center;
    line-height: 1.5;
}

/* Container */
.container {
    margin: 0 auto;
    width: var(--container-width);
    position: relative;
    background-image: url('../../Bilder/loyout3_03.jpg');
    background-repeat: repeat-y;
    background-position: center top;
}

/* Header */
.site-header {
    position: relative;
    width: 100%;
    height: 139px;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Header decorative strip */
.header-strip {
    width: 100%;
    height: 232px;
    overflow: hidden;
}

.strip-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Main Content */
.site-content {
    margin: 0 auto;
    margin-bottom: -170px;
    padding: 0;
    width: 470px;
    min-height: 450px;
    position: relative;
    left: -11px;
    top: -200px;
    bottom: 0px;
    z-index: 10;
    text-align: left;
}

.site-content p {
    margin-bottom: 12px;
}

/* Typography */
.site-content h1,
.site-content h2,
.site-content h3,
.site-content h4,
.site-content h5,
.site-content h6 {
    margin: 16px 0 8px;
    line-height: 1.3;
}

.site-content h1 { font-size: 1.6rem; }
.site-content h2 { font-size: 1.4rem; }
.site-content h3 { font-size: 1.2rem; }

/* Links */
a:link {
    text-decoration: underline;
    color: #efc588;
    font-style: italic;
}

a:visited {
    color: #efc588;
    font-style: italic;
}

a:hover {
    text-decoration: none;
    color: #efc588;
    font-style: italic;
}

.print-link {
    font-size: 11px;
    display: inline-block;
    margin-top: 8px;
}

/* Images */
.site-content img {
    max-width: 100%;
    height: auto;
    border: 1px solid #000000;
    margin: 8px 8px 16px 0;
}

/* Lists */
.site-content ul,
.site-content ol {
    margin: 8px 0 12px 24px;
    padding: 0;
}

.site-content li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 12px 0;
}

td, th {
    padding: 6px 8px;
    text-align: left;
}

th {
    background: rgba(0,0,0,0.05);
    font-weight: bold;
}

/* Horizontal rule */
hr {
    margin: 15px 0;
    border: 0;
    border-top: 1px dotted #3d2b1f;
    height: 1px;
    width: 100%;
}

/* Clearfix */
.clear { clear: both; }

/* Footer */
.site-footer {
    position: relative;
    width: 100%;
    height: 170px;
    background-image: url('../../Bilder/loyout3_05.jpg');
    background-repeat: no-repeat;
    background-position: left bottom;
}

.footer-menu {
    text-align: center;
    padding-top: 62px;
    font-size: 16px;
    color: var(--color-text);
}

.footer-menu a {
    margin: 0 4px;
}

.footer-info {
    text-align: center;
    padding-top: 8px;
    font-size: 11px;
    color: var(--color-text);
    opacity: 0.85;
}

/* Copyright */
.copyright {
    text-align: center;
    padding: 12px 0 24px;
    font-size: 11px;
    color: var(--color-text);
    opacity: 0.8;
}

/* Print styles */
@media print {
    .site-header,
    .header-strip { display: none !important; }

    body { background: #fff; color: #000; font-size: 13px; }

    .container { width: 800px; background: none; text-align: center; }

    .site-content {
        width: 450px;
        position: relative;
        left: -11px;
        top: 0;
        bottom: 0;
        color: #000;
    }

    a:link, a:hover, a:visited {
        color: #000;
        font-style: italic;
        text-decoration: underline;
    }

    .footer-menu, .footer-info, .copyright { display: none; }
}

/* Error pages */
.error-page {
    text-align: center;
    padding: 40px 20px;
}

.error-page h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.error-page p {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

/* Responsive — keep fixed width, do not shrink */
/* Error pages */
