/* =====================================================================
   Non Dom Zypern page — tile accordions (CSS-only via <details>)
   All panel content is in the HTML source; only collapsed via CSS.
   ===================================================================== */
.nd-tiles {
    display: grid;
    gap: 14px;
    margin: 20px 0;
    align-items: stretch;   /* closed tiles in a row share equal height */
}
.nd-tiles--advantages { grid-template-columns: repeat(4, 1fr); }
.nd-tiles--groups { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) {
    .nd-tiles--advantages { grid-template-columns: repeat(2, 1fr); }
    .nd-tiles--groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .nd-tiles--advantages,
    .nd-tiles--groups { grid-template-columns: 1fr; }
}

.nd-tile {
    border: 1px solid #d8dee3;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.nd-tile[open] {
    grid-column: 1 / -1;           /* opened panel spans the full row width */
}
.nd-tile > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    background: #2e4659;
    color: #fff;
    transition: background .15s;
    justify-content: space-between;
}
/* closed tile: dark header fills the whole (stretched) tile height */
.nd-tile:not([open]) > summary { flex: 1 1 auto; }
.nd-tile > summary::-webkit-details-marker { display: none; }
.nd-tile > summary:hover { background: #3a586e; }
.nd-tile__title { font-weight: 700; font-size: 16px; line-height: 1.25; }
.nd-tile__meta { font-size: 13px; color: #cdd8e0; }
.nd-tile__more {
    font-size: 13px;
    color: #d5ad6d;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}
.nd-tile__more .nd-arrow { transition: transform .2s; display: inline-block; }
.nd-tile[open] > summary .nd-arrow { transform: rotate(90deg); }
.nd-tile > summary .nd-tile__more-label::after { content: "Mehr erfahren"; }
.nd-tile[open] > summary .nd-tile__more-label::after { content: "Schließen"; }
.nd-tile__body { padding: 18px 20px; }
.nd-tile__body > *:first-child { margin-top: 0; }
.nd-tile__body > *:last-child { margin-bottom: 0; }
.nd-tile__body h2 {
    font-size: 20px;
    color: #2e4659;
    margin: 0 0 14px;
    line-height: 1.25;
    border-bottom: 1px solid #e5e9ec;
    padding-bottom: 10px;
}
.nd-tile__body a { color: #20323f; text-decoration: underline; font-style: normal; }

/* Wege comparison table — soft-hyphenated cells; fixed widths so the last column is wider */
.nd-table { min-width: 640px; table-layout: fixed; }
.nd-table td, .nd-table th { hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto; text-align: justify; }
.nd-table td p { margin: 0; }
.nd-table th:nth-child(1), .nd-table td:nth-child(1) { width: 18%; }
.nd-table th:nth-child(2), .nd-table td:nth-child(2) { width: 46%; }
.nd-table th:nth-child(3), .nd-table td:nth-child(3) { width: 36%; }

/* Non Dom hero (text-only, no image) */
.nd-hero .title-main {
    position: static;
    background: #2e4659;
    border-radius: 8px;
}

/* Editorial TODO marker — content still pending (remove before launch) */
.nd-todo {
    background: repeating-linear-gradient(45deg, #fff6da, #fff6da 12px, #ffefc2 12px, #ffefc2 24px);
    border: 2px dashed #e0a800;
    border-radius: 6px;
    padding: 14px 18px;
    color: #7a5c00;
    font-weight: 600;
}
.nd-todo::before {
    content: "⚠ TODO";
    display: inline-block;
    background: #e0a800;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    vertical-align: 1px;
}

/* ---- Reusable CTA wrap (.wa-cta) — styled after the fixed bottom contact bar ---- */
.wa-cta {
    background-color: var(--brand-green, #127749);
    border-radius: 10px;
    padding: 20px 18px;
    margin: 26px 0 4px;
}
.wa-cta__title {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: .2px;
    text-align: center;
    text-shadow: none;
    margin: 0 0 16px;
}
.wa-cta__btns {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
}
.wa-cta__btn {
    flex: 1 1 170px;
    min-width: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(255,255,255,.10);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .2px;
    line-height: 1.25;
    text-align: center;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    transition: background-color .2s ease;
}
.wa-cta__btn i { font-size: 19px; color: inherit; flex: 0 0 auto; }
.wa-cta__btn:hover,
.wa-cta__btn:focus {
    background-color: var(--brand-green-dark, #0b3e27);
    color: #fff !important;
    text-decoration: none !important;
}
.wa-cta__btn--wa { background: linear-gradient(180deg,#5cd670 0%,#23a44f 100%); }
.wa-cta__btn--wa:hover,
.wa-cta__btn--wa:focus { background: linear-gradient(180deg,#4ec462 0%,#1c8e42 100%); }
.wa-cta__btn--cal {
    background: linear-gradient(180deg,#f3dcae 0%,var(--brand-gold,#eed6a3) 100%);
    color: var(--brand-green-dark,#0b3e27) !important;
    font-weight: 600;
}
.wa-cta__btn--cal:hover,
.wa-cta__btn--cal:focus {
    background: linear-gradient(180deg,#eecf9a 0%,#e3c78f 100%);
    color: var(--brand-green-dark,#0b3e27) !important;
}
@media (max-width: 480px) {
    .wa-cta__btn { flex: 1 1 100%; min-width: 0; }
    .wa-cta__title { font-size: 16px; }
}

/* ---- Reusable olive CTA button (.wa-btn-green) — same look as the table btn-green ---- */
.wa-btn-green {
    display: inline-block;
    background: linear-gradient(to bottom, #898231 0, #657722 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    text-transform: none;
    padding: 11px 22px;
    border-radius: 8px;
    border: 3px solid #8f8E8EE6;
    transition: background .15s ease;
}
.wa-btn-green:hover,
.wa-btn-green:focus {
    background: linear-gradient(to bottom, #657722 0, #898231 100%);
    color: #fff !important;
    cursor: pointer;
}
.wa-btn-wrap { text-align: center; margin: 22px 0 0; }
