/* Platzhalter für externe Inhalte + Hinweis-Banner (Datenschutz) */

.consent-embed {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 260px;
    padding: 30px 20px;
    text-align: center;
    color: #f2f2f2;
    background:
        radial-gradient(500px 260px at 80% 0%, rgba(196, 238, 24, .18), transparent 60%),
        linear-gradient(135deg, #1b1f1d 0%, #0f1211 100%);
}
.consent-embed-maps { height: 680px; }
@media (max-width: 991px) { .consent-embed-maps { height: 400px; } }
@media (max-width: 575px) { .consent-embed-maps { height: 320px; } }

/* Im Video-Raster der Startseite füllt der Platzhalter die Kachel */
.video-container > .consent-embed { position: absolute; inset: 0; min-height: 0; padding: 16px; }

.consent-embed-inner { max-width: 420px; line-height: 1.5; }
.consent-embed-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: 23px;
    background: #c4ee18;
    color: #10180f;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.consent-embed-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(196, 238, 24, .25); }
.consent-embed-text { margin: 14px 0 8px; font-size: 14px; color: rgba(242, 242, 242, .75); }
.consent-embed-text a { color: #fff; text-decoration: underline; }
.consent-embed-remember { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(242, 242, 242, .75); cursor: pointer; }
.consent-embed-remember input { accent-color: #c4ee18; }

/* Hinweis-Banner */
.consent-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    max-width: 880px;
    margin: 0 auto;
    padding: 20px 24px;
    border-radius: 18px;
    background: #121614;
    color: #eef2ef;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    font-size: 15px;
    line-height: 1.55;
}
.consent-banner[hidden] { display: none; }
.consent-banner-text { flex: 1 1 360px; margin: 0; }
.consent-banner-text strong { display: block; margin-bottom: 4px; color: #fff; font-size: 16px; }
.consent-banner-text a { color: #c4ee18; text-decoration: underline; }
.consent-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-banner button {
    height: 44px;
    padding: 0 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: transparent;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.consent-banner button[data-consent-accept] { background: #c4ee18; border-color: #c4ee18; color: #10180f; }
.consent-banner button:hover { opacity: .9; }

/* Sterne-Auswahl im Bewertungsformular (rechts nach links, damit :checked ~ label funktioniert) */
.review-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.review-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.review-stars label { font-size: 38px; line-height: 1; color: #d6d6d6; cursor: pointer; transition: color .15s ease, transform .15s ease; }
.review-stars label:hover, .review-stars label:hover ~ label, .review-stars input:checked ~ label { color: #f5b301; }
.review-stars label:hover { transform: scale(1.12); }
.review-stars input:focus-visible + label { outline: 2px solid #10302a; outline-offset: 2px; border-radius: 4px; }
.testimonial-stars { color: #f5b301; font-size: 22px; letter-spacing: 3px; margin-bottom: 18px; }
.booking-hint { margin-bottom: 30px; padding: 14px 20px; border-radius: 14px; background: #eef9d3; color: #2f4300; font-weight: 500; text-align: center; }
.booking-hint a { font-weight: 700; text-decoration: underline; color: #10302a; }

/* Sprachumschalter (DE/EN) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 30px; border: 1px solid rgba(18, 18, 18, .15); }
.lang-switch a { padding: 5px 10px; border-radius: 30px; font-size: 13px; font-weight: 600; line-height: 1; color: inherit; opacity: .65; transition: all .2s ease; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.active { background: #10302a; color: #fff; opacity: 1; }
.lang-switch-offcanvas { border-color: rgba(18, 18, 18, .15); }
.lang-switch-offcanvas a { padding: 8px 16px; font-size: 14px; }
.tp-header-pb-helpline-numbar a { white-space: nowrap; }
@media (max-width: 1399px) { .lang-switch.ml-30 { margin-left: 16px !important; } }

/* Suche: Button im Kopfbereich und Vorschläge */
.header-search-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(18, 18, 18, .15); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: all .2s ease; }
.header-search-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.header-search-btn:hover { background: #10302a; border-color: #10302a; color: #fff; }
@media (max-width: 575px) { .header-search-btn { width: 38px; height: 38px; margin-left: 10px !important; } }
form[data-live-search] { position: relative; }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .14); text-align: left; }
.search-suggest a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 18px; border-top: 1px solid #f0f1ee; color: #121212; font-size: 16px; }
.search-suggest a:first-child { border-top: 0; }
.search-suggest a:hover, .search-suggest a.is-active { background: #f4f9e6; color: #121212; }
.search-suggest .t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.search-suggest .k { flex-shrink: 0; padding: 3px 10px; border-radius: 20px; background: #eef1ec; color: #4b544e; font-size: 12px; font-weight: 600; }
.search-suggest mark { padding: 0 1px; border-radius: 3px; background: #e3f7a3; color: inherit; }
.search-suggest-all { justify-content: center !important; font-weight: 600; color: #10302a !important; background: #fafbf8; }
.search-suggest-empty { padding: 14px 18px; color: #6b736d; font-size: 15px; }

/* Portfolio: Kachel „Dein Projekt könnte hier stehen“ (bei weniger als 4 Projekten) */
.portfolio-cta-tile { display: flex; flex-direction: column; justify-content: center; gap: 14px; height: calc(100% - 50px); min-height: 280px; padding: 40px; border: 2px dashed #cfd5cb; border-radius: 24px; background: #fff; color: #121212; transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.portfolio-cta-tile:hover { border-color: #10302a; background: #f4f9e6; color: #121212; transform: translateY(-4px); }
.portfolio-cta-plus { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #c4ee18; color: #10180f; font-size: 30px; font-weight: 300; line-height: 1; }
.portfolio-cta-title { font-family: var(--tp-ff-heading); font-size: 30px; font-weight: 600; line-height: 1.15; }
.portfolio-cta-text { color: #5b635d; font-size: 17px; line-height: 1.5; }
.portfolio-cta-link { font-weight: 700; color: #10302a; }

/* Kopfbereich: Menü bekommt den freien Platz (6+ Menüpunkte passen in eine Zeile) */
@media (min-width: 1200px) {
    #header-sticky .tp-header-pb-bottom > .container-fluid > .row > .col-xl-6 { flex: 1 1 0; width: auto; min-width: 0; }
    #header-sticky .tp-header-pb-bottom > .container-fluid > .row > .col-xl-4 { flex: 0 0 auto; width: auto; }
    #header-sticky .tp-main-menu nav > ul { display: flex; flex-wrap: nowrap; white-space: nowrap; }
}
/* Schmalere Desktop-Breiten: Telefonnummer nur als Symbol (Klick ruft an) */
@media (min-width: 1200px) and (max-width: 1499px) {
    #header-sticky .tp-header-pb-helpline-numbar { display: none; }
    #header-sticky .tp-header-pb-helpline { margin-left: 16px !important; padding-left: 0 !important; }
    #header-sticky .tp-header-pb-helpline-icon { margin-right: 0 !important; }
}

/* Handy: eigenes Logo, Suche + Sprache wandern ins Seitenmenü */
@media (max-width: 767.98px) {
  .header-desktop-only { display: none !important; }
  .tp-header-pb-logo img { width: 46px !important; height: auto; }
  .tp-header-pb-logobg { width: 112px; }
  .tp-offcanvas-top { margin-bottom: 36px; }
}
.offcanvas-tools { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 30px; }
.offcanvas-search { position: relative; display: flex; align-items: center; width: 100%; }
.offcanvas-search input { width: 100%; height: 50px; padding: 0 52px 0 18px; border: 1px solid rgba(18, 18, 18, .15); border-radius: 30px; background: #fff; color: #121212; font-size: 16px; }
.offcanvas-search input:focus { border-color: #10302a; outline: none; }
.offcanvas-search button { position: absolute; right: 5px; top: 5px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #10302a; color: #fff; }
.offcanvas-search button svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.offcanvas-search .search-suggest { top: calc(100% + 6px); }
.offcanvas-search .search-suggest a { padding: 11px 14px; font-size: 15px; }

/* Hero: auf kleinen Bildschirmen nur so hoch wie der Inhalt (statt voller Bildschirmhöhe) */
@media (max-width: 991.98px) {
  .tp-hero-vp-spacing { height: auto; padding-bottom: 40px; }
  .tp-video-vp-img-inner-2 { margin-top: 0; }
}
@media (max-width: 767.98px) {
  .tp-hero-vp-spacing { padding-top: 140px; }
}

/* Neueste Projekte: Vorschaubild hinter dem Video-Platzhalter und reine Bild-Kacheln */
.consent-embed[style*="--consent-poster"] { background: linear-gradient(rgba(10, 12, 11, .45), rgba(10, 12, 11, .45)), var(--consent-poster) center / cover no-repeat; }
.tp-portfolio-vp-post-thumbnail img.project-media-image { top: -24px; height: calc(100% + 48px); transform: none; }
/* Videos füllen die Kachel immer vollständig (16:9, mittig zugeschnitten) – auch wenn sie erst nach Zustimmung geladen werden */
.tp-portfolio-vp-post-thumbnail .video-container { container-type: size; }
.tp-portfolio-vp-post-thumbnail .video-container iframe { top: 50% !important; left: 50% !important; width: max(100cqw, 177.78cqh) !important; height: max(100cqh, 56.25cqw) !important; min-width: 0; min-height: 0; margin: 0 !important; transform: translate(-50%, -50%) !important; }

/* Neueste Projekte: Titel-Etikett bricht bei langen Texten um und bleibt in der Kachel */
.tp-portfolio-vp-content { right: 32px; }
@media (max-width: 574.98px) { .tp-portfolio-vp-content { right: 22px; } }
.tp-portfolio-vp-label { display: inline-flex; flex-direction: column; align-items: flex-start; max-width: 100%; }
.tp-portfolio-vp-label > span { max-width: 100%; overflow-wrap: anywhere; }
.tp-portfolio-vp-label > span + span { margin-top: -1px; }
.tp-portfolio-vp-label > span:only-child { border-radius: 16px; padding: 10px 32px 14px; }
.tp-portfolio-vp-label > span:only-child::before { display: none; }
.tp-portfolio-vp-label.is-even > span { align-self: stretch; }
.tp-portfolio-vp-label.is-even .tp-portfolio-vp-text-top { border-radius: 16px 16px 0 0; }
.tp-portfolio-vp-label.is-even .tp-portfolio-vp-text-top::before { display: none; }
.tp-portfolio-vp-label.is-even .tp-portfolio-vp-text-middle { border-radius: 0 0 16px 16px; }
@media (max-width: 574.98px) {
  .tp-portfolio-vp-text-top { padding-left: 20px; padding-right: 26px; }
  .tp-portfolio-vp-text-middle { padding: 0 26px 12px 20px; }
  .tp-portfolio-vp-label > span:only-child { padding: 8px 20px 12px; }
}
