/* =========================================================
   Energieexpertin Hunaida – Design: Hell + Champagner-Gold
   Farbe abgeleitet aus der Visitenkarte (metallisches Gold/Beige)
   ========================================================= */

:root {
    --bg: #f6f3ec;
    --surface: #ffffff;
    --card: #ffffff;
    --gold: #a67c33;
    --gold-light: #c6a15b;
    --gold-dark: #7a5a24;
    --heading: #3f2f13;
    --ink: #221f19;
    --muted: #6b665c;
    --line: rgba(0, 0, 0, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(198, 161, 91, .18), transparent 60%),
        radial-gradient(900px 500px at -10% 20%, rgba(198, 161, 91, .10), transparent 55%),
        var(--bg);
    min-height: 100vh;
    color: var(--ink);
}

/* RTL Anpassung */
.rtl * {
    letter-spacing: 0 !important;
}

/* ------------------ Navigation ------------------ */
.glass {
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, .8);
}

.nav-link {
    position: relative;
    color: var(--ink);
    opacity: .85;
    transition: color .25s ease, opacity .25s ease;
}

.nav-link:hover {
    color: var(--gold-dark);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transition: width .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.lang-btn {
    color: var(--gold-dark);
    transition: all .2s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.mobile-link {
    display: block;
    padding: .6rem .25rem;
    color: var(--ink);
    opacity: .85;
    border-bottom: 1px solid var(--line);
}

.mobile-link:hover {
    color: var(--gold-dark);
}

/* Mobiles Menü als fixiertes Panel mit eigenem Scroll */
#mobile-nav:not(.hidden) {
    position: fixed;
    top: 4.25rem;
    left: 0;
    right: 0;
    height: calc(100vh - 4.25rem);
    height: calc(100dvh - 4.25rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--surface, #fff);
    z-index: 60;
}

body.menu-open {
    overflow: hidden;
}

/* ------------------ Hero ------------------ */
.hero-bg {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(120% 130% at 100% 0%, rgba(166, 124, 51, .12) 0%, rgba(166, 124, 51, 0) 55%),
        radial-gradient(90% 120% at 0% 0%, rgba(198, 161, 91, .10) 0%, rgba(198, 161, 91, 0) 50%),
        linear-gradient(to bottom, #ffffff 0%, var(--bg) 100%);
}

/* dezentes Punktraster */
.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(166, 124, 51, .16) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 72%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 72%);
    opacity: .55;
    pointer-events: none;
    z-index: 0;
}

.hero-bg>* {
    position: relative;
    z-index: 1;
}

/* Kicker als Pill-Badge im Seitenkopf */
.hero-bg .section-kicker {
    padding: .4rem .9rem;
    border-radius: 999px;
    background: rgba(166, 124, 51, .10);
    border: 1px solid rgba(166, 124, 51, .24);
    box-shadow: 0 2px 10px rgba(60, 45, 15, .06);
}

/* ------------------ Hero (vollbreit) ------------------ */
.hero-full {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-full-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.02);
}

.hero-full-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(100deg, rgba(20, 16, 8, .82) 0%, rgba(28, 22, 10, .68) 45%, rgba(28, 22, 10, .35) 100%);
}

.hero-card {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, #ffffff, #f3ecdd);
    border: 1px solid rgba(198, 161, 91, .5);
    box-shadow: 0 20px 50px rgba(122, 90, 36, .15), inset 0 0 40px rgba(198, 161, 91, .08);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(198, 161, 91, .18) 48%, transparent 60%);
}

.mono-badge {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, var(--gold-light), var(--gold), var(--gold-dark));
    box-shadow: 0 8px 24px rgba(166, 124, 51, .35);
}

/* ------------------ Buttons ------------------ */
.btn-gold,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.4rem;
    border-radius: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    text-decoration: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px rgba(166, 124, 51, .3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(166, 124, 51, .45);
}

.btn-gold:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    background: transparent;
    color: var(--gold-dark);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: rgba(166, 124, 51, .1);
    transform: translateY(-2px);
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #fff;
}

.btn-sm {
    padding: .5rem .95rem;
    border-radius: .7rem;
    font-size: .85rem;
}

/* ------------------ Sections ------------------ */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .72rem;
}

.section-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    margin-top: .5rem;
    color: var(--heading);
}

/* ------------------ Cards ------------------ */
.card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(60, 45, 15, .07);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(166, 124, 51, .5);
    box-shadow: 0 16px 40px rgba(60, 45, 15, .12);
}

.card strong {
    color: var(--heading);
}

.step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    flex-shrink: 0;
}

/* ------------------ Steps Flow (shamdienst-Stil) ------------------ */
.steps-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
}

.step-flow {
    position: relative;
    text-align: center;
    padding: 0 1rem;
}

/* Verbindungslinie zwischen den Kreisen */
.step-flow:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    left: calc(50% + 45px);
    width: calc(100% - 90px);
    height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(166, 124, 51, .25));
}

.step-flow-num {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    box-shadow: 0 12px 26px rgba(166, 124, 51, .3);
    position: relative;
    z-index: 1;
    margin-bottom: 1.1rem;
}

.step-flow-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--heading);
    margin-bottom: .5rem;
}

.step-flow-text {
    color: rgba(34, 31, 25, .65);
    font-size: .92rem;
    line-height: 1.55;
    max-width: 22rem;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .steps-flow {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-flow:not(:last-child)::after {
        display: none;
    }
}

/* ------------------ Lists ------------------ */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .5rem;
}

.check-list li {
    position: relative;
    padding-inline-start: 1.6rem;
}

.check-list li::before {
    content: '\2713';
    position: absolute;
    inset-inline-start: 0;
    color: var(--gold);
    font-weight: 700;
}

/* ------------------ Media placeholder ------------------ */
.media-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #fffdf8, #f3ecdd);
    border: 1px dashed rgba(166, 124, 51, .45);
}

/* ------------------ FAQ ------------------ */
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    padding: 1.15rem 1.4rem;
    box-shadow: 0 6px 18px rgba(60, 45, 15, .05);
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.faq-item:hover {
    border-color: rgba(166, 124, 51, .45);
    box-shadow: 0 10px 26px rgba(60, 45, 15, .1);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: .85rem;
    color: #fff;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    transition: transform .3s ease;
}

.faq-item[open] summary i {
    transform: rotate(135deg);
}

.faq-item[open] {
    border-color: rgba(166, 124, 51, .5);
    box-shadow: 0 12px 30px rgba(60, 45, 15, .12);
}

.faq-item[open] summary {
    color: var(--gold-dark);
}

.faq-item > div {
    line-height: 1.6;
    animation: faqReveal .3s ease;
}

@keyframes faqReveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------ Form ------------------ */
.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(60, 45, 15, .07);
    padding: 1.75rem;
    display: grid;
    gap: 1rem;
}

.form-label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .35rem;
    color: var(--heading);
}

.form-input {
    width: 100%;
    border-radius: .85rem;
    background: #fffdf9;
    border: 1px solid rgba(166, 124, 51, .3);
    padding: .8rem 1rem;
    color: var(--ink);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-input::placeholder {
    color: rgba(34, 31, 25, .4);
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(166, 124, 51, .18);
}

.form-input.invalid {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .15);
}

.field-error {
    color: #c0392b;
    font-size: .78rem;
    margin: .35rem 0 0;
    min-height: 1rem;
}

#formStatus.ok {
    color: #2e7d32;
}

#formStatus.err {
    color: #c0392b;
}

/* ------------------ Scroll-to-top ------------------ */
.to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(166, 124, 51, .35);
    z-index: 60;
    transition: transform .2s ease;
}

.to-top:hover {
    transform: translateY(-3px);
}

.rtl .to-top {
    right: auto;
    left: 1.25rem;
}

.to-top.show {
    display: inline-flex;
}

/* ------------------ Scroll-Reveal Animation ------------------ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ------------------ Rechtstexte (Impressum/AGB/Datenschutz) ------------------ */
.legal-text {
    color: var(--ink);
    line-height: 1.75;
}

.legal-text h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--heading);
    margin: 1.75rem 0 .5rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    margin: 0 0 .75rem;
}

.legal-text a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

.legal-text a:hover {
    color: var(--gold);
}

/* Muster-Widerrufsformular */
.widerruf-form {
    margin-top: 1rem;
    padding: 1.25rem;
    border: 1px dashed rgba(166, 124, 51, .45);
    border-radius: 1rem;
    background: rgba(198, 161, 91, .08);
}

.widerruf-form p {
    margin: 0 0 .75rem;
}

/* ------------------ Cookie-Banner ------------------ */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 70;
    background: var(--surface);
    border: 1px solid rgba(166, 124, 51, .4);
    border-radius: 1.1rem;
    box-shadow: 0 16px 40px rgba(60, 45, 15, .18);
    animation: cookie-in .35s ease;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-text {
    color: var(--ink);
    font-size: .9rem;
    margin: 0;
    flex: 1 1 320px;
}

.cookie-text a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    color: var(--gold);
}

.cookie-actions {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: .55rem 1.1rem;
    font-size: .85rem;
}

@keyframes cookie-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ------------------ Leistungen (Service-Kacheln) ------------------ */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(60, 45, 15, .07);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(166, 124, 51, .5);
    box-shadow: 0 18px 44px rgba(60, 45, 15, .14);
}

.service-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.06);
}

.service-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(34, 31, 25, .35));
}

.service-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.4rem 1.5rem;
}

.service-icon {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--gold-dark);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

.rtl .service-icon {
    left: auto;
    right: 1rem;
}

/* ------------------ Kontakt-CTA (Startseite) ------------------ */
.cta-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 2.75rem 1.5rem;
    box-shadow: 0 20px 45px -30px rgba(63, 47, 19, .35);
    background-image:
        radial-gradient(circle at 15% 0%, rgba(198, 161, 91, .12), transparent 45%),
        radial-gradient(circle at 85% 100%, rgba(198, 161, 91, .1), transparent 45%);
}

/* ------------------ Kontakt-CTA (vollbreit) ------------------ */
.cta-band {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background-image:
        radial-gradient(circle at 12% 0%, rgba(198, 161, 91, .14), transparent 42%),
        radial-gradient(circle at 88% 100%, rgba(198, 161, 91, .12), transparent 42%);
}

/* ------------------ Info-Icon (Kontaktseite) ------------------ */
.info-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-dark);
    background: rgba(198, 161, 91, .15);
    border: 1px solid rgba(166, 124, 51, .25);
    margin-bottom: .9rem;
}

/* ------------------ Navigations-Dropdown (Leistungen) ------------------ */
.dropdown {
    position: relative;
}

.dropdown-caret {
    transition: transform .25s ease;
}

.dropdown:hover .dropdown-caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 340px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: 0 24px 60px -20px rgba(60, 45, 15, .35);
    padding: .5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 60;
}

.dropdown-menu::before {
    /* Unsichtbare Brücke, damit der Hover beim Übergang nicht abreißt */
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .7rem .75rem;
    border-radius: .7rem;
    text-decoration: none;
    transition: background .2s ease;
}

.dropdown-item:hover {
    background: rgba(198, 161, 91, .12);
}

.dropdown-ico {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--gold-dark);
    background: rgba(198, 161, 91, .15);
    border: 1px solid rgba(166, 124, 51, .2);
}

.dropdown-item-title {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: var(--heading);
}

.dropdown-item-desc {
    display: block;
    font-size: .78rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: .1rem;
    line-height: 1.35;
}

/* Mobile Leistungs-Gruppe */
.mobile-group {
    border-bottom: 1px solid var(--line);
    padding-bottom: .4rem;
}

.mobile-group-label {
    padding: .6rem .25rem .3rem;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold-dark);
}

.mobile-sublink {
    padding-left: .5rem;
    border-bottom: none !important;
    font-weight: 600;
    opacity: .8;
}

/* ------------------ Hero-Foto ------------------ */
.hero-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.4;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(198, 161, 91, .4);
    box-shadow: 0 24px 60px -24px rgba(122, 90, 36, .5);
}

.hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    background: linear-gradient(180deg, rgba(34, 31, 25, .05) 30%, rgba(34, 31, 25, .78));
}

/* ------------------ Artikel-Karten (mit Bild) ------------------ */
.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(60, 45, 15, .07);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(166, 124, 51, .5);
    box-shadow: 0 18px 44px rgba(60, 45, 15, .14);
}

.article-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
}

.article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.article-card:hover .article-media img {
    transform: scale(1.06);
}

.article-cat {
    position: absolute;
    left: .8rem;
    bottom: .8rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .7rem;
    font-size: .72rem;
    font-weight: 600;
    color: var(--gold-dark);
    background: rgba(255, 255, 255, .92);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.rtl .article-cat {
    left: auto;
    right: .8rem;
}

.article-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.35rem 1.4rem;
}

/* Titelbild auf der Artikel-Detailseite */
.article-hero {
    width: 100%;
    aspect-ratio: 16 / 7;
    border-radius: 1.25rem;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(198, 161, 91, .35);
    box-shadow: 0 18px 44px -20px rgba(122, 90, 36, .4);
    background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------ Breadcrumb (modern) ------------------ */.breadcrumb {
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
    padding: .5rem .95rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(60, 45, 15, .05);
    font-size: .82rem;
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: rgba(34, 31, 25, .55);
    text-decoration: none;
    transition: color .2s ease;
}

.breadcrumb a:hover {
    color: var(--gold-dark);
}

.breadcrumb a i {
    color: var(--gold);
}

.breadcrumb-sep {
    color: rgba(166, 124, 51, .5);
    font-size: .68rem;
}

.breadcrumb-current {
    color: var(--gold-dark);
    font-weight: 600;
}

/* ------------------ Kontakt-Karten & Formular-Köpfe ------------------ */
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
    border-radius: 1.25rem;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(60, 45, 15, .07);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

a.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(166, 124, 51, .5);
    box-shadow: 0 16px 40px rgba(60, 45, 15, .12);
}

.contact-card-note {
    margin-top: .55rem;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold);
}

.form-head {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    margin-bottom: 1.1rem;
}

.form-head-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.15rem;
    color: #fff;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    box-shadow: 0 8px 20px rgba(166, 124, 51, .3);
}

/* ------------------ Footer (dunkel, shamdienst-Stil) ------------------ */
.site-footer {
    background: #17130b;
    color: #fff;
    border-top: 3px solid var(--gold);
}

.footer-heading {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .6rem;
}

.footer-list a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s ease, padding-inline-start .2s ease;
}

.footer-list a:hover {
    color: #fff;
    padding-inline-start: .25rem;
}

.footer-contact li {
    color: rgba(255, 255, 255, .6);
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.footer-contact li i {
    color: var(--gold);
}

.footer-social {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.footer-social:hover {
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ------------------ Rückruf-Modal ------------------ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.modal[hidden] {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 18, 8, .55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: modalFade .25s ease;
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 30rem;
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    box-shadow: 0 30px 70px rgba(30, 22, 8, .35);
    padding: 1.75rem;
    animation: modalPop .3s cubic-bezier(.2, .8, .25, 1);
}

.modal-close {
    position: absolute;
    top: .85rem;
    right: .85rem;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--gold-dark);
    background: rgba(166, 124, 51, .10);
    border: 1px solid rgba(166, 124, 51, .22);
    transition: background .2s ease, transform .2s ease, color .2s ease;
}

.modal-close:hover {
    background: var(--gold);
    color: #fff;
    transform: rotate(90deg);
}

.modal-head {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    margin-bottom: 1.25rem;
    padding-right: 2.5rem;
}

.modal-form>div {
    margin-bottom: 1rem;
}

body.modal-open {
    overflow: hidden;
}

@keyframes modalFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}




