/* ===================================
   OPTIMIERTE CSS-VARIABLEN
   Bereinigt und einheitlich strukturiert
   =================================== */
:root {
    /* === HAUPTFARBPALETTE === */
    --primary: #00BFA6;          /* Türkis - Hauptfarbe */
    --secondary: #FF5252;        /* Rot - Sekundärfarbe */
    --accent: #FFDE59;           /* Gelb - Akzentfarbe */
    --accent-blue: #5B86E5;      /* Blaue Akzente */
    --accent-cyan: #36D1DC;      /* Cyan Übergänge */
    
    /* === STATUS-FARBEN === */
    --success: #27ae60;          /* Grün - Erfolgsmeldungen */
    --error: #e74c3c;            /* Rot - Fehlermeldungen */
    --warning: #f39c12;          /* Orange - Warnungen */
    --info: #3498db;             /* Blau - Informationen */
    
    /* === NEUTRALE FARBEN === */
    --dark: #1F2D3D;             /* Haupttext */
    --light: #F9FBF9;            /* Hintergrund */
    --gray: #B0BEC5;             /* Dezente Elemente */
    --gray-light: #6c757d;       /* Heller Text */
    --white: #ffffff;
    --border: #dee2e6;
    --light-bg: #f8f9fa;
    
    /* === SCHATTEN & EFFEKTE === */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* === SPACING & SIZING === */
    --radius-small: 5px;
    --radius-medium: 8px;
    --radius-large: 10px;
    --radius-round: 50px;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
    background-color: var(--primary);
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5em;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--radius-small);
    transition: background-color 0.3s;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 8px 0;
}

nav ul li a.active {
    color: var(--accent);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

/* ===================================
   HERO SECTIONS
   =================================== */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 191, 166, 0.8), rgba(91, 134, 229, 0.8)), 
                      url('assets/images/muster_1200_600.jpg'); 
    background-size: cover;
    background-position: center;
    color: var(--white);
    border-radius: 0 0 var(--radius-large) var(--radius-large);
    margin-bottom: 60px;
}

.hero-home {
    padding: 100px 0 80px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 191, 166, 0.7), rgba(91, 134, 229, 0.7)), 
                      url('assets/images/home_schloss-karlsruhe.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    border-radius: 0 0 var(--radius-large) var(--radius-large);
    margin-bottom: 60px;
}

.hero-lage {
    padding: 100px 0 80px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 191, 166, 0.7), rgba(91, 134, 229, 0.7)), 
                      url('assets/images/lage_suedstadt.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    border-radius: 0 0 var(--radius-large) var(--radius-large);
    margin-bottom: 60px;
}

.hero h1, 
.hero-home h1,
.hero-lage h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p, 
.hero-home p,
.hero-lage p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    border-radius: var(--radius-round);
    border: 2px solid var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 82, 82, 0.3);
}

.btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 222, 89, 0.4);
}

.btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn:disabled {
    background: var(--gray);
    border-color: var(--gray);
    color: var(--white);
    cursor: not-allowed;
    transform: none;
    opacity: 0.6;
}

/* Button Varianten */
.btn.btn-primary {
    background: var(--error);
    border-color: var(--error);
    padding: 15px 30px;
    border-radius: var(--radius-medium);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn.btn-primary:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn.btn-secondary {
    background: var(--info);
    border-color: var(--info);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn.btn-secondary:hover {
    background: #2980b9;
    border-color: #2980b9;
    color: var(--white);
}

/* ===================================
   FEATURES GRID
   =================================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--primary);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-top: 3px solid var(--secondary);
}

.feature-item h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.feature-item h2 span {
    margin-right: 10px;
    font-size: 1.4em;
}

.feature-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===================================
   APARTMENT TYPES (Wohnungstypen)
   =================================== */
.apartment-types {
    margin: 60px 0;
}

.apartment-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-bottom: 30px;
    border-top: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-top: 3px solid var(--secondary);
}

.apartment-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.apartment-image {
    flex: 1.5;
    padding: 20px;
    background-color: var(--light-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.apartment-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-medium);
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.apartment-image img:hover {
    transform: scale(1.05);
}

.image-caption {
    text-align: center;
    font-size: 0.9em;
    color: var(--dark);
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 0;
    font-weight: 500;
}

.apartment-title {
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.amenities-list {
    margin-bottom: 20px;
    list-style: none;
}

.amenities-list li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    color: var(--dark);
    line-height: 1.5;
}

.amenities-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1em;
}

.price-tag {
    background: linear-gradient(135deg, var(--secondary), #e74c3c);
    color: var(--white);
    padding: 15px;
    border-radius: var(--radius-medium);
    text-align: center;
    font-size: 1.6em;
    font-weight: 600;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(255, 82, 82, 0.2);
    transition: transform 0.3s ease;
}

.price-tag:hover {
    transform: scale(1.02);
}

/* ===================================
   FAQ SECTION (Information Page)
   =================================== */
.faq-container {
    background: var(--white);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    padding: 30px;
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius-small);
    overflow: hidden;
    border: 1px solid var(--border);
}

.faq-question {
    background: var(--primary);
    color: var(--white);
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1em;
}

.faq-question:hover {
    background: var(--secondary);
    transform: translateX(5px);
}

.faq-question:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.faq-icon {
    font-size: 1.2em;
    font-weight: bold;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 20px;
    background: var(--light);
    border-left: 4px solid var(--secondary);
    display: none;
    line-height: 1.6;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

.faq-answer strong {
    color: var(--primary);
    font-weight: 600;
}

.faq-answer a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.faq-answer a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.category-separator {
    margin: 50px 0 30px;
}

/* ===================================
   SECTION TITLES
   =================================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Montserrat', sans-serif;
}

.section-title h2 {
    font-size: 2.2em;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1em;
}

/* ===================================
   FORMS
   =================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius-medium);
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.2);
    outline: none;
}

.form-control.error {
    border-color: var(--error);
}

.form-control.valid {
    border-color: var(--success);
}

/* Required Field Indicator */
.required::after {
    content: ' *';
    color: var(--error);
}

/* ===================================
   MESSAGES & NOTIFICATIONS
   =================================== */
.success-message {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
    padding: 1rem;
    border-radius: var(--radius-medium);
    margin: 1rem 0;
    text-align: center;
    font-weight: 600;
}

.error-message {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
    padding: 1rem;
    border-radius: var(--radius-medium);
    margin: 1rem 0;
    text-align: center;
    font-weight: 600;
}

/* ===================================
   CTA ELEMENTS
   =================================== */
.cta-container {
    margin: 30px 0 60px;
    display: flex;
    justify-content: center;
}

.cta-button {
    display: block;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    text-align: left;
    text-decoration: none;
    width: 100%;
    border-top: 3px solid var(--secondary);
}

.cta-button:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-top: 3px solid var(--primary);
}

.cta-button h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.cta-button h2 span {
    margin-right: 10px;
    font-size: 1.4em;
}

.cta-button p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===================================
   LOADING STATES
   =================================== */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--gray-light);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-bg);
    border-top: 4px solid var(--info);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================
   COOKIE BANNER STYLES
   =================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 3px solid var(--primary);
    box-shadow: var(--shadow-heavy);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hide {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    color: var(--primary);
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.cookie-text p {
    margin: 0;
    line-height: 1.5;
    color: var(--dark);
}

.cookie-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-medium);
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    font-family: inherit;
}

.cookie-btn.accept {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 191, 166, 0.3);
}

.cookie-btn.accept:hover {
    background: #009688;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 191, 166, 0.4);
}

.cookie-btn.decline {
    background: var(--error);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.cookie-btn.decline:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.cookie-btn.settings {
    background: var(--gray);
    color: var(--dark);
    border: 2px solid var(--gray);
}

.cookie-btn.settings:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.cookie-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--white);
    border-radius: var(--radius-large);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-heavy);
}

.cookie-modal-header {
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius-large) var(--radius-large) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.3em;
    font-family: 'Montserrat', sans-serif;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    border-radius: var(--radius-small);
    transition: background 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

.close-modal:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    transition: border-color 0.3s ease;
}

.cookie-category:hover {
    border-color: var(--primary);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-category h4 {
    margin: 0;
    color: var(--primary);
    font-size: 1.1em;
    font-family: 'Montserrat', sans-serif;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .cookie-slider {
    background-color: var(--primary);
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    background-color: var(--gray);
    cursor: not-allowed;
}

input:disabled + .cookie-slider:before {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cookie-category p {
    margin: 10px 0 0 0;
    color: var(--dark);
    line-height: 1.5;
    font-size: 0.95em;
}

.cookie-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    background: var(--light-bg);
    border-radius: 0 0 var(--radius-large) var(--radius-large);
}

/* Success Message */
.cookie-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-medium);
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    font-weight: 500;
    max-width: 300px;
}

.cookie-success.show {
    transform: translateX(0);
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

.copyright a {
    color: var(--accent);
    text-decoration: none;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .hero, 
    .hero-home,
    .hero-lage {
        padding: 80px 0 60px;
    }
    
    .hero h1, 
    .hero-home h1,
    .hero-lage h1 {
        font-size: 2.2em;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .cta-button {
        padding: 20px;
    }
    
    .cta-button h2 {
        font-size: 1.4em;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Apartment Cards Responsive */
    .apartment-card {
        flex-direction: column;
    }
    
    .apartment-info,
    .apartment-image {
        width: 100%;
        flex: none;
    }
    
    .apartment-image {
        order: -1;
        padding: 15px;
    }
    
    .apartment-info {
        padding: 20px;
    }
    
    .apartment-title {
        font-size: 1.5em;
    }
    
    .price-tag {
        font-size: 1.4em;
    }
    
    /* FAQ Responsive */
    .faq-container {
        padding: 20px;
    }
    
    .faq-question {
        padding: 12px 15px;
        font-size: 0.9em;
    }
    
    .faq-answer {
        padding: 15px;
    }

    /* Cookie Banner Responsive */
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }

    .cookie-modal-content {
        margin: 10px;
        max-height: 90vh;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }

    .cookie-success {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }

    .cookie-success.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .hero h1, 
    .hero-home h1,
    .hero-lage h1 {
        font-size: 1.8em;
    }
    
    .section-title h2 {
        font-size: 1.8em;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .apartment-title {
        font-size: 1.3em;
    }
    
    .price-tag {
        font-size: 1.2em;
        padding: 12px;
    }
    
    .faq-question {
        padding: 10px 12px;
        font-size: 0.85em;
    }

    /* Cookie Banner Mobile */
    .cookie-banner {
        padding: 15px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-modal-body {
        padding: 20px;
    }

    .cookie-text h3 {
        font-size: 1.1em;
    }

    .cookie-text p {
        font-size: 0.9em;
    }
}