:root {
    --primary-color: #180F34; /* Navy Blue */
    --secondary-color: #718096; /* Light Slate Gray */
    --background-color: #ffffff;
    --text-color: #333333;
    --accent-color: #d5e2f3;
}

.hidden {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Navigation Menu */
.top-nav {
    background-color: var(--primary-color);
    padding: 15px;
    margin: 0px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-height: 40px;
}
.top-nav{
    border-bottom: 4px solid #d1bc8a;
}
.status-bar{
    border-top: 4px solid #d1bc8a;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    max-height: calc(100vh - 103px -56px) !important;
}

.nullpadding {
    padding: 0;
}

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

.menu {
    display: flex;
    list-style: none;
    align-items: center;          /* Vertically center items */
    justify-content: flex-start;  /* Align items horizontally */
    margin-top: 4px;
}

.menu li {
    margin-left: 20px;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: red 1px solid;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 0;
}

.splash {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.logo-container {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 20px; /* Space between logos */
    width: 40%;
}

.logo-container .logo,
.logo-container .lorbeernavi {
    max-width: 50%; /* Ensure logos take up equal width */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain;
}

.logo {
    width: 50%;
    max-width: 300px;
}

.welcome-text {
    flex: 1;
    padding-left: 30px;
}

.welcome-text h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.welcome-text p {
    line-height: 1.6;
    font-size: 1.1rem;
}

.content {
    margin-top: 30px;
}

.content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background-color: var(--accent-color);
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #bed7fa;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    line-height: 1.5;
}

.feature-card .ti {
    color: black;
    vertical-align: middle;
    margin-right: 10px;
    font-size: 1.5em;
}

.feature-card a {
    display: inline-block;
    text-decoration: none;
    color: #007BFF;             /* Link color */
    font-size: 14px;
    padding: 10px 15px;
    border: 2px solid #007BFF;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  
  .feature-card a:hover {
    background-color: #007BFF;
    color: white;
    border-color: #0056b3;
  }

/* Status Bar / Footer */
#stastusbar {
 min-height: 103px;
 max-height: 103px;
}
.status-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    position: sticky;
    bottom: 0;
}

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

.quick-links a {
    color: white;
    margin-right: 15px;
    text-decoration: none;
    font-size: 0.9rem;
}

.quick-links a:hover {
    text-decoration: underline;
}

.company-address {
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex; justify-content: space-between;
}

.addr-col {
    width: 48%;
    white-space: nowrap;
    font-size: small;
}

#bewertung .immobilien-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
}
  
#bewertung .container {
    max-width: 1200px;
    margin: 0 auto;
}
  
#bewertung .row {
    display: flex;
    flex-wrap: wrap; /* Allows stacking on small screens */
    align-items: center;
    gap: 10px;
}
  
#bewertung .column {
    flex: 1;
}
  
#bewertung .left-column {
    min-width: 200px; /* Prevents collapse on small screens */
    max-width: 300px;
}
  
#bewertung .logo {
    max-width: 100%;
    height: 280px;
    width: 280px;
}
  
#bewertung .right-column h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}
  
#bewertung .right-column p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}
  
#bewertung .features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}
  
#bewertung .features-list li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
    position: relative;
    padding-left: 25px;
}
  
#bewertung .cta {
    text-align: left;
}
  
#bewertung .btn-primary {
    display: inline-block;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
  
#bewertung .btn-primary:hover {
    background-color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .splash {
        flex-direction: column;
        text-align: center;
    }

    .logo-container, .welcome-text {
        padding: 0;
        margin-bottom: 30px;
    }

    .logo {
        max-width: 250px;
    }

    .status-container {
        flex-direction: column;
    }

    .quick-links {
        margin-bottom: 20px;
    }

    .company-address {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .logo-small {
        display: block;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }

    .menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .menu li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .menu li a {
        display: block;
        padding: 15px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
} 

.formframe {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;     
}

.iframe-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 103px - 56px); /* Set your iframe height */
    overflow: hidden;
}
  
  .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    z-index: 10;
  }
  
  iframe {
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  iframe.loaded {
    opacity: 1;
  }
  
  @keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
  }


  #cookie-banner {
    font-family: 'Arial', sans-serif;
    font-size: 11px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f1f1f1;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}
#cookie-banner p {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 14px;
}
#cookie-banner .btn-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
#cookie-banner button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
#accept-cookies {
    background: #4CAF50;
    color: white;
}
#reject-cookies {
    background: #f44336;
    color: white;
}
#cookie-settings {
    background: #2196F3;
    color: white;
}
.cookie-settings-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}
.cookie-settings-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.linkhit{
    cursor: pointer;
}