/*
 * Fixes for the old site (2026-10-16), loaded after style-liberty.css on every page. Started as phone fixes
 * (hence the name); the first block applies to all widths.
 *
 * Phones: On phones the page was wider than the screen (Black Deals image fixed at 450px,
 * WhatsApp button 100px from the right edge), so header, logo and banner shifted; the banner text was taller than
 * its fixed-height background and ran into the next section.
 */

/* --- all widths (added later the same day: font, buttons, menu over the banner, anchors, product cards) --- */

/* Nunito from this server. style-liberty.css points its @font-face at '../assets/fonts/…', which from assets/css/
   is /assets/assets/fonts/ (404), so no page had the font; angebote.html only showed it because it loaded Google
   Fonts (removed: remote Google Fonts without consent is a GDPR problem in Germany). Later @font-face rules win. */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/nunito-v25-latin-300.woff2') format('woff2'), url('../fonts/nunito-v25-latin-300.woff') format('woff');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/nunito-v25-latin-regular.woff2') format('woff2'), url('../fonts/nunito-v25-latin-regular.woff') format('woff');
}

@font-face {
    font-family: 'Nunito';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/nunito-v25-latin-italic.woff2') format('woff2'), url('../fonts/nunito-v25-latin-italic.woff') format('woff');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/nunito-v25-latin-600.woff2') format('woff2'), url('../fonts/nunito-v25-latin-600.woff') format('woff');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/nunito-v25-latin-700.woff2') format('woff2'), url('../fonts/nunito-v25-latin-700.woff') format('woff');
}

@font-face {
    font-family: 'Nunito';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/nunito-v25-latin-700italic.woff2') format('woff2'), url('../fonts/nunito-v25-latin-700italic.woff') format('woff');
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/nunito-v25-latin-800.woff2') format('woff2'), url('../fonts/nunito-v25-latin-800.woff') format('woff');
}

/* the template's buttons turned teal on hover and orange when pressed: brand gold instead */
.btn-secondary:hover,
.btn-secondary:focus,
.btn-check:focus + .btn-secondary,
.btn-check:active + .btn-secondary,
.btn-check:checked + .btn-secondary,
.btn-secondary.active,
.btn-secondary:active,
.show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #9a8660;
    border-color: #9a8660;
}

.btn-secondary:focus,
.btn-check:focus + .btn-secondary,
.btn-secondary:active:focus,
.btn-secondary.active:focus {
    box-shadow: 0 0 0 .25rem rgb(180 160 122 / 35%);
}

/* in-page links (#angebote, #kontakt, …) stop below the fixed header, not under it */
section[id],
.funk-produkt[id] {
    scroll-margin-top: 100px;
}

/* home page product cards: the offer page's square photos, cropped to the cards' 475:350 format */
.grids3-info img {
    width: 100%;
    aspect-ratio: 475 / 350;
    object-fit: cover;
}

/* desktop menu on one line: between 992 and 1199px the container is 960px and the eight items (with "BLACK DEALS")
   did not fit, so "BLACK DEALS" broke onto two lines — never wrap, and tighter spacing in that range */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        white-space: nowrap;
    }
}

/* gold price tag before "BLACK DEALS" in the menu (owner's choice, Font Awesome fa-tag) */
.funk-deals-icon {
    color: var(--heading-color);   /* black on a white header; white over the banner (below); gold on hover */
    margin-right: 6px;
    font-size: .9em;
}

#site-header .navbar-nav a.nav-link:hover .funk-deals-icon {
    color: var(--secondary-color);
}

@media (min-width: 992px) {
    #site-header.funk-over-banner:not(.nav-fixed) .funk-deals-icon {
        color: #fff;
    }

    #site-header.funk-over-banner:not(.nav-fixed) .navbar-nav a.nav-link:hover .funk-deals-icon {
        color: var(--secondary-color);
    }
}

/* "BLACK DEALS" text dark on a white header (scrolled, pages without banner, phone menu panel) — the theme made it
   gold as the active item on angebote.html; light over the photo banner on desktop (rule below), gold on hover */
#site-header .navbar-nav a.nav-link[href="angebote.html"] {
    color: var(--heading-color);
}

#site-header .navbar-nav a.nav-link[href="angebote.html"]:hover {
    color: var(--secondary-color);
}

@media (min-width: 992px) {
    #site-header.funk-over-banner:not(.nav-fixed) .navbar-nav a.nav-link[href="angebote.html"] {
        color: rgba(255, 255, 255, .92);
    }

    #site-header.funk-over-banner:not(.nav-fixed) .navbar-nav a.nav-link[href="angebote.html"]:hover {
        color: var(--secondary-color);
    }
}

/* spacing between sections: the template pads both the section (py-5) and the container inside it (py-lg-5,
   py-md-5 …), about 96px at each end — keep only the section's */
@media (min-width: 768px) {
    section > .container[class*="py-"],
    section > .new-block[class*="py-"],
    section > .blog > .container[class*="py-"] {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* pages without the photo banner: the first section starts under the fixed header (90px desktop, 82px phones) */
@media (min-width: 992px) {
    #site-header + section.mr-about-6 {
        padding-top: 140px !important;
    }
}

/* Impressum, Datenschutz: texts from the new site, readable column */
.funk-legal-body {
    max-width: 820px;
}

.funk-legal-body h1.title-mr {
    margin-bottom: 28px;
}

.funk-legal-body h2 {
    font-size: 20px;
    font-weight: 800;
    color: #131517;
    margin: 32px 0 10px;
}

.funk-legal-body p,
.funk-legal-body li {
    font-size: 16px;
    line-height: 1.7;
    color: #5f666d;
}

.funk-legal-body p {
    margin: 0 0 12px;
}

.funk-legal-body ul {
    margin: 0 0 12px;
    padding-left: 20px;
    list-style: disc;
}

.funk-legal-body a {
    color: #7a6744;
    text-decoration: underline;
}

/* footer like the new site's (themes/funk/css/theme.css › footer, .footer-grid, .footer-bottom) */
.funk-footer {
    background: #131517;
    color: #c4c7c9;
    padding: 56px 0 24px;
    font-size: 13.5px;
    line-height: 1.6;
}

.funk-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr .9fr 1.3fr;
    gap: 28px 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.funk-footer-grid > div {
    min-width: 0;
}

.funk-footer-logo img {
    display: block;
    height: 36px;
    width: auto;
    margin-bottom: 16px;
}

/* "Top-Handwerker" badge under the logo, as on the new site */
.funk-footer-badge {
    display: block;
    height: 128px;
    width: auto;
    margin-top: 16px;
    border-radius: 4px;
}

.funk-footer-grid p {
    margin: 0;
    color: #9a9ea1;
    font-size: 13.5px;   /* the theme sets p to 17px */
    line-height: 1.6;
}

.funk-footer-grid h3,
.funk-footer-subtitle {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 12px;
}

.funk-footer-subtitle {
    display: inline-block;
    margin: 14px 0 2px;
    font-weight: 400;
}

.funk-footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.funk-footer a {
    color: #c4c7c9;
}

.funk-footer a:hover {
    color: #fff;
}

.funk-footer-grid .fa-tag {
    color: inherit;   /* light like the link text (white on hover), not gold */
    font-size: .85em;
}

.funk-footer-hours {
    margin-top: 6px !important;
    font-size: 13px;
}

.funk-footer-hours strong {
    color: #fff;
}

.funk-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.funk-footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgb(255 255 255 / 18%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e4e5;
}

.funk-footer-social a:hover {
    border-color: #fff;
    color: #fff;
}

.funk-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 22px;
    color: #7d8083;
    font-size: 12.5px;
}

.funk-footer-bottom a {
    color: #7d8083;
}

.funk-footer-bottom a:hover {
    color: #fff;
}

@media (max-width: 991.98px) {
    .funk-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
}

@media (max-width: 575.98px) {
    .funk-footer-grid {
        grid-template-columns: 1fr;
    }

    /* tap targets of at least 24px on phones (the links were 21px high) */
    .funk-footer-bottom a,
    .funk-footer-grid ul a,
    .funk-footer-grid p a {
        display: inline-block;
        padding: 4px 0;
    }

    .funk-footer-grid ul {
        gap: 4px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-nav .nav-item {
        padding: 0 6px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 15px;
    }
}

/* menu over the photo banner (header.funk-over-banner, before it turns white on scroll): light text; desktop
   only — the phone menu opens on a white panel */
@media (min-width: 992px) {
    header.funk-over-banner:not(.nav-fixed) .navbar-nav .nav-link {
        color: rgba(255, 255, 255, .92);
        opacity: 1;
    }

    header.funk-over-banner:not(.nav-fixed) .navbar-nav .nav-link:hover,
    header.funk-over-banner:not(.nav-fixed) .navbar-nav .nav-link.active {
        color: var(--secondary-color);
    }
}

/* backgrounds like the new site's (themes/funk/css/theme.css): beige page (--bg), sections alternating with
   white bands that have a thin line above and below, white cards */
body {
    background: #f2f1ee;
}

/* home page order since the owner put the products first (2026-10-16): Produkte white, David Funk & Team beige,
   Warum Funk white, So arbeiten wir beige, Referenzen white, Kontakt beige */
.funk-band-white,
.banner-19 ~ #produkte,
.funk-why,
.mr-blog,
#angebote {
    background: #fff !important;
    border-top: 1px solid #e5e1d8;
    border-bottom: 1px solid #e5e1d8;
}

.mr-blog .blog,
.banner-19 ~ #funk {
    background: transparent;
}

/* product cards on the home page: white panels like the new site's */
#produkte .grids3-info {
    background: #fff;
    border: 1px solid #e5e1d8;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

#produkte .grids3-info .radius-image {
    border-radius: 0;
}

#produkte .grids-of-3-saas-info {
    padding: 20px 24px 24px;
}

/* the title was a floating label pulled 32px up over the photo and covered the first line of text: a plain
   heading inside the white card now */
#produkte .grids-of-3-saas-info h5 {
    margin: 0 0 10px;
}

#produkte .grids-of-3-saas-info h5 a {
    position: static;
    display: block;
    padding: 0;
    background: none;
    box-shadow: none;
    font-size: 20px;
    font-weight: 800;
    width: auto;
}

/* "Warum Funk Überdachungen?" (white band) and "So arbeiten wir" (beige) — the new site's blocks
   (themes/funk/css/theme.css › .why, .value-card, .process, .step-num), replacing the old Leistungen text */
.funk-why,
.funk-process {
    padding: 48px 0;
}

.funk-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #735f33;
    background: #eae4d6;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.funk-why-grid,
.funk-process-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.funk-why h2,
.funk-process h2 {
    font-size: 32px;
    font-weight: 800;
    color: #131517;
    margin: 0 0 18px;
}

.funk-why-copy p,
.funk-process-copy p {
    color: #5f666d;
    font-size: 15.5px;
    line-height: 1.7;
    margin: 0 0 28px;
}

.funk-why-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.funk-value-card {
    border: 1px solid #e5e1d8;
    border-radius: 12px;
    padding: 22px;
    background: #fff;
}

.funk-value-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eae4d6;
    color: #b4a07a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.funk-value-card h3 {
    font-size: 15.5px;
    font-weight: 800;
    color: #131517;
    margin: 0 0 6px;
}

.funk-value-card p {
    font-size: 13px;
    color: #5f666d;
    line-height: 1.5;
    margin: 0;
}

.funk-process-copy .funk-process-promise {
    margin: 16px 0 0;
    font-size: 19px;
    font-weight: 800;
    color: #131517;
}

.funk-process-steps {
    display: flex;
    flex-direction: column;
}

.funk-process-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #e5e1d8;
}

.funk-process-step:first-child {
    padding-top: 0;
}

.funk-process-step:last-child {
    border-bottom: none;
}

.funk-step-num {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eae4d6;
    color: #b4a07a;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.funk-process-step h3 {
    font-size: 20px;
    font-weight: 800;
    color: #131517;
    margin: 2px 0 8px;
}

.funk-process-step p {
    font-size: 14px;
    color: #5f666d;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 980px) {
    .funk-why-grid,
    .funk-process-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .funk-why-values {
        grid-template-columns: 1fr;
    }

    .funk-why h2,
    .funk-process h2 {
        font-size: 26px;
    }
}

/* spacing: the Referenzen heading row's extra bottom margin (mb-5) */
.mr-blog .row.mb-5 {
    margin-bottom: 8px !important;
}

.funk-showroom-note h4 {
    font-size: 20px;
    font-weight: 800;
    margin: 8px 0 8px;
}

.funk-showroom-note p {
    margin: 0;
}

#angebote .funk-produkt:last-of-type {
    margin-bottom: 32px;
}

#produkte .grids-of-3 > [class*="col-"] {
    display: flex;
}

/* WhatsApp: only the icon takes space and clicks (the hidden bubble used to cover "Cookie-Einstellungen" in the
   footer); the text bubble appears to the left while the icon is hovered (phones show the icon alone) */
.wa-but h4 {
    position: relative;
    margin: 0;
    line-height: 0;
}

.wa-but img {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 !important;
}

.wa-but .wa-bl {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    float: none;
    white-space: nowrap;
    line-height: 1.35;
    background: rgb(19 21 23 / 85%);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.wa-but:hover .wa-bl,
.wa-but:focus-within .wa-bl {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

/* WhatsApp and "back to top" hidden while over the photo banner (funk-fab.js, home and offer page) */
.wa-but,
#movetop {
    transition: opacity .3s ease, visibility .3s ease;
}

.wa-but.funk-fab-hidden,
#movetop.funk-fab-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* cookie banner (Klaro, in main.js): brand colours instead of its green — accept gold, decline charcoal (as easy
   to see as accept), links dark gold (readable on the light background), switches in the settings gold */
body .klaro {
    --green1: #b4a07a;
    --green2: #9a8660;
    --green3: #9a8660;
    --blue1: #7a6744;
    --blue2: #7a6744;
}

body .klaro .cm-btn {
    border-radius: 6px;
    font-weight: 700;
}

body .klaro .cm-btn.cm-btn-success,
body .klaro .cm-btn.cm-btn-accept-all,
body .klaro .cm-btn.cm-btn-accept {
    background-color: #b4a07a;
    color: #fff;
}

body .klaro .cm-btn.cm-btn-success:hover,
body .klaro .cm-btn.cm-btn-accept-all:hover,
body .klaro .cm-btn.cm-btn-accept:hover {
    background-color: #9a8660;
}

body .klaro .cm-btn.cm-btn-danger,
body .klaro .cm-btn.cn-decline,
body .klaro .cm-btn.cm-btn-decline {
    background-color: #131517;
    color: #fff;
}

body .klaro .cm-btn.cm-btn-danger:hover,
body .klaro .cm-btn.cn-decline:hover,
body .klaro .cm-btn.cm-btn-decline:hover {
    background-color: #24282b;
}

body .klaro a,
body .klaro .cm-link,
body .klaro .cookie-notice a.cm-link,
body .klaro .cookie-modal a {
    color: #7a6744 !important;   /* Klaro's own link rule is more specific */
}

body .klaro .cm-list-input:checked + .cm-list-label .slider {
    background-color: #b4a07a;
}

/* Klaro draws a dark double shadow around each switch that looks like a border: flat switches instead */
body .klaro .cm-list-label .slider {
    box-shadow: none;
}

/* Lightbox 2 (still bundled in main.js) adds #lightbox / #lightboxOverlay to every page; its lightbox.min.css is no
   longer linked (its icons were 404s and it blocked rendering), so keep its unused markup out of sight */
#lightbox,
#lightboxOverlay {
    display: none !important;
}

/* gallery lightbox (funk-lightbox.js) like the new site's (theme.css › .lightbox): dark backdrop, the two image
   slots crossfade; replaces Lightbox2's white box */
.funk-lb {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(19 21 23 / 92%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.funk-lb.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.funk-lb-wrap {
    position: relative;
    width: 88vw;
    height: 85vh;
}

.funk-lb-img {
    position: absolute;
    inset: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 24px 64px rgb(0 0 0 / 40%);
    opacity: 0;
    transition: opacity 700ms ease;
}

.funk-lb-img.active {
    opacity: 1;
}

.funk-lb-count {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    color: rgb(255 255 255 / 75%);
    font-size: 14px;
}

.funk-lb-close,
.funk-lb-prev,
.funk-lb-next {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 4px;
    border: none;
    border-radius: 50%;
    background: rgb(255 255 255 / 12%);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    transition: background 150ms ease;
}

/* only with a mouse: on phones a tapped button keeps :hover and its light backing hid the white arrow */
@media (hover: hover) {
    .funk-lb-close:hover,
    .funk-lb-prev:hover,
    .funk-lb-next:hover {
        background: rgb(255 255 255 / 24%);
    }
}

.funk-lb-close {
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 28px;
}

.funk-lb-prev,
.funk-lb-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 34px;
}

.funk-lb-prev {
    left: 20px;
}

.funk-lb-next {
    right: 20px;
}

@media (max-width: 640px) {
    .funk-lb-wrap {
        width: 94vw;
    }

    .funk-lb-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    /* arrows at the sides in the middle, over the picture's edges — at the very bottom they slipped under the phone
       browser's toolbar; the dark backing keeps them visible over light photos */
    .funk-lb-prev,
    .funk-lb-next {
        width: 40px;
        height: 40px;
        font-size: 30px;
        background: rgb(0 0 0 / 45%);
    }

    .funk-lb-prev {
        left: 8px;
    }

    .funk-lb-next {
        right: 8px;
    }

    .funk-lb-count {
        bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

/* gallery "Referenzen" on the home page: 4 per row on desktop, 2 on phones (col-6 col-lg-3 in the HTML), rounded
   thumbnails of one format */
.imgGal {
    margin-top: 24px;
}

.imgGal a {
    float: none;
    width: 100%;
    margin-bottom: 0;
}

.imgGal img {
    float: none;
    display: block;
    width: 100%;
    height: auto;   /* the thumbnails carry width/height attributes (16:9) against layout shift */
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.imgGal a:hover img {
    transform: scale(1.02);
    box-shadow: 0 8px 22px rgb(0 0 0 / 18%);
}

/* zoom hint on hover (owner's request): magnifier cursor like the new site's galleries, plus a magnifier badge in
   the middle of the picture; !important because the template sets "body a { cursor: pointer !important }" */
.imgGal a {
    position: relative;
    display: block;
    cursor: zoom-in !important;
}

.imgGal a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: rgb(19 21 23 / 55%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 24px no-repeat;
    opacity: 0;
    transform: scale(.8);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}

/* keyboard focus: a thin gold ring instead of the browser's dark one */
.imgGal a:focus {
    outline: none;
}

.imgGal a:focus-visible img {
    outline: 2px solid #b4a07a;
    outline-offset: 2px;
}

.imgGal a:hover::after,
.imgGal a:focus-visible::after {
    opacity: 1;
    transform: scale(1);
}

/* "David Funk & Team": one showroom photo instead of three small ones, top-aligned with the text (row
   align-items-start in the HTML); gold check icons instead of the template's teal */
.funk-about-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (min-width: 992px) {
    #funk .HomeAboutImages {
        margin-top: 8px;
    }
}

.mr-about-6 ul.service-list li a span.fa {
    color: var(--secondary-color);
}

.mr-about-6 ul.service-list li a:hover {
    color: var(--heading-color);
}

/* "David Funk & Team" is the page's h1 now (the keyword line was removed): looks as the p.title-mr did */
#funk h1.title-mr {
    margin-bottom: 0;
}

/* home page product cards are links to the offer page now */
.grids3-info a.zoom,
.grids3-info a.title {
    cursor: pointer;
}

/* Kontakt section of index.html and angebote.html in two cards, like the new site's Kontakt page
   (themes/funk/css/theme.css › .contact-grid): contact details | form */
#kontakt.mr-grids-3hny {
    background: #f2f1ee;
}

.funk-contact-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 24px;
    align-items: start;
    text-align: left;
}

@media (max-width: 991.98px) {
    .funk-contact-grid {
        grid-template-columns: 1fr;
    }
}

.funk-contact-card {
    background: #fff;
    border: 1px solid #e5e1d8;
    border-radius: 12px;
    padding: 32px;
}

@media (max-width: 575.98px) {
    .funk-contact-card {
        padding: 22px 18px;
    }
}

.funk-contact-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #131517;
    margin: 0 0 24px;
}

.funk-contact-card.funk-kontakt h3 {
    margin-bottom: 8px;
}

.funk-contact-intro {
    font-size: 13.5px;
    line-height: 1.5;
    color: #5f666d;
    margin: 0 0 20px;
}

.funk-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.funk-contact-icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eae4d6;
    color: #b4a07a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.funk-contact-item h4 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #5f666d;
    margin: 0 0 4px;
}

.funk-contact-item p,
.funk-contact-item a {
    display: block;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #131517;
}

.funk-contact-item a:hover {
    color: #b4a07a;
}

.funk-contact-hours {
    font-size: 13.5px;
    line-height: 1.6;
    color: #5f666d;
    margin: 6px 0 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e1d8;
}

.funk-contact-hours strong {
    color: #131517;
}

.funk-contact-social {
    display: flex;
    gap: 10px;
}

.funk-contact-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e5e1d8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #131517;
}

.funk-contact-social a:hover {
    border-color: #b4a07a;
    color: #b4a07a;
}

.funk-contact-partner {
    display: inline-block;
    margin-top: 22px;
    font-weight: 700;
    color: #7a6744;
}

.funk-contact-partner:hover {
    color: #131517;
}

/* the form's fields inside the card: beige fields, small bold labels */
.funk-contact-card .form-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #131517;
    margin-bottom: 6px;
}

.funk-contact-card .form-control,
.funk-contact-card .form-select {
    min-height: 44px;
    font-size: 15px;
    background-color: #f2f1ee;
    border: 1px solid #e5e1d8;
    border-radius: 8px;
}

.funk-contact-card .form-control:focus,
.funk-contact-card .form-select:focus {
    background-color: #fff;
    border-color: #b4a07a;
    box-shadow: 0 0 0 .2rem rgb(180 160 122 / 25%);
}

.funk-contact-card .form-check-input:checked {
    background-color: #b4a07a;
    border-color: #b4a07a;
}

.funk-contact-card .form-check-input:focus {
    border-color: #b4a07a;
    box-shadow: 0 0 0 .2rem rgb(180 160 122 / 25%);
}

.funk-contact-card .form-check-label {
    font-size: 13px;
    color: #5f666d;
}

.funk-contact-card .form-check-label a {
    color: #131517;
    text-decoration: underline;
}

@media (min-width: 576px) {
    .funk-contact-card form .col-12:last-child {
        text-align: right;
    }
}

/* contact form (index.html, angebote.html; assets/js/funk-kontakt.js) */
.funk-kontakt { text-align: left; }
.funk-kontakt .form-label { font-weight: 600; margin-bottom: .3rem; }
.funk-kontakt .is-invalid { border-color: #c0392b; }
.funk-kontakt .invalid-feedback { display: block; color: #c0392b; }
.funk-kontakt-status.ok { color: #2e7d32; font-weight: 600; }
.funk-kontakt-status.err { color: #c0392b; font-weight: 600; }
.funk-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* home banner "15% FUNK HERBSTANGEBOT": tighter lines when it wraps (owner's request; inline style says normal) */
.banner-19 .mrbanner-right h3[style*="font-size: 36px"] {
    line-height: 1.15 !important;
}

/* "BLACK DEALS" logo in the home and offer page banners, same size and left edge on both (owner's request):
   black-deals-logo.png is the old black_deals.png without its transparent margins, which had shifted it right and
   down on the home page */
/* angebote.html: the logo is the page's h1 (SEO), the heading itself adds no spacing */
.funk-deals-h1 {
    margin: 0;
    line-height: 0;
}

.funk-deals-logo {
    display: block;
    width: 400px;
    max-width: 100%;
    height: auto;
    margin: 16px 0 24px;
}

@media (max-width: 575.98px) {
    .funk-deals-logo {
        width: 260px;
        margin: 12px 0 18px;
    }
}

@media (max-width: 991.98px) {
    /* banner grows with its text; the photo covers whatever height that is */
    .banner-19 .banner-layer {
        min-height: 0;
        overflow: hidden;
    }

    .banner-19 #myVideo {
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
        object-fit: cover;
    }

    .banner-19 .main-content-top {
        position: relative;
        padding: 110px 0 48px;   /* room for the fixed header */
    }

    .banner-19 .main-content {
        margin-top: 0;
        grid-gap: 24px;
    }

    /* pages without the photo banner (Karriere, Partner, Datenschutz, Impressum): the fixed header (82px on phones)
       covered the first line; desktop has enough padding already */
    #site-header + section.mr-about-6 {
        padding-top: 110px !important;
    }

    .banner-19 .mrbanner-right h3[style*="font-size: 36px"] {
        font-size: 28px !important;
    }
}

@media (max-width: 575.98px) {
    /* WhatsApp: icon only, inside the screen, above the "back to top" button (#movetop, bottom right) */
    .wa-but {
        right: 20px;
        bottom: 80px;
    }

    .wa-but .wa-bl {
        display: none;
    }

    .wa-but img {
        margin-left: 0 !important;
    }

    /* logo a bit smaller so it and the menu button share one line */
    #site-header .logo img {
        height: 48px !important;
        width: auto;   /* the img carries width="279" for the 65px desktop size */
    }
}

/* Tag der offenen Tür 31.10.2026 (owner, 2026-10-19): band on index.html between banner and Produkte (about 400px,
   text left) — first with the event photo, then (owner) cream like "David Funk & Team": gold eyebrow, black heading;
   and the event page tag-der-offenen-tuer.html */
.funk-tdot-band {
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 56px 0;
    background: #f2f1ee;
}

.funk-tdot-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;   /* centred like the Produkte heading below (owner) */
}

.funk-tdot-content .title-mr {
    color: #000;
    margin-bottom: 16px;
}

.funk-tdot-content p {
    margin-bottom: 8px;
}

.funk-tdot-content .funk-tdot-sub {
    color: #000;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 12px;
}

/* event page: banner heading, date, intro, four rows image | text alternating (rows reuse .funk-produkt) */
.funk-tdot-h1 {
    color: #fff;
    font-size: 44px;
    line-height: 1.15;
    padding-bottom: 16px;
}

.funk-tdot-page .funk-tdot-date {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.funk-tdot-page #programm {
    background: #fff !important;   /* white band like #angebote on the offer page */
    border-bottom: 1px solid #e5e1d8;
}

.funk-tdot-lead {
    max-width: 600px;
    margin-top: 12px;
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
}

.funk-tdot-page .funk-produkt {
    margin-bottom: 4rem;
}

.funk-tdot-page .funk-produkt:last-child {
    margin-bottom: 0;
}

.funk-tdot-page .funk-produkt p {
    margin-bottom: .75rem;
}

.funk-tdot-note {
    font-size: 14px;
    opacity: .75;
}

.funk-tdot-facts {
    margin: 1rem 0;
    padding: 16px 20px;
    border-left: 3px solid var(--secondary-color);
    background: #f7f5f0;
    color: var(--heading-color);
}

.funk-tdot-facts strong {
    display: block;
    margin-bottom: 4px;
}

.funk-tdot-facts a {
    color: var(--heading-color);   /* address link: not the browser's blue */
}

.funk-tdot-facts a:hover {
    color: var(--secondary-color);
}

@media (max-width: 991.98px) {
    .funk-tdot-band {
        min-height: 0;
        padding: 48px 0;
    }

    .funk-tdot-h1 {
        font-size: 34px;
    }
}

@media (max-width: 575.98px) {
    /* phones: heading on two lines instead of three, intro at body size */
    .funk-tdot-h1 {
        font-size: 28px;
    }

    .funk-tdot-page .funk-tdot-date {
        font-size: 19px;
    }

    .funk-tdot-lead {
        font-size: 16px;
    }
}
