/* ========================================
   PHANTIWOOD - DARK MODE PROFESSIONAL DESIGN
   ======================================== */

:root {
    --primary-green: #2d9e6f;        /* Grün vom Logo */
    --dark-bg: #000000;              /* Reines Schwarz */
    --card-bg: #1a1a1a;              /* Dunkelgrau */
    --surface-bg: #2a2a2a;           /* Heller Grau */
    --light-text: #e8ecf5;           /* Helles Text */
    --text-muted: #a0a8c0;           /* Gedimmter Text */
    --border-color: #3a3a3a;         /* Dunkler Border */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 15px 40px rgba(45, 158, 111, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-green);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(45, 158, 111, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    min-width: 220px;
    list-style: none;
    padding: 1rem 0;
    border-radius: 8px;
    border: 1px solid var(--primary-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.dropdown-link:hover {
    background: rgba(45, 158, 111, 0.1);
    color: var(--primary-green);
    padding-left: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-green);
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media (max-width: 768px), (max-height: 500px) and (orientation: landscape) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 1rem;
        display: none;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        border-top: 2px solid var(--primary-green);
        overflow-y: auto; /* Scrollen erlauben, wenn Menü zu lang ist */
        padding-bottom: 50px; /* Puffer unten, damit der letzte Punkt nicht abgeschnitten wird */
    }
    
    .nav-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu li {
        padding: 0 2rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        display: block;
        padding: 1rem 0;
        color: var(--light-text);
    }

    /* Mobile Dropdown Anpassung */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-left: 1rem;
        border-left: 2px solid var(--primary-green);
        display: block; /* Immer sichtbar auf Mobile für bessere UX */
    }

    .dropdown-link {
        padding: 0.5rem 1rem;
        font-size: 1rem;
        color: var(--text-muted);
    }
    
    .dropdown-link:hover {
        padding-left: 1.5rem;
        color: var(--light-text);
    }
    
    .hamburger {
        display: flex;
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 998;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(45, 158, 111, 0.3);
}

.scroll-top-btn:hover {
    background: #25a85f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 158, 111, 0.5);
}

.scroll-top-btn.show {
    display: flex;
}

/* ========================================
   FLOATING ACTION BUTTONS (FAB)
   ======================================== */

.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
}

.fab-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.fab-whatsapp {
    background: #25d366;
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 7px 25px rgba(37, 211, 102, 0.4);
}

.fab-ai {
    background: var(--primary-green);
    border: none;
}

.fab-ai:hover {
    transform: scale(1.1);
    box-shadow: 0 7px 25px rgba(45, 158, 111, 0.4);
}

/* ========================================
   COOKIE BANNER
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary-green);
    padding: 2rem;
    z-index: 997;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
}

.cookie-text h3 {
    margin-bottom: 0.5rem;
    color: var(--light-text);
    font-size: 1.1rem;
}

.cookie-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-link {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 0.5rem;
}

.cookie-link:hover {
    color: #25a85f;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--primary-green);
    color: white;
}

.cookie-accept:hover {
    background: #25a85f;
    transform: translateY(-2px);
}

.cookie-decline {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--border-color);
}

.cookie-decline:hover {
    color: var(--light-text);
    border-color: var(--primary-green);
}

/* ========================================
   AI ASSISTANT CHAT
   ======================================== */

.ai-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    z-index: 999;
    box-shadow: 0 10px 40px rgba(45, 158, 111, 0.2);
    backdrop-filter: blur(10px);
    animation: slideInChat 0.4s ease-out;
}

.ai-chat.show {
    display: flex;
}

@keyframes slideInChat {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.ai-chat-header {
    background: var(--primary-green);
    color: white;
    padding: 1rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(45, 158, 111, 0.8);
}

.ai-chat-header h3 {
    margin: 0;
    font-size: 1rem;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s;
}

.close-chat:hover {
    transform: scale(1.2);
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.ai-message {
    align-self: flex-start;
    background: var(--card-bg);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
    color: var(--light-text);
}

.user-message {
    align-self: flex-end;
    background: var(--primary-green);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: white;
}

.chat-message p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ========================================
   AI CHAT SUGGESTIONS
   ======================================== */

.suggestions-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.suggestion-btn {
    background: rgba(45, 158, 111, 0.15);
    border: 1px solid var(--primary-green);
    color: var(--light-text);
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: left;
    user-select: none;
}

.suggestion-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 3px 10px rgba(45, 158, 111, 0.3);
}

.suggestion-btn:active {
    transform: translateX(2px);
}

.suggestion-btn.hidden {
    display: none;
}

.ai-chat-input {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 0 10px 10px;
}

.ai-chat-input input {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: var(--light-text);
    font-family: inherit;
    transition: border-color 0.3s;
}

.ai-chat-input input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.ai-chat-input input::placeholder {
    color: var(--text-muted);
}

#sendBtn {
    background: var(--primary-green);
    border: none;
    color: white;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#sendBtn:hover {
    background: #25a85f;
    transform: translateY(-2px);
}

#sendBtn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 15px;
    }

    .fab-button {
        width: 50px;
        height: 50px;
    }

    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 100px;
        right: 15px;
    }

    .cookie-banner {
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 998;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(45, 158, 111, 0.3);
}

.scroll-top-btn:hover {
    background: #25a85f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 158, 111, 0.5);
}

.scroll-top-btn.show {
    display: flex;
}

/* ========================================
   FLOATING ACTION BUTTONS (FAB)
   ======================================== */

.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
}

.fab-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.fab-whatsapp {
    background: #25d366;
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 7px 25px rgba(37, 211, 102, 0.4);
}

.fab-ai {
    background: var(--primary-green);
    border: none;
}

.fab-ai:hover {
    transform: scale(1.1);
    box-shadow: 0 7px 25px rgba(45, 158, 111, 0.4);
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 80px;
        right: 15px;
    }

    .fab-button {
        width: 50px;
        height: 50px;
    }

    .scroll-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 15px;
    }
}

/* ========================================
   COOKIE BANNER
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary-green);
    padding: 2rem;
    z-index: 997;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    margin-bottom: 0.5rem;
    color: var(--light-text);
    font-size: 1.1rem;
}

.cookie-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-link {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 0.5rem;
}

.cookie-link:hover {
    color: #25a85f;
    text-decoration: underline;
}

/* Neue Checkbox-Optionen */
.cookie-options {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--light-text);
    font-size: 0.9rem;
    user-select: none;
}

.cookie-option input[type="checkbox"] {
    accent-color: var(--primary-green);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.cookie-option input[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-buttons {
    display: flex;
    gap: 0.8rem;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept {
    background: var(--primary-green);
    color: white;
}

.cookie-accept:hover {
    background: #25a85f;
    transform: translateY(-2px);
}

.cookie-save {
    background: var(--surface-bg);
    color: var(--light-text);
    border: 1px solid var(--border-color);
}

.cookie-save:hover {
    border-color: var(--primary-green);
    background: rgba(45, 158, 111, 0.1);
}

.cookie-decline {
    background: transparent;
    color: var(--light-text);
    border: 1px solid var(--border-color);
}

.cookie-decline:hover {
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-options {
        flex-direction: column;
        gap: 0.8rem;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* ========================================
   AI ASSISTANT CHAT
   ======================================== */

.ai-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    z-index: 999;
    box-shadow: 0 10px 40px rgba(45, 158, 111, 0.2);
    backdrop-filter: blur(10px);
    animation: slideInChat 0.4s ease-out;
}

.ai-chat.show {
    display: flex;
}

@keyframes slideInChat {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.ai-chat-header {
    background: var(--primary-green);
    color: white;
    padding: 1rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom:2px solid rgba(45, 158, 111, 0.8);
}

.ai-chat-header h3 {
    margin: 0;
    font-size: 1rem;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s;
}

.close-chat:hover {
    transform: scale(1.2);
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 80%;
}

.ai-message {
    align-self: flex-start;
    background: var(--card-bg);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
    color: var(--light-text);
}

.user-message {
    align-self: flex-end;
    background: var(--primary-green);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: white;
}

.ai-chat-message p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.ai-chat-input {
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 0 10px 10px;
}

.ai-chat-input input {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: var(--light-text);
    font-family: inherit;
    min-width: 0; /* Verhindert Überlaufen in Flex-Containern */
    transition: border-color 0.3s;
}

.ai-chat-input input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.ai-chat-input input::placeholder {
    color: var(--text-muted);
}

#sendBtn {
    background: var(--primary-green);
    border: none;
    color: white;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#sendBtn:hover {
    background: #25a85f;
    transform: translateY(-2px);
}

#sendBtn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .ai-chat {
        width: calc(100% - 40px);
        height: 400px;
        bottom: 100px;
        left: 20px;
        right: 20px;
    }

    .floating-actions {
        bottom: 20px;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    background: linear-gradient(135deg, 
        rgba(45, 158, 111, 0.05) 0%, 
        rgba(18, 18, 18, 0.8) 100%);
    overflow: hidden;
    padding-bottom: 12rem;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    padding: 2rem;
}

.logo-large {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.graffiti-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    animation: slideInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-weight: 500;
    animation: slideInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(45, 158, 111, 0.4);
    animation: slideInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background: var(--light-text);
    color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 158, 111, 0.5);
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
    padding: 6rem 0 12rem 0;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(40, 40, 40, 0.8));
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.service-card:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--light-text);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    color: var(--text-muted);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.portfolio {
    padding: 6rem 0 12rem 0;
    width: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    opacity: 0;
}

.portfolio-image {
    width: 100%;
    height: 250px;
    position: relative;
    transition: all 0.3s;
    background-size: cover;
    background-position: center;
}

.portfolio-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-item h3,
.portfolio-item p {
    padding: 1.2rem;
}

.portfolio-item h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-green);
    border-bottom: 2px solid var(--border-color);
}

.portfolio-item p {
    margin: 0;
    color: var(--text-muted);
    padding-top: 0.8rem;
}

/* ========================================
   WHY US SECTION
   ======================================== */

.why-us {
    padding: 6rem 0 12rem 0;
    width: 100%;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    padding: 2.5rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    opacity: 0;
    overflow: hidden;
}

.feature-box:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 7rem;
    font-weight: 400;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-green);
    opacity: 0.15;
    margin-bottom: 0;
    transition: all 0.4s ease;
    z-index: 0;
}

.feature-box:hover .feature-number {
    opacity: 0.3;
    transform: scale(1.1) rotate(-10deg);
}

.feature-box h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.feature-box p {
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: 6rem 0;
    width: 100%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--light-text);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(45, 158, 111, 0.1);
}

/* DSGVO Checkbox Styling */
.privacy-policy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.privacy-policy input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.privacy-policy a {
    color: var(--primary-green);
    text-decoration: none;
}

/* Captcha Styling */
.captcha-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    padding: 0.8rem 1rem;
    border-radius: 8px;
}

.captcha-group label {
    color: var(--light-text);
    font-weight: 600;
    flex-shrink: 0;
}

.submit-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s;
}

.info-item:hover {
    box-shadow: var(--shadow);
}

.info-icon {
    font-size: 1.8rem;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.contact-info a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--light-text);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    flex: 1;
    padding: 0.8rem;
    background: var(--card-bg);
    color: var(--primary-green);
    text-decoration: none;
    text-align: center;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 60px;
    }

    .hero {
        min-height: 100vh;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .graffiti-logo {
        max-width: 300px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }
    
    /* Pulse Effect for Service Cards & Feature Boxes on Mobile */
    .service-card::after,
    .feature-box::after {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        border-radius: 10px;
        border: 2px solid transparent;
        animation: borderPulse 3s infinite ease-in-out;
        pointer-events: none;
    }
    
    .service-card:nth-child(1)::after { animation-delay: 0s; }
    .service-card:nth-child(2)::after { animation-delay: 0.5s; }
    .service-card:nth-child(3)::after { animation-delay: 1s; }
    .service-card:nth-child(4)::after { animation-delay: 1.5s; }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-item {
        margin-bottom: 1rem;
    }

    .portfolio-image {
        height: 200px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-box {
        padding: 2rem;
    }
    
    .feature-box:nth-child(2)::after { animation-delay: 0.5s; }
    .feature-box:nth-child(3)::after { animation-delay: 1s; }
    .feature-box:nth-child(4)::after { animation-delay: 1.5s; }

    .feature-number {
        font-size: 6rem;
        opacity: 0.25;
        transform: rotate(-5deg);
    }

    .contact-container {
        gap: 2rem;
    }

    .contact-form,
    .contact-info {
        padding: 0;
    }

    .services {
        padding: 4rem 0;
    }

    .portfolio {
        padding: 4rem 0;
    }

    .why-us {
        padding: 4rem 0;
    }

    .contact {
        padding: 4rem 0;
    }

    .cta-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .info-item {
        padding: 1rem;
    }

    /* Fix für reCAPTCHA auf kleinen Screens */
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }

    .contact-form input, .contact-form textarea {
        max-width: 100%;
        width: 100%;
    }

    .social-btn {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    /* Fix für reCAPTCHA auf kleinen Screens */
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--bg-darker);
    color: white;
    padding: 10rem 0 3rem 0;
    position: relative;
    margin-top: 0; /* Welle übernimmt den Abstand */
}

/* Welle oben am Footer */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    margin-top: -1px; /* Vermeidet Blitzer */
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.footer-wave .shape-fill {
    fill: var(--bg-darker);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 158, 111, 0.3);
}

.footer-heading {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary-green);
}

@media (max-width: 768px) {
    .footer-wave svg {
        height: 50px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--light-text);
}

/* ========================================
   FLOATING ACTION BUTTONS (NEW TEXT VERSION)
   ======================================== */

.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
    align-items: flex-end;
}

.action-btn {
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.whatsapp-btn {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.9), rgba(18, 140, 126, 0.9));
    color: white;
    border-color: rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.ai-btn {
    background: linear-gradient(135deg, rgba(45, 158, 111, 0.9), rgba(26, 111, 80, 0.9));
    color: white;
    border-color: rgba(45, 158, 111, 0.3);
}

.ai-btn:hover {
    background: linear-gradient(135deg, #2d9e6f, #1a6f50);
    box-shadow: 0 10px 30px rgba(45, 158, 111, 0.3);
}

.scroll-btn {
    background: rgba(30, 30, 30, 0.8);
    color: var(--text-muted);
    border-color: var(--border-color);
    display: none;
}

.scroll-btn.show {
    display: flex;
}

.scroll-btn:hover {
    background: var(--card-bg);
    color: var(--primary-green);
    border-color: var(--primary-green);
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 12px;
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }

    .action-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        padding: 6px 12px;
        font-size: 0.75rem;
        gap: 6px;
    }

    .action-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Instagram Feed Styling */
.instagram-feed-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.instagram-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    justify-items: center;
}

.instagram-post-wrapper {
    max-width: 100%;
    width: 100%;
}

.instagram-media {
    background: #fff !important; /* Instagram ist immer weiß, wir akzeptieren das als "Karte" */
    border: none !important;     /* Grüner Rand weg, das sieht sauberer aus */
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important; /* Schatten für Tiefe */
    margin: 0 auto !important;
    max-width: 100% !important;
    filter: brightness(0.95);    /* Leicht abdunkeln, damit es nicht so blendet */
}


.instagram-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(45, 158, 111, 0.1) 0%, rgba(45, 158, 111, 0.05) 100%);
    border: 1px solid rgba(45, 158, 111, 0.3);
    border-radius: 12px;
    margin-top: 2rem;
}

.instagram-cta p {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #2d9e6f 0%, #1a6f50 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #2d9e6f;
}

.instagram-link:hover {
    background: linear-gradient(135deg, #1a6f50 0%, #0d4a32 100%);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 158, 111, 0.3);
}

/* Responsive Instagram Feed */
@media (max-width: 768px) {
    .instagram-post-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .instagram-feed-container {
        padding: 0;
    }

    .instagram-cta {
        padding: 2rem 1rem;
    }

    .instagram-link {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Animation für Mobile Feature Boxen */
@keyframes borderPulse {
    0%, 100% { border-color: rgba(45, 158, 111, 0.3); box-shadow: none; }
    50% { border-color: var(--primary-green); box-shadow: 0 5px 20px rgba(45, 158, 111, 0.2); }
}

/* ========================================
   MOBILE LANDSCAPE OPTIMIERUNG (Handy gedreht)
   ======================================== */

@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%) !important; /* Verlauf für Lesbarkeit */
        border-bottom: none !important;
        box-shadow: none !important;
        height: auto;
        padding: 0;
        pointer-events: none;
    }

    .nav-container {
        padding: 5px 20px; /* Weniger Platz verschwenden */
        align-items: center;
    }

    .logo {
        display: block;
        pointer-events: auto;
    }

    .logo-img {
        height: 40px; /* Logo deutlich kleiner */
    }

    .nav-menu {
        pointer-events: auto;
        gap: 1.5rem; /* Menüpunkte etwas enger zusammen */
    }

    .nav-link {
        font-size: 0.9rem;
        text-shadow: 0 2px 4px rgba(0,0,0,1); /* Starker Schatten damit man Text immer liest */
        padding: 5px 0;
    }
    
    /* Falls doch mal der Hamburger kommt (sehr kleine Handys) */
    .hamburger {
        pointer-events: auto;
        background: transparent;
    }

    /* Buttons kleiner machen im Querformat */
    .floating-actions {
        bottom: 10px;
        right: 10px;
        gap: 5px;
    }

    .action-btn {
        padding: 4px 10px;
        font-size: 0.7rem;
        gap: 5px;
    }

    .action-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* ========================================
   CATALOG STYLES
   ======================================== */
.catalog-wrapper {
    width: 100%;
    height: 80vh; /* Nimmt 80% der Bildschirmhöhe ein */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.catalog-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .catalog-wrapper {
        height: 70vh;
    }
}

/* ========================================
   CATALOG FALLBACK (Wenn iFrame blockiert wird)
   ======================================== */
.catalog-fallback {
    width: 100%;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--card-bg), rgba(40, 40, 40, 0.8));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.catalog-fallback h3 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.catalog-btn {
    background: var(--primary-green);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(45, 158, 111, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.catalog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 158, 111, 0.5);
    background: #25a85f;
}

/* Google reCAPTCHA Badge nach links verschieben */
.grecaptcha-badge {
    visibility: hidden !important;
    left: 20px !important;
    right: auto !important;
    z-index: 999;
}


/* ========================================
   PHANTIWOOD - BARRIEREFREIHEIT BUTTON
   Eigenständige Styles: greifen nicht in .action-btn ein
   ======================================== */
.phw-access-trigger {
    position: relative;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 34px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(26,26,26,.92);
    color: var(--light-text);
    font: 700 1rem/1 'Poppins', sans-serif;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100003;
    transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease;
}

.phw-access-trigger:hover {
    transform: translateY(-2px);
    color: var(--primary-green);
    border-color: var(--primary-green);
    background: rgba(26,26,26,.98);
    box-shadow: 0 8px 22px rgba(0,0,0,.4);
}

.phw-access-trigger:focus-visible {
    outline: 3px solid #ffd400 !important;
    outline-offset: 3px !important;
}

.phw-access-trigger span:first-child {
    display: block;
    font-size: 1.05rem;
    line-height: 1;
}

.phw-access-trigger span:last-child {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.phw-access-panel {
    position: fixed;
    right: 105px;
    bottom: 30px;
    left: auto;
    width: min(380px, calc(100vw - 130px));
    box-sizing: border-box;
    z-index: 100002;
}

.phw-access-panel[hidden] {
    display: none !important;
}

@media (max-width: 768px) {
    .phw-access-trigger {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        flex-basis: 40px;
    }

    .phw-access-panel {
        right: 78px;
        bottom: 15px;
        width: min(340px, calc(100vw - 95px));
    }
}

/* ========================================
   PHANTIWOOD BRAND REFRESH
   Graffiti black · neon lime · cyan · magenta
   ======================================== */
html:root {
    --primary-green: #c0ff00;
    --dark-bg: #090a0b;
    --card-bg: #151719;
    --surface-bg: #202326;
    --light-text: #f5f5f2;
    --text-muted: #b8bdc2;
    --border-color: rgba(255, 255, 255, 0.12);
    --shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
    --shadow-lg: 0 18px 48px rgba(192, 255, 0, 0.16);
    --phw-lime: #c0ff00;
    --phw-cyan: #13d9f2;
    --phw-pink: #ff36bd;
    --phw-ink: #090a0b;
}

html body {
    background: #090a0b;
    color: var(--light-text);
}

.navbar {
    background: rgba(8, 9, 10, 0.88);
    border-bottom: 1px solid rgba(192, 255, 0, 0.42);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-container {
    min-height: 78px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.logo-img {
    height: 72px;
}

.nav-link {
    font-weight: 600;
    letter-spacing: 0.025em;
}

.nav-link:hover,
.nav-link:focus-visible,
.dropdown-link:hover {
    color: var(--phw-lime);
}

.nav-link::after,
.hamburger span {
    background: var(--phw-lime);
}

.dropdown-menu {
    background: rgba(18, 20, 21, 0.98);
    border: 1px solid rgba(192, 255, 0, 0.45);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.dropdown-link:hover {
    background: rgba(192, 255, 0, 0.09);
}

html body #home.hero {
    min-height: min(900px, 100svh);
    margin-top: 72px;
    padding: 4rem 1.5rem 10rem;
    background:
        radial-gradient(ellipse at 18% 28%, rgba(19, 217, 242, 0.13), transparent 31%),
        radial-gradient(ellipse at 82% 64%, rgba(255, 54, 189, 0.12), transparent 29%),
        radial-gradient(ellipse at 50% 100%, rgba(192, 255, 0, 0.09), transparent 38%),
        linear-gradient(145deg, #08090a 0%, #151719 54%, #090a0b 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.graffiti-logo {
    max-width: min(520px, 88vw);
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42));
}

.hero-subtitle {
    color: #f5f5f2;
    font-size: clamp(1.15rem, 2.2vw, 1.55rem);
    font-weight: 600;
}

.hero-tagline {
    color: var(--phw-lime);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.cta-btn,
.submit-btn {
    background: var(--phw-lime);
    color: #11130b;
    border: 1px solid var(--phw-lime);
    border-radius: 7px;
    box-shadow: 0 8px 26px rgba(192, 255, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.cta-btn:hover,
.submit-btn:hover {
    background: #f5f5f2;
    color: #10110c;
    border-color: #f5f5f2;
    box-shadow: 0 12px 34px rgba(192, 255, 0, 0.27);
}

html body #services.services,
html body #portfolio.portfolio,
html body #contact.contact,
html body .why-us {
    background-color: #0e1011;
}

html body #services.services,
html body #portfolio.portfolio,
html body .why-us,
html body #contact.contact {
    background-image:
        radial-gradient(ellipse at 8% 15%, rgba(19, 217, 242, 0.055), transparent 27%),
        radial-gradient(ellipse at 92% 82%, rgba(255, 54, 189, 0.045), transparent 24%);
}

.services,
.portfolio,
.contact {
    padding-top: clamp(4.5rem, 8vw, 7rem);
    padding-bottom: clamp(5rem, 9vw, 8rem);
}

.section-header {
    margin-bottom: clamp(2.4rem, 5vw, 4rem);
}

.section-header h2,
.contact-info h3 {
    color: var(--light-text);
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.045em;
    line-height: 1;
    text-transform: uppercase;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 62px;
    height: 4px;
    margin: 1rem auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--phw-lime), var(--phw-cyan), var(--phw-pink));
    transform: skewX(-22deg);
}

.section-header p {
    color: var(--text-muted);
    max-width: 620px;
    margin: 0.9rem auto 0;
}

.service-card,
.feature-box,
.info-item {
    background: linear-gradient(145deg, rgba(30, 33, 35, 0.96), rgba(17, 19, 20, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.service-card {
    padding: 1.6rem;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0 18% auto 18%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--phw-lime), var(--phw-cyan), transparent);
    opacity: 0.8;
}

.service-card:hover,
.feature-box:hover {
    border-color: rgba(192, 255, 0, 0.6);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35), 0 0 26px rgba(192, 255, 0, 0.08);
    transform: translateY(-7px);
}

.service-card h3,
.feature-box h3 {
    color: var(--light-text);
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: 0.035em;
}

.service-list li::before,
.feature-number {
    color: var(--phw-lime);
}

.service-img {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.portfolio-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: #151719;
}

.portfolio-item:hover {
    border-color: rgba(19, 217, 242, 0.55);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), 0 0 24px rgba(19, 217, 242, 0.1);
}

.portfolio-item h3 {
    color: var(--phw-lime);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.phw-highlight-ring {
    box-shadow: 0 0 0 2px rgba(192, 255, 0, 0.7), 0 0 20px rgba(192, 255, 0, 0.16);
}

.phw-highlight:hover .phw-highlight-ring,
.phw-highlight:focus-visible .phw-highlight-ring {
    box-shadow: 0 0 0 3px var(--phw-lime), 0 0 0 7px rgba(19, 217, 242, 0.22);
}

.instagram-post-wrapper {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.contact-form input,
.contact-form textarea,
.captcha-group {
    background: rgba(22, 24, 25, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 10px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--phw-lime);
    box-shadow: 0 0 0 3px rgba(192, 255, 0, 0.13);
}

.info-item {
    border-left: 3px solid var(--phw-lime);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.info-item:hover {
    border-left-color: var(--phw-cyan);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    transform: translateX(4px);
}

.info-icon,
.contact-info a,
.privacy-policy a {
    color: var(--phw-lime);
}

.social-btn {
    color: var(--phw-lime);
    border: 1px solid rgba(192, 255, 0, 0.65);
    border-radius: 9px;
    background: rgba(192, 255, 0, 0.045);
}

.social-btn:hover {
    color: #10110c;
    background: var(--phw-lime);
    border-color: var(--phw-lime);
}

.footer {
    background: #080909;
    border-top: 1px solid rgba(192, 255, 0, 0.26);
}

.footer-wave .shape-fill {
    fill: #0e1011;
}

.footer-heading,
.footer-social-icon:hover,
.footer-bottom-links a:hover {
    color: var(--phw-lime);
}

.footer-social-icon {
    border-color: rgba(192, 255, 0, 0.34);
}

.action-btn {
    background: rgba(18, 20, 21, 0.94);
    border: 1px solid rgba(192, 255, 0, 0.68);
    color: var(--phw-lime);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.action-btn:hover {
    background: var(--phw-lime);
    color: #10110c;
}

.cookie-banner {
    background: rgba(15, 17, 18, 0.98);
    border: 1px solid rgba(192, 255, 0, 0.4);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

:where(a, button, input, textarea, select):focus-visible {
    outline: 3px solid var(--phw-cyan);
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .logo-img { height: 62px; }
    .nav-container { min-height: 68px; padding-left: 1rem; padding-right: 1rem; }
    .nav-menu {
        background: rgba(9, 10, 11, 0.98);
        border-top: 1px solid rgba(192, 255, 0, 0.4);
    }
    html body #home.hero {
        min-height: 88svh;
        margin-top: 64px;
        padding: 3rem 1rem 8rem;
    }
    .service-card { border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* PHANTIWOOD WAVE TUNING */
html body #services.services { background-color: #111314; }
html body #portfolio.portfolio { background-color: #0b0d0e; }
html body .why-us { background-color: #111314; }
html body #contact.contact { background-color: #0b0d0e; }

html body .wave-divider .shape-fill,
html body .wave-to-dark .shape-fill {
    fill: #111314;
    stroke: rgba(192, 255, 0, 0.3);
    stroke-width: 1.4px;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

html body .wave-to-dark .shape-fill {
    fill: #0b0d0e;
    stroke: rgba(19, 217, 242, 0.25);
}

html body .footer-wave .shape-fill {
    fill: #080909;
    stroke: rgba(192, 255, 0, 0.22);
    stroke-width: 1.4px;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
/* PHANTIWOOD BUTTON CONTRAST FIX */
.cookie-banner .cookie-accept,
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus-visible {
    color: #080909 !important;
}

.contact .social-links .social-btn:hover,
.contact .social-links .social-btn:focus-visible {
    color: #080909 !important;
    background: #c0ff00 !important;
    border-color: #c0ff00 !important;
    text-shadow: none;
}

.contact .social-links .social-btn:hover svg,
.contact .social-links .social-btn:focus-visible svg {
    color: #080909 !important;
    stroke: currentColor;
}
/* PHANTIWOOD WAVE EDGE ONLY */
html body .wave-divider .shape-fill,
html body .footer-wave .shape-fill {
    stroke: none;
}

html body .wave-divider .wave-contour,
html body .footer-wave .wave-contour {
    fill: none;
    stroke: rgba(192, 255, 0, 0.3);
    stroke-width: 1.4px;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

html body .wave-to-dark .wave-contour {
    stroke: rgba(19, 217, 242, 0.25);
}
/* PHANTIWOOD WAVE BLEND FIX */
html body #services.services,
html body #portfolio.portfolio,
html body .why-us,
html body #contact.contact {
    background-image: none;
}
/* PHANTIWOOD TECH DETAILS */
html body #home.hero {
    isolation: isolate;
}

html body #home.hero::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: 8% max(2rem, 4vw) 18%;
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 28px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 12%, transparent 76%);
    mask-image: radial-gradient(ellipse at center, #000 12%, transparent 76%);
    pointer-events: none;
}

html body #home.hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    width: clamp(300px, 42vw, 620px);
    aspect-ratio: 1;
    left: 50%;
    top: 48%;
    border: 1px solid rgba(192, 255, 0, 0.08);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(19, 217, 242, 0.018), 0 0 0 70px rgba(255, 54, 189, 0.014);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.section-header h2::after {
    background-size: 200% 100%;
    animation: phwAccentFlow 8s linear infinite;
}

@keyframes phwAccentFlow {
    to { background-position: 200% 0; }
}

.service-card::before {
    inset-inline: 28%;
    background-size: 200% 100%;
    transition: inset 0.3s ease, opacity 0.3s ease;
}

.service-card:hover::before,
.service-card:focus-within::before {
    inset-inline: 5%;
    opacity: 1;
}

.cta-btn,
.submit-btn,
.contact .social-links .social-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.cta-btn::after,
.submit-btn::after,
.contact .social-links .social-btn::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: -40%;
    bottom: -40%;
    left: -45%;
    width: 30%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
    transform: skewX(-22deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.cta-btn:hover::after,
.submit-btn:hover::after,
.contact .social-links .social-btn:hover::after {
    left: 120%;
}

@media (max-width: 768px) {
    html body #home.hero::before {
        inset: 5% 0 16%;
        border-radius: 18px;
        background-size: 28px 28px;
    }
    html body #home.hero::after {
        width: min(76vw, 420px);
        top: 44%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-header h2::after { animation: none; }
    .cta-btn::after,
    .submit-btn::after,
    .contact .social-links .social-btn::after { display: none; }
}
/* PHANTIWOOD PAGEWIDE TECH PASS */
html body #home.hero::after {
    content: none;
    display: none;
}

.service-card {
    border-top: 2px solid rgba(192, 255, 0, 0.58);
    background-image:
        linear-gradient(145deg, rgba(31, 34, 35, 0.98), rgba(15, 17, 18, 0.98)),
        radial-gradient(ellipse at top right, rgba(19, 217, 242, 0.1), transparent 55%);
}

.service-card::before {
    inset-inline: 8%;
    height: 2px;
    opacity: 0.82;
    background: linear-gradient(90deg, var(--phw-lime), var(--phw-cyan), var(--phw-pink));
}

.portfolio-item {
    border-top: 2px solid rgba(19, 217, 242, 0.56);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 14px 36px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 28px;
    border-top: 2px solid var(--phw-lime);
    border-left: 2px solid var(--phw-lime);
    opacity: 0.78;
    pointer-events: none;
    transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
}

.portfolio-item:hover::before,
.portfolio-item:focus-visible::before {
    width: 42px;
    height: 42px;
    opacity: 1;
}

.portfolio-item:hover .portfolio-image {
    filter: saturate(1.14) contrast(1.04);
}

.feature-box {
    border-top: 2px solid rgba(19, 217, 242, 0.52);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 14px 36px rgba(0, 0, 0, 0.22);
}

html body .contact-form {
    padding: clamp(1rem, 2.4vw, 1.8rem);
    border: 1px solid rgba(192, 255, 0, 0.18);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(25, 28, 29, 0.9), rgba(12, 14, 15, 0.96));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

html body .contact-form:focus-within {
    border-color: rgba(192, 255, 0, 0.45);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), 0 0 28px rgba(192, 255, 0, 0.07);
}

.footer-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 0.55rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--phw-lime), var(--phw-cyan), transparent);
}

@media (max-width: 768px) {
    .service-card { border-top-width: 2px; }
    .portfolio-item::before { width: 24px; height: 24px; }
    html body .contact-form { padding: 1rem; }
}

@media (max-width: 480px) {
    .section-header h2::after { width: 52px; }
    .portfolio-item::before { top: 10px; left: 10px; }
}
/* PHANTIWOOD MOBILE WAVE LAYER */
@media (max-width: 768px) {
    .navbar {
        z-index: 0;
    }

    .navbar:has(.nav-menu.active),
    .navbar:has(.hamburger.active) {
        z-index: 1000;
    }

    html body #home.hero {
        margin-top: 78px;
    }
}
/* PHANTIWOOD MOBILE WAVE ABOVE HERO */
@media (max-width: 768px) {
    .wave-divider {
        z-index: 5;
        pointer-events: none;
    }
}
/* PHANTIWOOD WAVE ABOVE HERO ALL SIZES */
.wave-divider {
    z-index: 5;
    pointer-events: none;
}
/* PHANTIWOOD SUBPAGE AND INSTAGRAM CTA */
main h1:not(.phw-visually-hidden),
main h2,
main h3 {
    color: var(--light-text);
    font-family: 'Bebas Neue', 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 0.04em;
}

main h1:not(.phw-visually-hidden) {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    line-height: 0.98;
    text-transform: uppercase;
}

main h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.05;
    text-transform: uppercase;
}

main h3 {
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    line-height: 1.1;
}

main a.instagram-link {
    background: linear-gradient(135deg, #c0ff00 0%, #a8e600 100%);
    border: 1px solid #c0ff00;
    border-radius: 8px;
    color: #090a0b;
    box-shadow: 0 8px 24px rgba(192, 255, 0, 0.18);
}

main a.instagram-link svg {
    color: currentColor;
}

main a.instagram-link:hover,
main a.instagram-link:focus-visible {
    background: #f5f5f2;
    border-color: #f5f5f2;
    color: #090a0b;
    box-shadow: 0 12px 30px rgba(192, 255, 0, 0.24);
}

main a.btn,
main button.btn,
main a.button,
main button.button,
main .btn-primary,
main .button-primary,
main .phw-modal-button {
    background: var(--phw-lime);
    border: 1px solid var(--phw-lime);
    border-radius: 8px;
    color: #090a0b;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

main a.btn:hover,
main button.btn:hover,
main a.button:hover,
main button.button:hover,
main .btn-primary:hover,
main .button-primary:hover,
main .phw-modal-button:hover {
    background: #f5f5f2;
    border-color: #f5f5f2;
    color: #090a0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(192, 255, 0, 0.18);
}
/* PHANTIWOOD SHARED SUBPAGE SYSTEM */
html:root {
    --bg: var(--dark-bg);
    --panel: var(--card-bg);
    --text: var(--light-text);
    --muted: var(--text-muted);
    --accent: var(--phw-lime);
    --focus: var(--phw-cyan);
}

html body:not(.accessibility-page) {
    background: #090a0b !important;
    color: var(--light-text) !important;
}

html body .page-header {
    position: relative;
    overflow: hidden;
    padding: clamp(9rem, 15vw, 12rem) 1.25rem 2.7rem !important;
    text-align: center;
    color: var(--light-text) !important;
    background:
        radial-gradient(ellipse at 18% 15%, rgba(19, 217, 242, 0.1), transparent 34%),
        radial-gradient(ellipse at 84% 65%, rgba(255, 54, 189, 0.075), transparent 31%),
        linear-gradient(145deg, #090a0b, #151719 58%, #0b0d0e) !important;
    border-bottom: 1px solid rgba(192, 255, 0, 0.24);
}

html body .page-header h1 {
    position: relative;
    z-index: 1;
    margin: 0 auto 1rem !important;
    color: var(--phw-lime) !important;
    font-family: 'Bebas Neue', 'Poppins', sans-serif !important;
    font-size: clamp(2.6rem, 5.5vw, 4.4rem) !important;
    font-weight: 400 !important;
    line-height: 0.98;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

html body .page-header h1::after {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    margin: 1rem auto 0;
    background: linear-gradient(90deg, var(--phw-lime), var(--phw-cyan), var(--phw-pink));
    border-radius: 4px;
    transform: skewX(-22deg);
}

html body .page-header p {
    position: relative;
    z-index: 1;
    color: var(--text-muted) !important;
}

html body .page-header::before {
    background: rgba(192, 255, 0, 0.1) !important;
}

html body .page-content {
    width: calc(100% - 2rem);
    max-width: 900px !important;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4rem) 0 !important;
    color: var(--light-text) !important;
    line-height: 1.72;
}

html body .page-content:has(.catalog-wrapper),
html body .page-content:has(.catalog-fallback) {
    max-width: min(95%, 1480px) !important;
}

html body .page-content:has(.partner-grid) {
    max-width: min(95%, 1180px) !important;
}

html body .page-content h2,
html body .page-content h3,
html body .page-content h4 {
    color: var(--light-text) !important;
    font-family: 'Bebas Neue', 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

html body .page-content h2 {
    margin: 2.2rem 0 0.85rem !important;
    font-size: clamp(1.55rem, 3vw, 2rem) !important;
    line-height: 1.08;
}

html body .page-content h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem) !important;
}

html body .page-content p,
html body .page-content ul,
html body .page-content ol,
html body .page-content li {
    color: var(--text-muted) !important;
}

html body .page-content strong,
html body .page-content b {
    color: var(--light-text) !important;
}

html body .page-content a:not(.catalog-btn):not(.partner-link):not(.back) {
    color: var(--phw-lime) !important;
    text-decoration-color: rgba(192, 255, 0, 0.42);
    text-underline-offset: 0.18em;
}

html body .page-content a:not(.catalog-btn):not(.partner-link):not(.back):hover {
    color: var(--phw-cyan) !important;
}

html body .page-content hr {
    border-color: rgba(255, 255, 255, 0.16) !important;
}

html body .catalog-wrapper {
    border: 1px solid rgba(192, 255, 0, 0.24);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

html body .catalog-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

html body .catalog-fallback {
    background: linear-gradient(145deg, rgba(25, 28, 29, 0.98), rgba(12, 14, 15, 0.98));
    border: 1px solid rgba(192, 255, 0, 0.2);
    border-radius: 16px;
}

html body .catalog-btn,
html body .partner-link,
html body .page-content .action-btn,
html body .page-content .back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.2rem;
    border: 1px solid var(--phw-lime) !important;
    border-radius: 8px !important;
    background: var(--phw-lime) !important;
    color: #090a0b !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(192, 255, 0, 0.16);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

html body .catalog-btn:hover,
html body .partner-link:hover,
html body .page-content .action-btn:hover,
html body .page-content .back:hover {
    background: #f5f5f2 !important;
    border-color: #f5f5f2 !important;
    color: #090a0b !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(192, 255, 0, 0.22);
}

html body .partner-card {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: linear-gradient(155deg, rgba(30, 33, 35, 0.98), rgba(14, 16, 17, 0.98)) !important;
}

html body .partner-card:hover {
    border-color: rgba(192, 255, 0, 0.65) !important;
}

html body .partner-card::before {
    background: conic-gradient(from 180deg, transparent 0deg, rgba(192, 255, 0, 0.55) 90deg, transparent 145deg, transparent 360deg) !important;
}

html body .partner-card-glow {
    background: rgba(192, 255, 0, 0.13) !important;
}

html body .partner-logo-container {
    background: rgba(0, 0, 0, 0.24) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
}

html body .partner-name,
html body .partner-card:hover .partner-name {
    color: var(--light-text) !important;
}

html body .partner-desc {
    color: var(--text-muted) !important;
}

html body .partner-card:hover .partner-name {
    color: var(--phw-lime) !important;
}

html body .withdrawal-form {
    background: rgba(255, 255, 255, 0.045) !important;
    border-color: var(--border-color) !important;
}

html body .withdrawal-form label {
    color: var(--light-text) !important;
}

html body .withdrawal-form input,
html body .withdrawal-form textarea {
    background: #101213 !important;
    border-color: rgba(255, 255, 255, 0.17) !important;
    color: var(--light-text) !important;
}

html body .withdrawal-form input:focus,
html body .withdrawal-form textarea:focus {
    border-color: var(--phw-lime) !important;
    box-shadow: 0 0 0 3px rgba(192, 255, 0, 0.13);
}

html body .footer .footer-heading,
html body .footer .footer-links a,
html body .footer .footer-bottom p,
html body .footer .footer-bottom-links a {
    color: var(--light-text) !important;
}

html body.accessibility-page {
    background: var(--dark-bg) !important;
    color: var(--light-text) !important;
    font-family: 'Poppins', sans-serif !important;
}

html body.accessibility-page .hero {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 3rem 0 2rem;
    overflow: visible;
    background: linear-gradient(145deg, #090a0b, #151719 58%, #0b0d0e) !important;
    border-bottom: 1px solid rgba(192, 255, 0, 0.24) !important;
}

html body.accessibility-page .hero h1 {
    color: var(--phw-lime) !important;
    font-family: 'Bebas Neue', 'Poppins', sans-serif !important;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

html body.accessibility-page .hero p,
html body.accessibility-page .panel p,
html body.accessibility-page .panel li,
html body.accessibility-page .small {
    color: var(--text-muted) !important;
}

html body.accessibility-page .panel {
    background: linear-gradient(145deg, rgba(30, 33, 35, 0.98), rgba(14, 16, 17, 0.98)) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px;
}

html body.accessibility-page .panel h2,
html body.accessibility-page strong {
    color: var(--light-text) !important;
}

html body.accessibility-page .panel.status {
    border-left-color: var(--phw-lime) !important;
}

html body.accessibility-page a {
    color: var(--phw-lime) !important;
}

html body.accessibility-page a:hover {
    color: var(--phw-cyan) !important;
}

html body.accessibility-page .back {
    padding: 0.75rem 1.2rem;
    border: 1px solid var(--phw-lime);
    border-radius: 8px;
    background: var(--phw-lime);
    color: #090a0b !important;
    text-decoration: none;
}

html body.accessibility-page footer {
    border-top-color: rgba(192, 255, 0, 0.24);
}

@media (max-width: 768px) {
    html body .page-header {
        padding: 7.5rem 1rem 2rem !important;
    }
    html body .page-content {
        width: calc(100% - 2rem);
        padding: 2.2rem 0 !important;
    }
    html body .catalog-wrapper {
        height: 78vh;
        min-height: 480px;
    }
    html body .page-content:has(.catalog-wrapper),
    html body .page-content:has(.catalog-fallback) {
        width: calc(100% - 1.25rem);
        max-width: 100% !important;
    }
}
/* PHANTIWOOD SHARED PRINT THEME */
@media print {
    html body .withdrawal-form,
    html body .withdrawal-form input,
    html body .withdrawal-form textarea {
        background: #fff !important;
        color: #000 !important;
        border-color: #bbb !important;
        box-shadow: none !important;
    }
    html body .withdrawal-form label,
    html body .withdrawal-form h1,
    html body .withdrawal-form h2,
    html body .withdrawal-form p,
    html body .withdrawal-form li {
        color: #000 !important;
    }
}

html body .partner-card:hover .partner-logo-container {
    border-color: rgba(192, 255, 0, 0.3) !important;
    background: rgba(192, 255, 0, 0.045) !important;
}

html body .partner-card:hover .partner-logo {
    filter: grayscale(0%) drop-shadow(0 8px 18px rgba(192, 255, 0, 0.18)) !important;
}
/* PHANTIWOOD WITHDRAWAL FOOTER BUTTON */
html body footer a[href="widerruf.html"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.35rem 0.7rem !important;
    border: 1px solid var(--phw-lime) !important;
    border-radius: 8px !important;
    background: var(--phw-lime) !important;
    color: #090a0b !important;
    font-weight: 500 !important;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 7px 20px rgba(192, 255, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

html body footer a[href="widerruf.html"]:hover,
html body footer a[href="widerruf.html"]:focus-visible {
    background: #f5f5f2 !important;
    border-color: #f5f5f2 !important;
    color: #090a0b !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(192, 255, 0, 0.2);
}

/* Keep the withdrawal button text dark in all footer link states. */
html body .footer .footer-links a[href="widerruf.html"],
html body .footer .footer-bottom-links a[href="widerruf.html"] {
    color: #090a0b !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
}
