/* Lexcode Theme — Custom Styles (Originalfarben + Roboto-Schrift) */

:root {
    --primary: #8c588b;
    --primary-dark: #6f4470;
    --primary-light: #b78bb6;
    --secondary: #f1f1f1;
    --body-color: #212529;
    --body-bg: #ffffff;
    --footer-bg: #f1f1f1;
    --copyright-bg: #8c588b;
    --accent: #ead100;
    --neutral: #a6a6a6;
    --color2: #f5eef5;
    --radius: 10px;
    --shadow-soft: 0 6px 24px rgba(0, 0, 0, 0.06);
    --shadow-lift: 0 14px 40px rgba(140, 88, 139, 0.18);
}

* { box-sizing: border-box; }

body {
    font-family: "Roboto", "Odoo Unicode Support Noto", sans-serif;
    color: var(--body-color);
    background: var(--body-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 400; color: var(--body-color); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
h2.h1, h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.35rem; }
.h1-subtitle { font-size: 1.1rem; color: #555; max-width: 760px; margin: 1rem 0 1.5rem; }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* === Site header === */
.site-header { position: sticky; top: 0; z-index: 1030; }
.site-header .navbar {
    padding: 2.75rem 0;
    background: #fff;
    box-shadow: none !important;
    border: 0;
    transition: padding .25s ease, box-shadow .25s ease;
}
.site-header .navbar.shadow-sm { box-shadow: none !important; }
.site-header .navbar-brand { padding: 0; margin-right: 2rem; }
.site-header .navbar-brand img {
    height: 32px;
    width: auto;
    display: block;
    transition: height .25s ease;
}
.mobile-offcanvas .navbar-brand img { height: 30px; width: auto; display: block; }
.footer-logo img { width: 160px; height: auto; }

/* Compact state on scroll */
.site-header.scrolled .navbar { padding: 0.85rem 0; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important; }
.site-header.scrolled .navbar-brand img { height: 30px; }

.main-nav { display: flex; align-items: center; }

.top_menu .nav-item { display: flex; align-items: center; }
.top_menu .nav-link { color: var(--dark) !important; font-weight: 500; padding: .5rem .9rem !important; position: relative; transition: color .2s; }
.top_menu .nav-link:hover, .top_menu .nav-link.active { color: var(--primary) !important; }
.top_menu .nav-link.active { font-weight: 600; }

.dropdown-menu { border: 0; box-shadow: var(--shadow-soft); border-radius: var(--radius); padding: .5rem; margin-top: .5rem; }
.dropdown-item { border-radius: 8px; padding: .55rem .85rem; font-weight: 500; color: var(--body-color); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--color2); color: var(--primary); }
.dropdown-item.active, .dropdown-item:active { background: var(--color2); color: var(--primary); font-weight: 600; }

/* Active item in mobile offcanvas */
.mobile-offcanvas .nav-link.active { color: var(--primary) !important; font-weight: 600; }
.mobile-offcanvas .dropdown-item.active { color: var(--primary); font-weight: 600; }

/* CTA button in navbar */
.btn-cta { padding: .65rem 1.25rem; }
.btn-cta .icon-start { width: 18px; height: 18px; }

/* === Mobile navbar === */
.header-mobile .main-nav { padding-top: .5rem; padding-bottom: .5rem; }
.header-mobile .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%238c588b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.header-mobile .btn:focus { box-shadow: none; }

.mobile-offcanvas { width: 88vw; max-width: 360px; }
.mobile-offcanvas .offcanvas-body .nav-link { padding: .8rem 1rem; font-size: 1.05rem; }
.mobile-offcanvas .dropdown-menu {
    position: static !important;
    float: none;
    transform: none !important;
    inset: auto !important;
    width: 100%;
    box-shadow: none;
    padding: 0 0 .5rem 0;
    margin: 0;
    background: transparent;
}
.mobile-offcanvas .dropdown-menu .dropdown-item { padding: .5rem 1rem; font-size: .95rem; }
.mobile-offcanvas .nav-item.dropdown .nav-link::after { transition: transform .2s; }
.mobile-offcanvas .nav-item.dropdown.show > .nav-link::after { transform: rotate(180deg); }

/* === Buttons === */
.btn { border-radius: 999px; padding: .7rem 1.4rem; font-weight: 600; transition: all .25s; display: inline-flex; align-items: center; gap: .5rem; border: 2px solid transparent; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-icon { padding: .7rem; width: 46px; height: 46px; justify-content: center; }

/* === Sections === */
.home_block { padding: 6rem 0; }
.home_block.first { padding-top: 4rem; padding-bottom: 6rem; }

@media (max-width: 768px) {
    .home_block { padding: 4rem 0; }
    .home_block.first { padding-top: 2rem; padding-bottom: 4rem; }
}

/* === Hero === */
.hero { background: #fff; padding-top: 4rem; padding-bottom: 6rem; }
.hero h1 {
    font-weight: 400;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}
.hero h1 strong { font-weight: 700; }
.hero h3 { margin-top: 2rem; margin-bottom: 1.25rem; font-size: 1.5rem; font-weight: 700; }

.hero .first-ul-box { margin-bottom: 2.5rem; }
.hero .first-ul {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    counter-reset: hero-counter;
}
.hero .first-ul-item {
    counter-increment: hero-counter;
    background: #f1f1f1;
    border-radius: 50px;
    padding: 1rem 1.25rem 1rem 4rem;
    position: relative;
    font-size: .95rem;
    line-height: 1.3;
    display: flex; align-items: center;
    min-height: 64px;
}
.hero .first-ul-item::before {
    content: counter(hero-counter);
    position: absolute;
    left: .55rem; top: 50%;
    transform: translateY(-50%);
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    width: 48px;
    text-align: center;
    text-shadow: -1px -1px 0 #d4d4d4, 1px -1px 0 #d4d4d4, -1px 1px 0 #d4d4d4, 1px 1px 0 #d4d4d4;
}
.hero .fuls { font-weight: 500; color: var(--body-color); }

@media (max-width: 768px) {
    .hero .first-ul { grid-template-columns: 1fr; }
}

.btn-box { display: flex; gap: .65rem; flex-wrap: wrap; align-items: center; }
.btn-box .btn-icon { padding: .7rem; width: 50px; height: 50px; justify-content: center; }
.btn-box .btn { padding: .85rem 1.5rem; font-size: .95rem; }
.btn .icon-start { width: 18px; height: 18px; }

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* === Section title === */
.section-head { text-align: left; margin-bottom: 3rem; }
.section-head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.section-head h2 strong { color: var(--body-color); font-weight: 700; }
.section-head .h1-subtitle { max-width: none; margin: 1.25rem 0 0; color: #555; font-size: 1.05rem; }

/* === Module grid === */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.module-box {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all .25s;
    text-decoration: none;
    color: var(--dark);
}
.module-box:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    color: var(--primary);
}
.module-box img {
    width: 56px; height: 56px;
    margin-bottom: .65rem;
    object-fit: contain;
}
.module-box-name { font-size: .9rem; font-weight: 600; margin: 0; }

/* === Timeline === */
.s_timeline { position: relative; }
.s_timeline_line { position: relative; max-width: 1140px; margin: 0 auto; padding: 2rem 0; }
.s_timeline_line::before {
    content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 2px; background: var(--primary-light); transform: translateX(-50%);
}
.s_timeline_row { display: flex; align-items: center; margin-bottom: 2.5rem; position: relative; }
.s_timeline_row:last-child { margin-bottom: 0; }
.s_timeline_date {
    position: absolute; left: 50%; transform: translateX(-50%);
    width: 48px; height: 48px;
    background: var(--primary); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 6px #fff;
}
.s_timeline_date svg { width: 22px; height: 22px; fill: #fff; }
.s_timeline_card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    width: calc(50% - 40px);
}
.s_timeline_row.row-left { justify-content: flex-start; }
.s_timeline_row.row-right { justify-content: flex-end; }
.timeline-title { color: var(--primary); margin-bottom: .5rem; font-size: 1.2rem; }
.timeline-text { color: #555; margin: 0; }

@media (max-width: 768px) {
    .s_timeline_line::before { left: 24px; }
    .s_timeline_row { display: block; padding-left: 60px; }
    .s_timeline_date { left: 24px; transform: translateX(-50%); }
    .s_timeline_card { width: 100%; }
}

/* === Reviews === */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.review-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    height: 100%;
}
.review-name { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; color: var(--primary); }
.review-rating { display: flex; gap: 2px; margin-bottom: .85rem; }
.review-rating svg { width: 16px; height: 16px; fill: var(--accent); }
.review-text { font-size: .95rem; color: #444; margin: 0; }

/* === About / image+text === */
.text-image-block img {
    border-radius: var(--radius);
    max-width: 100%;
    height: auto;
    display: block;
}
.text-image-block.is-grey { background: var(--secondary); }
.text-image-block .about-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}
.text-image-block h2 strong { color: var(--body-color); font-weight: 700; }
.text-image-block h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 400; letter-spacing: -0.02em; }
.text-image-block p { font-size: 1.05rem; line-height: 1.65; }

/* === KI section === */
.ki-section { background: linear-gradient(135deg, #faf6fa 0%, #fff 100%); }

/* === Module Detail Cards === */
.module-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.module-detail {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    text-align: left;
    transition: all .25s;
    display: flex; flex-direction: column;
}
.module-detail:hover { border-color: var(--primary); box-shadow: var(--shadow-soft); }
.module-detail img { width: 64px; height: 64px; margin-bottom: 1rem; }
.module-detail h3 { color: var(--primary); margin-bottom: .75rem; font-size: 1.2rem; }
.module-detail p { color: #555; font-size: .95rem; margin-bottom: 1.25rem; flex: 1; }

/* === Pricing === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.plan-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #ececec;
    background: #fff;
    display: flex; flex-direction: column;
    transition: all .25s;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.plan-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lift); }
.plan-header { padding: 1.5rem; text-align: center; }
.plan-card.basic .plan-header { background: var(--color2); }
.plan-card.featured .plan-header { background: var(--primary); color: #fff; }
.plan-card.custom .plan-header { background: var(--accent); color: var(--dark); }
.plan-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.plan-price { font-size: 2rem; font-weight: 800; }
.plan-price small { font-size: .85rem; font-weight: 500; opacity: .8; display: block; margin-top: .25rem; }
.plan-body { padding: 1.5rem; flex: 1; }
.plan-list { list-style: none; padding: 0; margin: 0; }
.plan-list li { position: relative; padding-left: 1.75rem; margin-bottom: .6rem; font-size: .95rem; }
.plan-list li::before {
    content: ""; position: absolute; left: 0; top: 5px;
    width: 18px; height: 18px;
    background: var(--primary);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
}
.plan-footer { padding: 0 1.5rem 1.5rem; }
.plan-footer .btn { width: 100%; justify-content: center; }
.pricing-note { text-align: center; font-size: .85rem; color: #777; margin-top: 1.5rem; }

/* === FAQ === */
.faq-section .section-head,
.faq-list { max-width: 820px; margin-left: auto; margin-right: auto; }
.faq-item {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--radius);
    margin-bottom: .75rem;
    overflow: hidden;
}
.faq-question {
    padding: 1.15rem 1.25rem;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--dark);
    background: #fff;
    border: 0; width: 100%; text-align: left;
}
.faq-question::after {
    content: ""; width: 20px; height: 20px; flex-shrink: 0;
    background: var(--primary);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z'/></svg>") center/contain no-repeat;
    transition: transform .25s;
}
.faq-item.open .faq-question::after { transform: rotate(180deg); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-answer { padding: 0 1.25rem 1.25rem; color: #555; display: none; }
.faq-item.open .faq-answer { display: block; }

/* === Site footer === */
.site-footer { color: var(--body-color); }
.site-footer a { color: var(--primary); text-decoration: none; }
.site-footer a:hover { color: var(--primary-dark); }

.footer-main { background: var(--footer-bg); padding: 4rem 0 3rem; }
.footer-logo img { max-width: 160px; }
.footer-about p { color: var(--body-color); line-height: 1.65; }
.footer-links a { display: inline-block; padding: .15rem 0; }
.footer-contact ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.footer-contact ul li { margin-bottom: .35rem; color: var(--body-color); }
.footer-legal { color: var(--body-color); font-size: .95rem; }

.footer-copyright {
    background: var(--copyright-bg);
    color: #fff;
    font-size: .9rem;
}
.footer-copyright a { color: #fff; }

/* === Mobile fixed bottom nav === */
.fixed-menu {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    display: none;
    padding: .5rem 0;
}
@media (max-width: 991px) {
    .fixed-menu { display: block; }
    body { padding-bottom: 76px; }
}
.fixed-menu ul { display: flex; list-style: none; padding: 0; margin: 0; justify-content: space-around; }
.fixed-menu a {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    font-size: .7rem;
    color: var(--dark);
    padding: .25rem .5rem;
}
.fixed-menu svg { width: 22px; height: 22px; }

/* === Utility === */
.cta-bar { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 3rem 0; text-align: center; }
.cta-bar h2 { color: #fff; }
.cta-bar .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.cta-bar .btn-primary:hover { background: var(--accent); color: var(--dark); border-color: var(--accent); }

.btn-group-hero { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

/* === Contact / Support form === */
.contact-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--radius);
    padding: 2.5rem;
}
@media (max-width: 575px) { .contact-card { padding: 1.5rem; } }

.contact-form .form-label { font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.contact-form .form-label .req { color: #d23; margin-left: 2px; }
.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #dcdcdc;
    border-radius: var(--radius);
    padding: .7rem .9rem;
    font-size: .95rem;
    background: var(--secondary);
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(140, 88, 139, 0.15);
    background: #fff;
}
.contact-form textarea.form-control { resize: vertical; }
.contact-form .field-error { color: #d23; font-size: .8rem; margin-top: .3rem; }
.contact-form .contact-privacy { margin-top: 1.5rem; display: flex; gap: .6rem; align-items: flex-start; }
.contact-form .contact-privacy .form-check-input { margin-top: .15rem; }
.contact-form .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.contact-form .form-check-input:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(140, 88, 139, 0.15); }
.contact-form .btn-lg svg { width: 18px; height: 18px; }

.contact-success { text-align: center; padding: 2.5rem 1.5rem; }
.contact-success-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--color2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.contact-success-icon svg { width: 32px; height: 32px; color: var(--primary); }
.contact-success h3 { font-weight: 700; margin-bottom: .5rem; }
.contact-success p { color: #555; margin: 0; }

/* Contact info sidebar */
.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--color2);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 22px; height: 22px; color: var(--primary); }
.contact-info-item h3 { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.contact-info-item a, .contact-info-item p { font-size: .95rem; color: #555; margin: 0; }
.contact-info-item a:hover { color: var(--primary); }
.contact-info-note { border-top: 1px solid #e2e2e2; padding-top: 1.75rem; }
.contact-info-note h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.contact-info-note p { font-size: .95rem; color: #555; margin: 0; line-height: 1.6; }

/* === Related links (interne Verlinkung / SEO) === */
.related-section { background: var(--secondary); }
.related-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; margin-bottom: 2rem; }
.related-title strong { font-weight: 700; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}
.related-card {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    text-decoration: none;
    transition: all .2s;
}
.related-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}
.related-card-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--primary);
}
.related-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--body-color);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.related-card-title svg { width: 16px; height: 16px; fill: var(--primary); transition: transform .2s; }
.related-card:hover .related-card-title svg { transform: translateX(3px); }

/* === Compare table (Lawoo vs Odoo) === */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #ececec;
}
.compare-table th,
.compare-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    vertical-align: top;
    font-size: .95rem;
    border-bottom: 1px solid #ececec;
}
.compare-table thead th {
    background: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}
.compare-table tbody td:first-child { font-weight: 600; }
.compare-table th.is-highlight,
.compare-table td.is-highlight { background: var(--color2); }
.compare-table thead th.is-highlight { color: var(--primary); }
.compare-table tbody tr:last-child td { border-bottom: 0; }

/* === Legal pages (Impressum / Datenschutz) === */
.legal-page h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 1rem; }
.legal-page h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.75rem; margin-bottom: .75rem; }
.legal-page h4 { font-size: 1.02rem; font-weight: 700; margin-top: 1.25rem; margin-bottom: .5rem; }
.legal-page p { margin-bottom: 1rem; line-height: 1.7; color: #333; }
.legal-page ul { margin-bottom: 1rem; padding-left: 1.4rem; }
.legal-page ul li { margin-bottom: .5rem; line-height: 1.7; color: #333; }
.legal-page a { word-break: break-word; }

/* === Media list (was-ist-odoo) === */
.media-list { display: flex; flex-direction: column; gap: 1.5rem; }
.media-card {
    display: flex;
    background: var(--secondary);
    border-radius: var(--radius);
    overflow: hidden;
}
.media-card-img {
    flex: 0 0 33.333%;
    min-height: 240px;
}
.media-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.media-card-body {
    flex: 1;
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.media-card-body h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: .75rem; }
.media-card-body p { color: #444; margin-bottom: 1rem; line-height: 1.6; }
.media-card-link {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 600; color: var(--primary);
    align-self: flex-start;
}
.media-card-link svg { width: 16px; height: 16px; fill: currentColor; transition: transform .2s; }
.media-card-link:hover svg { transform: translateX(3px); }

@media (max-width: 768px) {
    .media-card { flex-direction: column; }
    .media-card-img { flex: none; width: 100%; height: 220px; min-height: 0; }
    .media-card-body { padding: 1.5rem; }
}

/* === CTA banner === */
.cta-banner {
    background: var(--secondary);
    padding: 3rem 0;
}
.cta-banner h2 { font-size: 1.7rem; font-weight: 400; margin-bottom: .35rem; }
.cta-banner h2 strong { font-weight: 700; }
.cta-banner p { color: #444; }
.cta-banner .btn-lg { padding: .9rem 1.75rem; }
@media (max-width: 991px) {
    .cta-banner .text-lg-end { text-align: left !important; margin-top: 1rem; }
}

/* === Intro ordered list (was-ist-odoo) === */
.text-image-block ol { padding-left: 1.25rem; }
.text-image-block ol li { margin-bottom: .6rem; line-height: 1.55; }
.text-image-block h3 { font-weight: 700; margin-bottom: 1rem; }
