/* ===== CSS RESET & BASE ===== */
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: 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.5;
    min-height: 100vh;
    background: #F9F9F6;
    color: #232C51;
    font-family: 'Roboto', Georgia, Times, serif;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ul, ol {
    margin: 0 0 1.5em 1.5em;
    padding: 0;
}
li {
    margin-bottom: 0.5em;
}
a {
    color: #09A0B8;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover, a:focus {
    color: #232C51;
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Georgia, Times, serif;
    color: #232C51;
    font-weight: 700;
    line-height: 1.2;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}
h2 {
    font-size: 2rem;
    margin-bottom: 18px;
}
h3 {
    font-size: 1.375rem;
    margin-bottom: 14px;
}
h4 {
    font-size: 1.125rem;
}
.subheadline {
    font-size: 1.25rem;
    color: #465070;
    font-family: 'Roboto', serif;
    margin-bottom: 24px;
}
p {
    margin-bottom: 18px;
    font-family: 'Roboto', Georgia, Times, serif;
    color: #232C51;
}
strong {
    font-weight: 700;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}
/* ===== CONTAINERS & LAYOUTS ===== */
.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 0px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.text-section {
    max-width: 780px;
}

/* Flex pattern for content grid */
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

/* ===== MAIN NAVIGATION ===== */
header {
    width: 100%;
    background: #F9F9F6;
    border-bottom: 1px solid #ebeae2;
    position: relative;
    z-index: 11;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 64px;
    justify-content: flex-start;
}
.main-nav a {
    font-family: 'Montserrat', Georgia, Times, serif;
    font-size: 1rem;
    color: #232C51;
    padding: 8px 0;
    position: relative;
    border-radius: 3px;
    transition: color 0.2s, background 0.2s;
}
.main-nav a.cta-primary {
    margin-left: auto;
    background: #232C51;
    color: #fff;
    border-radius: 24px;
    padding: 8px 22px;
    font-size: 1rem;
    letter-spacing: 0.03em;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(35,44,81,0.05);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
    background: #09A0B8;
    color: #fff;
    box-shadow: 0 4px 16px 0 rgba(9,160,184,0.10);
}
.main-nav img {
    height: 36px;
    margin-right: 14px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #232C51;
    position: absolute;
    top: 13px;
    right: 18px;
    z-index: 31;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #ebeae2;
}
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: #232C51;
    z-index: 40;
    transform: translateX(-100%);
    transition: transform 0.40s cubic-bezier(0.77,0,0.175,1);
    padding: 0;
    opacity: 0;
    pointer-events: none;
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    width: 54px;
    height: 54px;
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 51;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: rgba(9,160,184,0.18);
}
.mobile-nav {
    margin-top: 90px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    padding: 0 36px;
}
.mobile-nav a {
    font-size: 1.35rem;
    color: #fff;
    padding: 8px 0 8px 8px;
    border-radius: 5px;
    font-family: 'Montserrat', Georgia, Times, serif;
    transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #09A0B8;
    color: #fff;
}
@media (max-width: 1060px) {
    .main-nav {
        gap: 18px;
    }
    .main-nav a.cta-primary {
        margin-left: 8px;
    }
}
@media (max-width: 920px) {
    .main-nav {
        gap: 12px;
    }
}
@media (max-width: 820px) {
    .container {
        max-width: 99vw;
        padding: 0 10px;
    }
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .container {
        padding: 0 3vw;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: #F9F9F6;
    padding: 56px 0 32px 0;
}
.hero-section .container {
    flex-direction: column;
    align-items: center;
}
.hero-section .content-wrapper {
    align-items: center;
    text-align: center;
    gap: 18px;
}
.hero-section h1 {
    font-size: 2.6rem;
    letter-spacing: -0.8px;
    color: #232C51;
}
.hero-section .subheadline {
    margin-bottom: 30px;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 14px;
    justify-content: center;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 210px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 28px 0 rgba(35,44,81,0.04);
    padding: 24px 22px;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1px solid #ebeae2;
    margin-bottom: 20px;
}
.feature-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
    opacity: 0.95;
}
.feature-item h3 {
    font-size: 1.175rem;
    color: #232C51;
    margin-bottom: 0;
    font-weight: 600;
}
.feature-item:hover, .feature-item:focus-within {
    box-shadow: 0 8px 32px 0 rgba(9,160,184,0.15);
    transform: translateY(-3px) scale(1.025);
    border-color: #09A0B8;
}

/* ===== SERVICES LIST (INDEX) ===== */
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 16px;
    flex-direction: column;
}
.service-list li {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(35,44,81,0.07);
    padding: 26px 24px 22px 24px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #ebeae2;
}
.service-list h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    font-weight: 600;
    color: #232C51;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.service-list .price {
    background: #F9F9F6;
    color: #09A0B8;
    font-family: 'Montserrat', serif;
    font-size: 1rem;
    padding: 2px 10px;
    border-radius: 14px;
    margin-left: 6px;
    font-weight: 600;
}
.cta-section {
    background: #ebeae2;
    border-radius: 12px;
    padding: 40px 0;
    margin-bottom: 60px;
}
.cta-section .content-wrapper {
    align-items: center;
    text-align: center;
    gap: 14px;
}
.cta-section.accent {
    background: #232C51;
    color: #fff;
}
.cta-section.accent h2, .cta-section.accent p {
    color: #fff;
}

/* ===== BUTTONS & CTAs ===== */
.cta-primary, .cta-secondary {
    display: inline-block;
    font-family: 'Montserrat', serif;
    padding: 10px 32px;
    border-radius: 24px;
    background: #09A0B8;
    color: #fff;
    font-size: 1.07rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 rgba(9,160,184,0.05);
    margin-top: 8px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.cta-primary:hover, .cta-primary:focus {
    background: #232C51;
    color: #fff;
    outline: none;
    box-shadow: 0 6px 28px 0 rgba(35,44,81,0.13);
    transform: translateY(-2px) scale(1.02);
}
.cta-secondary {
    background: #fff;
    color: #09A0B8;
    border: 1px solid #09A0B8;
    font-weight: 600;
}
.cta-secondary:hover, .cta-secondary:focus {
    background: #09A0B8;
    color: #fff;
    border-color: #232C51;
}

/* ===== CARD CONTAINERS ==== */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px 0 rgba(35,44,81,0.06);
    border: 1px solid #ebeae2;
    margin-bottom: 20px;
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover, .card:focus-within {
    box-shadow: 0 8px 32px 0 rgba(9,160,184,0.13);
    border-color: #09A0B8;
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 26px 24px;
}

/* ===== TESTIMONIALS ==== */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px 0 rgba(35,44,81,0.08);
    margin-bottom: 22px;
    min-height: 80px;
    border: 1px solid #ebeae2;
    color: #232C51;
}
.testimonial-card p {
    margin: 0;
    font-size: 1.08rem;
    color: #232C51;
    font-family: 'Roboto', serif;
}
.testimonial-card span {
    display: block;
    margin-left: 24px;
    font-size: 0.98rem;
    color: #465070;
}
@media (max-width: 650px) {
    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 18px 13px;
    }
    .testimonial-card span {
        margin-left: 0;
        margin-top: 6px;
    }
}
/* ===== SERVICE PAGE SERVICES (ANGEBOTE) ===== */
.service-list, .service-item {
    width: 100%;
}
.service-list {
    flex-direction: column;
    gap: 28px;
}
.service-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(35,44,81,0.07);
    border: 1px solid #ebeae2;
    padding: 32px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.service-item h2 {
    font-size: 1.25rem;
    margin-bottom: 3px;
}
.service-item .price {
    font-family: 'Montserrat', serif;
    font-size: 1.09rem;
    color: #09A0B8;
    margin-bottom: 7px;
    background: #F9F9F6;
    border-radius: 20px;
    padding: 2px 12px;
    display: inline-block;
    font-weight: 600;
}

/* ===== CONTACT INFO (KONTAKTSEITE) ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    margin-top: 12px;
}
.contact-info img {
    width: 22px;
    height: 22px;
    margin-right: 9px;
    vertical-align: middle;
    opacity: 0.83;
}

/* ===== FOOTER ===== */
footer {
    background: #232C51;
    color: #f9f9f6;
    border-top: 1.5px solid #ebeae2;
    padding: 48px 0 22px 0;
    width: 100%;
    position: relative;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}
.footer-nav a {
    color: #ebeae2;
    font-family: 'Montserrat', serif;
    font-size: 1rem;
    transition: color 0.22s;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: #09A0B8;
}
.footer-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 6px;
}
.contact-details {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    max-width: 420px;
    color: #ebeae2;
}
.contact-details img {
    width: 42px;
    height: 42px;
    margin-right: 15px;
    margin-top: 5px;
}
.contact-details p, .contact-details a {
    color: #ebeae2;
    font-family: 'Roboto', serif;
    font-size: 0.99rem;
    line-height: 1.7;
}
.contact-details a:hover, .contact-details a:focus {
    color: #09A0B8;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #fff;
    color: #232C51;
    box-shadow: 0px -4px 24px 0 rgba(35,44,81,0.08);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    font-size: 1.04rem;
    gap: 18px;
    flex-wrap: wrap;
    transition: transform 0.3s, opacity 0.3s;
}
.cookie-banner.hide {
    opacity: 0;
    transform: translateY(110%);
    pointer-events: none;
}
.cookie-banner .cookie-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cookie-banner button {
    font-family: 'Montserrat', serif;
    font-size: 1rem;
    padding: 7px 20px;
    border: none;
    border-radius: 22px;
    margin: 0 2px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    box-shadow: 0 2px 6px rgba(35,44,81,0.04);
}
.cookie-banner .accept {
    background: #09A0B8;
    color: #fff;
    font-weight: 600;
}
.cookie-banner .accept:hover,.cookie-banner .accept:focus {
    background: #232C51;
}
.cookie-banner .reject {
    background: #F9F9F6;
    color: #232C51;
    border: 1px solid #232C51;
    font-weight: 500;
}
.cookie-banner .reject:hover,.cookie-banner .reject:focus {
    background: #232C51;
    color: #fff;
}
.cookie-banner .settings {
    background: none;
    border: 1px solid #09A0B8;
    color: #09A0B8;
    font-weight: 500;
}
.cookie-banner .settings:hover,.cookie-banner .settings:focus {
    background: #09A0B8;
    color: #fff;
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) scale(1);
    background: #fff;
    color: #232C51;
    border-radius: 16px;
    box-shadow: 0 6px 48px 0 rgba(35,44,81,0.20);
    z-index: 1301;
    max-width: 410px;
    width: 92vw;
    padding: 36px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 1;
    transition: opacity 0.3s, transform 0.3s;
}
.cookie-modal.hide {
    opacity: 0;
    transform: translate(-50%,-50%) scale(0.92);
    pointer-events: none;
}
.cookie-modal h2 {
    margin-bottom: 6px;
    color: #232C51;
}
.cookie-modal .modal-category {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 7px 0;
    font-size: 1.06rem;
    border-bottom: 1px solid #ebeae2;
}
.cookie-modal .toggle {
    margin-left: auto;
}
.cookie-modal .toggle input[type=checkbox] {
    width: 32px;
    height: 18px;
    background: #ebeae2;
    border-radius: 12px;
    position: relative;
    appearance: none;
    outline: none;
    vertical-align: middle;
    cursor: pointer;
    transition: background 0.18s;
}
.cookie-modal .toggle input[type=checkbox]:checked {
    background: #09A0B8;
}
.cookie-modal .toggle input[type=checkbox]::after {
    content: '';
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    transition: left 0.17s;
}
.cookie-modal .toggle input[type=checkbox]:checked::after {
    left: 15px;
}
.cookie-modal .modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 8px;
}
.cookie-modal .modal-actions button {
    padding: 7px 20px;
    border-radius: 20px;
    border: none;
    font-family: 'Montserrat', serif;
    font-size: 1rem;
}
.cookie-modal .modal-actions .save {
    background: #09A0B8;
    color: #fff;
    font-weight: 600;
}
.cookie-modal .modal-actions .cancel {
    background: #F9F9F6;
    color: #232C51;
    border: 1px solid #232C51;
}
.cookie-modal .modal-actions .cancel:hover,.cookie-modal .modal-actions .cancel:focus {
    background: #232C51;
    color: #fff;
}
.cookie-modal .modal-actions .save:hover,.cookie-modal .modal-actions .save:focus {
    background: #232C51;
    color: #fff;
}

/* ======= GENERAL STYLES & UTILITIES ====== */
::-webkit-scrollbar {width: 12px; background: #ebeae2;}
::-webkit-scrollbar-thumb {background: #e2e2df; border-radius: 12px;}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
}
.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;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* ======= RESPONSIVE DESIGN ====== */
@media (max-width: 1080px) {
    .feature-grid {
        gap: 22px;
    }
}
@media (max-width: 900px) {
    h1 { font-size: 2.15rem; }
    h2 { font-size: 1.4rem; }
    .feature-item {width: 46vw; min-width: 192px;}
}
@media (max-width: 768px) {
    .container {
        padding: 0 4vw;
    }
    .content-wrapper, .content-wrapper.text-section {
        gap: 16px;
    }
    .section {
        padding: 28px 8px;
        margin-bottom: 36px;
    }
    .content-grid, .card-container, .feature-grid, .service-list {
        flex-direction: column;
        gap: 18px;
    }
    .feature-item, .card, .service-item {
        width: 100%;
        min-width: unset;
        max-width: none;
        padding-left: 13px !important;
        padding-right: 13px !important;
    }
    .hero-section {
        padding: 36px 0 16px 0;
    }
    .hero-section h1 {font-size: 1.45rem;}
    .cta-section, .cta-section.accent {
        padding: 24px 0;
    }
    .footer-nav {
        gap: 16px;
        font-size: 0.93rem;
    }
    .footer-address {
        gap: 2px;
    }
    .contact-details {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-align: center;
    }
    .text-image-section {
        flex-direction: column;
        gap: 20px;
    }
    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 4px;
    }
}
@media (max-width: 480px) {
    body {font-size: 14px;}
    h1 {font-size: 1.22rem;}
    h2 {font-size: 1.02rem;}
    .cookie-banner {
        flex-direction: column;
        padding: 15px 5vw;
        font-size: 0.97rem;
        gap: 7px;
    }
    .cookie-banner .cookie-actions {
        gap: 7px;
        flex-direction: column;
        align-items: stretch;
    }
}
/* ======== ANIMATIONS & EFFECTS ======= */
.cta-primary, .cta-secondary, .cookie-banner button, .mobile-menu-toggle, .mobile-menu-close {
    transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.16s;
}
@media (hover: hover) {
    .feature-item:hover, .cta-primary:hover, .cta-secondary:hover, .main-nav a:hover, .footer-nav a:hover, .cookie-banner button:hover {
        filter: brightness(0.98) drop-shadow(0 2px 10px rgba(9,160,184,0.08));
    }
}

/* ======= PRINT ======= */
@media print {
    header, footer, .cookie-banner, .mobile-menu { display: none !important; }
    body { background: #fff; color: #232C51; }
}

/* End of CSS */
