
/* WICHTIG: Web Components als Block-Elemente definieren */
my-header, my-footer {
    display: block;
}

my-footer {
    flex-shrink: 0;
}

/* Der Main-Teil muss wachsen, um den Footer nach unten zu drücken */
main {
    flex: 1 0 auto;
}

html, body {
    min-height: 100%;
    font-family: 'Inter', sans-serif;
    color: #2d3436;
    background-color: #f8f9fa;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

/* --- NAVBAR --- */
.navbar {
    background-color: #1a2e44;
    padding: 1rem 0;
}

.navbar-brand {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.navbar-brand:hover {
    color: #e0e0e0;
}

.navbar-contact {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- HERO --- */
.hero-section h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #1a2e44;
    margin-bottom: 0.5rem;
}

.hero-section .lead {
    color: #636e72;
    font-size: 1.1rem;
}

/* --- PROPERTY ITEM --- */
.property-item {
    scroll-margin-top: 2rem;
}

.property-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.property-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #1a2e44;
    margin: 0;
}

.badge {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4em 0.8em;
    border-radius: 4px;
}

/* --- CAROUSEL --- */
.property-item .carousel {
    background-color: #fff;
    border-radius: 8px 8px 0 0;
    padding: 0.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.property-item .carousel-inner img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
}

.work-thumbs {
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    margin-top: -4px;
    padding: 0.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.work-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 48px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s, border-color 0.2s;
    background: none;
}

.work-thumb.active,
.work-thumb:hover {
    opacity: 1;
    border-color: #1a2e44;
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- DESCRIPTION --- */
.work-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #2d3436;
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.work-description p {
    margin-bottom: 0.75rem;
}

/* --- PROPERTY DETAILS TABLE --- */
.property-details {
    width: 100%;
    margin-top: 1rem;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.property-details tr td {
    padding: 0.4rem 0;
    vertical-align: top;
}

.property-details tr td:first-child {
    width: 100px;
    color: #636e72;
    font-size: 0.85rem;
}

/* --- FOOTER --- */
.footer {
    margin-top: auto;
    background-color: #1a2e44;
    padding: 1rem 0;
}

.footer-text {
    color: #fff;
    margin: 0;
    font-size: 0.9rem;
}

.footer-email {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-email:hover {
    color: #fff;
    text-decoration: underline;
}

