/* NOVASHELL IMMOBILIENBERATUNG - MODERN BOLD STYLE.CSS */
/* CSS RESET & NORMALIZATION */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output,
ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #01304B;
    background: #fff;
    min-height: 100vh;
    line-height: 1.7;
}
img, svg {
    max-width: 100%;
    height: auto;
}
a {
    text-decoration: none;
    color: #01304B;
    transition: color 0.18s;
    word-break: break-word;
}
ul, ol {
    list-style: none;
}
input, button {
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-weight: 900;
    color: #01304B;
    line-height: 1.15;
    letter-spacing: 0.01em;
}
h1 { font-size: 2.6rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; font-weight: 800; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 700; }
h4, h5, h6 { font-size: 1.1rem; font-weight: 700; }

.subheadline {
    font-size: 1.25rem;
    color: #A1B4C8;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    margin-bottom: 28px;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}
.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 0; /* containers don't need a gap, children sections/cards provide spacing */
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Feature/Card/Section containers: ALL FLEXBOX! */
.card-container,
.card-grid,
.feature-grid,
.location-grid,
.service-list,
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    align-items: stretch;
}
.feature-grid {
    gap: 32px;
}
.content-grid {
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Service/Feature Cards */
.service-list > div,
.feature-grid > div,
.location-grid > div,
.card,
.card-grid > div {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 20px 0 rgba(1,48,75,0.10);
    border: 2px solid #F4EDE6;
    margin-bottom: 20px;
    padding: 28px 26px 24px 26px;
    position: relative;
    min-width: 260px;
    flex: 1 1 270px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.13s, box-shadow 0.13s, border-color 0.18s;
}
.service-list > div:hover,
.feature-grid > div:hover,
.location-grid > div:hover,
.card:hover{
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 4px 32px 0 rgba(1,46,75,0.16);
    border-color: #A1B4C8;
    z-index: 2;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.cta-box {
    background: #01304B;
    color: #fff;
    border-radius: 22px;
    box-shadow: 0 2px 22px 0 rgba(1,48,75,0.12);
    padding: 36px 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}
.cta-box h2 {
    color: #fff;
}
.cta-box p {
    color: #F4EDE6;
}

/* Tables */
table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    margin: 24px 0 18px 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 12px 0 rgba(1,46,75,0.10);
}
thead tr {
    background: #01304B;
    color: #fff;
}
th, td {
    padding: 14px 12px;
    text-align: center;
    font-size: 1rem;
    border-bottom: 1px solid #A1B4C8;
}
th {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}
tbody tr:nth-child(even) {
    background: #F4EDE6;
}

/* Testimonial Card */
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: #F4EDE6;
    color: #01304B;
    border-radius: 17px;
    box-shadow: 0 2px 14px 0 rgba(1,48,75,0.11);
    padding: 28px 30px;
    margin-bottom: 20px;
}
.testimonial-card p {
    color: #01304B;
    font-size: 1.17rem;
    font-weight: 500;
    margin: 0 0 6px 0;
}
.testimonial-card span {
    color: #A1B4C8;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
}

/* Feature Item (for ul > li.feature-item) */
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* Timelines */
.timeline-visual {
    display: flex;
    align-items: center;
    background: #A1B4C8;
    color: #01304B;
    border-radius: 13px;
    padding: 18px 22px;
    margin: 24px 0 0 0;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
}

/* Steps for How-To Sections */
.steps-list,
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 24px;
}
.steps-list li, .process-steps li {
    background: #fff;
    border-left: 7px solid #A1B4C8;
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(1,48,75,0.08);
    padding: 18px 28px 16px 24px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    position: relative;
}
.steps-list li h3,
.process-steps li h3 {
    font-size: 1.1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #01304B;
    font-weight: 700;
    margin-bottom: 2px;
}
.steps-list li::before,
.process-steps li::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: #01304B;
    border-radius: 50%;
    position: absolute;
    left: -32px;
    top: 24px;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq-list li {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 20px 0 rgba(1,48,75,0.09);
    border: 2px solid #A1B4C8;
    padding: 22px 28px;
    margin-bottom: 20px;
}
.faq-list li h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #01304B;
    margin-bottom: 8px;
}

/* Utility classes */
.mt-20 {margin-top: 20px;}
.mb-20 {margin-bottom: 20px;}
.mb-30 {margin-bottom: 30px;}
.pb-40 {padding-bottom: 40px;}

/* BUTTONS */
.cta-primary,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #01304B;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.19rem;
    letter-spacing: 0.02em;
    padding: 13px 28px;
    margin-top: 8px;
    margin-bottom: 0;
    box-shadow: 0 2px 9px 0 rgba(1,48,75,0.08);
    cursor: pointer;
    transition: background 0.14s, color 0.15s, transform 0.14s, box-shadow 0.13s;
    outline: none;
    position: relative;
    z-index: 1;
}
.cta-primary:hover,
button:hover,
input[type="submit"]:hover {
    background: #A1B4C8;
    color: #01304B;
    box-shadow: 0 6px 22px 0 rgba(1,46,75,0.11);
    transform: translateY(-1px) scale(1.04);
}
button:active, input[type="submit"]:active, .cta-primary:active {
    background: #01304B;
    color: #fff;
    transform: scale(0.97);
}
.cta-primary:focus {
    outline: 3px solid #A1B4C8;
}

/* HEADER & NAVIGATION */
header {
    background: #fff;
    border-bottom: 2px solid #A1B4C8;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 110;
    width: 100%;
    box-shadow: 0 1px 16px 0 rgba(1,48,75,0.06);
}
header nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 0 24px 0 24px;
    height: 84px;
}
header nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.09rem;
    color: #01304B;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 22px;
    transition: background 0.13s, color 0.13s;
}
header nav a:hover {
    background: #A1B4C8;
    color: #fff;
}
header nav a.cta-primary {
    margin-left: auto;
    background: #01304B;
    color: #fff;
    font-size: 1.11rem;
    padding: 10px 26px;
    border-radius: 26px;
    box-shadow: 0 2px 12px 0 rgba(1,48,75,0.10);
    transition: background 0.14s, color 0.14s;
}
header nav a.cta-primary:hover {
    background: #A1B4C8;
    color: #01304B;
}
header nav a img {
    width: 52px;
    height: 48px;
    vertical-align: middle;
    margin-right: 13px;
}

/* Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    background: #01304B;
    color: #fff;
    border: none;
    border-radius: 7px;
    width: 48px;
    height: 48px;
    font-size: 2.1rem;
    cursor: pointer;
    position: absolute;
    right: 18px;
    top: 16px;
    z-index: 201;
    align-items: center;
    justify-content: center;
    transition: background 0.14s, transform 0.17s;
}
.mobile-menu-toggle:focus {
    outline: 3px solid #A1B4C8;
}

/* Mobile slide-out menu */
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #01304B;
    z-index: 220;
    transform: translateX(-100vw);
    transition: transform 0.31s cubic-bezier(0.61,0.01,0.52,1);
    box-shadow: 0 4px 42px 0 rgba(1,48,75,0.18);
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.3rem;
    position: absolute;
    right: 25px;
    top: 18px;
    cursor: pointer;
    transition: color 0.18s;
    z-index: 224;
    padding: 8px;
}
.mobile-menu-close:hover {
    color: #A1B4C8;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 80px;
    align-items: flex-start;
    padding: 32px 24px;
}
@media (min-width: 900px) {
    .mobile-nav {
        display: none;
    }
    
}
.mobile-nav a {
    font-size: 1.19rem;
    color: #fff;
    padding: 12px 0 10px 0;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    transition: color 0.15s, background 0.14s;
    border-radius: 0;
    text-align: left;
}
.mobile-nav a:hover { color: #A1B4C8; background: none; }

@media (max-width: 1120px) {
    .container {
        max-width: 100%;
    }
}
@media (max-width: 900px) {
    header nav {
        gap: 11px;
        padding: 0 11px;
        height: 76px;
    }
}
@media (max-width: 900px) {
    .feature-grid, .service-list, .location-grid,
    .card-container, .card-grid, .content-grid {
        gap: 16px;
    }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .section {
        margin-bottom: 36px;
        padding: 24px 4px;
    }
    .card,
    .service-list > div,
    .feature-grid > div,
    .location-grid > div {
        padding: 16px 13px 12px 12px;
        min-width: 176px;
        font-size: 0.99rem;
    }
    .cta-box {
        padding: 19px 12px;
        border-radius: 12px;
    }
    .testimonial-card {
        padding: 14px 10px;
    }
    .timeline-visual { font-size: 0.99rem; }
    .steps-list li,
    .process-steps li {
        padding: 12px 10px 10px 12px;
    }
    /* Hamburger menu */
    .mobile-menu-toggle {
        display: flex;
    }
    header nav {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .feature-grid,
    .service-list,
    .location-grid,
    .card-container,
    .card-grid,
    .content-grid,
    .text-image-section{
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }
    .steps-list li::before,
    .process-steps li::before {
        left: -20px;
        top: 17px;
        width: 13px;
        height: 13px;
    }
}

/* Main & Section Spacing */
main { display: flex; flex-direction: column; gap: 0; }
section { width: 100%; }

/* Content sections, always vertical spacing! */
section + section { margin-top: 28px; }

/* FOOTER */
footer {
    background: #01304B;
    color: #fff;
    padding: 36px 0 16px 0;
    border-top: 2px solid #A1B4C8;
    position: relative;
    z-index: 30;
    width: 100%;
}
footer .container {
    padding: 0 16px;
}
footer .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    width: 100%;
}
footer nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    width: 100%;
}
footer nav a {
    color: #A1B4C8;
    font-size: 1.08rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    transition: color 0.15s;
}
footer nav a:hover {
    color: #fff;
}
.address-contact-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 1rem;
    color: #fff;
}
.address-contact-info a {
    color: #F4EDE6;
    text-decoration: underline;
    word-break: break-all;
}
.social-links {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 6px;
}
.social-links img {
    width: 29px;
    height: 29px;
    transition: filter 0.15s, transform 0.15s;
    cursor: pointer;
}
.social-links img:hover {
    filter: drop-shadow(0 2px 7px #A1B4C8);
    transform: scale(1.12) rotateZ(-6deg);
}
@media (max-width: 700px) {
    footer .content-wrapper {
        gap: 12px;
    }
    .social-links {
        gap: 10px;
    }
    footer nav {
        gap: 10px;
    }
}

/* COOKIE CONSENT BANNER + MODAL */
.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #01304B;
    color: #fff;
    z-index: 300;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 19px 22px 18px 22px;
    box-shadow: 0 -4px 20px 0 rgba(1,48,75,0.16);
    transition: transform 0.28s, opacity 0.22s;
    gap: 17px;
}
.cookie-banner.hide {
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
}
.cookie-banner .cookie-banner-text {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.08rem;
    color: #F4EDE6;
    font-weight: 500;
    flex: 1 1 0%;
    margin-right: 14px;
}
.cookie-banner-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
}
.cookie-banner button {
    background: #A1B4C8;
    color: #01304B;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 7px;
    border: none;
    padding: 7px 17px;
    cursor: pointer;
    transition: background 0.14s, color 0.13s;
}
.cookie-banner button.accept {
    background: #01304B;
    color: #fff;
    border: 2px solid #A1B4C8;
    font-weight: 900;
}
.cookie-banner button.accept:hover {
    background: #A1B4C8;
    color: #01304B;
}
.cookie-banner button.reject {
    background: #F4EDE6;
    color: #01304B;
}
.cookie-banner button.reject:hover {
    background: #A1B4C8;
    color: #fff;
}
.cookie-banner button.settings {
    background: transparent;
    border: 2px solid #A1B4C8;
    color: #A1B4C8;
}
.cookie-banner button.settings:hover {
    background: #01304B;
    color: #fff;
    border-color: #01304B;
}
@media (max-width: 650px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 7px;
    }
    .cookie-banner .cookie-banner-text {
        margin-right: 0;
    }
    .cookie-banner-buttons {
        gap: 8px;
    }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
    position: fixed;
    z-index: 401;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(1,48,75,0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.18s;
}
.cookie-modal-overlay.hide {
    opacity: 0;
    pointer-events: none;
}
.cookie-modal {
    background: #fff;
    border-radius: 19px;
    max-width: 370px;
    width: 97vw;
    box-shadow: 0 12px 45px 0 rgba(1,48,75,0.19);
    padding: 28px 30px 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 19px;
    color: #01304B;
    animation: modalIn 0.28s cubic-bezier(0.48,0.17,0.53,1);
}
@keyframes modalIn {
    0% { transform: translateY(32px) scale(0.98); opacity: 0; }
    95% { opacity: 1; }
    100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 13px;
}
.cookie-modal .cookie-category {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #A1B4C8;
}
.cookie-modal .category-label {
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #01304B;
}
.cookie-modal .category-desc {
    font-size: 0.97rem;
    color: #607282;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.4;
}
.cookie-modal .cookie-modal-buttons {
    display: flex;
    gap: 11px;
    margin-top: 14px;
}
.cookie-modal button {
    background: #01304B;
    color: #fff;
    border-radius: 7px;
    border: none;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    padding: 8px 18px;
    cursor: pointer;
    transition: background 0.13s, color 0.12s;
}
.cookie-modal button.cancel {
    background: #A1B4C8;
    color: #01304B;
}
.cookie-modal button.cancel:hover {
    background: #01304B;
    color: #fff;
}
.cookie-modal .category-label[aria-disabled="true"] {
    color: #A1B4C8;
    letter-spacing: 0.01em;
}

/* Form styling (for contact, etc) */
form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}
label {
    font-size: 1.05rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 7px;
}
input[type="text"], input[type="email"], textarea {
    background: #F4EDE6;
    border-radius: 7px;
    border: 2px solid #A1B4C8;
    padding: 11px 14px;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: #01304B;
    background: #fff;
}
textarea {
    min-height: 96px;
}

/* Decorative geometric elements (if used) */
.geometric-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

/* Hide visually but accessible - for cookie/slider aria labels */
.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* ADDITIONAL TRANSITIONS & MICRO-INTERACTIONS */
a, button, .cta-primary, .service-list > div, .feature-grid > div, .location-grid > div, .card, .testimonial-card, .mobile-menu, .cookie-modal {
    transition-timing-function: cubic-bezier(0.5, 0.05, 0.36, 1.05);
}
a:active, .cta-primary:active { opacity: 0.98; }

/* Miscellaneous helpers */
strong { font-weight: 800; }
::-moz-selection { background: #A1B4C8; color: #fff; }
::selection { background: #A1B4C8; color: #fff; }

/* Prevent content overlap */
body, main, .container, .content-wrapper, section, .card, .testimonial-card, .feature-grid > div, .location-grid > div, .service-list > div {
    box-sizing: border-box;
}

/* Ensure minimum gap between content cards */
.card + .card, .testimonial-card + .testimonial-card, .feature-grid > div + div, .service-list > div + div, .location-grid > div + div {
    margin-top: 20px;
}

/* Remove absolute positioning for content cards */
/* Only allowed for .geometric-shape or similar purely decorative classes */

/* Error and success messages (for forms) */
.form-success {
    background: #A1B4C8;
    color: #fff;
    border-radius: 7px;
    padding: 12px 18px;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-top: 14px;
}
.form-error {
    background: #ED3C1C;
    color: #fff;
    border-radius: 7px;
    padding: 12px 18px;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-top: 14px;
}

/* Scrollbar styling for modern look */
body::-webkit-scrollbar {
    width: 11px;
}
body::-webkit-scrollbar-thumb {
    background: #A1B4C8;
    border-radius: 6px;
}
body::-webkit-scrollbar-track {
    background: #F4EDE6;
}

/* END OF NOVASHELL IMMOBILIENBERATUNG MODERN BOLD STYLE.CSS */