/* html/livingintheparadise.com/assets/css/style.css */

:root {
    --bg: #f6f5f2;
    --surface: #ffffff;
    --surface-alt: #ece8e1;
    --text: #1f1f1f;
    --muted: #5f5f5f;
    --border: #d8d2c8;
    --accent: #2d4f4a;
    --accent-hover: #24403c;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-left: 10%;
    padding-right: 10%;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 600;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    border-color: var(--border);
    background: var(--surface);
}

.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--surface-alt);
}

.eyebrow {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    max-width: 900px;
}

.lead {
    max-width: 800px;
    font-size: 1.1rem;
    color: var(--muted);
}

.hero-points {
    padding-left: 20px;
    margin: 24px 0;
}

.hero-actions,
.footer-nav {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 32px 0;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.message {
    margin: 24px 0 0;
    padding: 12px 16px;
    border-radius: 6px;
    background: #fff7d6;
    border: 1px solid #e4d28d;
}

@media (max-width: 768px) {
    .header-row {
        align-items: flex-start;
    }
}
.request-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.request-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label,
.form-check label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
    color: var(--text);
}

.form-group textarea {
    resize: vertical;
}

.form-help {
    margin: 8px 0 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 20px;
}

.form-check input {
    margin-top: 4px;
}

.form-actions {
    margin-top: 16px;
}

.request-notes {
    padding-left: 20px;
    margin: 20px 0 0;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.message-success {
    background: #e9f7ee;
    border: 1px solid #9fd1ae;
}

.message-danger {
    background: #fdecec;
    border: 1px solid #e0aaaa;
}

@media (max-width: 900px) {
    .request-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

#request .message {
    margin: 0 0 24px;
}

.admin-auth-page,
.admin-page {
    min-height: 100vh;
}

.admin-auth-section {
    display: flex;
    justify-content: center;
}

.admin-auth-card,
.admin-shell {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
}

.admin-auth-card {
    width: min(560px, 100%);
    margin: 0 auto;
}

.admin-shell {
    width: min(900px, 100%);
}

.admin-auth-card .message,
.admin-shell .message {
    margin: 0 0 20px;
}

.admin-back-link {
    margin: 18px 0 0;
}

.admin-info-box {
    margin: 20px 0;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-alt);
}

.admin-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.admin-summary-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
}

.admin-summary-card strong {
    display: block;
    margin-top: 6px;
    font-size: 1.4rem;
}

.admin-summary-label {
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-table-wrap {
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.admin-table thead th {
    background: var(--surface-alt);
    font-size: 0.95rem;
}

.admin-empty-state {
    margin: 24px 0;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-alt);
}

.status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--surface-alt);
}

.status-new {
    background: #eef5ff;
    border-color: #bfd4f2;
}

.status-in_progress {
    background: #fff7df;
    border-color: #e8cf86;
}

.status-done {
    background: #e8f6ec;
    border-color: #a8cfb0;
}

.status-archived {
    background: #f0f0f0;
    border-color: #cccccc;
}

.btn-small {
    padding: 8px 12px;
    font-size: 0.92rem;
}

@media (max-width: 1000px) {
    .admin-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-summary-grid {
        grid-template-columns: 1fr;
    }
}

.admin-detail-header,
.admin-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.admin-detail-header {
    align-items: start;
}

.admin-status-form {
    margin-top: 16px;
}

.admin-info-box h2 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.admin-text-block {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    white-space: normal;
}

.admin-break-anywhere {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 900px) {
    .admin-detail-header,
    .admin-detail-grid {
        grid-template-columns: 1fr;
    }
}

.content-grid,
.card-grid,
.step-grid {
    display: grid;
    gap: 24px;
}

.content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 24px;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.section-intro,
.section-note,
.price-note {
    max-width: 900px;
}

.section-note,
.price-note {
    color: var(--muted);
}

.check-list {
    margin: 18px 0 0;
    padding-left: 20px;
}

.check-list li + li {
    margin-top: 10px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.service-price-box {
    min-width: 180px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 20px;
}

.service-price-box span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.service-price-box strong {
    font-size: 1.35rem;
    line-height: 1.2;
}

.step-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
}

.faq-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px 24px;
}

.faq-item h3 {
    margin-bottom: 10px;
}

@media (max-width: 1100px) {
    .step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .content-grid,
    .card-grid,
    .step-grid {
        grid-template-columns: 1fr;
    }

    .service-header {
        flex-direction: column;
    }

    .service-price-box {
        width: 100%;
    }
}

.legal-content {
    max-width: 1200px;
}

.legal-content h1 {
    margin-bottom: 20px;
}

.legal-content h2 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.legal-content p {
    margin: 0 0 16px;
}

.legal-content a {
    text-decoration: underline;

}   

.hero-section {
    padding: 88px 0 80px;
    background:
        linear-gradient(180deg, #f6f5f2 0%, #f1eee8 100%);
}

.hero-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(45, 79, 74, 0.12);
    border-radius: 28px;
    padding: clamp(32px, 5vw, 56px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 246, 241, 0.94) 100%);
    box-shadow: 0 24px 60px rgba(31, 31, 31, 0.08);
}

.hero-shell::before,
.hero-shell::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-shell::before {
    top: -120px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: rgba(45, 79, 74, 0.07);
}

.hero-shell::after {
    bottom: -110px;
    left: -70px;
    width: 220px;
    height: 220px;
    background: rgba(216, 210, 200, 0.45);
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
    gap: 36px;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 9px 14px;
    border: 1px solid rgba(45, 79, 74, 0.14);
    border-radius: 999px;
    background: rgba(45, 79, 74, 0.06);
    color: var(--accent);
    letter-spacing: 0.08em;
}

.hero-title {
    margin-bottom: 20px;
    max-width: 12ch;
    font-size: clamp(2.4rem, 4.8vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-lead {
    max-width: 56ch;
    margin-bottom: 28px;
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    line-height: 1.75;
    color: #4d5755;
}

.btn-hero {
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 1rem;
    box-shadow: 0 14px 30px rgba(45, 79, 74, 0.18);
    margin-bottom: 20px;
}

.hero-support-text {
    max-width: 52ch;
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.hero-panel {
    align-self: stretch;
}

.hero-panel-card {
    height: 100%;
    border: 1px solid rgba(45, 79, 74, 0.10);
    border-radius: 24px;
    padding: 26px 24px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(31, 31, 31, 0.08);
}
@media (max-width: 992px) {
    .hero-panel-card {
        padding: 6px 12px;
    }

}

.hero-panel-label {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-feature-list {
    display: grid;
    gap: 0;
}

.hero-feature {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-top: 1px solid rgba(45, 79, 74, 0.10);
}

.hero-feature:first-child {
    padding-top: 0;
    border-top: 0;
}

.hero-feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
}

.hero-feature p {
    margin: 0;
    margin-top: 10px;
    color: #36403e;
    line-height: 1.65;
}

.hero-panel-note {
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(45, 79, 74, 0.10);
    color: var(--muted);
    font-size: 1.2rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        max-width: 100%;
    }

    .hero-panel {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 64px 0;
    }

    .hero-shell {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-lead {
        line-height: 1.65;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }

    .hero-feature {
        grid-template-columns: 40px 1fr;
    }
    .hero-feature p {        
        margin: 0;
    }

    .hero-feature-number {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
}


:root {
    --text-main: #1f2726;
    --text-muted: #66706d;
    --accent: #2d4f4a;
}

/* =========================================================
   HEADER REWORK + MOBILE BURGER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(246, 245, 242, 0.96);
    border-bottom: 1px solid rgba(45, 79, 74, 0.10);
}

.header-row {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 96px;
    padding: 16px 0;
    flex-wrap: nowrap;
}

.brand-area {
    flex: 0 0 auto;
    min-width: 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    min-width: 0;
}

.brand-logo {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex: 0 0 58px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--text);
}

.service-area {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.25;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
    flex: 0 1 auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 0 0 auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border: 1px solid rgba(45, 79, 74, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
}

.language-switcher a[aria-current="page"] {
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 52px;
    height: 52px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(45, 79, 74, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    flex: 0 0 auto;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero-actions {
    justify-content: flex-start;
}

@media (max-width: 1260px) {
    .header-row {
        gap: 22px;
    }

    .brand-logo {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .brand-name {
        font-size: 1.28rem;
    }

    .service-area {
        font-size: 0.88rem;
    }

    .header-menu {
        gap: 20px;
    }

    .main-nav {
        gap: 16px;
    }

    .main-nav a {
        font-size: 0.94rem;
    }

    .header-actions .btn {
        padding: 10px 14px;
    }
}

@media (max-width: 1100px) {
    .header-row {
        flex-wrap: wrap;
        align-items: center;
        min-height: auto;
    }

    .brand-area {
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand-link {
        min-width: 0;
    }

    .brand-text {
        min-width: 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .header-menu {
        display: none;
        width: 100%;
        margin-left: 0;
        padding-top: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        order: 3;
    }

    .header-menu.is-open {
        display: flex;
    }

    .main-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .main-nav a {
        display: block;
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.78);
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .language-switcher {
        justify-content: flex-start;
        width: fit-content;
    }

    .header-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .header-row {
        gap: 16px;
        min-height: 84px;
        padding: 14px 0;
    }

    .brand-link {
        gap: 12px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .brand-name {
        font-size: 1.18rem;
    }

    .service-area {
        display: none;
    }

    .nav-toggle {
        width: 48px;
        height: 48px;
    }
}
@media (max-width: 680px) {
    .service-area {
        display: none;
    }
}

@media (max-width: 380px) {
    .brand-name {
        display: none;
    }
}

/* =========================================================
   HOME – PROBLEM / SOLUTION + SERVICES OVERVIEW
========================================================= */

#problem {
    padding-top: 96px;
    padding-bottom: 72px;
}

#problem .content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

#problem .info-card {
    position: relative;
    height: 100%;
    padding: 34px 34px 30px;
    border: 1px solid rgba(45, 79, 74, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 42px rgba(31, 39, 38, 0.04);
}

#problem .info-card::before {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.88;
}

#problem .info-card h2 {
    margin: 0 0 18px;
    font-size: clamp(1.65rem, 2.2vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

#problem .info-card p {
    margin: 0 0 22px;
    color: var(--text);
    font-size: 1.08rem;
    line-height: 1.75;
}

#problem .check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

#problem .check-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
    line-height: 1.65;
}

#problem .check-list li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
    opacity: 0.9;
}

#services {
    padding-top: 84px;
    padding-bottom: 88px;
    background: #e9e4dc;
}

/*#services .container {
    max-width: 1240px;
}*/

#services h2 {
    margin: 0 0 16px;
    max-width: 1000px;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

#services .section-intro {
    max-width: 820px;
    margin: 0 0 34px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(31, 39, 38, 0.82);
}

#services .card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 26px;
}

#services .info-card {
    position: relative;
    height: 100%;
    padding: 30px 26px 28px;
    border: 1px solid rgba(45, 79, 74, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 32px rgba(31, 39, 38, 0.035);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#services .info-card::before {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.88;
}

#services .info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(31, 39, 38, 0.05);
}

#services .info-card h3 {
    margin: 0 0 14px;
    font-size: 1.7rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

#services .info-card p {
    margin: 0;
    color: rgba(31, 39, 38, 0.84);
    font-size: 1.04rem;
    line-height: 1.72;
}

#services .section-note {
    max-width: 1000px;
    margin: 8px 0 0;
    color: rgba(31, 39, 38, 0.72);
    font-size: 0.98rem;
    line-height: 1.65;
}

@media (max-width: 991px) {
    #problem .content-grid,
    #services .card-grid {
        grid-template-columns: 1fr;
    }

    #problem {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    #services {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

@media (max-width: 640px) {
    #problem .info-card,
    #services .info-card {
        padding: 26px 22px 24px;
        border-radius: 16px;
    }

    #problem .info-card h2 {
        font-size: 1.7rem;
    }

    #services h2 {
        margin-bottom: 14px;
    }

    #services .section-intro {
        margin-bottom: 26px;
        font-size: 1rem;
        line-height: 1.65;
    }

    #services .info-card h3 {
        font-size: 1.4rem;
    }
}

.info-card {
    margin: 12px;
}

.htcard {    
    padding-top: 12px;
    padding-left: 12px;
}

/* =========================================================
   HOME – SERVICE DETAIL SECTIONS
========================================================= */

.service-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: end;
    margin-bottom: 34px;
}

.service-header h2 {
    margin: 0 0 14px;
    max-width: 1000px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.service-header p {
    max-width: 760px;
    margin: 0;
    color: rgba(31, 39, 38, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

.service-price-box {
    justify-self: end;
    align-self: start;
    min-width: 200px;
    padding: 20px 22px 18px;
    border: 1px solid rgba(45, 79, 74, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 34px rgba(31, 39, 38, 0.04);
    text-align: left;
}

.service-price-box span {
    display: block;
    margin: 0 0 8px;
    color: rgba(31, 39, 38, 0.62);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-price-box strong {
    display: block;
    color: var(--accent);
    font-size: clamp(1.7rem, 2vw, 2.15rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.service-header + .card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-header + .card-grid .info-card {
    position: relative;
    height: 100%;
    padding: 30px 28px 28px;
    border: 1px solid rgba(45, 79, 74, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 14px 32px rgba(31, 39, 38, 0.035);
}

.service-header + .card-grid .info-card::before {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.9;
}

.service-header + .card-grid .info-card h3 {
    margin: 0 0 18px;
    font-size: 1.5rem;
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.service-header + .card-grid .check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.service-header + .card-grid .check-list li {
    position: relative;
    padding-left: 22px;
    color: rgba(31, 39, 38, 0.88);
    line-height: 1.65;
}

.service-header + .card-grid .check-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
    opacity: 0.9;
}

.section.section-alt .service-price-box {
    background: rgba(255, 255, 255, 0.9);
}

.section.section-alt .service-header + .card-grid .info-card {
    background: rgba(255, 255, 255, 0.84);
}

@media (max-width: 991px) {
    .service-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 28px;
    }

    .service-price-box {
        justify-self: start;
        min-width: 0;
        width: auto;
    }

    .service-header + .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .service-header h2 {
        margin-bottom: 12px;
        font-size: 1.9rem;
    }

    .service-header p {
        font-size: 1rem;
        line-height: 1.68;
    }

    .service-price-box {
        padding: 18px 18px 16px;
        border-radius: 16px;
    }

    .service-price-box strong {
        font-size: 1.7rem;
    }

    .service-header + .card-grid .info-card {
        padding: 26px 22px 24px;
        border-radius: 16px;
    }

    .service-header + .card-grid .info-card h3 {
        font-size: 1.32rem;
    }
}

/* =========================================================
   HOME – PROCESS + TRUST
========================================================= */

#process {
    padding-top: 84px;
    padding-bottom: 88px;
    background: #ebe6de;
}

#process h2 {
    margin: 0 0 16px;
    max-width: 760px;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

#process .section-intro {
    max-width: 820px;
    margin: 0 0 36px;
    color: rgba(31, 39, 38, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

#process .step-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

#process .info-card {
    position: relative;
    height: 100%;
    padding: 28px 24px 24px;
    border: 1px solid rgba(45, 79, 74, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 30px rgba(31, 39, 38, 0.035);
}

#process .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--accent);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

#process .info-card h3 {
    margin: 0 0 14px;
    font-size: 1.28rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

#process .info-card p {
    margin: 0;
    color: rgba(31, 39, 38, 0.84);
    font-size: 1rem;
    line-height: 1.68;
}

#trust {
    padding-top: 88px;
    padding-bottom: 92px;
}

#trust h2 {
    margin: 0 0 16px;
    max-width: 1200px;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

#trust .section-intro {
    max-width: 820px;
    margin: 0 0 36px;
    color: rgba(31, 39, 38, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

#trust .card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

#trust .info-card {
    position: relative;
    height: 100%;
    padding: 30px 28px 26px;
    border: 1px solid rgba(45, 79, 74, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 14px 32px rgba(31, 39, 38, 0.035);
}

#trust .info-card::before {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.9;
}

#trust .info-card h3 {
    margin: 0 0 14px;
    font-size: 1.42rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

#trust .info-card p {
    margin: 0;
    color: rgba(31, 39, 38, 0.84);
    font-size: 1.02rem;
    line-height: 1.72;
}

@media (max-width: 1200px) {
    #process .step-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    #process,
    #trust {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    #process .step-grid,
    #trust .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #process .section-intro,
    #trust .section-intro {
        margin-bottom: 28px;
        font-size: 1rem;
        line-height: 1.65;
    }

    #process .step-grid,
    #trust .card-grid {
        grid-template-columns: 1fr;
    }

    #process .info-card,
    #trust .info-card {
        padding: 26px 22px 24px;
        border-radius: 16px;
    }

    #process .info-card h3 {
        font-size: 1.2rem;
    }

    #trust .info-card h3 {
        font-size: 1.3rem;
    }
}

/* =========================================================
   HOME – LEGAL NOTICE
========================================================= */

#legal-notice {
    padding-top: 88px;
    padding-bottom: 92px;
    background: #ebe6de;
}

#legal-notice h2 {
    margin: 0 0 16px;
    max-width: 760px;
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

#legal-notice .section-intro {
    max-width: 860px;
    margin: 0 0 36px;
    color: rgba(31, 39, 38, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

#legal-notice .content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    margin-bottom: 28px;
}

#legal-notice .info-card {
    position: relative;
    height: 100%;
    padding: 32px 30px 28px;
    border: 1px solid rgba(45, 79, 74, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 32px rgba(31, 39, 38, 0.035);
}

#legal-notice .info-card::before {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.88;
}

#legal-notice .info-card h3 {
    margin: 0 0 18px;
    font-size: 1.5rem;
    line-height: 1.16;
    letter-spacing: -0.02em;
}

#legal-notice .check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

#legal-notice .check-list li {
    position: relative;
    padding-left: 22px;
    color: rgba(31, 39, 38, 0.88);
    line-height: 1.68;
}

#legal-notice .check-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
    opacity: 0.9;
}

#legal-notice .section-note {
    max-width: 860px;
    margin: 0;
    padding: 18px 20px 0;
    border-top: 1px solid rgba(45, 79, 74, 0.12);
    color: rgba(31, 39, 38, 0.74);
    font-size: 0.98rem;
    line-height: 1.7;
}

@media (max-width: 991px) {
    #legal-notice {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    #legal-notice .content-grid {
        grid-template-columns: 1fr;
        margin-bottom: 24px;
    }
}

@media (max-width: 640px) {
    #legal-notice .section-intro {
        margin-bottom: 28px;
        font-size: 1rem;
        line-height: 1.65;
    }

    #legal-notice .info-card {
        padding: 26px 22px 24px;
        border-radius: 16px;
    }

    #legal-notice .info-card h3 {
        font-size: 1.3rem;
    }

    #legal-notice .section-note {
        padding-top: 16px;
        font-size: 0.95rem;
    }
}

/* =========================================================
   HOME – FAQ
========================================================= */

#faq {
    padding-top: 88px;
    padding-bottom: 92px;
    background: #f6f5f2;;
}

#faq h2 {
    margin: 0 0 16px;
    max-width: 760px;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

#faq .section-intro {
    max-width: 820px;
    margin: 0 0 38px;
    color: rgba(31, 39, 38, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

#faq .faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

#faq .faq-item {
    position: relative;
    height: 100%;
    padding: 30px 28px 26px;
    border: 1px solid rgba(45, 79, 74, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 32px rgba(31, 39, 38, 0.035);
}

#faq .faq-item::before {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0.9;
}

#faq .faq-item h3 {
    margin: 0 0 14px;
    font-size: 1.34rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
}

#faq .faq-item p {
    margin: 0;
    color: rgba(31, 39, 38, 0.84);
    font-size: 1.02rem;
    line-height: 1.72;
}

@media (max-width: 991px) {
    #faq {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    #faq .faq-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    #faq .section-intro {
        margin-bottom: 28px;
        font-size: 1rem;
        line-height: 1.65;
    }

    #faq .faq-item {
        padding: 26px 22px 24px;
        border-radius: 16px;
    }

    #faq .faq-item h3 {
        font-size: 1.2rem;
    }
}

.faq-list {
    margin:26px;
}

/* =========================================================
   HOME – REQUEST SECTION
========================================================= */

#request {
    padding-top: 88px;
    padding-bottom: 92px;
    background: #ebe6de;
}

#request .alert,
#request .message {
    margin-bottom: 24px;
}

#request .request-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}

#request .request-intro {
    padding: 34px 32px 30px;
    border: 1px solid rgba(45, 79, 74, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 34px rgba(31, 39, 38, 0.035);
}

#request .request-intro h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

#request .request-intro p {
    margin: 0 0 24px;
    color: rgba(31, 39, 38, 0.84);
    font-size: 1.06rem;
    line-height: 1.75;
}

#request .request-notes {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

#request .request-notes li {
    position: relative;
    padding-left: 22px;
    color: rgba(31, 39, 38, 0.88);
    line-height: 1.68;
}

#request .request-notes li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
    opacity: 0.9;
}

#request .request-form {
    padding: 34px 32px 30px;
    border: 1px solid rgba(45, 79, 74, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 38px rgba(31, 39, 38, 0.04);
}

#request .hp-field {
    display: none;
}

#request .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

#request .form-group {
    margin-bottom: 18px;
}

#request .form-group label,
#request .form-check label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

#request .form-group input,
#request .form-group select,
#request .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(45, 79, 74, 0.16);
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#request .form-group textarea {
    min-height: 132px;
    resize: vertical;
}

#request .form-group input:focus,
#request .form-group select:focus,
#request .form-group textarea:focus {
    outline: none;
    border-color: rgba(45, 79, 74, 0.42);
    box-shadow: 0 0 0 4px rgba(45, 79, 74, 0.08);
    background: #ffffff;
}

#request .form-help {
    margin: 8px 0 0;
    color: rgba(31, 39, 38, 0.66);
    font-size: 0.92rem;
    line-height: 1.6;
}

#request .form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 4px 0 0;
    padding-top: 4px;
}

#request .form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 18px;
    accent-color: var(--accent);
}

#request .form-check label {
    margin: 0;
    font-weight: 500;
    color: rgba(31, 39, 38, 0.84);
}

#request .form-check a {
    color: var(--accent);
    text-decoration: none;
}

#request .form-check a:hover,
#request .form-check a:focus {
    text-decoration: underline;
}

#request .form-actions {
    margin-top: 24px;
}

#request .form-actions .btn {
    min-width: 220px;
    padding: 14px 22px;
}

@media (max-width: 991px) {
    #request {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    #request .request-layout {
        grid-template-columns: 1fr;
    }

    #request .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 640px) {
    #request .request-intro,
    #request .request-form {
        padding: 26px 22px 24px;
        border-radius: 16px;
    }

    #request .request-intro h2 {
        font-size: 1.95rem;
    }

    #request .request-intro p {
        font-size: 1rem;
        line-height: 1.68;
    }

    #request .form-group input,
    #request .form-group select,
    #request .form-group textarea {
        padding: 13px 14px;
        border-radius: 12px;
    }

    #request .form-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

.request-layout {
    margin:26px;
}

.site-footer {
    padding: 38px 0 34px;
    border-top: 1px solid rgba(45, 79, 74, 0.10);
    background: #f1ede6;
}

.footer-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 520px;
}

.footer-title {
    display: inline-block;
    margin: 0 0 10px;
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.footer-note {
    margin: 0;
    color: rgba(31, 39, 38, 0.72);
    font-size: 0.98rem;
    line-height: 1.65;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(45, 79, 74, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(45, 79, 74, 0.18);
    color: var(--accent);
}

@media (max-width: 768px) {
    .site-footer {
        padding: 32px 0 30px;
    }

    .footer-row {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        gap: 8px;
    }

    .footer-nav a {
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.88rem;
    }
}

.footer-nav {
    margin:26px;
}

.footer-projects {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(45, 79, 74, 0.10);
    text-align: center;
}

.footer-projects-title {
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.3;
}

.footer-project-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    flex-wrap: wrap;
}

.footer-project-links a {
    color: rgba(31, 39, 38, 0.72);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-project-links a:hover,
.footer-project-links a:focus {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(45, 79, 74, 0.10);
    text-align: center;
}

.footer-powered {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    color: rgba(31, 39, 38, 0.72);
    font-size: 0.92rem;
    line-height: 1.4;
}

.footer-powered-label {
    color: rgba(31, 39, 38, 0.68);
}

.footer-powered-logo {
    display: block;
    width: auto;
    height: 20px;
    object-fit: contain;
}

.footer-powered-registered {
    color: rgba(31, 39, 38, 0.68);
    font-size: 0.85rem;
    line-height: 1;
    transform: translateY(-4px);
}

.footer-since {
    margin: 0;
    color: rgba(31, 39, 38, 0.60);
    font-size: 0.85rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

@media (max-width: 480px) {
    .footer-meta {
        margin-top: 24px;
        padding-top: 18px;
    }

    .footer-powered {
        gap: 6px;
        font-size: 0.86rem;
    }

    .footer-powered-logo {
        height: 18px;
    }

    .footer-since {
        font-size: 0.8rem;
    }
}

.footer-powered-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-powered-link:hover,
.footer-powered-link:focus {
    opacity: 0.9;
}

/* language switcher */
.language-switcher {
    position: relative;
    flex: 0 0 auto;
}

.language-switcher summary {
    list-style: none;
}

.language-switcher summary::-webkit-details-marker {
    display: none;
}

.language-switcher-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 5.5rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #1f2937;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.language-switcher[open] .language-switcher-toggle,
.language-switcher-toggle:hover {
    border-color: rgba(15, 23, 42, 0.22);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.language-switcher-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    min-width: 100%;
    padding: 0.45rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    z-index: 1200;
}

.language-switcher:not([open]) .language-switcher-menu {
    display: none;
}

.language-switcher-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    color: #1f2937;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.language-switcher-link:hover {
    background: rgba(15, 23, 42, 0.05);
}

.language-switcher-link.is-active {
    background: rgba(15, 23, 42, 0.07);
    font-weight: 600;
}

.language-switcher-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 0.2rem;
    flex: 0 0 auto;
}

.language-switcher-code {
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .language-switcher {
        width: 100%;
    }

    .language-switcher-toggle {
        width: 100%;
        justify-content: center;
    }

    .language-switcher-menu {
        left: 0;
        right: 0;
    }
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.btn-whatsapp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#btn-services {
    margin-top: 26px;
    margin-left: 26px;
    margin-right: auto;
}

/* NEU EINFÜGEN: in deine Haupt-CSS */

.service-card-grid {
    align-items: stretch;
}

.service-card-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
}

.service-card-content {
    height: 100%;
    cursor: pointer;
}

.service-card-trigger:focus-visible .service-card-content {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.service-card-price,
.service-modal-price {
    margin-top: 1rem;
    font-weight: 700;
}

.service-modal-description {
    white-space: pre-line;
}


.service-group {
    margin-top: 3rem;
}

.service-group:first-of-type {
    margin-top: 0;
}

.service-card-grid {
    align-items: stretch;
}

.service-card-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.service-card-content {
    height: 100%;
    cursor: pointer;
}

.service-card-trigger:focus-visible .service-card-content {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.service-card-group {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.75;
}

.service-card-price,
.service-modal-price {
    margin-top: 1rem;
    font-weight: 700;
}

.service-modal-intro {
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-feature-list {
    margin: 0 0 1rem 1.25rem;
    padding: 0;
}

.service-feature-list li + li {
    margin-top: 0.35rem;
}

.service-modal-description {
    white-space: normal;
}

@media (max-width: 1100px) {
    body {
        padding-left: 3%;
        padding-right: 3%;
    }

    .info-card,
    .faq-list,
    .request-layout,
    .footer-nav {
        margin-left: 0;
        margin-right: 0;
    }

    #btn-services {
        margin-left: 0;
    }
}

/* =========================================================
   RTL / HEBREW PREPARATION
   Aktiviert sich automatisch bei <html dir="rtl">.
========================================================= */

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .brand-name,
html[dir="rtl"] .footer-title,
html[dir="rtl"] .hero-title {
    letter-spacing: normal;
}

html[dir="rtl"] .header-menu {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .nav-toggle {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .main-nav,
html[dir="rtl"] .hero-actions {
    justify-content: flex-start;
}

html[dir="rtl"] .service-price-box,
html[dir="rtl"] .service-card-trigger,
html[dir="rtl"] .admin-table th,
html[dir="rtl"] .admin-table td {
    text-align: right;
}

html[dir="rtl"] .hero-points,
html[dir="rtl"] .request-notes,
html[dir="rtl"] .service-feature-list {
    padding-left: 0;
    padding-right: 1.25rem;
}

html[dir="rtl"] #problem .check-list li,
html[dir="rtl"] .service-header + .card-grid .check-list li,
html[dir="rtl"] #legal-notice .check-list li,
html[dir="rtl"] #request .request-notes li {
    padding-left: 0;
    padding-right: 22px;
}

html[dir="rtl"] #problem .check-list li::before,
html[dir="rtl"] .service-header + .card-grid .check-list li::before,
html[dir="rtl"] #legal-notice .check-list li::before,
html[dir="rtl"] #request .request-notes li::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .language-switcher-menu {
    right: auto;
    left: 0;
}

html[dir="rtl"] #btn-services {
    margin-left: auto;
    margin-right: 26px;
}

html[dir="rtl"] .modal-header .btn-close {
    margin: -0.5rem auto -0.5rem -0.5rem;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    text-align: right;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="url"] {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] .form-check {
    flex-direction: row;
}

html[dir="rtl"] .footer-nav {
    justify-content: flex-end;
}

@media (max-width: 1100px) {
    html[dir="rtl"] .header-menu {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    html[dir="rtl"] .footer-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 1100px) {
    html[dir="rtl"] #btn-services {
        margin-left: auto;
        margin-right: 0;
    }
}

/* --------------------------------------------------------------------------
   Admin – Projekte
   -------------------------------------------------------------------------- */
.admin-project-page > main {
    padding-left: 2%;
    padding-right: 2%;
}

.admin-project-page .section {
    padding: 40px 0;
}

.admin-shell-wide {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.admin-project-shell {
    padding: 32px;
}

.admin-project-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin: 0 0 24px;
}

.admin-project-header h1 {
    margin-bottom: 8px;
}

.admin-project-header p:last-child {
    margin-bottom: 0;
}

.admin-project-header .admin-links,
.admin-project-header-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.admin-project-page .btn-secondary {
    color: var(--text);
}

.admin-project-table-wrap {
    margin-bottom: 0;
}

.admin-project-table {
    min-width: 1050px;
}

.admin-project-table th,
.admin-project-table td {
    padding: 12px 14px;
}

.admin-project-title-cell {
    min-width: 220px;
}

.admin-project-meta {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.admin-project-actions-cell {
    width: 1%;
    white-space: nowrap;
}

.admin-project-actions,
.admin-project-form-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-project-actions form {
    margin: 0;
}

.admin-project-actions .btn {
    white-space: nowrap;
}

.admin-project-table .status-draft {
    background: #fff7df;
    border-color: #e8cf86;
}

.admin-project-table .status-published {
    background: #e8f6ec;
    border-color: #a8cfb0;
}

.admin-project-form-grid {
    gap: 18px 24px;
}

.admin-project-sort-field {
    max-width: 260px;
}

@media (max-width: 1100px) {
    .admin-project-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .admin-project-header {
        grid-template-columns: 1fr;
    }

    .admin-project-header .admin-links,
    .admin-project-header-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .admin-project-shell {
        padding: 20px;
    }

    .admin-project-form-actions .btn,
    .admin-project-header-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   Admin – Projektsprachen
   -------------------------------------------------------------------------- */
.admin-project-language-note {
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-soft, #f7f5f1);
}

.admin-project-language-table {
    min-width: 900px;
}

.admin-project-translation-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: start;
}

.admin-project-source-copy {
    position: sticky;
    top: 24px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-soft, #f7f5f1);
}

.admin-project-source-field + .admin-project-source-field {
    margin-top: 18px;
}

.admin-project-source-field strong {
    display: block;
    margin-bottom: 5px;
}

.admin-project-source-field p {
    margin: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-project-translation-form {
    min-width: 0;
}

@media (max-width: 900px) {
    .admin-project-translation-layout {
        grid-template-columns: 1fr;
    }

    .admin-project-source-copy {
        position: static;
    }
}

/* Phase 6: vereinfachte Projektsprachpflege */
.admin-project-translation-form-simple {
    max-width: 980px;
}

.admin-project-source-hint {
    display: block;
    margin: 0.35rem 0 0.6rem;
    color: var(--color-text-muted, #666);
    line-height: 1.5;
}

.admin-project-source-reference {
    margin: 0.35rem 0 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.6rem;
    background: rgba(0, 0, 0, 0.025);
}

.admin-project-source-reference p {
    margin: 0.35rem 0 0;
    line-height: 1.55;
}


/* --------------------------------------------------------------------------
   Admin – Projekt bearbeiten: integrierte Sprachpflege
   -------------------------------------------------------------------------- */
.admin-project-edit-section {
    margin-top: 26px;
}

.admin-project-edit-section + .admin-project-edit-section {
    margin-top: 34px;
}

.admin-project-edit-section > h2,
.admin-project-section-heading h2 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.admin-project-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 14px;
}

.admin-project-section-heading p {
    margin: 0;
    color: var(--muted);
}

.admin-project-language-accordions {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.admin-project-language-accordion {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--border);
}

.admin-project-language-accordion:first-child {
    border-top: 0;
}

.admin-project-language-accordion > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 56px;
    padding: 14px 18px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    background: var(--surface);
}

.admin-project-language-accordion > summary::-webkit-details-marker {
    display: none;
}

.admin-project-language-accordion > summary:hover {
    background: var(--surface-alt);
}

.admin-project-language-accordion > summary > span:first-child {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.admin-project-language-accordion > summary small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 400;
}

.admin-project-language-accordion > summary::after {
    content: '';
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-left: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.admin-project-language-accordion[open] > summary {
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border);
}

.admin-project-language-accordion[open] > summary::after {
    transform: rotate(225deg);
}

.admin-project-language-state {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--muted);
    background: var(--surface-alt);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.admin-project-language-state.is-present {
    background: #e8f6ec;
}

.admin-project-language-state.is-missing {
    background: #f0f0f0;
}

.admin-project-language-fields {
    padding: 20px 20px 4px;
}

.admin-project-language-fields .form-group:last-child {
    margin-bottom: 16px;
}

.admin-project-save-actions {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

@media (max-width: 640px) {
    .admin-project-language-accordion > summary {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .admin-project-language-state {
        order: 2;
        margin-left: 0;
    }

    .admin-project-language-accordion > summary::after {
        margin-left: auto;
    }

    .admin-project-language-fields {
        padding: 16px 14px 2px;
    }
}

/* --------------------------------------------------------------------------
   Admin – Projektbilder / Galerie
   -------------------------------------------------------------------------- */
.admin-project-images-section {
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.admin-project-images-heading {
    align-items: flex-start;
}

.admin-project-image-upload {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-alt);
}

.admin-project-image-upload .form-group {
    margin-bottom: 0;
}

.admin-project-image-upload input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.admin-project-image-upload-actions {
    margin: 0;
}

.admin-project-images-empty {
    margin-top: 18px;
    padding: 22px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    color: var(--muted);
    text-align: center;
}

.admin-project-image-settings-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 22px 0 14px;
}

.admin-project-image-settings-bar p {
    margin: 0;
    color: var(--muted);
}

.admin-project-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.admin-project-image-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.admin-project-image-card.is-cover {
    box-shadow: 0 0 0 2px rgba(47, 93, 87, 0.18);
}

.admin-project-image-preview {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--surface-alt);
}

.admin-project-image-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-project-image-card-body {
    padding: 14px;
}

.admin-project-image-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-project-image-badges {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.admin-project-image-cover-badge,
.admin-project-image-og-badge {
    padding: 4px 8px;
    border-radius: 999px;
    background: #e8f6ec;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.admin-project-image-filename {
    margin-top: 8px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-project-image-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.82rem;
}

.admin-project-image-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 14px;
    align-items: end;
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.admin-project-image-cover-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
}

.admin-project-image-cover-control input {
    width: auto;
    margin: 0;
}

.admin-project-image-sort-control {
    margin-bottom: 0;
}

.admin-project-image-sort-control label {
    font-size: 0.82rem;
}

.admin-project-image-sort-control input {
    min-width: 0;
}

.admin-project-image-delete {
    margin-top: 14px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.admin-project-image-delete > summary {
    width: fit-content;
    cursor: pointer;
    color: var(--danger, #b42318);
    font-size: 0.88rem;
    font-weight: 600;
}

.admin-project-image-delete-confirm {
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    background: var(--surface-alt);
}

.admin-project-image-delete-confirm p {
    margin: 0 0 10px;
    font-size: 0.88rem;
}

@media (max-width: 980px) {
    .admin-project-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .admin-project-image-upload {
        grid-template-columns: 1fr;
    }

    .admin-project-image-settings-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-project-image-grid {
        grid-template-columns: 1fr;
    }
}

/* Phase 6 – vereinfachte Bilddaten / Sichtbarkeit */
.admin-project-image-upload {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr) auto;
}

.admin-project-image-upload-visibility {
    margin-bottom: 0;
}

.admin-project-image-upload-visibility select,
.admin-project-image-visibility-control select {
    width: 100%;
}

.admin-project-image-controls {
    grid-template-columns: minmax(0, 1.25fr) minmax(110px, 0.8fr) 90px;
}

.admin-project-image-visibility-control {
    margin-bottom: 0;
}

.admin-project-image-visibility-control label {
    font-size: 0.82rem;
}

@media (max-width: 900px) {
    .admin-project-image-upload,
    .admin-project-image-controls {
        grid-template-columns: 1fr;
    }
}


/* Phase 6: Projektsichtbarkeit wird auf Projektebene gesteuert. */
.admin-project-visibility-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 0.35rem;
    padding: 0.2rem 0.55rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.admin-project-visibility-badge.is-public {
    opacity: 0.9;
}

.admin-project-visibility-badge.is-private {
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Phase 7 – Admin Projektvideos
   -------------------------------------------------------------------------- */
.admin-project-videos-section {
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.admin-project-videos-heading {
    align-items: flex-start;
}

.admin-project-video-upload {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr) auto;
    gap: 20px;
    align-items: end;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-alt);
}

.admin-project-video-upload .form-group {
    margin-bottom: 0;
}

.admin-project-video-upload input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.admin-project-video-upload-actions {
    margin: 0;
}

.admin-project-video-progress,
.admin-project-video-status {
    grid-column: 1 / -1;
}

.admin-project-video-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.admin-project-video-progress[hidden] {
    display: none;
}

.admin-project-video-progress progress {
    width: 100%;
    height: 18px;
}

.admin-project-video-status {
    min-height: 1.5em;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-project-video-noscript {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--danger, #b42318);
}

.admin-project-videos-empty {
    margin-top: 18px;
    padding: 22px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    color: var(--muted);
    text-align: center;
}

.admin-project-video-settings-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 22px 0 14px;
}

.admin-project-video-settings-bar p {
    margin: 0;
    color: var(--muted);
}

.admin-project-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-project-video-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.admin-project-video-preview {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
}

.admin-project-video-card-body {
    padding: 14px;
}

.admin-project-video-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-project-video-meta {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.82rem;
}

.admin-project-video-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: 14px;
    align-items: end;
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.admin-project-video-controls .form-group {
    margin-bottom: 0;
}

.admin-project-video-delete {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.admin-project-video-delete > summary {
    width: fit-content;
    cursor: pointer;
    color: var(--danger, #b42318);
    font-size: 0.88rem;
    font-weight: 600;
}

.admin-project-video-delete-confirm {
    margin-top: 10px;
    padding: 12px;
    border-radius: 8px;
    background: var(--surface-alt);
}

.admin-project-video-delete-confirm p {
    margin: 0 0 10px;
    font-size: 0.88rem;
}

@media (max-width: 900px) {
    .admin-project-video-upload,
    .admin-project-video-controls {
        grid-template-columns: 1fr;
    }

    .admin-project-video-grid {
        grid-template-columns: 1fr;
    }

    .admin-project-video-settings-bar {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Phase 9 – Admin: Medienkommentare */
.admin-project-media-comments {
    margin-top: 16px;
    border-top: 1px solid var(--border-color, #dee2e6);
    padding-top: 12px;
}

.admin-project-media-comments > summary {
    cursor: pointer;
    font-weight: 700;
}

.admin-project-media-comments-body {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.admin-project-media-comments-body textarea {
    width: 100%;
    min-height: 90px;
    resize: vertical;
}

/* Phase 9 UI-Aufräumung – gemeinsame Projektmedien */
.admin-project-media-section {
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.admin-project-media-heading {
    align-items: flex-start;
}

.admin-project-media-upload {
    display: grid;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-alt);
}

.admin-project-media-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
}

.admin-project-media-upload-grid .form-group {
    margin-bottom: 0;
}

.admin-project-media-upload input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.admin-project-media-recorded-field {
    grid-column: 2;
}

.admin-project-media-upload-actions {
    margin: 0;
}

.admin-project-media-settings-intro {
    margin: 22px 0 14px;
    color: var(--muted);
}

.admin-project-media-settings-intro p {
    margin: 0;
}

.admin-project-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-project-media-card {
    min-width: 0;
}

.admin-project-media-language-accordions {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.admin-project-media-language-accordion > summary {
    min-height: 48px;
    padding: 10px 14px;
}

.admin-project-media-language-accordion .admin-project-language-fields {
    padding: 14px 14px 2px;
}

.admin-project-media-save-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
    .admin-project-media-upload-grid,
    .admin-project-media-grid {
        grid-template-columns: 1fr;
    }

    .admin-project-media-recorded-field {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .admin-project-media-upload {
        padding: 14px;
    }

    .admin-project-media-language-accordion > summary {
        padding: 10px 12px;
    }

    .admin-project-media-save-actions .btn,
    .admin-project-media-upload-actions .btn {
        width: 100%;
    }
}

.admin-project-image-focus {
    margin-top: 14px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.admin-project-image-focus > summary {
    cursor: pointer;
    font-weight: 700;
}

.admin-project-image-focus-body {
    display: grid;
    gap: 14px;
    margin-top: 12px;
}

.admin-project-image-focus-stage {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface-alt);
    cursor: crosshair;
    user-select: none;
}

.admin-project-image-focus-stage img {
    display: block;
    width: 100%;
    height: auto;
}

.admin-project-image-focus-marker {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.admin-project-image-focus-marker::before,
.admin-project-image-focus-marker::after {
    content: '';
    position: absolute;
    background: #fff;
}

.admin-project-image-focus-marker::before {
    top: 50%;
    left: -7px;
    width: 32px;
    height: 2px;
    transform: translateY(-50%);
}

.admin-project-image-focus-marker::after {
    top: -7px;
    left: 50%;
    width: 2px;
    height: 32px;
    transform: translateX(-50%);
}

.admin-project-image-focus-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-project-image-focus-controls .form-group {
    margin-bottom: 0;
}

.admin-project-image-focus-controls input[type="range"] {
    width: 100%;
}

.admin-project-image-focus-previews {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-project-image-focus-previews.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.admin-project-image-focus-previews > div > span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.88rem;
    color: var(--muted);
}

.admin-project-image-focus-preview {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-alt);
}

.admin-project-image-focus-preview.is-thumb {
    aspect-ratio: 3 / 2;
}

.admin-project-image-focus-preview.is-og {
    aspect-ratio: 1200 / 628;
}

.admin-project-image-focus-preview canvas {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 640px) {
    .admin-project-image-focus-controls,
    .admin-project-image-focus-previews {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   ACCESSIBILITY – REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   FINAL DESIGN PASS – 2026-09
   Visuelle Vereinheitlichung ohne Funktionsänderungen
========================================================= */

:root {
    --bg: #f4f1eb;
    --surface: #ffffff;
    --surface-alt: #ebe6dd;
    --text: #1d2725;
    --text-main: #1d2725;
    --muted: #66716e;
    --text-muted: #66716e;
    --border: #d8d1c6;
    --accent: #315b54;
    --accent-hover: #274a45;
    --accent-soft: rgba(49, 91, 84, 0.08);
    --shadow-sm: 0 8px 24px rgba(29, 39, 37, 0.045);
    --shadow-md: 0 18px 44px rgba(29, 39, 37, 0.07);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
}

html {
    background: var(--bg);
}

body {
    padding-left: 0;
    padding-right: 0;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.68;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container {
    --bs-gutter-x: clamp(1.25rem, 3vw, 2.5rem);
}

::selection {
    background: rgba(49, 91, 84, 0.18);
}

a,
button,
input,
select,
textarea,
summary {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(49, 91, 84, 0.28);
    outline-offset: 3px;
}

h1,
h2,
h3 {
    color: var(--text);
    font-weight: 720;
    text-wrap: balance;
}

h1 {
    letter-spacing: -0.035em;
}

h2,
h3 {
    letter-spacing: -0.02em;
}

p,
li,
dd {
    text-wrap: pretty;
}

.section {
    padding-top: clamp(68px, 7vw, 96px);
    padding-bottom: clamp(68px, 7vw, 96px);
}

.section-alt {
    background: #ebe6de;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.11em;
}

.lead,
.section-intro {
    color: var(--muted);
}

.htcard {
    padding-top: 0;
    padding-left: 0;
}

.info-card {
    margin: 0;
    border-color: rgba(49, 91, 84, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-sm);
}

.card-grid,
.content-grid,
.step-grid {
    gap: 22px;
}

.btn {
    min-height: 44px;
    padding: 10px 17px;
    border-radius: 11px;
    font-size: 0.95rem;
    font-weight: 680;
    line-height: 1.2;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 8px 20px rgba(49, 91, 84, 0.14);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    border-color: var(--accent-hover);
    background: var(--accent-hover);
    color: #fff;
    box-shadow: 0 10px 24px rgba(49, 91, 84, 0.18);
}

.btn-secondary {
    border-color: rgba(49, 91, 84, 0.16);
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: rgba(49, 91, 84, 0.28);
    background: #fff;
    color: var(--accent-hover);
}

.btn-danger {
    border-radius: 11px;
}

.form-group input,
.form-group select,
.form-group textarea {
    min-height: 46px;
    border-color: rgba(49, 91, 84, 0.17);
    border-radius: var(--radius-sm);
    background: #fff;
}

.form-group textarea {
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(49, 91, 84, 0.45);
    box-shadow: 0 0 0 4px rgba(49, 91, 84, 0.08);
}

.message {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* Header */
.site-header {
    background: rgba(244, 241, 235, 0.94);
    border-bottom-color: rgba(49, 91, 84, 0.10);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.header-row {
    min-height: 82px;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 24px;
}

.brand-link {
    gap: 13px;
}

.brand-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
}

.brand-name {
    font-size: 1.34rem;
    font-weight: 740;
}

.service-area {
    max-width: 360px;
    color: #6d7673;
    font-size: 0.88rem;
}

.main-nav {
    gap: 6px;
}

.main-nav a {
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 0.94rem;
    font-weight: 590;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: rgba(49, 91, 84, 0.07);
}

.header-actions {
    gap: 10px;
}

.language-switcher-toggle {
    min-height: 44px;
    border-color: rgba(49, 91, 84, 0.14);
    box-shadow: none;
}

.language-switcher-menu {
    border-color: rgba(49, 91, 84, 0.12);
    box-shadow: 0 18px 45px rgba(29, 39, 37, 0.13);
}

/* Hero */
.hero-section {
    padding-top: clamp(54px, 6vw, 78px);
    padding-bottom: clamp(66px, 7vw, 90px);
    background: linear-gradient(180deg, #f4f1eb 0%, #eee9e1 100%);
}

.hero-shell {
    border-color: rgba(49, 91, 84, 0.13);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(246, 243, 237, 0.93));
    box-shadow: 0 24px 60px rgba(29, 39, 37, 0.075);
}

.hero-shell::before {
    background: rgba(49, 91, 84, 0.065);
}

.hero-shell::after {
    background: rgba(198, 181, 154, 0.20);
}

.hero-layout {
    gap: clamp(32px, 5vw, 58px);
}

.hero-title {
    max-width: 13ch;
    margin-bottom: 22px;
    font-size: clamp(2.5rem, 4.5vw, 4.25rem);
}

.hero-lead {
    max-width: 60ch;
    color: #505d59;
    font-size: clamp(1.06rem, 1.25vw, 1.18rem);
    line-height: 1.72;
}

.btn-hero {
    min-height: 50px;
    margin-bottom: 18px;
    padding: 13px 22px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(49, 91, 84, 0.17);
}

.hero-support-text {
    color: #6a7471;
}

.hero-panel-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 34px rgba(29, 39, 37, 0.055);
}

.hero-feature-number {
    border-radius: 11px;
    background: rgba(49, 91, 84, 0.10);
    color: var(--accent-hover);
}

.hero-panel-note {
    font-size: 1.02rem;
}

/* Featured project teaser */
.featured-project-section {
    padding-top: clamp(18px, 2.8vw, 36px);
    padding-bottom: clamp(72px, 7vw, 96px);
    background: #eee9e1;
}

.featured-project-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    overflow: hidden;
    border: 1px solid rgba(49, 91, 84, 0.13);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 54px rgba(29, 39, 37, 0.07);
}

.featured-project-media {
    display: block;
    min-height: 430px;
    overflow: hidden;
    background: #e6e0d7;
}

.featured-project-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-project-shell:hover .featured-project-media img {
    transform: scale(1.018);
}

.featured-project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 5vw, 58px);
}

.featured-project-content h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.featured-project-content h2 a:hover,
.featured-project-content h2 a:focus-visible {
    color: var(--accent-hover);
}

.featured-project-description {
    margin: 0;
    color: #586560;
    font-size: 1.04rem;
    line-height: 1.75;
}

.featured-project-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 24px 0 28px;
}

.featured-project-meta > div {
    padding: 10px 0;
    border-top: 1px solid rgba(49, 91, 84, 0.10);
}

.featured-project-meta dt {
    margin-bottom: 2px;
    color: #6a7471;
    font-size: 0.82rem;
    font-weight: 680;
}

.featured-project-meta dd {
    margin: 0;
    color: #293431;
    font-weight: 620;
}

.featured-project-link {
    align-self: flex-start;
}

@media (max-width: 900px) {
    .featured-project-shell {
        grid-template-columns: 1fr;
    }

    .featured-project-media,
    .featured-project-media img {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 600px) {
    .featured-project-section {
        padding-top: 10px;
        padding-bottom: 64px;
    }

    .featured-project-shell {
        border-radius: 18px;
    }

    .featured-project-content {
        padding: 26px 22px 28px;
    }

    .featured-project-meta {
        grid-template-columns: 1fr;
        margin-top: 22px;
        margin-bottom: 24px;
    }
}

html[dir="rtl"] .featured-project-content,
html[dir="rtl"] .featured-project-meta {
    text-align: right;
}

/* Homepage sections */
#problem {
    padding-top: clamp(72px, 7vw, 94px);
    padding-bottom: clamp(62px, 6vw, 82px);
}

#problem .info-card,
#services .info-card,
#trust .info-card,
#process .info-card,
#faq .faq-item {
    margin: 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

#problem .info-card,
#services .info-card,
#trust .info-card {
    padding: 30px 28px 27px;
}

#problem .info-card::before,
#faq .faq-item::before {
    height: 2px;
    opacity: 0.72;
}

#services {
    background: #e9e3da;
}

#services .card-grid,
#trust .card-grid {
    align-items: stretch;
}

#services .info-card,
#trust .info-card {
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

#services .info-card:hover,
#trust .info-card:hover {
    border-color: rgba(49, 91, 84, 0.22);
    box-shadow: var(--shadow-md);
}

#btn-services {
    margin-top: 30px;
    margin-left: 0;
    margin-right: 0;
}

#process .step-grid {
    gap: 16px;
}

#process .info-card {
    position: relative;
    padding: 25px 22px 23px;
    overflow: hidden;
}

#process .step-number {
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    background: var(--accent-soft);
    color: var(--accent-hover);
}

#faq .faq-list {
    margin: 0;
}

#faq .faq-item {
    padding: 27px 26px 24px;
}

#request {
    background: #e8e2d8;
}

#request .request-layout {
    margin: 0;
    gap: 24px;
}

#request .request-intro,
#request .request-form {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

#request .request-intro {
    background: rgba(255, 255, 255, 0.68);
}

#request .request-form {
    background: rgba(255, 255, 255, 0.94);
}

#request .form-group input,
#request .form-group select,
#request .form-group textarea {
    border-radius: var(--radius-sm);
}

/* Service detail page */
.service-group {
    margin-top: clamp(42px, 5vw, 62px);
}

.service-card-trigger {
    border-radius: var(--radius-md);
}

.service-card-content {
    margin: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.service-card-trigger:hover .service-card-content,
.service-card-trigger:focus-visible .service-card-content {
    border-color: rgba(49, 91, 84, 0.24);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.modal-content {
    border: 1px solid rgba(49, 91, 84, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 26px 70px rgba(29, 39, 37, 0.16);
}

.modal-header,
.modal-body {
    padding-left: clamp(22px, 4vw, 34px);
    padding-right: clamp(22px, 4vw, 34px);
}

.modal-header {
    padding-top: 24px;
    padding-bottom: 18px;
}

.modal-body {
    padding-top: 24px;
    padding-bottom: 30px;
}

/* Footer */
.site-footer {
    padding-top: 44px;
    padding-bottom: 28px;
    background: #eee9e1;
}

.footer-row {
    gap: 32px;
}

.footer-nav {
    margin: 0;
    gap: 4px 12px;
}

.footer-nav a:not(.btn-whatsapp) {
    min-height: 38px;
    padding: 8px 7px;
    border: 0;
    border-radius: 8px;
    background: transparent;
}

.footer-nav a:not(.btn-whatsapp):hover,
.footer-nav a:not(.btn-whatsapp):focus-visible {
    background: rgba(49, 91, 84, 0.06);
}

.footer-meta {
    margin-top: 30px;
    padding-top: 20px;
}

/* Admin – gleiche visuelle Sprache, ohne öffentliche Seite zu imitieren */
.admin-auth-page,
.admin-page,
.admin-project-page {
    background: #f1eee8;
}

.admin-auth-section,
.admin-page > main,
.admin-project-page > main {
    padding-top: 42px;
    padding-bottom: 72px;
}

.admin-project-page > main {
    padding-left: 0;
    padding-right: 0;
}

.admin-auth-card,
.admin-shell {
    border-color: rgba(49, 91, 84, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-md);
}

.admin-auth-card {
    padding: 32px;
}

.admin-shell {
    width: min(1040px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
    padding: 32px;
}

.admin-shell-wide {
    width: min(1480px, calc(100% - 32px));
    max-width: none;
}

.admin-info-box,
.admin-empty-state,
.admin-filter-bar,
.admin-text-block,
.admin-project-edit-section,
.admin-project-media-upload,
.admin-project-image-card,
.admin-project-video-card {
    border-color: rgba(49, 91, 84, 0.12);
}

.admin-info-box,
.admin-empty-state,
.admin-filter-bar {
    border-radius: var(--radius-sm);
    background: #f7f5f1;
}

.admin-table-wrap {
    overflow: auto;
    border: 1px solid rgba(49, 91, 84, 0.12);
    border-radius: 14px;
    background: #fff;
}

.admin-table {
    margin-bottom: 0;
}

.admin-table thead th {
    background: #f2efea;
    color: #47524f;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-table tbody tr:hover {
    background: rgba(49, 91, 84, 0.035);
}

.status-badge,
.admin-project-visibility-badge,
.admin-project-language-state {
    border-radius: 999px;
}

.admin-project-language-accordion,
.admin-project-media-language-accordions,
.admin-project-image-card,
.admin-project-video-card,
.admin-project-media-upload {
    border-radius: 14px;
}

.admin-project-language-accordion > summary,
.admin-project-media-language-accordion > summary {
    background: #f8f6f2;
}

.admin-project-language-accordion[open] > summary,
.admin-project-media-language-accordion[open] > summary {
    background: #f1eee8;
}

.admin-project-image-preview,
.admin-project-video-preview,
.admin-project-image-focus-stage,
.admin-project-image-focus-preview {
    border-radius: 12px;
}

/* Mobile */
@media (max-width: 1100px) {
    body {
        padding-left: 0;
        padding-right: 0;
    }

    .header-row {
        min-height: 74px;
    }

    .header-menu {
        border-color: rgba(49, 91, 84, 0.12);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 22px 50px rgba(29, 39, 37, 0.13);
    }

    .main-nav {
        gap: 2px;
    }

    .main-nav a {
        padding: 10px 12px;
    }
}

@media (max-width: 768px) {
    .section {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .hero-shell {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .hero-panel-card,
    #problem .info-card,
    #services .info-card,
    #trust .info-card,
    #faq .faq-item,
    #request .request-intro,
    #request .request-form,
    .admin-auth-card,
    .admin-shell {
        border-radius: 16px;
    }

    .admin-shell,
    .admin-shell-wide {
        width: min(100% - 20px, 1480px);
        padding: 22px 18px;
    }

    .admin-auth-section,
    .admin-page > main,
    .admin-project-page > main {
        padding-top: 28px;
        padding-bottom: 52px;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: clamp(2.15rem, 11vw, 2.85rem);
    }

    .hero-feature {
        gap: 11px;
    }

    #problem .info-card,
    #services .info-card,
    #trust .info-card,
    #faq .faq-item,
    #request .request-intro,
    #request .request-form {
        padding-left: 20px;
        padding-right: 20px;
    }
}

html[dir="rtl"] #btn-services {
    margin-left: 0;
    margin-right: 0;
}
