/* =========================================================================
   Treffpunkt Hund – clean stylesheet
   Replaces the Elementor framework CSS with a small, hand-written layer.
   The look & feel (colours, fonts, grid, spacing) is reproduced here.

   The values in :root and in the "TUNABLES" blocks are the ones most
   likely to need a small nudge after a visual check in the browser.
   ========================================================================= */

:root {
    /* Colours (taken from the original Elementor kit) */
    --c-text:    #484848;
    --c-heading: #333333;
    --c-accent:       #256B27; /* deep green – clickable links & buttons (AA contrast) */
    --c-accent-brand: #60A261; /* soft brand green – decorative accents only */
    --c-cta:          #C24B39; /* terracotta – header "Kontakt" button */
    --c-yellow:  #FFE7A8; /* page background blocks (.bg-yellow) */
    --c-dark:    #131313; /* footer                             */

    /* Layout */
    --maxw: 1140px;       /* boxed content width  */
    --gutter: 10px;       /* column padding       */

    /* TUNABLES – heading scale & section rhythm (adjust after preview) */
    --h1: 44px;
    --h2: 36px;
    --h4: 22px;
    --h5: 18px;
    --h6: 16px;
    --section-pad: 40px;  /* top/bottom padding of a section */
}

/* ---------- reset ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--c-text);
}

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

a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- typography -------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: "Comfortaa", "Helvetica Neue", Arial, sans-serif;
    color: var(--c-heading);
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 .5em;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }
h6 { font-size: var(--h6); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Explicit bold — the body weight is 300, so the default `bolder` on
   <strong>/<b> would only resolve to 400. Force a real bold. */
strong, b { font-weight: 700; }

/* WYSIWYG content is wrapped in <p> by the editor – keep headings clean
   when such content is rendered inside a heading tag. */
h1 > p, h2 > p, h3 > p, h4 > p, h5 > p, h6 > p { margin: 0; }

/* prominent page headline with an accent underline so it feels anchored */
.page-title {
    /* Rendered as <h1> for SEO; keep the original <h2> visual size. */
    font-size: var(--h2);
    margin-bottom: .55em;
    padding-bottom: .1em;
}
.page-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-top: .4em;
    background-color: var(--c-accent-brand);
    border-radius: 999px;
}

/* Contact heading: <h1> on the dedicated /kontakt page, <h2> elsewhere –
   keep the same visual size in both cases. */
.contact__title { font-size: var(--h2); }

/* ---------- layout primitives ------------------------------------------ */
.section { width: 100%; }
.section > .container { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }

.section--yellow { background-color: var(--c-yellow); }
.section--dark   { background-color: var(--c-dark); color: #fff; }

/* golden "why choose us" block with big padding */
.section--gold {
    background-color: #FFDD83;
}
.section--gold > .container { padding-top: 120px; padding-bottom: 120px; }
@media (max-width: 767px) {
    .section--gold > .container { padding-top: 60px; padding-bottom: 60px; }
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.container--full { max-width: 100%; }

/* flex grid (mirrors elementor columns) */
.row { display: flex; flex-wrap: wrap; align-items: stretch; }
.row--middle { align-items: center; }
.col { padding: var(--gutter); min-width: 0; }

.col-100 { width: 100%; }
.col-60  { width: 60%; }
.col-50  { width: 50%; }
.col-40  { width: 40%; }
.col-33  { width: 33.3333%; }
.col-30  { width: 30%; }
.col-20  { width: 20%; }

/* helpers */
.mt-1 { margin-top: 1em; }
.mt-3 { margin-top: 3em; }
.mt-6 { margin-top: 6em; }

/* consistent vertical rhythm for free-text blocks (translations / rich content) */
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p { margin: 0 0 1em; }
.rich-text ul,
.rich-text ol { margin: 0 0 1em; padding-left: 1.4em; }
.rich-text li { margin: .25em 0; }

/* welcome photo */
.welcome-img {
    display: block;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

/* ---------- buttons ----------------------------------------------------- */
.btn,
button.btn {
    display: inline-block;
    background-color: var(--c-accent);
    color: #fff;
    font-family: "Comfortaa", sans-serif;
    font-size: 15px;
    line-height: 1;
    padding: 13px 24px;
    min-height: 40px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:hover {
    text-decoration: none;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.btn:active { transform: translateY(0); box-shadow: none; }

/* terracotta call-to-action (header "Kontakt") – hovers to green */
.btn--cta { background-color: var(--c-cta); }
.btn--cta:hover { background-color: var(--c-accent); opacity: 1; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header { background-color: var(--c-yellow); }
.site-header__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 12px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-logo img { display: block; height: auto; max-height: 80px; width: auto; }

.site-header__right { display: flex; align-items: center; gap: 12px; }

.main-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    display: block;
    padding: 8px 14px;
    color: var(--c-text);
    font-family: "Comfortaa", sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--c-accent); text-decoration: none; }

/* burger – hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    line-height: 1;
    color: var(--c-heading);
    cursor: pointer;
    padding: 6px 8px;
}

/* mobile slide-out menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: var(--c-yellow);
    box-shadow: -4px 0 16px rgba(0,0,0,.2);
    z-index: 1000;
    padding: 60px 20px 20px;
    overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a {
    display: block;
    padding: 12px 8px;
    color: var(--c-text);
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.mobile-menu a.active { color: var(--c-accent); }
.mobile-menu__close {
    position: absolute;
    top: 14px; right: 16px;
    background: none; border: 0;
    font-size: 28px; line-height: 1; cursor: pointer;
    color: var(--c-heading);
}
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 999;
}
.mobile-menu-backdrop.is-open { display: block; }

/* =========================================================================
   BANNER (home hero)
   ========================================================================= */
.banner {
    position: relative;
    background-image: url("/img/home_banner_1400x933.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    min-height: 760px;
    display: flex;
    align-items: center;
}
/* decorative zig-zag shapes pinned to the bottom edge */
.banner__shape { position: absolute; bottom: 0; pointer-events: none; z-index: 1; }
.banner__shape--left  { left: 0; }
.banner__shape--right { right: 0; }
.banner__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 40px var(--gutter);
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}
.banner__box {
    background-color: rgba(255, 231, 168, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 36px 44px;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    max-width: 600px;
    text-align: center;
}
.banner__box h1 { margin: 0; }
.banner__subtitle { font-size: 24px; margin-top: .5em; }

@media (max-width: 767px) {
    .banner { min-height: 350px; background-position: 39% 0%; }
    .banner__inner { justify-content: center; }
}

/* =========================================================================
   POST CARDS (the 6 home boxes)
   ========================================================================= */
.boxes__subtitle { max-width: 640px; margin: 0 auto 1.8em; }

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 1.5em;
}
.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(0,0,0,.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,.16);
    text-decoration: none;
}
.card__thumb { display: block; overflow: hidden; }
.card__thumb img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease;
}
.card:hover .card__thumb img { transform: scale(1.05); }
.card__text { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card__title { margin: 0 0 .4em; font-size: var(--h5); color: var(--c-heading); }
.card__excerpt { margin: 0 0 1.1em; }
.card__more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--c-accent);
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .04em;
}
.card__arrow { transition: transform .25s ease; }
.card:hover .card__arrow { transform: translateX(5px); }

/* =========================================================================
   SERVICE CARD + IMAGE BOX + ICON LIST (services / dates)
   ========================================================================= */
/* white rounded card holding one service */
.service {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(154, 154, 154, 0.14);
    padding: 0 30px 40px;
    overflow: hidden;
}

/* olive-green title band that bleeds to the card edges */
.service .image-box {
    position: relative;
    margin: 0 -30px 24px;
    padding: 26px 24px;
    background-color: #97A637;
    border-radius: 16px 16px 0 0;
    text-align: center;
}
.service .image-box__title { margin: 0 0 .3em; }
.service .image-box__desc {
    max-width: 640px;
    margin: 0 auto;
    font-size: 16.5px;
    line-height: 1.45;
}
.service .image-box__desc p { margin: 0; }
/* Force the band's own colours so inline colours pasted into the editor
   (copy & paste) can never override the design. */
.service .image-box__title, .service .image-box__title *,
.service .image-box__desc,  .service .image-box__desc * {
    color: #ffffff !important;
}
.service .image-box__desc p { margin: 0 0 .4em; }
.service .image-box__desc p:last-child { margin-bottom: 0; }

/* standalone image box (e.g. dates timetable heading) */
.image-box { margin-bottom: .5em; }
/* Rendered as <h2> for SEO; keep the original <h4> visual size. */
.image-box__title { font-size: var(--h4); margin: 0 0 .3em; }
.image-box__desc { margin: 0; }

.icon-list { list-style: none; margin: 0; padding: 0; }
.icon-list > li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.icon-list .icon { color: var(--c-accent-brand); min-width: 1em; text-align: center; flex: 0 0 auto; }
.icon-list .text { flex: 1; line-height: 1.55; }

/* tidy rich-text content inside a list item (bold lines, sub-lists, etc.) */
.icon-list .text > :first-child { margin-top: 0; }
.icon-list .text > :last-child { margin-bottom: 0; }
.icon-list .text p { margin: .4em 0; }
.icon-list .text ul {
    list-style: circle;
    margin: .4em 0;
    padding-left: 1.4em;
}
.icon-list .text ul li { margin: .15em 0; }

/* footnotes – set apart from the body, centred, lighter, like a fine print note */
.service .footnotes {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #ececec;
    text-align: center;
    font-size: 14.5px;
    line-height: 1.6;
    color: #5a5a52;
}
.service .footnotes p { margin: 0 0 .9em; }
.service .footnotes p:last-child { margin-bottom: 0; }
.service .footnotes a { color: var(--c-accent); }

/* =========================================================================
   HERO §11 BADGE
   ========================================================================= */
.banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.4em;
    background-color: #97A637;
    color: #fff;
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    font-size: .95rem;
    padding: 10px 22px;
    border-radius: 999px;
}
.banner__badge svg { opacity: .9; }

/* inline SVG icons (replace the former FontAwesome icon font) */
.icon-svg { display: inline-block; vertical-align: middle; }
.icon-list .icon svg { width: 18px; height: 18px; }

/* lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5); }
.lightbox__close {
    position: absolute;
    top: 14px; right: 22px;
    background: none; border: 0;
    color: #fff; font-size: 42px; line-height: 1; cursor: pointer;
}

/* ---- Mobile-only tweaks ---- */
@media (max-width: 767px) {
    /* hide the intro collage above the welcome text */
    .welcome__media { display: none; }

    /* §11 hero badge fills the width like a button */
    .banner__badge {
        display: flex;
        width: 100%;
        max-width: 340px;
        margin: 1.2em auto 0;
        justify-content: center;
        text-align: center;
    }
}

/* =========================================================================
   BENEFITS (numbered cards on the gold block)
   ========================================================================= */
.benefit { display: flex; align-items: center; gap: 18px; }
.benefit__num {
    color: var(--c-accent-brand);
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    font-size: 54px;
    line-height: 1;
    flex: 0 0 auto;
}
.benefit__body { flex: 1; }
.benefit__title {
    font-size: 19px;
    line-height: 1.4;
    margin: 0 0 .2em;
}
.benefit__body p { margin: 0; }
.benefit__body p:empty { display: none; }

/* =========================================================================
   TIMETABLE (dates page)
   ========================================================================= */
/* full-bleed inside the .service card (cancels its 30px side / 40px bottom
   padding and the 20px gap under the band) so the table fills the card edges */
.dates-table { overflow-x: auto; margin: -20px -30px -40px; -webkit-overflow-scrolling: touch; }
.dates-table table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-width: 760px;
    background: #fff;
    font-size: 14px;
    line-height: 1.4;
}
.dates-table th,
.dates-table td {
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #f1f1f1;
}
.dates-table th {
    background-color: #ece8db;
    color: #4a4a3c;
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    border-bottom: 1px solid #ddd8c8;
}
.dates-table td.time {
    background-color: #faf6e8;
    font-family: "Comfortaa", sans-serif;
    white-space: nowrap;
}
.dates-table td.special {
    background-color: #eef3dd;
    color: var(--c-heading);
}
.timetable-course {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
}
.timetable-course:hover { color: var(--c-accent); text-decoration: underline; }
.timetable-course__info {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--c-accent);
    line-height: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}
.timetable-course:hover .timetable-course__info { color: var(--c-cta); }

/* Button linking a course's content to its timetable entry.
   Desktop: pinned to the top-right corner of the green header.
   Mobile: reflows to a centered pill below the subtitle. */
.service-tt-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #fffaf0;
    color: #5f7a2e;
    font-family: "Comfortaa", sans-serif;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1;
    padding: 7px 13px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.service-tt-btn:hover {
    background-color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.service-tt-btn svg { flex: 0 0 auto; }

@media (max-width: 767px) {
    .service-tt-btn {
        position: static;
        margin-top: 14px;
    }
}

/* Brief (~1s) highlight when arriving via a cross-link */
@keyframes flashHighlight {
    0%   { outline-color: rgba(214, 162, 0, 0); }
    20%  { outline-color: rgba(214, 162, 0, 0.9); }
    100% { outline-color: rgba(214, 162, 0, 0); }
}
.flash-highlight {
    outline: 3px solid rgba(214, 162, 0, 0);
    outline-offset: 3px;
    border-radius: 8px;
    animation: flashHighlight 1.3s ease-out;
}
.dates-table tr:last-child td { border-bottom: none; }
.dates-table th:first-child,
.dates-table td:first-child { border-left: none; }
.dates-table th:last-child,
.dates-table td:last-child { border-right: none; }

/* ---- Specials list ---- */
.special {
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    background-color: #fcfcf8;
    padding: 16px 20px;
    margin-bottom: 14px;
}
.special:last-child { margin-bottom: 0; }
.special__head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: .5em;
}
.special__date {
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    color: var(--c-accent);
    white-space: nowrap;
}
.special__title {
    font-family: "Comfortaa", sans-serif;
    font-weight: 400;
    color: var(--c-heading);
}
/* highlighted or upcoming events get a bolder, slightly larger title */
.special--next .special__title,
.special--highlight .special__title {
    font-weight: 700;
    font-size: 1.12rem;
}
.special__badge {
    background-color: var(--c-cta);
    color: #fff;
    font-family: "Comfortaa", sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.special--next {
    background-color: #eef4d8;
    border-color: #bcd07e;
    box-shadow: 0 3px 12px rgba(124, 145, 47, 0.15);
}
.special__body { line-height: 1.6; }
.special__body p { margin: 0 0 .4em; }
.special__body p:empty { display: none; }
.special__body ul { list-style: disc; margin: .35em 0; padding-left: 1.4em; }
.special__body li { margin: .12em 0; }

/* Highlighted special – distinct gold accent, independent of "next" styling */
.special--highlight {
    border-color: #e7c200;
    border-left: 4px solid #d6a200;
    background-color: #fffaf0;
    box-shadow: 0 3px 12px rgba(214, 162, 0, 0.14);
}
.special__badge--highlight {
    background-color: #f5c518;
    color: #5a4500;
}

/* ---- Home hero: single upcoming highlight ---- */
.banner__highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    max-width: 460px;
    margin: 1.4em auto 0;
    padding-top: 1.2em;
    border-top: 1px solid rgba(124, 138, 47, 0.3);
    text-decoration: none;
}
.banner__highlight-label {
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #5e3f00;
}
.banner__highlight-title {
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    color: var(--c-heading);
    line-height: 1.35;
}
.banner__highlight:hover .banner__highlight-title { text-decoration: underline; }

/* ---- Welcome section §11 badge (moved out of the hero) ---- */
.welcome__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.4em;
    background-color: #fff;
    color: #7c8a2f;
    border: 1.5px solid #c3cf8d;
    font-family: "Comfortaa", sans-serif;
    font-weight: 700;
    font-size: .8rem;
    padding: 6px 15px;
    border-radius: 999px;
}
.welcome__badge svg { opacity: .9; }

/* =========================================================================
   CONTACT FORM
   ========================================================================= */
.contact { text-align: center; }
.contact .contact-form { text-align: left; }
.contact-form .form-row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.contact-form .form-field { padding: 8px; }
.contact-form .form-field--50  { width: 50%; }
.contact-form .form-field--100 { width: 100%; }
.contact-form label { display: block; margin-bottom: 6px; font-family: "Comfortaa", sans-serif; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font: inherit;
    background: #fff;
}
.contact-form textarea { min-height: 180px; resize: vertical; }
.contact-form .btn { border-radius: 10px; }
.contact-form .form-field--checkbox { display: flex; gap: 8px; align-items: flex-start; }
/* keep the privacy-policy link distinguishable without relying on colour */
.contact-form .form-field--checkbox a { text-decoration: underline; }
/* honeypot – hidden from humans, visible to bots */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-error { color: #c0392b; font-size: .85em; margin-top: 4px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background-color: var(--c-dark); color: #fff; }
.site-footer__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 18px var(--gutter);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }
.site-footer__links { text-align: right; flex-shrink: 0; white-space: nowrap; }
.footer-cert { white-space: nowrap; }
.site-footer__credit {
    flex-basis: 100%;
    text-align: center;
    margin-top: 4px;
    font-size: .85em;
    color: rgba(255, 255, 255, .65);
}
.site-footer__credit a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer__heart { color: #e0564f; margin: 0 1px; vertical-align: -2px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
    .main-nav,
    .site-header__contact-btn { display: none; }
    .nav-toggle { display: inline-block; }
}

@media (max-width: 767px) {
    :root { --h1: 30px; --h2: 24px; --section-pad: 28px; }

    .col-60, .col-50, .col-40, .col-33, .col-30, .col-20 { width: 100%; }

    .cards { grid-template-columns: 1fr; gap: 40px; }

    .site-footer__inner { flex-direction: column; text-align: center; }
    .site-footer__links { text-align: center; }
}
