/*
Theme Name: vfreali Digital Business Card & Hub Pro
Theme URI: https://vfreali.de
Author: Flo Reali - ONO Media BB GmbH & Co. KG
Author URI: https://vfreali.de
Description: Maßgeschneidertes WordPress-Theme für vfreali.de (Version 8.0). Links im Header das ONO Media Logo + Menü (Home, Business, Formulare, Über Uns), mittig das drehende Original-Vodafone-Logo. Großer Partner-Kachelkasten (Vodafone, RingCentral, Lookout, Microsoft 365) + zweiter 4er-Kachelkasten darunter (Mobilfunk, Internet, Internet & Festnetz, Standleitung) im Schutzfolien-Design. Doppelte große Einzelbilder von RingCentral/M365/Lookout im Content automatisch ausgeblendet. Apple-Video kompakt mit Pop-up-Großansicht beim Anklicken. Feedback-Ticker ausschließlich mit deinen echten Kommentaren/Feedbacks.
Version: 30.0.0
Text Domain: vfreali
*/

:root {
    --bg-dark: #070a12;
    --bg-card: rgba(17, 24, 39, 0.85);
    --bg-card-solid: #111827;
    --text-white: #ffffff;
    --text-muted: #e2e8f0;
    --cyan: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.35);
    --violet: #7c3aed;
    --violet-glow: rgba(124, 58, 237, 0.35);
    --vodafone-red: #e60000;
    --gradient-main: linear-gradient(135deg, #00f0ff 0%, #7c3aed 100%);
    --border-glass: rgba(255, 255, 255, 0.18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 12% 15%, rgba(0, 240, 255, 0.1) 0%, transparent 38%),
        radial-gradient(circle at 88% 75%, rgba(124, 58, 237, 0.1) 0%, transparent 38%);
    color: var(--text-white);
    line-height: 1.65;
    padding-bottom: 42px;
    overflow-x: hidden;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: all 0.25s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   1. HEADER: Links ONO Media Logo + Menü | Mitte Drehendes Vodafone-Logo | Rechts App-Logos
   ========================================================================== */
.site-header {
    position: relative;
    z-index: 1000;
    background: rgba(7, 10, 18, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.85rem 0;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.25rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex-wrap: wrap;
}

/* ONO Media Logo ganz links */
.ono-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none !important;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.ono-brand-logo:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 16px var(--cyan-glow);
    transform: translateY(-1px);
}

.ono-brand-logo img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

.ono-brand-fallback {
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.8px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ono-brand-fallback span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.35rem;
    flex-wrap: wrap;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.45rem 0.2rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.main-nav > ul > li > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--cyan);
    transition: width 0.25s ease;
    box-shadow: 0 0 8px var(--cyan);
}

.main-nav a:hover {
    color: var(--cyan);
}

.main-nav > ul > li > a:hover::after {
    width: 100%;
}

.dropdown-caret {
    font-size: 0.72rem;
    opacity: 0.8;
    transition: transform 0.25s ease;
}

.has-dropdown:hover .dropdown-caret,
.menu-item-has-children:hover .dropdown-caret {
    transform: rotate(180deg);
    color: var(--cyan);
}

.main-nav ul .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: linear-gradient(160deg, rgba(16, 24, 42, 0.98), rgba(8, 12, 22, 0.99));
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: 14px;
    padding: 0.55rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7), 0 0 22px rgba(0, 240, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1200;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul .sub-menu li {
    width: 100%;
}

.main-nav ul .sub-menu a {
    width: 100%;
    padding: 0.65rem 0.95rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-white);
    transition: all 0.2s ease;
}

.main-nav ul .sub-menu a:hover {
    background: rgba(0, 240, 255, 0.15);
    color: var(--cyan);
    padding-left: 1.2rem;
}

/* MITTE: Drehendes Original Vodafone-Logo */
.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 900px;
}

.vodafone-spinner-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: vfSpin3D 6.5s linear infinite;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 14px rgba(230, 0, 0, 0.6));
    transition: filter 0.3s ease;
}

.vodafone-spinner-wrap:hover {
    animation-duration: 2.2s;
    filter: drop-shadow(0 0 24px rgba(230, 0, 0, 0.95));
}

.vodafone-spinner-wrap img,
.vodafone-spinner-wrap svg {
    width: 62px;
    height: 62px;
    object-fit: contain;
    display: block;
}

@keyframes vfSpin3D {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.app-logo-btn {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.app-logo-btn svg {
    width: 100%;
    height: 100%;
    display: block;
}

.app-logo-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 240, 255, 0.4);
}

@media (max-width: 1020px) {
    .header-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1rem;
    }
    .header-left {
        justify-content: center;
    }
    .main-nav ul {
        justify-content: center;
    }
    .main-nav ul .sub-menu {
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }
    .main-nav li:hover > .sub-menu,
    .main-nav li:focus-within > .sub-menu {
        transform: translateX(-50%) translateY(0);
    }
    .header-right {
        justify-content: center;
    }
}

/* ==========================================================================
   2. STARTSEITEN HERO & KOMPAKTES APPLE-VIDEO MIT POP-UP GROSSANSICHT
   ========================================================================== */
.video-hero {
    position: relative;
    width: 100%;
    min-height: 460px;
    padding: 3rem 1.5rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.video-hero > video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.48) contrast(1.08);
}

.video-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-pill {
    display: inline-block;
    padding: 0.45rem 1.25rem;
    border-radius: 999px;
    background: rgba(230, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.1rem;
    box-shadow: 0 0 18px rgba(230, 0, 0, 0.45);
    text-align: center;
}

.video-overlay h1,
.hero-white-title {
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #ffffff !important;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.85);
    text-align: center;
}

.video-overlay p {
    font-size: 1.12rem;
    color: #ffffff !important;
    opacity: 0.95;
    margin-bottom: 1.6rem;
    text-align: center;
    max-width: 780px;
}

.hero-center-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.1rem auto 1.6rem;
    width: 100%;
}

.hero-center-image-wrap img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 24px var(--cyan-glow);
    display: block;
    margin: 0 auto;
}

.hero-btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-power {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-main);
    color: var(--text-white) !important;
    font-weight: 800;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 0.98rem;
    box-shadow: 0 8px 25px var(--cyan-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-power:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 240, 255, 0.45);
    color: var(--text-white) !important;
}

.video-controls {
    position: absolute;
    bottom: 1.1rem;
    right: 1.1rem;
    z-index: 3;
    display: flex;
    gap: 0.55rem;
    background: rgba(7, 10, 18, 0.82);
    backdrop-filter: blur(12px);
    padding: 0.45rem;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.video-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: var(--text-white);
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}

.video-btn:hover {
    background: var(--cyan);
    color: var(--bg-dark);
    border-color: var(--cyan);
}

/* KOMPAKTES APPLE-VIDEO / CONTENT-VIDEOS MIT POP-UP GROSSANSICHT BEIM KLICKEN */
.entry-content video,
.wp-block-video video {
    max-width: 420px !important;
    width: 100% !important;
    max-height: 250px !important;
    height: auto !important;
    object-fit: cover;
    margin: 1.2rem auto !important;
    display: block !important;
    border-radius: 18px !important;
    padding: 6px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(0, 240, 255, 0.45) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.22) !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.entry-content video:hover,
.wp-block-video video:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: var(--cyan) !important;
    box-shadow: 0 18px 45px rgba(0, 240, 255, 0.4) !important;
}

.vfreali-video-thumb-wrap {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.2rem auto;
    max-width: 420px;
    width: 100%;
    cursor: pointer;
}

.vfreali-video-popup-badge {
    margin-top: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.35);
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vfreali-video-thumb-wrap:hover .vfreali-video-popup-badge {
    background: var(--cyan);
    color: var(--bg-dark);
}

/* POP-UP MODAL FÜR GROSSE VIDEO-ANSICHT */
.vfreali-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 14, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 2rem;
}

.vfreali-video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.vfreali-video-modal-inner {
    position: relative;
    max-width: 1020px;
    width: 100%;
    background: #0b101e;
    border: 2px solid var(--cyan);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 0 50px var(--cyan-glow);
}

.vfreali-video-modal-inner video {
    width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    display: block;
    background: #000;
}

/* ==========================================================================
   2B. KASTEN "DIREKTER KONTAKT"
   ========================================================================== */
.quick-action-section {
    padding: 2.2rem 0 1rem;
    position: relative;
    z-index: 5;
}

.quick-action-box {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.94), rgba(10, 15, 28, 0.96));
    border: 1px solid rgba(0, 240, 255, 0.38);
    border-radius: 22px;
    padding: 2rem 2.2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.22);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.quick-action-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(115deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 45%, transparent 50%);
    pointer-events: none;
}

.quick-action-title {
    color: #ffffff !important;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.35rem;
    letter-spacing: 0.3px;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.quick-action-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 820px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .quick-action-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 680px) {
    .quick-action-grid,
    .quick-action-grid.cols-3 {
        grid-template-columns: 1fr;
    }
}

.qa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: left;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-decoration: none !important;
}

.qa-btn:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.15);
    box-shadow: 0 12px 28px rgba(0, 240, 255, 0.28);
    color: #ffffff !important;
}

.qa-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.qa-icon svg,
.qa-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   3. DIE BEIDEN 4ER-KACHELSYSTEME MIT SCHUTZFOLIE
      1) Partner: Vodafone, RingCentral, Lookout, Microsoft 365
      2) Lösungen: Mobilfunk, Internet, Internet & Festnetz, Standleitung
   ========================================================================== */
.section-padding {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-glass);
}

.section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.section-head h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #ffffff !important;
}

.section-head p {
    color: #ffffff;
    opacity: 0.88;
    font-size: 1.03rem;
}

.partner-master-frame,
.vfreali-4tile-box {
    background: linear-gradient(155deg, rgba(14, 21, 38, 0.9), rgba(8, 12, 22, 0.95));
    border: 1px solid rgba(0, 240, 255, 0.32);
    border-radius: 26px;
    padding: 2.1rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.22);
    position: relative;
    overflow: hidden;
    margin: 1.5rem auto;
    width: 100%;
}

.partner-4box-grid,
.vfreali-4tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.about-hub-3grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    align-items: stretch;
}

@media (max-width: 1080px) {
    .partner-4box-grid,
    .vfreali-4tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-hub-3grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .partner-4box-grid,
    .vfreali-4tile-grid,
    .about-hub-3grid {
        grid-template-columns: 1fr;
    }
    .partner-master-frame,
    .vfreali-4tile-box {
        padding: 1.3rem;
    }
}

.partner-box,
.vfreali-foil-tile {
    background: linear-gradient(160deg, rgba(26, 36, 58, 0.92) 0%, rgba(13, 19, 33, 0.97) 100%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 20px;
    padding: 1.7rem 1.35rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.48), inset 0 1px 2px rgba(255, 255, 255, 0.32);
}

.partner-box::after,
.vfreali-foil-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        130deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.07) 28%,
        rgba(255, 255, 255, 0.0) 48%,
        rgba(0, 240, 255, 0.06) 100%
    );
    border-radius: 20px;
    pointer-events: none;
    z-index: 2;
}

.partner-box::before,
.vfreali-foil-tile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
    z-index: 3;
}

.partner-box > *,
.vfreali-foil-tile > * {
    position: relative;
    z-index: 4;
}

.partner-box:hover,
.vfreali-foil-tile:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--cyan);
    box-shadow: 0 22px 48px rgba(0, 240, 255, 0.3), inset 0 0 20px rgba(0, 240, 255, 0.16);
}

.foil-image-case {
    width: 100%;
    height: 155px;
    border-radius: 16px;
    margin: 0 auto 1.15rem;
    padding: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 10px 24px rgba(0, 0, 0, 0.45),
        inset 0 2px 5px rgba(255, 255, 255, 0.4),
        inset 0 -2px 5px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.foil-image-case::after {
    content: "";
    position: absolute;
    top: -35%;
    left: -35%;
    width: 170%;
    height: 75%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.32), rgba(255,255,255,0.0));
    transform: rotate(-24deg);
    pointer-events: none;
}

.foil-image-case img,
.foil-image-case svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    margin: 0 auto !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.foil-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.14);
    border: 1px solid rgba(0, 240, 255, 0.4);
    color: var(--cyan);
    margin-bottom: 0.7rem;
}

.partner-box h3,
.vfreali-foil-tile h3 {
    font-size: 1.28rem;
    margin-bottom: 0.6rem;
    color: #ffffff !important;
    font-weight: 800;
}

.partner-box p,
.vfreali-foil-tile p {
    color: #e2e8f0;
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
}

.partner-box-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff !important;
    background: rgba(0, 240, 255, 0.16);
    border: 1px solid rgba(0, 240, 255, 0.45);
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    width: 100%;
}

.partner-box-link:hover {
    background: var(--cyan);
    color: var(--bg-dark) !important;
}

.about-subnav-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 2.2rem;
}

.about-subnav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.about-subnav-pill:hover,
.about-subnav-pill.active {
    background: rgba(0, 240, 255, 0.18);
    border-color: var(--cyan);
    box-shadow: 0 0 18px var(--cyan-glow);
    color: var(--cyan) !important;
}

/* ==========================================================================
   4. WORDPRESS BAUSTEINE & GALERIEN (Über Mich, Team, Büros)
   ========================================================================== */
.wp-block-stage {
    padding: 2.5rem 0;
}

.home .entry-content,
.front-page .entry-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.entry-content > * {
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content p,
.entry-content strong,
.entry-content span,
.entry-content li {
    color: #ffffff !important;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.entry-content figure,
.wp-block-image,
.entry-content .wp-block-image {
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    margin: 1.2rem auto !important;
    text-align: center !important;
}

.entry-content img,
.wp-block-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto !important;
    border-radius: 18px;
    padding: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.35);
    cursor: zoom-in;
    transition: all 0.3s ease;
}

/* ZERTIFIKATE- & BILDER-GALERIE: Nebeneinander & exakt eine Größe! */
.vfreali-cert-gallery,
.wp-block-gallery,
.entry-content .wp-block-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin: 2rem auto !important;
    padding: 1.8rem !important;
    background: linear-gradient(155deg, rgba(16, 24, 42, 0.88), rgba(9, 14, 26, 0.94));
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    align-items: stretch !important;
}

.vfreali-cert-card,
.wp-block-gallery .wp-block-image,
.entry-content .wp-block-gallery .wp-block-image {
    margin: 0 !important;
    width: 100% !important;
    height: 290px !important;
    background: linear-gradient(160deg, rgba(26, 36, 58, 0.92), rgba(14, 20, 34, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 18px;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.vfreali-cert-card::after,
.wp-block-gallery .wp-block-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 32%, transparent 52%);
    pointer-events: none;
}

.vfreali-cert-card:hover,
.wp-block-gallery .wp-block-image:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--cyan);
}

.vfreali-cert-card img,
.wp-block-gallery .wp-block-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: 250px !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    padding: 4px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 auto !important;
}

/* ==========================================================================
   5. FORMULAR-SEITE
   ========================================================================== */
.vfreali-form-page-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.form-page-hero-card {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.92), rgba(11, 16, 30, 0.96));
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 22px;
    padding: 2.2rem 2rem;
    text-align: center;
    margin-bottom: 2.2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.22);
}

.form-page-hero-card h1 {
    font-size: clamp(1.9rem, 3.8vw, 2.6rem);
    font-weight: 900;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
}

.form-page-hero-card p {
    color: #e2e8f0;
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
}

.vfreali-form-card,
.entry-content form,
.wpcf7-form,
.wpforms-form {
    background: linear-gradient(160deg, rgba(20, 29, 48, 0.92) 0%, rgba(12, 18, 32, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.22);
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.vfreali-form-card::before,
.entry-content form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
}

.vfreali-form-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
}

.vfreali-form-card p.form-desc {
    color: #cbd5e1 !important;
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 640px) {
    .form-row-2col {
        grid-template-columns: 1fr;
    }
}

.form-group,
.entry-content form p {
    margin-bottom: 1.15rem;
    text-align: left;
}

.form-group label,
.entry-content form label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: #ffffff !important;
}

.form-group input,
.form-group select,
.form-group textarea,
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="url"],
.entry-content input[type="date"],
.entry-content select,
.entry-content textarea {
    width: 100%;
    padding: 0.85rem 1.05rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(7, 10, 18, 0.75);
    color: #ffffff !important;
    font-size: 0.96rem;
    transition: all 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.entry-content input:focus,
.entry-content select:focus,
.entry-content textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 16px var(--cyan-glow);
    background: rgba(12, 19, 34, 0.95);
}

/* ==========================================================================
   6. DURCHLAUFENDER KUNDEN-FEEDBACK SLIDER (NUR DEINE ECHTEN KOMMENTARE!)
   ========================================================================== */
.feedback-section {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.35) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-top: 1px solid var(--border-glass);
    overflow: hidden;
}

.feedback-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0 2.2rem;
    mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

.feedback-marquee-track {
    display: flex;
    gap: 1.6rem;
    width: max-content;
    animation: feedbackScrollTicker 30s linear infinite;
}

.feedback-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes feedbackScrollTicker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.feedback-ticker-card {
    width: 370px;
    flex-shrink: 0;
    background: linear-gradient(155deg, rgba(22, 32, 54, 0.94), rgba(12, 18, 32, 0.98));
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 18px;
    padding: 1.75rem 1.6rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.48), inset 0 1px 2px rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feedback-ticker-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
}

.feedback-stars {
    color: var(--cyan);
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 10px var(--cyan-glow);
}

.feedback-quote {
    font-size: 1.02rem;
    font-style: italic;
    color: #ffffff !important;
    margin-bottom: 1.15rem;
    line-height: 1.55;
}

.feedback-author {
    font-weight: 800;
    color: var(--cyan);
    font-size: 1rem;
}

.feedback-role {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.feedback-empty-hint {
    max-width: 680px;
    margin: 0 auto 2rem;
    padding: 1.8rem;
    border-radius: 18px;
    background: rgba(17, 24, 39, 0.85);
    border: 1px dashed rgba(0, 240, 255, 0.4);
    text-align: center;
    color: #e2e8f0;
}

.feedback-cta-bar {
    text-align: center;
    margin-top: 0.8rem;
}

.notice-success {
    background: rgba(0, 240, 255, 0.14);
    border: 1px solid var(--cyan);
    color: var(--text-white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    max-width: 650px;
    margin: 0 auto 2rem;
    text-align: center;
    font-weight: 600;
}

.vfreali-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.9);
    backdrop-filter: blur(14px);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 1.5rem;
}

.vfreali-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--bg-card-solid);
    border: 1px solid var(--cyan);
    box-shadow: 0 0 40px var(--cyan-glow);
    border-radius: 18px;
    max-width: 540px;
    width: 100%;
    padding: 2.2rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
}

/* ==========================================================================
   7. KOMPLETTER 4-SPALTEN FOOTER
   ========================================================================== */
.site-footer {
    background: #05070d;
    border-top: 1px solid var(--border-glass);
    padding: 4.5rem 0 3rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 960px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--cyan);
}

.footer-col p,
.footer-col li {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.55rem;
}

.footer-col a {
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--cyan);
    padding-left: 4px;
}

.footer-bottom-line {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

.fixed-powered-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 10, 18, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.45rem 1rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.6px;
    z-index: 900;
    color: rgba(255, 255, 255, 0.42);
    transition: color 0.25s ease;
}

.fixed-powered-bar:hover {
    color: rgba(255, 255, 255, 0.85);
}

.vfreali-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.94);
    backdrop-filter: blur(15px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 2rem;
}

.vfreali-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.vfreali-lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 12px;
    border: 2px solid var(--cyan);
    box-shadow: 0 0 40px var(--cyan-glow);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--cyan);
    color: var(--text-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
}


/* ==========================================================================
   8. FLEXIBLES VERSCHIEBEN & SORTIEREN ALLER SEKTIONS-BAUSTEINE
   ========================================================================== */
.vfreali-sortable-flow {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vfreali-section-block {
    width: 100%;
    position: relative;
}

/* Im eingeloggten Admin-Modus: dezente Pfeil-Leiste rechts am Rand jeder Sektion zum direkten Hoch-/Runterschieben! */
.vfreali-admin-move-bar {
    position: absolute;
    top: 12px;
    right: 18px;
    z-index: 950;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(7, 10, 18, 0.92);
    border: 1px solid var(--cyan);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 240, 255, 0.3);
}

.vfreali-admin-move-btn {
    background: rgba(0, 240, 255, 0.16);
    border: 1px solid rgba(0, 240, 255, 0.45);
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.vfreali-admin-move-btn:hover {
    background: var(--cyan);
    color: var(--bg-dark);
}


/* ==========================================================================
   9. MOBILE RESPONSIVE OPTIMIERUNG & LÜCKEN-FIX FÜR DIE STARTSEITE
   ========================================================================== */
.video-hero {
    min-height: 480px !important;
    height: auto !important;
    max-height: 650px !important;
    padding: 3rem 1rem !important;
    margin-bottom: 0 !important;
}

.video-overlay {
    padding: 1rem !important;
    margin: 0 auto !important;
}

/* Verhindert Riesen-Lücken auf Mobilgeräten */
.section-padding {
    padding: 2.5rem 0 !important;
}

.quick-action-section {
    padding: 1.5rem 0 0.5rem !important;
}

@media (max-width: 980px) {
    .header-grid {
        grid-template-columns: 1fr auto !important;
        justify-items: stretch !important;
        gap: 0.8rem !important;
    }
    .header-left {
        justify-content: flex-start !important;
        gap: 0.8rem !important;
    }
    .main-nav ul {
        gap: 0.8rem !important;
        font-size: 0.88rem !important;
    }
    .video-hero {
        min-height: 400px !important;
        padding: 2.2rem 1rem !important;
    }
    .video-overlay h1, .hero-white-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
    .partner-4box-grid,
    .vfreali-4tile-grid,
    .about-hub-3grid,
    .quick-action-grid,
    .quick-action-grid.cols-3 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .partner-master-frame,
    .vfreali-4tile-box,
    .quick-action-box {
        padding: 1.2rem !important;
        border-radius: 16px !important;
    }
    .feedback-marquee-track {
        animation-duration: 25s linear infinite;
    }
    .feedback-ticker-card {
        width: 300px !important;
    }
}

/* ==========================================================================
   10. MOBILE MIRROR & RESPONSIVE PERFECTION (DESKTOP-ÄHNLICHE ANSICHT)
   ========================================================================== */
@media (max-width: 980px) {
    body {
        padding-bottom: 50px;
    }
    .container {
        padding: 0 1rem !important;
    }
    .header-grid {
        grid-template-columns: 1fr auto !important;
        gap: 0.5rem !important;
    }
    .main-nav ul {
        gap: 0.6rem !important;
    }
    .main-nav a {
        font-size: 0.85rem !important;
        padding: 0.3rem 0.15rem !important;
    }
    .header-right {
        display: none !important; /* verbergen oder kompakt auf Mobile */
    }
    .video-hero {
        min-height: 380px !important;
        max-height: 520px !important;
        padding: 2rem 1rem !important;
    }
    .video-overlay h1, .hero-white-title {
        font-size: 1.7rem !important;
    }
    .video-overlay p {
        font-size: 0.95rem !important;
    }
    /* Kachelsysteme behalten auf Mobile auch einen schönen kompakten Grid- oder Flex-Look */
    .partner-4box-grid,
    .vfreali-4tile-grid,
    .about-hub-3grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.9rem !important;
    }
    .quick-action-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.7rem !important;
    }
    .quick-action-grid .qa-btn:last-child {
        grid-column: span 2;
    }
    .partner-box, .vfreali-foil-tile {
        padding: 1.1rem 0.8rem !important;
    }
    .foil-image-case {
        height: 120px !important;
    }
}

@media (max-width: 540px) {
    .partner-4box-grid,
    .vfreali-4tile-grid,
    .about-hub-3grid,
    .quick-action-grid,
    .quick-action-grid.cols-3 {
        grid-template-columns: 1fr !important;
    }
    .quick-action-grid .qa-btn:last-child {
        grid-column: span 1;
    }
}
