:root {
    --brand-orange: #c5835d; 
    --black: #000000;
    --creme-light: #f9f5f0; /* Sanftes Beige statt hartem Weiß */
    --creme-dark: #eaddcf;  /* Für Hover-Effekte oder Ränder */
    --text-dark: #2c2c2c;
}

body {
    /* Georgia als Hauptschrift, Serif als Backup */
    font-family: 'Georgia', Times, serif; 
    margin: 0;
    padding: 0;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6; /* Verbessert die Lesbarkeit bei Serif-Schriften */
}

h1, h2, h3, .main-title {
    font-family: 'Georgia', serif;
    font-weight: normal; /* Georgia sieht "normal" oft edler aus als fett */
}


/* Intro Text */
#intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 10px;
}

#intro h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

#intro p {
    font-style: italic;
    color: #ccc;
    font-size: 1.1rem;
}


/* Header & Nav Fix */
header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 4px solid var(--brand-orange);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px; /* Begrenzt die Breite */
    margin: 0 auto;    /* Zentriert den Header */
    padding: 0 20px;
}

nav ul { 
    display: flex; 
    gap: 20px; 
    list-style: none; 
    margin: 0; 
    padding: 0;
}

nav a {
    font-family: 'Georgia', serif;
    text-decoration: none;
    color: var(--black);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Banner */
.title-banner {
    background-image: url('/img/bg_bronze.jpg');
    background-repeat: repeat;
    background-size: auto;
    background-position: center;
    padding: 60px 0;
    text-align: center;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(0,0,0,0.3);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.2);
}

.title-banner h1 {
    font-family: 'Georgia', serif;
    color: var(--white);
    font-size: 2.2rem;
    letter-spacing: 6px;
    margin: 0;
    text-transform: uppercase;
    /* --- DIESE ZEILEN HINZUFÜGEN --- */
    display: inline-block;
    transition: transform 0.4s ease;
}

/* --- DIESEN NEUEN BLOCK HINZUFÜGEN --- */
.title-banner:hover h1 {
    transform: scale(1.1);
}

/* Inhalts-Begrenzung */
main {
    max-width: 1100px; /* Verhindert, dass es zu breit wird */
    margin: 40px auto;
    padding: 0 20px;
}

/* ÜBERSCHRIFTEN FARBE: ORANGE */
h2, h3, .apt-content h3 {
    color: var(--brand-orange) !important;
}

/* Apartment Cards */
.apartments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* Apartment Cards Upgrade */
.apt-card {
    background: var(--creme-light); /* Angenehmer für die Augen */
    color: var(--text-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5); /* Tiefe erzeugen */
    border: 1px solid var(--brand-orange);
    transition: transform 0.3s ease;
}

.apt-card:hover {
    transform: translateY(-5px); /* Sanftes Anheben beim Drüberfahren */
}

.apt-content {
    padding: 30px;
}

.apt-content h3 {
    margin-bottom: 5px;
    font-size: 1.8rem;
    border-bottom: 1px solid var(--creme-dark);
    padding-bottom: 15px;
}

.apt-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.subtitle {
    color: var(--brand-orange);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Preistabelle Verschönerung */
.apt-table {
    margin: 25px 0;
}

.apt-table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(197, 131, 93, 0.2);
}

/* BUTTON DESIGN: Weg vom Blau, hin zum edlen Kupfer/Schwarz */
.btn-sm {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    border: 2px solid var(--brand-orange);
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-sm:hover {
    background: var(--brand-orange);
    color: var(--black);
}

/* Footer der Karte */
.apt-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #666;
}

/* Slider Layout */
.slider-container {
    width: 100%;
    height: 500px; /* Höhe nach Bedarf anpassen */
    position: relative;
    overflow: hidden;
    background: #000;
}

.slideshow {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Weicher Übergang */
}

.slide.active {
    opacity: 1;
}


@media (max-width: 768px) {
    /* Cards untereinander stapeln */
    .apartments-grid {
        grid-template-columns: 1fr; /* Nur noch eine Spalte */
        gap: 20px;
    }

    /* Slider-Höhe auf dem Handy reduzieren, damit man nicht ewig scrollt */
    .slider-container {
        height: 300px; 
    }

    /* Banner-Text etwas verkleinern */
    .title-banner h1 {
        font-size: 1.4rem;
        letter-spacing: 3px;
    }

    /* Intro-Überschrift anpassen */
    #intro h2 {
        font-size: 1.8rem;
    }

    /* Card-Inhalt Padding leicht reduzieren */
    .apt-content {
        padding: 20px;
    }

    .apt-content h3 {
        font-size: 1.5rem;
    }
}