:root {
    --bg: #f3f3f3;
    --text: #14284a;
    --muted: #7e7f84;
    --red: #3fa9a9;
    --line: #ececec;
    --panel: #e9f1f1;
    --blue: #0f5dbc;
    --proline: #e8edf3;
    --tile2: #f1f3f6;
    --tile3: #eceff3;
    --teal: #48b5b5;
    --soft: #f6f3f0;
    --footer: var(--bg);
    --space-sec: 4.6rem;
    --space-sec-mobile: 3rem;
}
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
    background: #fff;
    color: var(--text);
}

.article-detail__content{

    font-size: 17px;
  line-height: 1.7;
  color: #4d4d4d;
}
a {
    text-decoration: none;
    color: inherit;
}
body {
    padding-top: 5.2rem;
}

.news-card .title {
  font-size: 24px !important;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #111;
}

h1 {
  font-size: 38px;
  line-height: 45px;
  color: var(--text);
}

h2{
    font-size: 25px;
    line-height: 35px;
   color: var(--text);
}

h3{
    font-size: 23px;
    line-height: 33px;
    color: var(--text);
}

.kicker {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 22px;
  color: #111;
}

.title{
  font-size: 1.35rem;
  line-height: 1.49;
  font-weight: 500;
  color: #000;
}

.ideas .title {
  font-size: 23px;
  margin: 0 0 14px;
  line-height: 1.25;
  color: #111;
}

.ideas .kicker {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 22px;
  color: #111;
}

.ideas .card-top {
  font-size: 18px;
  margin-bottom: 18px;
  color: #111;
  font-weight: 900;
}

.site-header {
    height: 5.2rem;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 0.0625rem solid rgba(236, 236, 236, 0.75);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0.5rem 1.4rem rgba(17, 32, 61, 0.08);
    border-bottom-color: rgba(228, 233, 239, 0.9);
}
.nav-wrap {
    width: min(96vw, 120rem);
    height: 100%;
    margin: 0 auto;
    padding: 0 2.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    font-size: 1.35rem;
    color: #172b4d;
}
.brand img {
    height: 50px;
    width: auto;
    display: block;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    margin-right: 2.4rem;
}
.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d3b53;
}
.main-nav a:hover {
    color: var(--red);
}
.main-nav .dd {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.main-nav .dd svg {
    width: 0.8rem;
    height: 0.8rem;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}
.phone-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d3b53;
}
.phone-link svg {
    width: 1.4rem;
    height: 1.4rem;
}
.btn-touch {
    height: 2.8rem;
    padding: 0 1.35rem;
    border-radius: 999rem;
    background: var(--teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}
.btn-touch:hover {
    background: #3fa9a9;
    color: #fff;
}
.mobile-actions {
    display: none;
    align-items: center;
    gap: 0.55rem;
    margin-left: auto;
}
.mobile-phone-btn,
.mobile-menu-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 0.0625rem solid #e4e8ee;
    background: #fff;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d3b53;
}
.mobile-phone-btn svg {
    width: 1rem;
    height: 1rem;
}
.mobile-menu-btn {
    padding: 0;
}
.mobile-menu-btn .bars {
    width: 1rem;
    height: 0.9rem;
    position: relative;
}
.mobile-menu-btn .bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2d3b53;
    border-radius: 2px;
}
.mobile-menu-btn .bars span:nth-child(1) {
    top: 0;
}
.mobile-menu-btn .bars span:nth-child(2) {
    top: calc(50% - 1px);
}
.mobile-menu-btn .bars span:nth-child(3) {
    bottom: 0;
}
.mobile-drawer {
    display: none;
    position: absolute;
    top: 5.2rem;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 0.0625rem solid var(--line);
    box-shadow: 0 0.5rem 1.4rem rgba(0, 0, 0, 0.06);
    z-index: 20;
}
.mobile-drawer.open {
    display: block;
}
.mobile-drawer-inner {
    width: min(96vw, 120rem);
    margin: 0 auto;
    padding: 0.7rem 1rem 1rem;
}
.mobile-link,
.mobile-dd-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.78rem 0.2rem;
    font-size: 0.98rem;
    font-weight: 500;
    color: #2d3b53;
    border: 0;
    background: none;
}
.mobile-sub {
    display: none;
    padding: 0 0 0.35rem 0.9rem;
}
.mobile-sub.open {
    display: block;
}
.mobile-sub a {
    display: block;
    padding: 0.48rem 0;
    font-size: 0.92rem;
    color: #4b5a72;
}

.hero {
    position: relative;
    background: var(--bg);
    overflow: hidden;
}
.hero-top {
    position: relative;
    z-index: 2;
    width: min(96vw, 120rem);
    margin: 0 auto;
    padding: 4.2rem 2.4rem 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30rem;
    gap: 2rem;
    align-items: start;
}
.hero-copy {
    padding-bottom: 2.4rem;
}
.hero-title {
    margin: 0;
    font-size: 50px;
    line-height: 65px;
    font-weight: 300;
    letter-spacing: -0.04em;
    color: var(--muted);
}
.hero-title strong {
    display: block;
    font-weight: 600;
    color: var(--text);
}
.hero-panel {
    background: var(--panel);
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.hero-slider {
    position: relative;
    height: 100%;
    padding-top: 0.65rem;
}
.hero-slide {
    position: absolute;
    inset: 0;
    padding: 2rem 1.5rem 0.8rem;
    opacity: 0;
    transform: translateX(18px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.hero-slide h3 {
    margin: 0 0 0.45rem;
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--text);
}
.hero-slide p {
    margin: 0;
    color: #4f5f75;
    font-size: 1.025rem;
    line-height: 1.35;
    max-width: 44ch;
    width: 100%;
}
.panel-dots {
    display: flex;
    gap: 0.55rem;
    padding: 0 1.5rem 0.95rem;
    position: relative;
    z-index: 2;
}
.panel-dots button {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    display: block;
    background: #c6ccd2;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.panel-dots button.active {
    background: #18345b;
}
.hero-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 5.3rem;
    background: #14284a;
    height: 6rem;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}
.hero-cta .text {
    padding: 1.15rem 1.4rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    line-height: 1.28;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    transition: padding-left 0.25s ease;
}
.hero-cta .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 0.0625rem solid rgba(255, 255, 255, 0.22);
    color: #fff;
}
.hero-cta .arrow svg {
    width: 2.1rem;
    height: 2.1rem;
    transition: transform 0.25s ease;
}
.hero-cta:hover {
    background: #0b0b0b;
    box-shadow: 0 0.55rem 1.2rem rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}
.hero-cta:hover .arrow svg {
    transform: translateX(6px);
}
.hero-cta:hover .text {
    padding-left: 1.55rem;
}
.hero-image-wrap {
    position: relative;
    z-index: 1;
    margin-top: -96px;
}
.hero-video {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    display: block;
}

.pro-section {
    background: #fff;
    padding: var(--space-sec) 0 0;
}
.pro-wrap {
    width: min(96vw, 120rem);
    margin: 0 auto;
    padding: 0 2.4rem;
}
.why-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 2rem;
    align-items: start;
}
.why-title {
    padding-top: 1.1rem;
    min-height: 10.6rem;
}
.why-title h2 {
  margin: 0;
  display: inline-block;
  position: relative;
  font-size: 1.75rem;
  line-height: 1.49;
  font-weight: 500;
  color: #000;
}
.why-title h2:before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 0.95rem;
    width: 3.1rem;
    height: 0.72rem;
    background: #dfe9f7;
    z-index: -1;
}
.why-col {
    display: grid;
    grid-template-rows: auto auto;
}
.why-card {
    padding: 1.1rem 0 1.65rem;
    min-height: 10.6rem;
}
.why-card .icon img {
    width: 1.15rem;
    height: 1.15rem;
    color: #000;
    margin-bottom: 0.85rem;
}
.why-card h3 {
    margin: 0 0 0.95rem;
    font-size: 1.32rem;
    line-height: 1.02;
    font-weight: 500;
    color: #000;
}
.why-card p {
    margin: 0;
    max-width: 23rem;
    color: #4d4d4d;
    font-size: 17px;
    line-height: 1.56;
}

.tail-wrap,
.content-wrap,
.faq-wrap,
.cta-wrap,
.site-footer-wrap {
    width: min(96vw, 120rem);
    margin: 0 auto;
    padding: 0 2.4rem;
}
.tail-showcase {
    padding: var(--space-sec) 0 0;
    margin-top: 50px;
}
.tail-mid {
    margin-top: 0;
}
.tail-mid-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr);
    gap: 2rem;
    align-items: stretch;
}
.tail-big-media {
    position: relative;
    background: #eef1f7;
    min-height: 21rem;
}
.tail-big-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}
.tail-after-title-outside {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}
.tail-after-title-outside .demenz-badge {
    margin: 0 0 0.45rem;
}
.tail-after-title {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #14284a;
    max-width: 48rem;
}
.tail-side-card {
    padding: 1.45rem 1.45rem 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 21rem;

}

.klome{
    background: var(--panel);
}
.tail-side-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #87a0b3;
    margin: 0 0 0.55rem;
}
.tail-side-title {
    font-size: 1.7rem;
    line-height: 1.05;
    font-weight: 500;
    color: #3d4046;
    margin: 0 0 0.35rem;
}
.tail-side-sub {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7b7f86;
    margin: 0 0 0.95rem;
}
.tail-side-text {
    color: #4d4d4d;
    font-size: 17px;
    line-height: 1.56;
    margin: 0;
}
.tail-side-text + .tail-side-text {
    margin-top: 0.7rem;
}
.tail-side-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.05rem;
    padding-top: 0.95rem;
    border-top: 1px solid #dde5ee;
}
.tail-side-note {
    font-size: 1em;
    color: #666;
    line-height: 1.45;
    max-width: 13.5rem;
}
.tail-side-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.95rem;
    border-radius: 999rem;
    background: #14284a;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}
.tail-side-cta svg {
    width: 0.9rem;
    height: 0.9rem;
    transition: transform 0.25s ease;
}
.tail-side-cta:hover {
    color: #fff;
    background: #0f213d;
}
.tail-side-cta:hover svg {
    transform: translateX(3px);
}

.demenz-content {
    padding: var(--space-sec) 0 0;
}
.demenz-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.demenz-tile {
    background: #f7f8fa;
    min-height: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.demenz-tile.text {
    padding: 1.35rem 1.35rem 1.15rem;
}
.demenz-tile.image {
    padding: 0;
    background: #dde5eb;
}
.demenz-tile.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.demenz-title {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.22;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #14284a;
}
.demenz-title.small {
    font-size: 1.15rem;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: 0;
    color: #14284a;
}
.demenz-copy {
    margin-top: auto;
    color: #4d4d4d;
    font-size: 17px;
    line-height: 1.55;
    max-width: 34ch;
}
.demenz-link {
    margin-top: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #14284a;
}
.demenz-link:hover {
    color: #0f213d;
}
.demenz-link svg {
    width: 0.8rem;
    height: 0.8rem;
}
.demenz-tile.tall {
    min-height: 23rem;
}
.demenz-badge {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8aa0b4;
    margin-bottom: 0.8rem;
}
.demenz-highlight {
    background: linear-gradient(135deg, rgba(72, 181, 181, 0.12), rgba(15, 93, 188, 0.08));
    border: 1px solid #dfe8f0;
}
.demenz-highlight .demenz-copy {
    color: #4d5b70;
}
.demenz-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.demenz-list li {
    position: relative;
    padding-left: 1rem;
    margin: 0.32rem 0;
    font-size: 17px;
    line-height: 1.55;
    color: #4d4d4d;
}
.demenz-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #48b5b5;
    font-weight: 700;
}
.demenz-cta-tile {
    background: #14284a;
    color: #fff;
    padding: 1.35rem;
}
.demenz-cta-tile .demenz-title.small {
    color: #fff;
}
.demenz-cta-tile .demenz-copy {
    color: rgba(255, 255, 255, 0.8);
}
.demenz-cta-btn {
    margin-top: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.6rem;
    padding: 0 0.95rem;
    border-radius: 999rem;
    background: #48b5b5;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
}
.demenz-cta-btn:hover {
    background: #3fa9a9;
    color: #fff;
}

.faq-section {
    padding-top: 100px;
}
.faq-grid {
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 2.5rem;
}
.faq-left h2 {
  margin: 0 0 0.9rem;
  font-size: 2.35rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #1b1b1b;
  font-weight: 600;
}
.faq-left p {
    margin: 0 0 0.35rem;
    color: #5f5b57;
    font-size: 1rem;
    line-height: 1.5;
}
.faq-left a {
    display: inline-block;
    margin-top: 0.15rem;
    color: #4e4944;
    border-bottom: 1px solid #b9b2ab;
}
.faq-list {
    border-top: 1px solid #dfd8d1;
}
.faq-item {
    border-bottom: 1px solid #dfd8d1;
}
.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 0;
    background: none;
    border: 0;
    text-align: left;
    color: #14284a;
    font-size: 1.02rem;
    font-weight: 600;
}
.faq-btn span:last-child {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.2s ease;
}
.faq-item.open .faq-btn span:last-child {
    transform: rotate(45deg);
}
.faq-body {
    display: none;
    padding: 0 0 1rem;
    color: #4d4d4d;
    line-height: 1.65;
    font-size: 17px;
    max-width: 90%;
}
.faq-item.open .faq-body {
    display: block;
}

.bottom-cta {
    background: var(--footer);
    padding: var(--space-sec) 0 2.4rem;
}
.bottom-cta-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}
.bottom-cta h2 {
    margin: 0;
    font-size: 2.9rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 600;
    color: var(--text);
    max-width: 26ch;
}
.bottom-cta-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-outline-round {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 2.7rem;
    padding: 0 1rem;
    border: 1px solid #222;
    border-radius: 999rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #222;
    background: transparent;
}
.btn-outline-round:hover {
    background: #fff;
}
.bottom-mail {
    font-size: 1.35rem;
    color: #5b5550;
}

.site-footer {
    background: var(--footer);
    padding: 1.8rem 0 1.4rem;
}
.site-footer-wrap {
    padding-top: 1rem;
}
.site-footer-top {
    display: grid;
    grid-template-columns: minmax(16rem, 1.25fr) minmax(17rem, 1fr) repeat(2, minmax(11rem, 0.9fr));
    gap: 2.2rem 2.8rem;
    align-items: start;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 2rem;
    font-weight: 600;
    color: #1e1d1b;
    line-height: 1;
}
.footer-desc {
    color: #645f5a;
    line-height: 1.6;
    max-width: 34ch;
}
.footer-socials {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
}
.footer-socials a {
    width: 2.45rem;
    height: 2.45rem;
    border: 1px solid rgba(20, 40, 74, 0.18);
    border-radius: 999rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #14284a;
    background: rgba(255, 255, 255, 0.45);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}
.footer-socials a:hover {
    color: #fff;
    background: var(--teal);
    border-color: var(--teal);
}
.footer-socials svg {
    width: 1.1rem;
    height: 1.1rem;
    display: block;
}
.footer-socials span {
    font-size: 0.72rem;
    font-weight: 600;
}
.footer-col {
    min-width: 0;
}
.footer-col h4 {
    margin: 0 0 0.85rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: #1f1e1c;
}
.footer-col a {
    display: block;
    margin: 0.5rem 0;
    color: #645f5a;
    line-height: 1.35;
}
.footer-col a:hover {
    color: #1f1e1c;
}
.footer-bottom {
    margin-top: 1.45rem;
    padding-top: 1rem;
    border-top: 1px solid #dfd8d1;
    color: #8b857f;
    font-size: 0.85rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}
.footer-credit {
    justify-self: end;
    text-align: right;
    white-space: nowrap;
}
.footer-credit a {
    color: inherit;
    text-decoration: none;
}
.footer-credit a:hover {
    color: #1f1e1c;
}

@media (max-width: 1350px) {
    .demenz-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-footer-top {
        grid-template-columns: minmax(15rem, 1.15fr) minmax(15rem, 1fr) repeat(2, minmax(9.5rem, 0.85fr));
        gap: 2rem 1.7rem;
    }
}

@media (max-width: 1400px) {
    body {
        padding-top: 5.2rem;
    }
    .main-nav,
    .nav-right {
        display: none;
    }
    .mobile-actions {
        display: flex;
    }
    .nav-wrap,
    .pro-wrap,
    .tail-wrap,
    .content-wrap,
    .faq-wrap,
    .cta-wrap,
    .site-footer-wrap {
        padding: 0 1rem;
    }
    .hero-top {
        padding: 2rem 1rem 0;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .hero-copy {
        padding-top: 0.5rem;
        padding-bottom: 1.2rem;
    }
    .hero-title {
        font-size: 3.2rem;
        line-height: 1.08;
    }
    .hero-top > div:last-child {
        width: min(100%, 24rem);
        margin-left: auto;
    }
    .hero-panel {
        min-height: 170px;
    }
    .hero-slide {
        padding: 1.2rem 1.1rem 0.55rem;
    }
    .hero-slide h3 {
        font-size: 1.05rem;
        margin: 0 0 0.3rem;
    }
    .hero-slide p {
        font-size: 0.9rem;
        line-height: 1.25;
        max-width: 100%;
    }
    .panel-dots {
        padding: 0 1.1rem 0.65rem;
        gap: 0.45rem;
    }
    .hero-cta {
        height: 4.7rem;
        grid-template-columns: minmax(0, 1fr) 4.2rem;
    }
    .hero-cta .text {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
        line-height: 1.15;
    }
    .hero-cta .arrow svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    .hero-image-wrap {
        margin-top: -96px;
    }
    .hero-video {
        height: 50vh;
    }
    .tail-mid-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .tail-after-title {
        font-size: 1.55rem;
        max-width: 100%;
    }
    .tail-side-title {
        font-size: 1.7rem;
    }
    .tail-big-media,
    .tail-side-card {
        min-height: 16rem;
    }
    .bottom-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
    .bottom-cta h2 {
        font-size: 3rem;
    }
    .site-footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 1.1rem;
    }
    .footer-brand {
        grid-column: 1/-1;
    }
    .pro-section,
    .tail-showcase,
    .demenz-content,
    .faq-section {
        padding-top: var(--space-sec-mobile);
    }
    .bottom-cta {
        padding-top: var(--space-sec-mobile);
    }
}

@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: 1fr;
        row-gap: 0.5rem;
    }
    .why-title {
        min-height: auto;
        padding-top: 0.4rem;
    }
    .why-title h2 {
        font-size: 1.4rem;
        line-height: 1.5;
    }
    .why-card {
        min-height: auto;
    }
    .why-card h3 {
        margin: 0 0 0.95rem;
        font-size: 1.1rem;
        line-height: 1.02;
        font-weight: 500;
        color: #000;
    }
    .why-card p {
        max-width: 100%;
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: 1fr;
        row-gap: 1.2rem;
    }
    .why-title {
        min-height: auto;
        padding-top: 0.4rem;
    }
    .why-title h2 {
        font-size: 1.4rem;
        line-height: 1.5;
    }
    .why-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        column-gap: 2rem;
    }
    .why-card {
        min-height: auto;
    }
    .why-card h3 {
        margin: 0 0 0.95rem;
        font-size: 1.1rem;
        line-height: 1.02;
        font-weight: 500;
        color: #000;
    }
    .why-card p {
        max-width: 100%;
        font-size: 16px;
    }
}

@media (max-width: 990px) {
    .why-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    body {
        padding-top: 4.7rem;
    }
    .site-header {
        height: 4.7rem;
    }
    .mobile-drawer {
        top: 4.7rem;
    }
    .brand img {
        height: 52px;
    }
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.12;
    }
    .hero-top > div:last-child {
        width: min(100%, 21rem);
        margin-left: auto;
    }
    .hero-panel {
        min-height: 155px;
    }
    .hero-slide {
        padding: 1rem 0.95rem 0.45rem;
    }
    .panel-dots {
        padding: 0 0.95rem 0.55rem;
    }
    .hero-cta {
        height: 4.2rem;
        grid-template-columns: minmax(0, 1fr) 3.9rem;
    }
    .hero-cta .text {
        padding: 0.7rem 0.85rem;
        font-size: 0.74rem;
        line-height: 1.1;
    }
    .hero-cta .arrow svg {
        width: 1.35rem;
        height: 1.35rem;
    }
    .hero-image-wrap {
        margin-top: -67px;
    }
    .hero-video {
        height: 50vh;
    }
    .tail-showcase {
        padding-bottom: 0;
    }
    .tail-side-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .tail-side-note {
        max-width: 100%;
    }
    .tail-after-title-outside {
        margin-top: 0.75rem;
        margin-bottom: 1.6rem;
    }
    .tail-after-title-outside .demenz-badge {
        margin-bottom: 0.35rem;
    }
    .tail-after-title {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    .demenz-grid {
        grid-template-columns: 1fr;
    }
    .demenz-tile,
    .demenz-tile.tall {
        min-height: 18rem;
    }
    .demenz-tile.image {
        min-height: 15rem;
    }
    .faq-left h2 {
        font-size: 2.35rem;
    }
    .bottom-cta h2 {
        font-size: 2.2rem;
    }
    .bottom-mail {
        font-size: 1rem;
    }
    .site-footer-top {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    .footer-logo {
        font-size: 1.45rem;
    }
    .footer-desc {
        max-width: 100%;
    }
    .footer-bottom {
        font-size: 0.8rem;
        line-height: 1.45;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }
    .footer-credit {
        justify-self: end;
        text-align: right;
    }
    .demenz-grid > .demenz-tile:nth-child(1) {
        order: 1;
    }
    .demenz-grid > .demenz-tile:nth-child(2) {
        order: 2;
    }
    .demenz-grid > .demenz-tile:nth-child(3) {
        order: 3;
    }
    .demenz-grid > .demenz-tile:nth-child(4) {
        order: 4;
    }
    .demenz-grid > .demenz-tile:nth-child(6) {
        order: 5;
    }
    .demenz-grid > .demenz-tile:nth-child(5) {
        order: 6;
    }
    .demenz-grid > .demenz-tile:nth-child(8) {
        order: 7;
    }
    .demenz-grid > .demenz-tile:nth-child(7) {
        order: 8;
    }
    .demenz-grid > .demenz-tile:nth-child(9) {
        order: 9;
    }
    .demenz-grid > .demenz-tile:nth-child(10) {
        order: 10;
    }
    .demenz-grid > .demenz-tile:nth-child(11) {
        order: 11;
    }
    .demenz-grid > .demenz-tile:nth-child(12) {
        order: 12;
    }
}

/* WP menu output compatibility */
.main-nav {
    padding: 0;
    margin: 0;
}
.main-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav li a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ===== Header nav fixes (WP menu, right aligned, click dropdown) ===== */
.nav-wrap {
    justify-content: flex-start;
}
.brand {
    flex: 0 0 auto;
}
.main-nav {
    margin-left: auto;
    margin-right: 2.4rem;
    display: flex;
    align-items: center;
}
.main-nav .main-nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-nav .main-nav-list > li {
    position: relative;
    margin: 0;
    padding: 0;
}
.main-nav .main-nav-list > li > a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2d3b53;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.main-nav .main-nav-list > li > a:hover {
    color: var(--red);
}
.main-nav .main-nav-list > li.menu-item-has-children > a:after {
    content: "";
    width: 0.8rem;
    height: 0.8rem;
    display: inline-block;
    margin-left: 0.2rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m7 10 5 5 5-5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m7 10 5 5 5-5' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center/contain no-repeat;
    opacity: 0.9;
}


.main-nav .main-nav-list > li.current-menu-item > a,
.main-nav .main-nav-list > li.current-menu-ancestor > a,
.main-nav .main-nav-list > li.current_page_item > a,
.main-nav .main-nav-list > li.current_page_ancestor > a,
.main-nav .sub-menu li.current-menu-item > a,
.main-nav .sub-menu li.current-menu-ancestor > a,
.main-nav .sub-menu li.current_page_item > a,
.main-nav .sub-menu li.current_page_ancestor > a,
.mobile-link.is-active,
.mobile-dd-btn.is-active,
.mobile-sub a.is-active {
    color: var(--red);
}
.mobile-dd-btn.is-active {
    font-weight: 700;
}
.mobile-sub a.is-active {
    font-weight: 600;
}

/* dropdown */
.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid rgba(236, 236, 236, 0.95);
    box-shadow: 0 0.5rem 1.4rem rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
    margin: 0;
    list-style: none;
    z-index: 2000;
}
.main-nav li.open > .sub-menu {
    display: block;
}
.main-nav .sub-menu li a {
    display: block;
    padding: 0.45rem 0;
    font-size: 0.92rem;
    color: #4b5a72;
    line-height: 1.25;
}
.main-nav .sub-menu li a:hover {
    color: var(--red);
}

/* Bigger phone icon */
.phone-link svg {
    width: 1.4rem;
    height: 1.4rem;
}

@media (max-width: 1400px) {
    .main-nav,
    .nav-right {
        display: none !important;
    }
    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin-left: auto;
    }

    .mobile-phone-btn,
    .mobile-menu-btn {
        width: 2.8rem;
        height: 2.8rem;
        border: 0.0625rem solid #e4e8ee;
        background: #fff;
        border-radius: 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #2d3b53;
    }
    .mobile-phone-btn svg {
        width: 1.3rem;
        height: 1.3rem;
    }

    .mobile-drawer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: min(88vw, 320px);
        height: 100vh;
        background: #fff;
        transform: translateX(-105%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10001;
        border: 0;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.14);
    }
    .mobile-drawer.open {
        transform: translateX(0);
    }

    .mobile-drawer-inner {
        width: 100%;
        margin: 0;
        padding: 5.2rem 1.25rem 1.25rem;
    }

    .offcanvas-overlay {
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: 10000;
    }
    body.offcanvas-open .offcanvas-overlay {
        opacity: 1;
        pointer-events: auto;
    }
    body.offcanvas-open {
        overflow: hidden;
    }

    .mobile-sub {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease;
        padding: 0 0 0 0.9rem;
    }
    .mobile-sub.open {
        max-height: 520px;
    }

    .mobile-dd-btn svg {
        transition: transform 0.2s ease;
    }
}

.mobile-link.is-active,
.mobile-dd-btn.is-active,
.mobile-sub a.is-active{
  color:var(--red);
}
.mobile-dd-btn.is-active{
  font-weight:700;
}
.mobile-sub a.is-active{
  font-weight:700;
}
@media (max-width: 1400px){
  .main-nav,
  .nav-right{
    display:none !important;
    visibility:hidden !important;
  }
  .mobile-actions{
    display:flex !important;
    align-items:center;
    gap:.6rem;
    margin-left:auto;
  }
  .mobile-phone-btn,
  .mobile-menu-btn{
    width:2.8rem;
    height:2.8rem;
    border:.0625rem solid #e4e8ee;
    background:#fff;
    border-radius:.8rem;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#2d3b53;
  }
  .mobile-drawer{
    display:block !important;
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:auto !important;
    width:min(88vw, 340px) !important;
    height:100vh !important;
    background:#fff !important;
    transform:translateX(-105%) !important;
    transition:transform .35s cubic-bezier(.4, 0, .2, 1) !important;
    z-index:10001 !important;
    border:0 !important;
    box-shadow:0 0 40px rgba(0, 0, 0, .14) !important;
    overflow-y:auto !important;
  }
  .mobile-drawer.open{
    transform:translateX(0) !important;
  }
  .mobile-drawer-inner{
    width:100% !important;
    margin:0 !important;
    padding:5.2rem 1.25rem 1.25rem !important;
  }
  .offcanvas-overlay{
    position:fixed !important;
    inset:0 !important;
    background:rgba(0, 0, 0, .35) !important;
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease;
    z-index:10000 !important;
  }
  body.offcanvas-open .offcanvas-overlay{
    opacity:1;
    pointer-events:auto;
  }
  body.offcanvas-open{
    overflow:hidden;
  }
  .mobile-sub{
    display:block;
    max-height:0;
    overflow:hidden;
    transition:max-height .28s ease;
    padding:0 0 0 .9rem;
  }
  .mobile-sub.open{
    max-height:520px;
  }
}

body.offcanvas-open .site-header {
  z-index: 10050;
}
@media (max-width: 1400px) {
  .mobile-drawer {
    z-index: 10052 !important;
    pointer-events: auto !important;
  }
  .offcanvas-overlay {
    z-index: 10051 !important;
  }
  .mobile-drawer a,
  .mobile-drawer button {
    pointer-events: auto !important;
  }
}
@media (min-width: 1400.02px){
  .mobile-actions,
  .mobile-drawer,
  .offcanvas-overlay{
    display:none !important;
  }
  .main-nav,
  .nav-right{
    display:flex !important;
    visibility:visible !important;
  }
}

@media (max-width: 520px) {
    .footer-bottom {
        grid-template-columns: 1fr;
    }
    .footer-credit {
        justify-self: end;
        text-align: right;
    }
}
