* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
 * Corporate Design — gemeinsames System der Habenicht-Sites (ask4web.de,
 * sascha.habenicht.name, habenicht.biz ...). Identische Struktur, Farben nur
 * ueber diese :root-Variablen. Diese Zone: Immobilienportal Minden = Navy + Gold.
 */
:root {
    --primary-color: #142140;   /* dunkles Navy: Ueberschriften (kontrastreich) */
    --header-bg: #1B2A4A;       /* Navy-Balken: Header + Footer */
    --secondary-color: #2F7E8C; /* Petrol/Teal: Buttons, Links, Akzente (weisse Schrift darauf) */
    --secondary-dark: #256676;  /* dunkleres Petrol fuer Hover-Zustaende */
    --hero-green: #24365E;       /* dunkleres Navy fuer den Hero-Verlauf (weisser Text lesbar) */
    --text-color: #333;
    --light-bg: #EDF2F4;         /* kuehles Hellgrau-Blau fuer helle Sektionen */
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Header & Navigation */
header {
    background-color: var(--header-bg);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
}

/* Logo-Bild im Header: weisse, abgerundete Flaeche, damit die Wortmarke
   auf dem Header sauber sitzt. Bewusst kompakt gehalten. */
.logo-img {
    display: block;
    height: 88px;
    width: auto;
    background-color: var(--white);
    padding: 8px 14px;
    border-radius: 6px;
}

/* Zweispaltiges Intro (Foto + Text nebeneinander), z. B. "Ueber mich". */
.intro-split {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.intro-split .text {
    flex: 1;
}

.intro-split .text p {
    text-align: left;
}

/* Portraet: kompakt, damit der Text daneben gut lesbar bleibt. */
.portrait {
    flex: 0 0 180px;
    width: 180px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.portrait-caption {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.75rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Navigation Bar Link Styling */
.navbar a,
.navbar a:link,
.navbar a:visited {
    color: inherit;
    text-decoration: none;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--header-bg), var(--hero-green));
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    border-bottom: 4px solid var(--secondary-color); /* Gold-Akzentstreifen */
}

.hero h1,
.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white); /* weisse Schrift auf Petrol -> guter Kontrast */
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

/* About Section */
.about {
    background-color: var(--light-bg);
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Angebot / Pitch Section */
.pitch {
    background-color: var(--white);
}

.pitch p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

/* Objekt-Karten (Bestandsimmobilien) */
.objects {
    background-color: var(--white);
}

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

.card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
    border-top: 3px solid var(--secondary-color);
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.card h3 a {
    color: inherit;
    text-decoration: none;
}

.card h3 a:hover {
    color: var(--secondary-dark);
}

.card p a {
    color: var(--secondary-dark);
    text-decoration: none;
    font-weight: 600;
}

.card p a:hover {
    text-decoration: underline;
}

.card .meta {
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.75rem;
}

/* Status-Badge fuer Objekte (frei / vermietet / in Vorbereitung) */
.badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.badge-soon {
    background-color: var(--light-bg);
    color: #777;
}

.badge-active {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
}

.contact a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Contact card (styled Telefon/E-Mail) */
.contact-card {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--white);
    border: 1px solid var(--light-bg);
    border-radius: 8px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 2rem;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--light-bg);
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    border-radius: 50%;
    color: var(--white);
}

.contact-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.3;
}

.contact-detail .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #777;
}

.contact-card a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-card a:hover {
    color: var(--secondary-dark);
    text-decoration: none;
}

/* Inhaltsseiten (Impressum, Datenschutz, Objekt-Detail) */
.content {
    padding: 3rem 0;
    background-color: var(--white);
}

.content .container {
    max-width: 820px;
}

.content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.75rem;
}

.content p {
    margin-bottom: 1rem;
}

.content a {
    color: var(--secondary-dark);
}

/* Ankaufsprofil — Kennwerte-Grid */
.profile {
    background-color: var(--light-bg);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.profile-item {
    background-color: var(--white);
    border-radius: 6px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

.profile-item .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #777;
    margin-bottom: 0.35rem;
}

.profile-item .value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.profile-item p {
    margin-top: 0.4rem;
    font-size: 0.95rem;
    color: #555;
}

/* Ausschlusskriterien mit Stopp-Schild */
.exclusions {
    background-color: var(--white);
}

.exclusions .exclusions-inner {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}

.exclusions .stop-sign {
    flex: 0 0 160px;
    width: 160px;
    height: auto;
}

.exclusions ul {
    list-style: none;
    flex: 1;
}

.exclusions li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.75rem;
    border-bottom: 1px solid var(--light-bg);
    font-size: 1.05rem;
}

.exclusions li::before {
    content: "\00d7"; /* Malzeichen als "kein" */
    position: absolute;
    left: 0;
    top: 0.55rem;
    color: #C1121F;
    font-weight: 900;
    font-size: 1.2rem;
}

/* Benötigte Unterlagen */
.documents {
    background-color: var(--light-bg);
}

.doc-list {
    list-style: none;
    max-width: 780px;
    margin: 2rem auto 0;
}

.doc-list li {
    position: relative;
    padding: 0.6rem 0 0.6rem 2rem;
    font-size: 1.05rem;
}

.doc-list li::before {
    content: "\2713"; /* Haken */
    position: absolute;
    left: 0;
    top: 0.55rem;
    color: var(--secondary-dark);
    font-weight: 900;
}

/* Ablauf / Prüfung — nummerierte Schritte */
.process {
    background-color: var(--white);
}

.steps {
    list-style: none;
    counter-reset: step;
    max-width: 820px;
    margin: 2rem auto 0;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 1rem 0 1rem 3.5rem;
    border-bottom: 1px solid var(--light-bg);
}

.steps li:last-child {
    border-bottom: none;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 2.25rem;
    height: 2.25rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.steps li strong {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--header-bg);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer .nav-links a {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero h1,
    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .object-cards {
        grid-template-columns: 1fr;
    }

    .exclusions .exclusions-inner {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .exclusions .stop-sign {
        flex-basis: auto;
        width: 120px;
    }

    .intro-split {
        flex-direction: column;
        text-align: center;
    }

    .intro-split .text p {
        text-align: left;
    }

    .portrait {
        flex-basis: auto;
        width: 60%;
        max-width: 220px;
    }

    .logo-img {
        height: 64px;
    }
}
