/* =========================================================
   KRONE ROßWAG – STYLES (Final Premium 2026)
   ========================================================= */

/* --- 1. SCHRIFTARTEN --- */
@font-face {
    font-family: 'Open Sans';
    src: url('../font/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../font/OpenSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../font/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- 2. VARIABLEN & FARBEN --- */
:root {
    --col-text: #333;
    --col-bg: #fdfcf9;
    --col-primary: #6b4e2e;     /* Hauptfarbe (Braun) */
    --col-primary-dk: #573d23;  /* Dunkelbraun für Hover */
    --col-line: #e8e1d2;
    --col-card: #ffffff;
    
    /* Navbar-Höhe */
    --nav-height: 100px;         
    
    /* Bootstrap Overrides */
    --bs-primary: #6b4e2e;
    --bs-link-color: #6b4e2e;
    --bs-link-hover-color: #573d23;
}

/* Zwingt Bootstrap "text-primary" auf unser Braun */
.text-primary { color: var(--col-primary) !important; }

/* --- 3. GRUNDLAGEN & RESET --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--col-bg);
    color: var(--col-text);
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .navbar-brand span, .kf-title, .contact-headline {
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    color: #2e2e2e;
    margin: 0;
}

h1 { letter-spacing: 2px; }
h2 { letter-spacing: 1.5px; }

p { margin: 0; hyphens: auto; }
a { text-decoration: none; transition: color 0.3s ease; }

section.py-5 { padding-top: 5rem; padding-bottom: 5rem; }

/* ANKER KORREKTUR */
section[id], h2[id] { scroll-margin-top: 150px; }

/* --- 4. NAVIGATION --- */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand .brand-logo { height: 70px;  }

/* Fettgedruckter Markenname */
.navbar-brand span {
    font-weight: 700; 
    letter-spacing: 1px; 
}

.navbar .nav-link { color: var(--col-text) !important; text-transform: uppercase; font-weight: 600; font-size: 0.95rem; transition: color 0.3s ease; }
.navbar .nav-link:hover { color: var(--col-primary) !important; }

.dropdown-menu { 
    border: none; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    border-radius: 8px; 
    margin-top: 10px; 
    padding: 0.5rem 0;
    animation: fadeIn 0.3s ease;
}
.dropdown-item { padding: 8px 20px; font-size: 0.95rem; transition: background 0.2s ease, color 0.2s ease; }
.dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover { background-color: var(--col-primary); color: #fff; }

@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* --- 5. HERO & CINEMATIC LOOK --- */
.hero {
    height: 100vh;
    background-position: center;
    background-size: cover;
    background-attachment: fixed; /* Parallax Effekt */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -1px;
}

.hero .overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 8px 16px rgba(0,0,0,0.3);
}

.hero .subline {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    opacity: 0.95;
}

/* --- 6. TICKER (Lauftext) --- */
.ticker-wrap {
    position: fixed;
    top: 110px; 
    left: 0;
    width: 100%;
    overflow: hidden;
    height: 40px;
    background-color: var(--col-primary);
    color: white;
    z-index: 900;
    display: none; 
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.ticker-wrap.show-ticker { display: flex; animation: slideDown 0.5s ease-out; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.ticker {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: content-box;
    animation: ticker 35s linear infinite;
}
.ticker__item { display: inline-block; padding: 0 2rem; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

/* --- 7. ANIMATIONEN (SMOOTH REVEAL) --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* --- 8. KEYFACTS & CARDS --- */
#gesellschaften .keyfacts-grid, 
#sonntag .keyfacts-grid,
#geschichte .keyfacts-grid,
.keyfacts-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    grid-template-columns: repeat(3, 1fr);
}
#sonntag .keyfacts-grid { justify-content: center; }

/* Kaskaden-Effekt für Karten */
.keyfacts-grid.is-visible .kf-card:nth-child(1) { transition-delay: 0.1s; }
.keyfacts-grid.is-visible .kf-card:nth-child(2) { transition-delay: 0.2s; }
.keyfacts-grid.is-visible .kf-card:nth-child(3) { transition-delay: 0.3s; }
.keyfacts-grid.is-visible .kf-card:nth-child(4) { transition-delay: 0.4s; }
.keyfacts-grid.is-visible .kf-card:nth-child(5) { transition-delay: 0.5s; }
.keyfacts-grid.is-visible .kf-card:nth-child(6) { transition-delay: 0.6s; }

.kf-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Zentriert */
    text-align: center;      /* Zentriert */
    border: none !important;
}

.kf-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(107, 78, 46, 0.15);
}

.kf-icon { font-size: 2.5rem; color: var(--col-primary); margin-bottom: 1rem; transition: transform 0.5s ease; }
.kf-card:hover .kf-icon { transform: scale(1.1); }

.kf-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.kf-title.text-primary { color: var(--col-primary) !important; }
.kf-text { font-size: 0.95rem; color: #666; margin: 0; }

.text-run-in { font-weight: 700; margin-right: 6px; }
.text-center p, p.text-center { text-align: center !important; }

/* --- 9. GALERIE & BILDER --- */
.masonry-full-width { width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 2rem; }
.masonry-grid { column-count: 4; column-gap: 1.5rem; }

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem; 
    border-radius: 8px;    /* NEU: Ecken leicht abgerundet */
    overflow: hidden;      
    display: block;
    background: #f0f0f0;
}

.masonry-item img {
    width: 100%;
    display: block;
    object-fit: cover;
    filter: none;          /* NEU: Kein dunkles Overlay mehr */
    transition: transform 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
}

.masonry-item:nth-child(4n+1) img { aspect-ratio: 3/4; }
.masonry-item:nth-child(4n+2) img { aspect-ratio: 4/3; }
.masonry-item:nth-child(4n+3) img { aspect-ratio: 1/1; }
.masonry-item:nth-child(4n+4) img { aspect-ratio: 2/3; }

.masonry-item:hover img {
    transform: scale(1.06); 
}

/* --- 10. BLOG CARDS --- */
.blog-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s ease;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.blog-card-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: transform 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.blog-card:hover .blog-card-img {
    transform: scale(1.06);
}
.blog-body { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }


/* --- 11. AKKORDEON & DOWNLOAD --- */
.menu-accordion .accordion-item { border: none; background: transparent; border-bottom: 1px solid var(--col-line); margin-bottom: 0.5rem; }
.menu-accordion .accordion-button {
    background-color: transparent; color: var(--col-primary); font-family: 'Open Sans', sans-serif;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 1.1rem; padding: 1.5rem 1rem; box-shadow: none !important;
}
.menu-accordion .accordion-button:not(.collapsed) { color: var(--col-primary-dk); background-color: rgba(107, 78, 46, 0.05); border-radius: 8px; }
.menu-accordion .accordion-button::after { filter: invert(28%) sepia(16%) saturate(1469%) hue-rotate(345deg) brightness(96%) contrast(92%); }
.menu-accordion .accordion-body { padding: 1.5rem 1rem; background: #fff; border-radius: 0 0 8px 8px; }
.menu-item { margin-bottom: 1.5rem; border-bottom: 1px dashed #eee; padding-bottom: 1rem; }
.menu-item:last-child { border-bottom: none; margin-bottom: 0; }
.menu-title { font-weight: 700; color: #333; display: block; margin-bottom: 0.2rem; }
.menu-desc { font-size: 0.95rem; color: #666; font-style: italic; }

.menu-download-box {
    background: #fff; border: 1px solid var(--col-primary); border-radius: 8px; padding: 2rem;
    text-align: center; margin-top: 3rem; transition: transform 0.3s ease;
}
.menu-download-box:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.menu-download-box p { text-align: center !important; }

/* --- 12. KALENDER STYLES --- */
.calendar-section { margin-top: 4rem; border-top: 1px solid var(--col-line); padding-top: 3rem; }
.calendar-wrapper { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.calendar-month {
    background: #fff; border: 1px solid #eee; border-radius: 8px; width: 100%; max-width: 360px;
    padding: 1rem; box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: none; animation: fadeIn 0.6s ease;
}
.calendar-month.visible { display: block; }
.cal-header { text-align: center; font-weight: 700; text-transform: uppercase; color: var(--col-primary); margin-bottom: 1rem; border-bottom: 1px solid #f0f0f0; padding-bottom: 0.5rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 0.85rem; }
.cal-day-name { font-weight: 600; font-size: 0.75rem; color: #999; margin-bottom: 5px; }
.cal-day { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: #fdfcf9; color: #bbb; border: 1px solid transparent; }
.cal-day.active { color: #333; background: #fff; border-color: #eee; }
.cal-day.open { background-color: rgba(107, 78, 46, 0.15); color: var(--col-primary); font-weight: 700; border-color: var(--col-primary); }
.cal-day.booked { background-color: #f8d7da !important; color: #721c24 !important; text-decoration: line-through; opacity: 0.8; border-color: #f5c6cb !important; }
.cal-day.holiday::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background-color: #d63384; border-radius: 50%; }
.cal-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 1.5rem; font-size: 0.85rem; color: #666; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.open { background: rgba(107, 78, 46, 0.3); border: 1px solid var(--col-primary); }
.dot.booked { background: #f8d7da; border: 1px solid #f5c6cb; }
.dot.holiday { background: #d63384; }

/* Navigation Container */
.cal-nav { display: flex; justify-content: center; align-items: center; gap: 2rem; margin-bottom: 1.5rem; }
.cal-nav-btn {
    background: none; border: 1px solid var(--col-primary); color: var(--col-primary); width: 40px; height: 40px;
    border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
}
.cal-nav-btn:hover:not(:disabled) { background: var(--col-primary); color: #fff; transform: scale(1.1); }
.cal-nav-btn:disabled { border-color: #ccc; color: #ccc; cursor: not-allowed; opacity: 0.5; }

/* --- 13. POPUP BANNER & FOOTER --- */
.info-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background-color: var(--col-primary);
    color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.info-banner.show { transform: translateY(0); }
.info-banner.swipe-out-up { transform: translateY(-150vh) !important; opacity: 0; transition: transform 1s ease-in, opacity 1s ease-in; }

.info-banner h5 {
    color: #ffffff !important;      
    margin-right: 35px !important;  
    margin-bottom: 0;               
    margin-top: 0;
    line-height: 1.5;               
}

.info-banner-close {
    position: absolute;
    top: 15px;      
    right: 15px;    
    background: none;
    border: none;
    color: rgba(255,255,255,0.7); 
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10001; 
}
.info-banner-close:hover {
    color: #fff; 
    transform: scale(1.1) rotate(90deg); 
}

/* GENERAL BUTTON STYLE - EINHEITLICH */
.btn {
    border-radius: 4px !important;    
    text-transform: uppercase;        
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 24px;
    font-family: 'Open Sans', sans-serif;
    border: 2px solid transparent;    
}

.btn-primary, .btn-outline-primary {
    background-color: var(--col-primary) !important;
    color: #fff !important;
    border-color: var(--col-primary) !important;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-outline-primary:hover {
    background-color: var(--col-primary-dk) !important;
    border-color: var(--col-primary-dk) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 78, 46, 0.3);
}

/* --- NEU: Styling für den neuen Geschichte-Bereich (kleineres Bild) --- */
.history-header {
    padding: 5rem 0 3rem 0;
    text-align: center;
}
.history-img-container {
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.history-img-container img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================================================
   CONTACT FORM (Minimalist Clean Design)
   ========================================================= */

.contact-header-icon {
    font-size: 2.5rem; color: #e0d0b8; margin-bottom: 1rem;
}

.contact-subline {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; color: #888; margin-bottom: 0.5rem; display: block;
}

.contact-headline {
    font-size: 3rem; color: #333; margin-bottom: 3rem; line-height: 1.2;
}

.contact-clean-form .form-control,
.contact-clean-form .form-select {
    background-color: transparent; border: none; border-bottom: 1px solid #d1d1d1;
    border-radius: 0; padding: 10px 0; font-family: 'Open Sans', sans-serif; font-size: 1.1rem;
    color: #333; box-shadow: none !important; transition: border-color 0.3s ease;
}

.contact-clean-form .form-control:focus,
.contact-clean-form .form-select:focus {
    border-bottom-color: var(--col-primary); outline: none;
}

.contact-clean-form label.form-label {
    text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1.5px;
    color: #333; font-weight: 700; margin-bottom: 0; margin-top: 1.5rem;
}

.contact-clean-form ::placeholder { color: #bbb; font-weight: 300; font-size: 1rem; }

/* Button im Formular auch anpassen */
.btn-submit-elegant {
    background-color: var(--col-primary); color: #fff; width: 100%; padding: 18px;
    text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; font-weight: 600;
    border: none; border-radius: 4px; margin-top: 2rem; transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-submit-elegant:hover { background-color: var(--col-primary-dk); color: #fff; transform: translateY(-2px); }

.contact-clean-form .form-check-input { border: 1px solid #888; border-radius: 0; margin-top: 0.3em; }
.contact-clean-form .form-check-label { font-size: 0.85rem; text-transform: none; letter-spacing: normal; font-weight: 400; color: #666; margin-top: 0; }

/* DATE/TIME RESET */
.contact-clean-form input[type="date"],
.contact-clean-form input[type="time"] {
    appearance: none;          
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #d1d1d1;
    border-radius: 0;          
    color: #333;
    padding: 12px 0;           
    min-height: 50px;          
    width: 100%;
    display: block;            
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
}
.contact-clean-form input[type="date"]:focus,
.contact-clean-form input[type="time"]:focus {
    outline: none;
    border-bottom-color: var(--col-primary);
}
.contact-clean-form input[type="date"]:invalid,
.contact-clean-form input[type="time"]:invalid {
    color: #bbb;
}
.contact-clean-form input[type="date"]::-webkit-calendar-picker-indicator,
.contact-clean-form input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    margin-left: 10px;
}

/* =========================================================
   MOBILE OVERRIDES (RESPONSIVE & NAVBAR ZENTRIERUNG)
   ========================================================= */

@media (max-width: 991.98px) {
    
    /* 1. Ticker etwas höher schieben bei mobiler Nav */
    .ticker-wrap { top: 110px; } 

    /* 2. Keyfacts untereinander statt nebeneinander */
    #gesellschaften .keyfacts-grid, 
    #sonntag .keyfacts-grid, 
    #geschichte .keyfacts-grid, 
    .keyfacts-grid { 
        grid-template-columns: 1fr; 
        gap: 1rem;
    }
    
    /* Container als Referenzpunkt setzen */
    .navbar .container {
        position: relative; 
        justify-content: space-between; /* Schiebt Logo nach links, Burger nach rechts */
        padding-left: 30px;  /* Gleicher Abstand links */
        padding-right: 20px; /* Gleicher Abstand rechts */
    }

    /* Logo (Bild) links halten */
    .navbar-brand {
        margin-right: 0 !important;
        display: flex;
        align-items: center;
        z-index: 5; 
    }
    
    /* Text "KRONE ROSSWAG" absolut zentrieren */
    .navbar-brand span {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%); /* Exakte Mitte */
        width: max-content;
        text-align: center;
        font-size: 1.1rem; 
        font-weight: 800;
        pointer-events: none; /* Klicks gehen durch */
    }

    /* Burger Menü (Dropdown) rechts & sauberer Look */
    .navbar-toggler {
        border: none !important; /* Kein Rahmen */
        padding-right: 20 !important; /* Ganz an den Rand schieben */
        z-index: 5;
        box-shadow: none !important; 
    }
    
    /* Icon etwas größer */
    .navbar-toggler-icon {
        width: 1.5em;
        height: 1.5em;
        top:40px;
    }
    .navbar-collapse {
        background: #ffffff !important; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%;
        color: var(--col-primary);
        padding: 0 0 20px 0; 
        max-height: 85vh; 
        overflow-y: auto;
    }
    .navbar-nav { text-align: center; width: 100%; background: #fff; }
    .navbar-nav .nav-item { margin: 0; border-bottom: 1px solid #f5f5f5; background: #fff; }

        
    .navbar-nav .nav-link { 
        padding: 15px 0 !important; 
        font-size: 1.1rem; 
        color: #333 !important; 
        width: 100%; 
    }
    
    .navbar .dropdown-menu { 
        background-color: #ffffff !important; 
        border: none !important; 
        box-shadow: none !important; 
        padding: 0; 
        margin: 0; 
        text-align: center; 
    }
    
    .dropdown-item { 
        padding: 12px 0; 
        color: #666 !important; 
        background-color: #fff !important; 
    }
    
    .navbar-nav .btn { 
        margin: 30px auto 10px auto !important; 
        display: block; 
        padding: 14px !important; 
        height: auto !important; 
        white-space: normal; 
    }
    
    .nav-item:last-of-type { border-bottom: none; }
    /* 6. Ticker Abstand */
    .ticker-wrap { top: 110px; }
}

/* Tablet-Ansicht (2 Spalten für Keyfacts) */
@media (min-width: 768px) and (max-width: 991px) {
    .keyfacts-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* --- HANDY ANSICHT (unter 768px) --- */
@media (max-width: 767.98px) {
    
    /* HERO: Schriftgrößen anpassen */
    .hero h1 { font-size: 2.2rem; letter-spacing: 1px; line-height: 1.2; }
    .hero .subline { font-size: 1rem; letter-spacing: 1px; }
    .hero { background-attachment: scroll !important; } /* Kein Parallax auf Mobile für Performance */

    /* GALERIE: 2 Spalten, aber MIT Design (Runde Ecken & Abstände) */
    .masonry-full-width { padding: 0 10px !important; }
    .masonry-grid { 
        column-count: 2 !important; 
        column-gap: 10px !important; 
    }
    .masonry-item { 
        margin-bottom: 10px !important; 
        border-radius: 6px !important; /* WICHTIG: Runde Ecken beibehalten! */
        background: #f0f0f0;           /* Leichter Hintergrund, falls Bild lädt */
    }
    /* Filter Reset sicherstellen */
    .masonry-item img { filter: none !important; } 

    /* GESCHICHTE: Abstände verkleinern */
    .history-header { padding: 3rem 0 1.5rem 0; }
    .history-img-container { margin: 1.5rem auto; }

    /* KONTAKTFORMULAR: Kompakter */
    .contact-headline { font-size: 2rem; margin-bottom: 1.5rem; }
    .contact-header-icon { font-size: 2rem; margin-bottom: 0.5rem; }
    .btn-submit-elegant { padding: 15px; margin-top: 1.5rem; }
}