/* RESET & BASE - UrbanAxiom Scandinavian Clean */
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,
table, 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;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.6;
    background: #F2F4F7;
    color: #1C2331;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    min-height: 100vh;
    /* antialiased for scandinavian smoothness */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: #4A90E2;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #1C2331;
    text-decoration: underline;
    outline: none;
}
ul, ol {
    margin: 16px 0 16px 24px;
}
li {
    margin-bottom: 8px;
    list-style-position: outside;
}
strong {
    font-weight: 600;
}

/* FONT-FAMILY: Brand (Montserrat for display, Open Sans for body) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #1C2331;
    font-weight: 700;
    letter-spacing: -0.01em;
}
h1 {
    font-size: 2.5rem;
    line-height: 1.16;
    margin-bottom: 24px;
}
h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}
h3 {
    font-size: 1.275rem;
    margin-bottom: 12px;
}
h4, h5, h6 {
    font-size: 1rem;
}
p, .text-section {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #273349;
    font-size: 1rem;
    max-width: 740px;
    margin-bottom: 16px;
    line-height: 1.7;
}
.section ul {
    margin-bottom: 16px;
}

/* CONTAINER & LAYOUT */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(28, 35, 49, 0.04);
}

@media (max-width: 768px) {
    .section {
        margin-bottom: 36px;
        padding: 24px 10px;
        border-radius: 12px;
    }
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    .content-wrapper {
        gap: 16px;
    }
}

/* FLEXBOX PATTERNS */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(36, 44, 62, 0.05);
    margin-bottom: 20px;
    position: relative;
    flex: 1 1 260px;
    min-width: 250px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

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

/* FEATURE GRID FOR .feature-grid & .feature-item */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 16px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: #F7F8FA;
    border-radius: 14px;
    box-shadow: 0 1px 6px rgba(28,35,49,0.03);
    padding: 24px 18px 22px 18px;
    min-width: 210px;
    flex: 1 1 230px;
    transition: box-shadow 0.2s;
}
.feature-item img {
    width: 36px;
    height: 36px;
}
.feature-item:hover {
    box-shadow: 0 4px 18px rgba(28,35,49,0.08);
    background: #f0f4fa;
}

@media (max-width: 950px) {
    .feature-grid {
        gap: 16px;
    }
    .feature-item {
        min-width: 180px;
        padding: 18px 10px;
    }
}
@media (max-width: 600px) {
    .feature-grid {
        flex-direction: column;
    }
    .feature-item {
        width: 100%;
        padding: 16px 8px;
    }
}

/* PROJECT CASE STUDY (projekte.html) */
.project-case-study {
    background: #F9FAFB;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(28,35,49,0.03);
    padding: 20px 16px;
    margin-bottom: 20px;
}

/* TESTIMONIAL CARD (projekte.html) */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(28,35,49,0.06);
    margin-bottom: 20px;
    color: #1C2331;
}
.testimonial-card p {
    font-size: 1.1rem;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #1C2331;
    margin-bottom: 0;
}
.testimonial-author {
    font-size: 0.98rem;
    color: #4A90E2;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
}

@media (max-width: 600px) {
    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* TIMELINE SECTION (architekturgeschichte.html) */
.timeline-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* BUTTONS */
.cta-button {
    display: inline-block;
    background: #4A90E2;
    color: #fff;
    border-radius: 999px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
    padding: 14px 36px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.10);
    transition: background 0.18s, color 0.16s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    margin-top: 18px;
    text-align: center;
    text-decoration: none;
}
.cta-button:hover, .cta-button:focus {
    background: #1C2331;
    color: #fff;
    box-shadow: 0 4px 20px rgba(30, 45, 90, 0.07);
    outline: none;
}

.cta-link {
    color: #4A90E2;
    font-weight: 700;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    transition: color 0.15s;
}
.cta-link:hover, .cta-link:focus {
    color: #1C2331;
    text-decoration: underline;
}

/* ========== HEADER / NAVIGATION ========== */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(28,35,49,0.04);
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
}
header .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 70px;
    gap: 18px;
}
.logo img {
    height: 54px;
    width: auto;
    display: block;
}
nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}
nav a {
    color: #1C2331;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    padding: 7px 0 7px 0;
    position: relative;
    transition: color 0.15s;
}
nav a:hover, nav a:focus {
    color: #4A90E2;
}
/* Hide mobile menu toggle by default (shown on mobile later) */
.mobile-menu-toggle {
    display: none;
}
/* Hide mobile menu by default */
.mobile-menu {
    display: none;
}

@media (max-width: 1024px) {
    header .container {
        gap: 10px;
    }
}
@media (max-width: 900px) {
    nav {
        gap: 14px;
    }
}
/* ==== MOBILE NAVIGATION ==== */
@media (max-width: 900px) {
    header nav {
        display: none;
    }
    .cta-button {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 22px;
        top: 15px;
        font-size: 2.1rem;
        background: none;
        border: none;
        color: #1C2331;
        z-index: 1012;
        cursor: pointer;
        padding: 2px 10px;
        transition: color 0.18s;
    }
    .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
        color: #4A90E2;
        outline: none;
    }
}
.mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(242, 244, 247, 0.97);
    z-index: 2000;
    transform: translateX(-100vw);
    transition: transform 0.35s cubic-bezier(0.77,0.2,0.05,1.0);
    box-shadow: 0 4px 32px rgba(28,35,49,0.10);
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    align-self: flex-end;
    margin: 20px 18px 10px 0;
    background: none;
    border: none;
    font-size: 2.1rem;
    color: #1C2331;
    cursor: pointer;
    transition: color 0.16s;
    z-index: 2020;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
    color: #4A90E2;
    outline: none;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    align-items: flex-start;
    padding: 34px 28px 0 28px;
}
.mobile-nav a {
    color: #1C2331;
    font-size: 1.18rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #E8EAED;
    width: 100%;
    transition: color 0.15s, background 0.18s;
    border-radius: 5px;
}
.mobile-nav a:last-child {
    border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: #4A90E2;
    background: #e5edfa;
}

/* Hide .mobile-menu by default on >900px */
@media (min-width: 901px) {
    .mobile-menu,
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* ========== FOOTER ========== */
footer {
    background: #fff;
    box-shadow: 0 1px 6px rgba(28,35,49,0.03);
    border-radius: 18px 18px 0 0;
    margin-top: 40px;
    padding-top: 30px;
    padding-bottom: 32px;
}
footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}
footer nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
footer nav a {
    color: #797f8a;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
    text-decoration: none;
    transition: color 0.15s;
    margin-bottom: 0px;
}
footer nav a:hover, footer nav a:focus {
    color: #4A90E2;
    text-decoration: underline;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.98rem;
    color: #516175;
    font-family: 'Open Sans', Arial, sans-serif;
}
.footer-contact span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-contact img {
    height: 17px;
    width: 17px;
}
footer .container > a img {
    width: 42px;
    height: auto;
}
@media (max-width: 800px) {
    footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #ffffff;
    color: #1C2331;
    border-top: 1.5px solid #E5E8EC;
    box-shadow: 0 -2px 18px rgba(36,44,62,0.08);
    z-index: 4000;
    padding: 22px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    animation: cookie-slide-up 0.45s cubic-bezier(.77,.1,.27,.94);
}
@keyframes cookie-slide-up {
    0% { transform: translateY(110%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
    max-width: 780px;
    text-align: center;
    font-size: 1rem;
    margin: 0 auto 8px auto;
    color: #263456;
}
.cookie-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.cookie-banner button {
    padding: 10px 28px;
    margin: 0;
    border: none;
    border-radius: 28px;
    background: #f2f4f7;
    color: #1C2331;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.16s, color 0.13s, box-shadow 0.2s;
}
.cookie-banner button.accept {
    background: #4A90E2;
    color: #fff;
    box-shadow: 0 2px 9px rgba(74,144,226,0.08);
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
    background: #226fbe;
}
.cookie-banner button.settings {
    background: #fff;
    border: 1.5px solid #C5CFDA;
    color: #1C2331;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
    background: #f0f6ff;
    color: #4A90E2;
    outline: none;
}
.cookie-banner button.reject {
    background: #E1E3E7;
    color: #425080;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
    background: #c6ceeb;
}
@media (max-width:600px){
    .cookie-banner{padding:14px 2vw;}
    .cookie-banner p{font-size:0.97rem;}
}

/* COOKIE SETTINGS MODAL (shown on button.settings click) */
.cookie-modal-backdrop {
    position: fixed;
    z-index: 5000;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(44,59,90,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cookie-modal-fade-in 0.4s;
}
@keyframes cookie-modal-fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.cookie-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 42px rgba(28,35,49,0.21);
    padding: 36px 32px 28px 32px;
    min-width: 310px;
    max-width: 97vw;
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: modal-pop-in 0.28s cubic-bezier(.77,.1,.27,.94);
    position: relative;
}
@keyframes modal-pop-in {
    0% { transform: scale(0.94); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
    font-size: 1.38rem;
    margin-bottom: 8px;
    font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}
.cookie-category input[type="checkbox"] {
    accent-color: #4A90E2;
    border-radius: 4px;
    width: 18px; height: 18px;
}
.cookie-category label {
    font-size: 1rem;
    color: #1C2331;
}
.cookie-category span {
    font-size: 0.94rem;
    color: #797f8a;
}
.cookie-modal .cookie-buttons {
    justify-content: flex-end;
    gap: 14px;
    margin-top: 8px;
}
.cookie-modal-close {
    position: absolute;
    top: 18px; right: 20px;
    font-size: 1.55rem;
    background: transparent;
    color: #1C2331;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color .15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
    color: #4A90E2;
    outline: none;
}
@media (max-width:460px) {
    .cookie-modal{padding:16px 2vw 18px 2vw;}
}

/* ========== LISTS, HR, BLOCKQUOTES ========== */
hr {
    height: 1.5px;
    background: #E4E9EE;
    border: none;
    margin: 32px 0 32px 0;
}
blockquote {
    border-left: 5px solid #D0D9DE;
    padding-left: 18px;
    color: #4A90E2;
    margin: 18px 0;
    font-style: italic;
}

/* ========== FORM ELEMENTS (kontakt.html, etc.) ========== */
input, textarea, select {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    border: 1.5px solid #D7DCE2;
    border-radius: 7px;
    padding: 11px 14px;
    background: #F7F8FA;
    color: #1C2331;
    margin-bottom: 18px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.13s;
}
input:focus, textarea:focus, select:focus {
    border-color: #4A90E2;
    outline: none;
}
label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    margin-bottom: 7px;
    color: #263456;
}
button, input[type="submit"] {
    font-family: 'Montserrat', Arial, sans-serif;
}

/* MISC: Hide visually redundant decorative absolute content unless needed */

/* ========== UTILITIES ========== */
.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.flex {
    display: flex;
}
.flex-col {
    flex-direction: column;
}
.flex-row {
    flex-direction: row;
}
.gap-20 {
    gap: 20px;
}
.gap-32 {
    gap: 32px;
}
.align-center {
    align-items: center;
}
.align-start {
    align-items: flex-start;
}
.justify-center {
    justify-content: center;
}

/* ========== SCANDINAVIAN MICRO-INTERACTIONS ========== */
.card, .feature-item, .section, .testimonial-card, .project-case-study {
    transition: box-shadow 0.18s, background 0.15s, transform 0.10s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .project-case-study:hover {
    box-shadow: 0 8px 36px rgba(28, 35, 49, .10);
    transform: translateY(-2px) scale(1.01);
}
input:focus, textarea:focus, select:focus,
.cta-button:focus, .cta-link:focus, button:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 1px;
}

/* ========== TYPOGRAPHY SCALE ========== */
@media (max-width:650px) {
    h1 { font-size:2rem; }
    h2 { font-size:1.34rem; }
    h3 { font-size:1.10rem; }
    p, .text-section { font-size:0.98rem; }
}

/* ========== SPACING/PADDING ADJUSTER ON SMALL SCREENS ========== */
@media (max-width:400px) {
    .section{padding:14px 4px;}
}

/* ========== END OF STYLE ========== */