/* ==========================================================================
   1. GRUNDKONFIGURATION 
   ========================================================================== */
* {
    box-sizing: border-box; 
}

body {
    background-color: #f7f7f7; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #0d2847;            
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
header {
    background-color: #f7f7f7; 
    border-bottom: 3px solid #0d66c2; 
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    max-width: 1024px;              
    margin: 0 auto;                 
}

.site-logo {
    height: 75px;
    width: auto;
    display: inline-block;
    flex-shrink: 0; 
}

/* Das Navigations-Areal */
.main-nav ul {
    list-style: none; 
    margin: 0;
    padding: 0;
    display: flex;     
    gap: 25px;         
}

.main-nav a {
    text-decoration: none;
    color: #0d2847;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 8px 12px;
    transition: color 0.2s ease-in-out;
}

.main-nav a:hover {
    color: #0d66c2; 
}

.main-nav a.active {
    color: #0d66c2;
    border-bottom: 2px solid #0d66c2; 
}

/* ==========================================================================
   3. HAUPTINHALT (Main Content)
   ========================================================================== */
.page-content {
    max-width: 700px; 
    margin: 0;        
	padding: 15px 20px; 
}   
   
.main-content {
    max-width: 1024px; 
    margin: 40px auto; 
    padding: 0 30px;   
}

.page-content h1 {
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 10px; 
    line-height: 1.2;
	color: #0d66c2;
}

.page-content h2 {
    font-size: 1.3rem;
    margin-top: 15px;
    margin-bottom: 10px;
    line-height: 1.25;
}

.page-content p {
    margin-top: 0;
    margin-bottom: 12px; 
    line-height: 1.4;    
}

.page-content ul {
    margin-top: 0;
    margin-bottom: 15px;
    padding-left: 20px;  
}

.page-content li {
    margin-bottom: 8px;  
    line-height: 1.35;
}

/* ==========================================================================
   4. BUTTONS & AKZENTE
   ========================================================================== */
.btn-akzent {
    background-color: #8dc63f; 
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    padding: 12px 28px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

.btn-akzent:hover {
    background-color: #79ab35; 
    transform: translateY(-1px); 
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.site-footer {
    max-width: 1024px;         
    margin: 60px auto 0 auto;  
    padding: 20px 30px;        
    border-top: 3px solid #0d66c2; 
}

.footer-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.footer-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #0d2847; 
}

/* Die Links (Impressum, Datenschutz) */
.footer-nav a {
    color: #0d2847; 
    text-decoration: none;
    font-size: 0.95rem;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}

.footer-nav a:hover {
    color: #8dc63f; 
}

/* --- LEISTUNGEN TABELLE --- */

.leistungen-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 25px;
}

.leistungen-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #0d2847;
}


.leistungen-table td:first-child {
    width: 37%;
    font-weight: bold;
    white-align: left;
    background-color: #f9fbfd; 
}

/* Rechtshinweis  */
.rechtshinweis {
    margin-top: 30px;
    color: #666666;
    /* border-top: 1px dashed #cccccc; */
    padding-top: 10px;
}

/* Smartphone-Optimierung */
@media (max-width: 600px) {
    .leistungen-table td {
        display: block;
        width: 100% !important;
        padding: 8px 5px;
    }
    .leistungen-table td:first-child {
        border-bottom: none;
        padding-top: 15px;
        background-color: transparent;
    }
}

/* --- PREISE STYLING --- */

.preise-container {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.preis-block {
    flex: 1;
    background-color: #f9fbfd; 
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    box-sizing: border-box;
}

.preis-block h3 {
    margin-top: 0;
    color: #0d2847; 
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.preis-info {
    font-weight: bold;
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Smartphone-Optimierung: Boxen untereinander brechen */
@media (max-width: 600px) {
    .preise-container {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- KONTAKTFORMULAR STYLING --- */

.kontakt-form {
    max-width: 600px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: bold;
    color: #0d2847;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {
    padding: 10px;
    border: 1px solid #999999;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 20px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

/* Sende-Button */
.submit-btn {
    background-color: #0d2847; 
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #1a4575; 
}

/* Statusmeldungen */
.form-msg {
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
}

.form-msg.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-msg.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* HP UNSICHTBAR MACHEN */
.schuhkarton-hidden {
    display: none !important;
    visibility: hidden !important;
}
.captcha-box-wrapper {
    background-color: #f9fbfd;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    padding: 15px;
    max-width: 325px; 
    margin-bottom: 20px;
    display: flex;
    flex-direction: row !important; 
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.captcha-box-inside {
    display: flex;
    align-items: center;
    gap: 10px;
	white-space: nowrap;
}

.captcha-box-inside input[type="checkbox"] {
    width: 24px; 
    height: 24px;
    cursor: pointer;
}

.captcha-box-inside label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333333;
}

.captcha-logo-sub {
    color: #666666;
    text-align: right;
    font-size: 0.75rem;
    line-height: 1.2;
}

.captcha-group input {
   width: 60px;         
   display: inline-block;
}

.testimonials-section {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0; 
}

.testimonial-box {
    background-color: #f9fbfd; 
    border-left: 4px solid #0d2847; 
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.testimonial-box blockquote {
    margin: 0 0 10px 0;
    font-style: italic;
    color: #333333;
    line-height: 1.4;
    font-size: 0.95rem;
}

.testimonial-box cite {
    font-style: normal;
    font-weight: bold;
    font-size: 0.85rem;
    color: #666666;
}

.testimonial-box cite a {
    color: #0d2847;
    text-decoration: none;
    border-bottom: 1px rgba(13, 40, 71, 0.3) solid; 
    transition: border-color 0.2s;
}

.testimonial-box cite a:hover {
    border-bottom-color: #0d2847; 
}

#no-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 700px;
    background-color: #0d2847; 
    color: #ffffff;
    padding: 15px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 9999; 
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-sizing: border-box;
}

/* Zustände für die Einblend-Animation */
.no-cookie-banner-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 50px) !important; 
}

.no-cookie-banner-visible {
    opacity: 1;
    pointer-events: auto;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.banner-icon {
    font-size: 1.5rem;
}

#no-cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #f0f4f8; 
    flex-grow: 1;
}

#no-cookie-banner p a {
    color: #4ba3ff; 
    text-decoration: underline;
}

#no-cookie-banner p a:hover {
    color: #ffffff;
}

.banner-btn {
    background-color: #ffffff;
    color: #0d2847;
    border: none;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.1s;
}

.banner-btn:hover {
    background-color: #f0f4f8;
}

.banner-btn:active {
    transform: scale(0.95); 
}

/* Für Mobilgeräte optimieren */
@media (max-width: 600px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .banner-btn {
        width: 100%;
    }
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px; 
	padding: 20px;
}

.haupt-inhalt {
    flex: 1; 
}

.seitenleiste {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px; 
    
    background-color: #f7f9fa; 
    padding: 20px;             
    border-radius: 8px;        
    border-left: 1px solid #e1e8ed; 
}

@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
    }
    .seitenleiste {
        width: 100%;
        margin-top: 30px; 
    }
}

.sidebar-box {
   background-color: #ffffff; 
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #0d2847; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); 
}

/* Auf Handys schieben wir die Sidebar einfach unter den Haupttext */
@media (max-width: 900px) {
    .content-wrapper {
        flex-direction: column;
    }
    .seitenleiste {
        width: 100%;
    }
}

/* Ergänzung für den RSS-Feed in der Seitenleiste */
.rss-feed-liste {
    list-style: none;
    padding: 0;
    margin: 15px 0 10px 0;
    font-size: 0.85rem;
}

.rss-feed-liste li {
    padding: 8px 0;
    border-bottom: 1px dashed #cedbe7; 
    line-height: 1.3;
}

.rss-feed-liste li:last-child {
    border-bottom: none; 
}

.rss-feed-liste li a {
    color: #0d2847; 
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    display: block;
}

.rss-feed-liste li a:hover {
    color: #4ba3ff; 
    text-decoration: underline;
}

.sidebar-footer {
    display: block;
    font-size: 0.75rem;
    color: #888;
    text-align: right;
    margin-top: 5px;
}